Function at 0x422ffe
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae249
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x4231a0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x42306d
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
jmp 0x42319b
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x38], 0x1e2
mov dword [ebp - 0x58], str.onzfsnm_ajhcmegpa_spcaiyn_icotskfyp_jofwgz_mzfk
cmp dword [ebp - 0x38], 0x5c2
jle 0x42311f
push 0
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
and dword [ebp - 0x1c], 0
jmp 0x4230a9
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x276f
jge 0x42311f
and dword [ebp - 0x20], 0
jmp 0x4230bf
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2d39
jge 0x42311d
and dword [ebp - 0x24], 0
jmp 0x4230d5
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xfda
jge 0x42311b
and dword [ebp - 0x28], 0
jmp 0x4230eb
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x42e5
jge 0x423119
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
mov ecx, 0xabbe58
call fcn.0042fa2a
jmp 0x4230e4
jmp 0x4230ce
jmp 0x4230b8
jmp 0x4230a2
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0xffffff8f
jge 0x42313c
mov edx, dword [ebp - 0x58]
mov ecx, 0xabbe58
call fcn.004313d0
jmp 0x423158
or dword [ebp - 4], 0xffffffff
jmp 0x423162
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x42317e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 3
jge 0x42319b
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x60]
call fcn.0042fc2d
mov dword [eax], 0x24f20479
jmp 0x423173
jmp 0x4232ad
lea eax, [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x4231bb
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x4232ad
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x4231e2
push 0x180a
push 0
push 0x1f4f
push 0
push 0x1c86
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
mov dword [ebp - 0x3c], 0x612d
mov dword [ebp - 0x68], str.innpeh_zggmqcq_pybaoiolt_pqi_dpot_cxpoy_jsou_kndgzxfpj_qtptwo_lgjh
cmp dword [ebp - 0x3c], 0x62f3
jle 0x42326e
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
and dword [ebp - 0x2c], 0
jmp 0x423212
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xcca
jge 0x42326e
and dword [ebp - 0x30], 0
jmp 0x423228
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x104
jge 0x42326c
mov eax, dword [ebp - 0x2c]
or eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea ecx, [ebp - 0x90]
call fcn.004018f3
pop ecx
pop ecx
mov ecx, eax
call fcn.0042fa1f
push eax
call fcn.00498447
pop ecx
lea ecx, [ebp - 0x90]
call fcn.0042fa15
jmp 0x423221
jmp 0x42320b
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0x5dbb
jge 0x423287
push dword [ebp - 0x68]
call fcn.00498447
pop ecx
jmp 0x4232a3
or dword [ebp - 4], 0xffffffff
jmp 0x4232ad
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret