Function at 0x1001de18
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov dword [ebp - 0x4c], 0x5492
mov dword [ebp - 0x78], 0x10007768
cmp dword [ebp - 0x4c], 0x55ed
jle 0x1001deec
and dword [ebp - 0x18], 0
jmp 0x1001de49
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7766
jge 0x1001deec
and dword [ebp - 0x28], 0
jmp 0x1001de63
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x4acb
jge 0x1001dee7
and dword [ebp - 0x30], 0
jmp 0x1001de79
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x1864
jge 0x1001dee2
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
shl eax, cl
xor eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x6c], ax
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
lea ecx, [ebp - 0xe8]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xe8]
call fcn.100252df
jmp 0x1001de72
jmp 0x1001de5c
jmp 0x1001de42
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1001e001
lea eax, [ebp + 0xc]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x40], 0x474e
mov dword [ebp - 0x64], 0x100077c0
cmp dword [ebp - 0x40], 0x477d
jle 0x1001dfa2
and dword [ebp - 0x3c], 0
jmp 0x1001df29
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x7cf0
jge 0x1001dfa2
and dword [ebp - 0x20], 0
jmp 0x1001df3f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5e1c
jge 0x1001dfa0
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0xc8], eax
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x118]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x118]
call fcn.100252df
jmp 0x1001df38
jmp 0x1001df22
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x1001dfd4
mov byte [ebp - 2], 0
push 1
push 0x4ada
lea eax, [ebp - 2]
push eax
push 1
push 0x1c63
push 0x2cef
call fcn.1001cdc2
add esp, 0x18
jmp 0x1001dfea
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001dfea
push 0
push 0
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp dword [ebp - 0x40], 0x466b
jge 0x1001dffc
push dword [ebp - 0x64]
call fcn.1008287d
pop ecx
jmp 0x1001e2bd
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x1001e171
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x48], 0x4305
mov dword [ebp - 0x7c], 0x10007814
cmp dword [ebp - 0x48], 0x453e
jle 0x1001e132
and dword [ebp - 0x34], 0
jmp 0x1001e073
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x1d5
jge 0x1001e132
and dword [ebp - 0x38], 0
jmp 0x1001e08d
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x2c47
jge 0x1001e12d
and dword [ebp - 0xc], 0
jmp 0x1001e0a7
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x750
jge 0x1001e128
and dword [ebp - 0x10], 0
jmp 0x1001e0bd
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2088
jge 0x1001e123
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0xc]
or eax, dword [ebp - 0x34]
or eax, dword [ebp - 0x10]
cdq
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xcc], eax
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x100]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x100]
call fcn.100252df
jmp 0x1001e0b6
jmp 0x1001e0a0
jmp 0x1001e086
jmp 0x1001e06c
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x48], 0x424c
jge 0x1001e150
push dword [ebp - 0x7c]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1001e2bd
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x44], 0x77c6
mov dword [ebp - 0x70], 0x1000782c
cmp dword [ebp - 0x44], 0x7865
jle 0x1001e26c
and dword [ebp - 0x24], 0
jmp 0x1001e1ab
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x618f
jge 0x1001e26c
and dword [ebp - 0x14], 0
jmp 0x1001e1c5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5c7f
jge 0x1001e267
and dword [ebp - 0x1c], 0
jmp 0x1001e1df
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6ec8
jge 0x1001e262
and dword [ebp - 0x2c], 0
jmp 0x1001e1f5
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xecf
jge 0x1001e25d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
xor eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xd0], eax
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x130]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x130]
call fcn.100252df
jmp 0x1001e1ee
jmp 0x1001e1d8
jmp 0x1001e1be
jmp 0x1001e1a4
mov eax, dword [ebp - 0x58]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1001e28e
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 0x1001e2ab
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x68]
call fcn.10025597
mov dword [eax], 8
jmp 0x1001e283
cmp dword [ebp - 0x44], 0x748b
jge 0x1001e2bd
push dword [ebp - 0x70]
call fcn.1008287d
pop ecx
cmp dword [ebp - 0x4c], 0x5160
jge 0x1001e2cf
push dword [ebp - 0x78]
call fcn.1008287d
pop ecx
mov esp, ebp
pop ebp
ret