Function at 0x10052a79
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008dbd4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10052ff7
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc4], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x10052e27
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xa4], eax
push 1
mov ecx, dword [ebp - 0x38]
call fcn.10022bff
mov dword [eax], 0xfffffffc
jmp 0x10052b5f
push 1
mov ecx, dword [ebp - 0x38]
call fcn.10022bff
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
push 1
mov ecx, dword [ebp - 0x38]
call fcn.10022bff
cmp dword [eax], 0xfffffff6
jne 0x10052e22
push 3
lea ecx, [ebp - 0x60]
call fcn.10022b61
and dword [ebp - 4], 0
mov dword [ebp - 0xf0], 0x1a4d63a8
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x50], 0x4356
mov dword [ebp - 0x9c], 0x1000cac0
cmp dword [ebp - 0x50], 0x43de
jle 0x10052c4d
and dword [ebp - 0x14], 0
jmp 0x10052bbf
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x36c4
jge 0x10052c47
and dword [ebp - 0x1c], 0
jmp 0x10052bd5
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2d8c
jge 0x10052c42
and dword [ebp - 0x2c], 0
jmp 0x10052beb
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x7329
jge 0x10052c40
and dword [ebp - 0x24], 0
jmp 0x10052c01
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1e61
jge 0x10052c3e
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
and ecx, dword [ebp - 0x24]
xor eax, ecx
cdq
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], edx
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x10052bfa
jmp 0x10052be4
jmp 0x10052bce
jmp 0x10052bb8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0xec], 6
mov dword [ebp - 0xe8], 6
mov dword [ebp - 0xe4], 6
mov dword [ebp - 0xe0], 6
lea ecx, [ebp - 0x31]
call fcn.10022c0e
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x120]
call fcn.10022c11
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x110]
call fcn.10022bbd
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], 0x4311
jge 0x10052cc4
mov edx, dword [ebp - 0x9c]
mov ecx, 0x10092b78
call fcn.10025597
push 0x74a7
push 0x41b9
push 1
push 0x360c
push 0x2fd8
push 1
push 0x67b3
push 0x28
lea eax, [ebp - 0x60]
push eax
push 0x6194
lea eax, [ebp - 0x104]
push eax
call fcn.10050b27
add esp, 0x2c
push 2
lea ecx, [ebp - 0x60]
call fcn.10022bff
mov dword [eax], 0xffffffe8
jmp 0x10052d25
push 2
lea ecx, [ebp - 0x60]
call fcn.10022bff
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x60]
call fcn.10022bff
cmp dword [eax], 0xe
jg 0x10052dd7
mov dword [ebp - 0xf4], 0x40eb
push 3
lea ecx, [ebp - 0x100]
call fcn.10022b61
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.10055fd0
add esp, 0xc
push 0x2a1b
push 0x5f8d
push 0x4a58
push 0x13ca
push dword [ebp - 0x84]
push 0x24f5
push 0x6035
push 0x59a6
push 0
push 0x70e9
push 0x78c8
push 0x5916
push 0x4bb1
push 0x61c9
push 0x7eb0
push 0x54f3
push 1
call fcn.10050f51
add esp, 0x44
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x100]
call fcn.10022be3
jmp 0x10052d0d
mov eax, dword [ebp - 0xa4]
cmp dword [eax], 0
je 0x10052e02
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x110]
call fcn.10022be3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10022be3
jmp 0x10052b47
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x110]
call fcn.10022be3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10022be3
jmp 0x10052b47
jmp 0x10052ff5
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x40], 0x2cd8
mov dword [ebp - 0xb8], 0x1000caf8
cmp dword [ebp - 0x40], 0x2f02
jle 0x10052f37
and dword [ebp - 0x28], 0
jmp 0x10052e7c
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x6e3c
jge 0x10052f37
and dword [ebp - 0x18], 0
jmp 0x10052e96
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x8027
jge 0x10052f32
and dword [ebp - 0x20], 0
jmp 0x10052eb0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4c93
jge 0x10052f2d
and dword [ebp - 0x30], 0
jmp 0x10052ec6
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x69b8
jge 0x10052f28
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
shl eax, cl
and eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x138]
call fcn.100118ee
pop ecx
pop ecx
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
call fcn.10022827
push eax
call fcn.10077843
pop ecx
lea ecx, [ebp - 0x138]
call fcn.1002281d
jmp 0x10052ebf
jmp 0x10052ea9
jmp 0x10052e8f
jmp 0x10052e75
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x40], 0x2abe
jge 0x10052f55
push dword [ebp - 0xb8]
call fcn.10077843
pop ecx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x10052fce
push 1
mov ecx, dword [ebp - 0x78]
call fcn.10022bff
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x10052faa
mov eax, dword [ebp - 0x80]
cmp dword [eax], 0
je 0x10052faa
mov dword [ebp - 0x4c], 1
jmp 0x10052fae
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
sub eax, dword [ebp - 0x4c]
je 0x10052fce
mov dword [ebp - 0x88], 1
jmp 0x10052fd5
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
ja 0x10052fe6
mov dword [ebp - 0x54], 1
jmp 0x10052fea
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
jmp 0x10052fff
push 1
call fcn.1004e014
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret