Function at 0x422821
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x422a64
lea eax, [ebp + 8]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x422a39
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x422a1b
mov dword [ebp - 0x60], 0x4c3f4f88
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x8c], 0xfffffffe
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x18], 0xfffffff9
mov dword [ebp - 0x80], 4
push 3
lea ecx, [ebp - 0x78]
call fcn.0042f0c5
mov dword [ebp - 0x84], 0xffffffff
mov dword [ebp - 8], 1
mov dword [ebp - 0x40], 0xfffffffa
mov dword [ebp - 0x64], 0x6f9a4d91
mov dword [ebp - 0x5c], 1
mov dword [ebp - 4], 0
jmp 0x4228ed
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x422900
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x50], 0x7013
jmp 0x4228e6
mov dword [ebp - 4], 0
jmp 0x422910
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x422926
push dword [ebp - 4]
lea ecx, [ebp - 0x78]
call fcn.0042f1b3
and dword [eax], 0
jmp 0x422909
push 0xfffffffffffffff6
pop eax
test eax, eax
je 0x422946
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, 0xccedb775
test eax, eax
je 0x422946
mov dword [ebp - 0x24], 1
jmp 0x42294a
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x64]
test eax, eax
je 0x42297c
push 2
lea ecx, [ebp - 0x78]
call fcn.0042f1b3
cmp dword [eax], 0
je 0x42297c
mov eax, 0x4448
test eax, eax
je 0x42297c
mov dword [ebp - 0x14], 1
jmp 0x422980
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0xfffffffb
jne 0x42299c
push 5
pop eax
test eax, eax
je 0x42299c
cmp dword [ebp - 0x2c], 0
je 0x42299c
mov dword [ebp - 0xc], 1
jmp 0x4229a0
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0xaba9a984
ja 0x4229b2
mov dword [ebp - 0x1c], 1
jmp 0x4229b6
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 1
jg 0x4229cb
mov eax, 0x57218670
test eax, eax
jne 0x4229cb
and dword [ebp - 0x10], 0
jmp 0x4229d2
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x18], eax
jl 0x4229e9
mov dword [ebp - 0x20], 1
jmp 0x4229ed
and dword [ebp - 0x20], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x50]
cmp eax, dword [ebp - 0x20]
je 0x422a05
mov dword [ebp - 0x28], 1
jmp 0x422a09
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
neg eax
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x78]
call fcn.0042f197
jmp 0x422a37
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x422a37
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x422a62
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x422a5a
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
jmp 0x422a62
push 0
call dword [sym.imp.KERNEL32.dll_GlobalLock]
jmp 0x422a80
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
push 0
push dword [ebp - 0x4c]
push dword [ebp - 0x54]
call fcn.0040da00
add esp, 0xc
mov esp, ebp
pop ebp
ret