Function at 0x10069799
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10069a95
lea eax, [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x1006992b
mov dword [ebp - 0x50], 0x665c
mov dword [ebp - 0xd0], 0x1000e080
cmp dword [ebp - 0x50], 0x67a1
jle 0x100698ce
and dword [ebp - 0x3c], 0
jmp 0x10069802
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x7c5a
jge 0x100698ce
and dword [ebp - 0x18], 0
jmp 0x1006981c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2715
jge 0x100698c9
and dword [ebp - 0x38], 0
jmp 0x10069836
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x7ece
jge 0x100698c4
and dword [ebp - 0x20], 0
jmp 0x10069850
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xd57
jge 0x100698bf
mov eax, dword [ebp - 0x3c]
cdq
idiv dword [ebp - 0x18]
add edx, dword [ebp - 0x38]
or edx, dword [ebp - 0x20]
mov eax, edx
cdq
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xdc], eax
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x128]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x128]
call fcn.100252df
jmp 0x10069849
jmp 0x1006982f
jmp 0x10069815
jmp 0x100697fb
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x50], 0x63e3
jge 0x100698e9
push dword [ebp - 0xd0]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax]
test eax, eax
je 0x10069926
push 0x9ea
push 0x242d
push 0x962
push 1
push 0x64e4
push 0
push 1
push 0x6ebe
call fcn.10079abf
add esp, 0x20
jmp 0x10069a90
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x4c], 0x3db9
mov dword [ebp - 0x98], 0x1000e0d8
cmp dword [ebp - 0x4c], 0x3e74
jle 0x10069a24
and dword [ebp - 0xc], 0
jmp 0x1006995f
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x6dd7
jge 0x10069a24
and dword [ebp - 0x30], 0
jmp 0x10069979
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x5532
jge 0x10069a1f
and dword [ebp - 0x28], 0
jmp 0x10069993
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xdbb
jge 0x10069a1a
and dword [ebp - 0x34], 0
jmp 0x100699a9
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x31c9
jge 0x10069a15
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x34]
or eax, dword [ebp - 0xc]
cdq
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0xe0], eax
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
lea ecx, [ebp - 0xf8]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xf8]
call fcn.100252df
jmp 0x100699a2
jmp 0x1006998c
jmp 0x10069972
jmp 0x10069958
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0x4c], 0x3ba8
jge 0x10069a45
push dword [ebp - 0x98]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10069a70
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], 1
jge 0x10069a90
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x94]
call fcn.10025597
mov dword [eax], 0x51d77f17
jmp 0x10069a65
jmp 0x10069cf5
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax]
test eax, eax
je 0x10069ac4
push 0
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x10069cf5
mov dword [ebp - 0x54], 0x78c6
mov dword [ebp - 0x60], 0x1000e128
cmp dword [ebp - 0x54], 0x7976
jle 0x10069baf
and dword [ebp - 0x10], 0
jmp 0x10069aec
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x5c4d
jge 0x10069baf
and dword [ebp - 0x14], 0
jmp 0x10069b06
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x44af
jge 0x10069baa
and dword [ebp - 0x1c], 0
jmp 0x10069b20
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x79a5
jge 0x10069ba5
and dword [ebp - 0x24], 0
jmp 0x10069b36
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7dde
jge 0x10069ba0
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x74], ax
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x110]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x110]
call fcn.100252df
jmp 0x10069b2f
jmp 0x10069b19
jmp 0x10069aff
jmp 0x10069ae5
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x54], 0x779d
jge 0x10069bc7
push dword [ebp - 0x60]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x48], 0x14f6
mov dword [ebp - 0x90], 0x1000e188
cmp dword [ebp - 0x48], 0x157d
jle 0x10069caa
and dword [ebp - 0x2c], 0
jmp 0x10069c07
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6ad9
jge 0x10069caa
and dword [ebp - 0x44], 0
jmp 0x10069c21
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x18f9
jge 0x10069ca5
and dword [ebp - 0x40], 0
jmp 0x10069c37
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x89c
jge 0x10069ca0
mov eax, dword [ebp - 0x2c]
cdq
idiv dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
shl edx, cl
mov eax, edx
cdq
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0xb8], ax
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x140]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x140]
call fcn.100252df
jmp 0x10069c30
jmp 0x10069c1a
jmp 0x10069c00
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10069cc0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x10069ce0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x88]
call fcn.10025597
mov dword [eax], 0xfffffff6
jmp 0x10069cb5
cmp dword [ebp - 0x48], 0x12c9
jge 0x10069cf5
push dword [ebp - 0x90]
call fcn.1008287d
pop ecx
mov esp, ebp
pop ebp
ret