Function at 0x43e6b2
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x43e9a5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x9c], eax
lea eax, [ebp + 0x44]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x43e775
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x48], eax
push 0x4e87
push 1
push dword [ebp - 0x64]
push dword [ebp - 0xbc]
push dword [ebp - 0x48]
push dword [ebp - 0xa4]
push dword [ebp - 0x74]
call fcn.0043ead0
add esp, 0x1c
jmp 0x43e9a0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc4]
movzx eax, byte [eax]
test eax, eax
je 0x43e98e
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xd0], eax
or eax, 0xffffffff
je 0x43e7fb
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x43e7fb
mov dword [ebp - 0x40], 1
jmp 0x43e7ff
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0x7b30
jg 0x43e811
mov dword [ebp - 0x1c], 1
jmp 0x43e815
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jl 0x43e82d
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x43e82d
and dword [ebp - 0x28], 0
jmp 0x43e834
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x28], 1
jne 0x43e848
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x43e848
and dword [ebp - 0x38], 0
jmp 0x43e84f
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
je 0x43e862
mov dword [ebp - 0x30], 1
jmp 0x43e866
and dword [ebp - 0x30], 0
imul eax, dword [ebp - 0x30], 0x4aaf
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jl 0x43e87d
mov dword [ebp - 0x20], 1
jmp 0x43e881
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jge 0x43e894
mov dword [ebp - 0x24], 1
jmp 0x43e898
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x24]
je 0x43e8b0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x43e8b0
and dword [ebp - 0x2c], 0
jmp 0x43e8b7
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x43e8e0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x43e8e0
and dword [ebp - 0x18], 0
jmp 0x43e8e7
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 1
jne 0x43e8fe
mov dword [ebp - 0x34], 1
jmp 0x43e902
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0
ja 0x43e911
mov dword [ebp - 0x3c], 1
jmp 0x43e915
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
imul eax, dword [ebp - 0x3c]
add eax, 0xc321
jne 0x43e92d
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x43e954
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov byte [ebp - 7], 0
movzx eax, byte [ebp - 7]
test eax, eax
je 0x43e952
push 0xc83
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x43e98c
mov dword [ebp - 0x14], 0
jmp 0x43e964
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x43e97a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xe0], 1
jmp 0x43e95d
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp + eax - 0xe0]
mov dword [ecx], eax
jmp 0x43e9a0
mov byte [ebp - 6], 0
movzx eax, byte [ebp - 6]
test eax, eax
je 0x43e9a0
call dword [sym.imp.USER32.dll_GetCapture]
jmp 0x43eacc
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x43ea9f
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x43ea77
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 1
jmp 0x43ea3f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jl 0x43ea75
push 0x2fb4
push 1
push 0x4d4f
push 0x4b67
push 1
push 1
push 0
push dword [ebp - 0xb0]
push 0
push 0x7a73
call fcn.0043de86
add esp, 0x28
jmp 0x43ea34
jmp 0x43ea9d
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x43ea9d
push 0x7559
push 0
push 1
push 0xbb9
push 1
push 0
call fcn.004375a4
add esp, 0x18
jmp 0x43eacc
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
push 0x7fc
push 0
push 0x4ad1
push dword [ebp - 0xc0]
push 1
push 0x1b25
call fcn.0043751e
add esp, 0x18
mov esp, ebp
pop ebp
ret