Function at 0x1002c800
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002cae8
lea eax, [ebp + 8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x3c], 0x7984
mov dword [ebp - 0x88], 0x10008bb8
cmp dword [ebp - 0x3c], 0x7b52
jle 0x1002c913
and dword [ebp - 0x1c], 0
jmp 0x1002c84f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x46e
jge 0x1002c913
and dword [ebp - 0x2c], 0
jmp 0x1002c869
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x511b
jge 0x1002c90e
and dword [ebp - 0x24], 0
jmp 0x1002c883
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2ceb
jge 0x1002c909
and dword [ebp - 0x14], 0
jmp 0x1002c899
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x65a0
jge 0x1002c904
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov eax, dword [ebp - 0x1c]
sar eax, cl
cdq
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0xbc], eax
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
lea ecx, [ebp - 0xd8]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xd8]
call fcn.100252df
jmp 0x1002c892
jmp 0x1002c87c
jmp 0x1002c862
jmp 0x1002c848
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x1002c957
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x1002c952
push 0x61dc
push 1
push 0x7721
push 0
call fcn.1002c53d
add esp, 0x10
jmp 0x1002cace
mov dword [ebp - 0xa0], 3
mov dword [ebp - 0x98], 0x647dc4b
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x74], 0xfffffff6
mov dword [ebp - 0x38], 0x6cab
mov dword [ebp - 0x44], 0x10008c00
cmp dword [ebp - 0x38], 0x6fdb
jle 0x1002ca67
and dword [ebp - 0x10], 0
jmp 0x1002c9a1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x784d
jge 0x1002ca67
and dword [ebp - 0x30], 0
jmp 0x1002c9bb
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x351
jge 0x1002ca62
and dword [ebp - 0x34], 0
jmp 0x1002c9d5
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x3a49
jge 0x1002ca5d
and dword [ebp - 0xc], 0
jmp 0x1002c9eb
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x6909
jge 0x1002ca58
mov eax, dword [ebp - 0x34]
cdq
idiv dword [ebp - 0xc]
add edx, dword [ebp - 0x30]
and edx, dword [ebp - 0x10]
mov eax, edx
cdq
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x64], ax
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xf0]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xf0]
call fcn.100252df
jmp 0x1002c9e4
jmp 0x1002c9ce
jmp 0x1002c9b4
jmp 0x1002c99a
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002ca9a
push 1
push 1
push 0x5f1e
push 0x441e
push 0x7c41
push 0x3e9
push 0x3922
push 1
call fcn.10029cb9
add esp, 0x20
cmp dword [ebp - 0x38], 0x6b8d
jge 0x1002caac
push dword [ebp - 0x44]
call fcn.1008287d
pop ecx
push 1
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
call fcn.1002b840
add esp, 0x18
cmp dword [ebp - 0x3c], 0x75dc
jge 0x1002cae3
push dword [ebp - 0x88]
call fcn.1008287d
pop ecx
jmp 0x1002cc4f
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x40], 0x7552
mov dword [ebp - 0x80], 0x10008c50
cmp dword [ebp - 0x40], 0x75dd
jle 0x1002cbcb
and dword [ebp - 0x18], 0
jmp 0x1002cb2e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4950
jge 0x1002cbcb
and dword [ebp - 0x20], 0
jmp 0x1002cb48
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4422
jge 0x1002cbc6
and dword [ebp - 0x28], 0
jmp 0x1002cb5e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x53f6
jge 0x1002cbc1
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0xc0], eax
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x108]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x108]
call fcn.100252df
jmp 0x1002cb57
jmp 0x1002cb41
jmp 0x1002cb27
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x1002cbf2
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [eax], 0x30054750
jmp 0x1002cc3d
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1002cc20
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jge 0x1002cc3d
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x78]
call fcn.10025597
mov dword [eax], 0x8bc0d133
jmp 0x1002cc15
cmp dword [ebp - 0x40], 0x74bd
jge 0x1002cc4f
push dword [ebp - 0x80]
call fcn.1008287d
pop ecx
mov esp, ebp
pop ebp
ret