Function at 0x42ac86
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x42ad52
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x42acde
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x42acdc
push 0x1255
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x42ad4d
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.004106b1
and dword [eax], 0
jmp 0x42ad17
push 0
mov ecx, dword [ebp - 0x14]
call fcn.004106b1
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.004106b1
cmp dword [eax], 0xffffffea
jl 0x42ad4d
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x7c], 0x849f845d
cmp dword [ebp - 0x6c], 0
je 0x42ad3c
jmp 0x42ad4d
push 0
mov ecx, dword [ebp - 0x14]
call fcn.004106b1
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
jmp 0x42acff
jmp 0x42afb3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0xc], 0xec2e0cf5
mov dword [ebp - 0x2c], 0xffff
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x42ad8c
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebp - 0xc], 0xffffffe4
jmp 0x42ad9c
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1a
jge 0x42af8e
push 2
lea ecx, [ebp - 0x50]
call fcn.00410610
mov dword [ebp - 4], 0xd86e52d8
mov dword [ebp - 0x28], 0xfffffffb
push 1
lea ecx, [ebp - 0x90]
call fcn.00410610
mov dword [ebp - 8], 0
jmp 0x42addb
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x42adf4
push dword [ebp - 8]
lea ecx, [ebp - 0x50]
call fcn.004106b1
mov dword [eax], 0xfffffff9
jmp 0x42add4
mov dword [ebp - 8], 0
jmp 0x42ae04
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x42ae20
push dword [ebp - 8]
lea ecx, [ebp - 0x90]
call fcn.004106b1
mov dword [eax], 0x236728ad
jmp 0x42adfd
mov dword [ebp - 4], 1
jmp 0x42ae30
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x42af76
push dword [ebp - 4]
lea ecx, [ebp - 0x50]
call fcn.004106b1
cmp dword [eax], 0
je 0x42aec0
push dword [ebp - 4]
lea ecx, [ebp - 0x50]
call fcn.004106b1
mov ecx, dword [ebp - 0xc]
cmp dword [eax], ecx
jg 0x42ae65
mov dword [ebp - 0x38], 1
jmp 0x42ae69
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0xfffffffa
ja 0x42ae7e
mov eax, 0x5671
test eax, eax
jne 0x42ae7e
and dword [ebp - 0x24], 0
jmp 0x42ae85
mov dword [ebp - 0x24], 1
push dword [ebp - 4]
lea ecx, [ebp - 0x50]
call fcn.004106b1
mov eax, dword [eax]
cmp eax, dword [ebp - 0x24]
jge 0x42aea0
mov dword [ebp - 0x34], 1
jmp 0x42aea4
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0xc]
cmp eax, 0x3b37
jle 0x42aec0
mov dword [ebp - 0x40], 1
jmp 0x42aec4
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
dec eax
cmp eax, 0x6c71
jge 0x42aed8
mov dword [ebp - 0x1c], 1
jmp 0x42aedc
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1c], eax
jle 0x42aeed
mov dword [ebp - 0x20], 1
jmp 0x42aef1
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x42af0f
mov eax, 0xc0e07525
test eax, eax
je 0x42af0f
mov dword [ebp - 0x30], 1
jmp 0x42af13
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x30], eax
jl 0x42af24
mov dword [ebp - 0x58], 1
jmp 0x42af28
and dword [ebp - 0x58], 0
push dword [ebp - 4]
lea ecx, [ebp - 0x50]
call fcn.004106b1
mov eax, 0x7d0d
cmp eax, 0xffffffff
jg 0x42af46
mov dword [ebp - 0x18], 1
jmp 0x42af4a
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x18], eax
jg 0x42af5b
mov dword [ebp - 0x44], 1
jmp 0x42af5f
and dword [ebp - 0x44], 0
push 0
lea ecx, [ebp - 0x90]
call fcn.004106b1
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
jmp 0x42ae29
lea ecx, [ebp - 0x90]
call fcn.004106ac
lea ecx, [ebp - 0x50]
call fcn.004106ac
jmp 0x42ad95
push 0
push dword [ebp - 0x60]
push 0x2029
push 0x5709
push dword [ebp - 0x68]
push dword [ebp - 0x70]
push 0x7218
push dword [ebp - 0x78]
call fcn.0043be19
add esp, 0x20
mov esp, ebp
pop ebp
ret