Function at 0x10067054
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100670a0
lea eax, [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x10067095
mov byte [ebp - 2], 0
push 1
lea eax, [ebp - 2]
push eax
push 0
push 0x3ae3
push 0x441a
call fcn.10064dda
add esp, 0x14
jmp 0x1006709b
call dword [sym.imp.KERNEL32.dll_GetACP]
jmp 0x1006745b
mov dword [ebp - 0x44], 0x7131
mov dword [ebp - 0x4c], 0x1000daf0
cmp dword [ebp - 0x44], 0x719a
jle 0x10067189
and dword [ebp - 0x34], 0
jmp 0x100670c8
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x7061
jge 0x10067189
and dword [ebp - 0x14], 0
jmp 0x100670e2
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3ce9
jge 0x10067184
and dword [ebp - 0x28], 0
jmp 0x100670fc
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x36a8
jge 0x1006717f
and dword [ebp - 0x1c], 0
jmp 0x10067112
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4c98
jge 0x1006717a
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
xor ecx, dword [ebp - 0x1c]
or eax, ecx
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xa0], eax
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
lea ecx, [ebp - 0xc4]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xc4]
call fcn.100252df
jmp 0x1006710b
jmp 0x100670f5
jmp 0x100670db
jmp 0x100670c1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x44], 0x6fdf
jge 0x100671a4
push dword [ebp - 0x4c]
call fcn.1008287d
pop ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x10067410
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
imul eax, dword [ecx]
cmp eax, 0xffffffff
je 0x100671f4
mov dword [ebp - 0x3c], 1
jmp 0x100671f8
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
neg eax
cmp eax, 1
jne 0x10067400
mov dword [ebp - 0x40], 0x7f35
mov dword [ebp - 0x6c], 0x1000db34
cmp dword [ebp - 0x40], 0x8293
jle 0x100672d3
and dword [ebp - 0x2c], 0
jmp 0x1006722e
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6cea
jge 0x100672d3
and dword [ebp - 0x24], 0
jmp 0x10067248
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2e5f
jge 0x100672ce
and dword [ebp - 0xc], 0
jmp 0x1006725e
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1462
jge 0x100672c9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
shl eax, cl
and eax, dword [ebp - 0xc]
cdq
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0xa8], eax
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
lea ecx, [ebp - 0xdc]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xdc]
call fcn.100252df
jmp 0x10067257
jmp 0x10067241
jmp 0x10067227
mov byte [ebp - 1], 0
cmp dword [ebp - 0x40], 0x7eff
jge 0x100672e9
push dword [ebp - 0x6c]
call fcn.1008287d
pop ecx
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100673fe
mov dword [ebp - 0x48], 0x50d3
mov dword [ebp - 0x74], 0x1000db70
cmp dword [ebp - 0x48], 0x5266
jle 0x100673d8
and dword [ebp - 0x20], 0
jmp 0x1006731d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xcb8
jge 0x100673d8
and dword [ebp - 0x18], 0
jmp 0x10067337
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6541
jge 0x100673d3
and dword [ebp - 0x30], 0
jmp 0x10067351
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x13b6
jge 0x100673ce
and dword [ebp - 0x10], 0
jmp 0x10067367
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x898
jge 0x100673c9
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
shl eax, cl
xor eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0xa4], eax
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
lea ecx, [ebp - 0xf4]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xf4]
call fcn.100252df
jmp 0x10067360
jmp 0x1006734a
jmp 0x10067330
jmp 0x10067316
push 0x6df4
push 0
push 0x50ef
call fcn.100655b3
add esp, 0xc
cmp dword [ebp - 0x48], 0x4d88
jge 0x100673fe
push dword [ebp - 0x74]
call fcn.1008287d
pop ecx
jmp 0x1006740e
push 0
push 0x30e1
call fcn.1005170f
pop ecx
pop ecx
jmp 0x1006745b
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10067441
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], 4
jge 0x1006745b
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.10025597
and dword [eax], 0
jmp 0x10067436
mov esp, ebp
pop ebp
ret