Function at 0x1006531a
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1006534c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x5c]
push 1
push dword [ebp - 0x3c]
call fcn.100655b3
add esp, 0xc
jmp 0x100655af
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x2c], 0x35f4
mov dword [ebp - 0x30], 0x1000d710
cmp dword [ebp - 0x2c], 0x39ca
jle 0x10065430
and dword [ebp - 0x10], 0
jmp 0x10065380
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3c4c
jge 0x10065430
and dword [ebp - 0x20], 0
jmp 0x1006539a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1f83
jge 0x1006542b
and dword [ebp - 0x18], 0
jmp 0x100653b4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x5d58
jge 0x10065426
and dword [ebp - 8], 0
jmp 0x100653ca
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x485d
jge 0x10065424
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
xor eax, ecx
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x80], eax
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x98]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x98]
call fcn.100252df
jmp 0x100653c3
jmp 0x100653ad
jmp 0x10065393
jmp 0x10065379
lea eax, [ebp + 0xc]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x2c], 0x3433
jge 0x10065448
push dword [ebp - 0x30]
call fcn.1008287d
pop ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x1006547d
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10065478
push 0
push 0
call dword [sym.imp.USER32.dll_SetWindowPlacement]
jmp 0x100655af
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x28], 0x5211
mov dword [ebp - 0x40], 0x1000d724
cmp dword [ebp - 0x28], 0x5595
jle 0x1006555b
and dword [ebp - 0xc], 0
jmp 0x100654ab
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x6ea
jge 0x1006555b
and dword [ebp - 0x14], 0
jmp 0x100654c5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xe1a
jge 0x10065556
and dword [ebp - 0x1c], 0
jmp 0x100654df
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x56a2
jge 0x10065551
and dword [ebp - 0x24], 0
jmp 0x100654f5
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7c34
jge 0x1006554f
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
and ecx, dword [ebp - 0x24]
or eax, ecx
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x44], ax
push dword [ebp - 0x70]
push dword [ebp - 0x74]
lea ecx, [ebp - 0xb0]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xb0]
call fcn.100252df
jmp 0x100654ee
jmp 0x100654d8
jmp 0x100654be
jmp 0x100654a4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x28], 0x519a
jge 0x10065573
push dword [ebp - 0x40]
call fcn.1008287d
pop ecx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10065595
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 0x100655af
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.10025597
and dword [eax], 0
jmp 0x1006558a
mov esp, ebp
pop ebp
ret