Function at 0x1001582e
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10015a89
lea eax, [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10015864
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x10015a87
mov dword [ebp - 0x7c], 4
mov dword [ebp - 0x6c], 0xebaeef20
mov dword [ebp - 0x40], 0x45f1dbec
mov dword [ebp - 0x24], 0x6388
mov dword [ebp - 0x4c], 0x1000688c
cmp dword [ebp - 0x24], 0x6464
jle 0x1001592e
and dword [ebp - 8], 0
jmp 0x100158a1
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10f4
jge 0x1001592e
and dword [ebp - 0x20], 0
jmp 0x100158bb
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xfdf
jge 0x10015929
and dword [ebp - 0x10], 0
jmp 0x100158d1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x71e9
jge 0x10015927
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
shl eax, cl
or eax, dword [ebp - 0x10]
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x74], eax
push dword [ebp - 0x50]
push dword [ebp - 0x54]
lea ecx, [ebp - 0x94]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x94]
call fcn.100252df
jmp 0x100158ca
jmp 0x100158b4
jmp 0x1001589a
mov dword [ebp - 0x60], 0xc0d37ad4
cmp dword [ebp - 0x24], 0x61e7
jge 0x10015947
push dword [ebp - 0x4c]
call fcn.1008287d
pop ecx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x78], 0x909b7928
mov dword [ebp - 0x70], 0xed8f
mov dword [ebp - 0x28], 0x18d6
mov dword [ebp - 0x30], 0x100068c8
cmp dword [ebp - 0x28], 0x1c8c
jle 0x10015a3d
and dword [ebp - 0x1c], 0
jmp 0x1001598b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4a74
jge 0x10015a3d
and dword [ebp - 0x18], 0
jmp 0x100159a5
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfd4
jge 0x10015a38
and dword [ebp - 4], 0
jmp 0x100159bf
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x6910
jge 0x10015a33
and dword [ebp - 0xc], 0
jmp 0x100159d5
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x835
jge 0x10015a31
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x18]
add edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
sar edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
lea ecx, [ebp - 0xac]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xac]
call fcn.100252df
jmp 0x100159ce
jmp 0x100159b8
jmp 0x1001599e
jmp 0x10015984
mov dword [ebp - 0x2c], 0x1bb3
cmp dword [ebp - 0x28], 0x17c2
jge 0x10015a56
push dword [ebp - 0x30]
call fcn.1008287d
pop ecx
mov dword [ebp - 0x14], 0
jmp 0x10015a66
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10015a79
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x64], 0xa4d63a88
jmp 0x10015a5f
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x40], 0x30054750
jmp 0x10015a91
push 0
call fcn.1001e2d3
pop ecx
mov esp, ebp
pop ebp
ret