Function at 0x1003ba31
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062575
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], 0x4d06
mov dword [ebp - 0x74], 0x1000b05c
cmp dword [ebp - 0x34], 0x50b3
jle 0x1003baf1
and dword [ebp - 0x14], 0
jmp 0x1003ba7b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5759
jge 0x1003baf1
and dword [ebp - 0x18], 0
jmp 0x1003ba91
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x379c
jge 0x1003baef
and dword [ebp - 0x1c], 0
jmp 0x1003baa7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3734
jge 0x1003baed
and dword [ebp - 0x20], 0
jmp 0x1003babd
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3ab4
jge 0x1003baeb
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
mov ecx, 0x1060a8b8
call fcn.1000de0e
jmp 0x1003bab6
jmp 0x1003baa0
jmp 0x1003ba8a
jmp 0x1003ba74
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1003bc30
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1003bc1f
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x30], 0x2fd5
mov dword [ebp - 0x54], 0x1000b084
cmp dword [ebp - 0x30], 0x31a2
jle 0x1003bbc6
and dword [ebp - 0x24], 0
jmp 0x1003bb65
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x58cc
jge 0x1003bbc6
and dword [ebp - 0x28], 0
jmp 0x1003bb7b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x5320
jge 0x1003bbc4
and dword [ebp - 0x2c], 0
jmp 0x1003bb91
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x7019
jge 0x1003bbc2
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
mov ecx, 0x1060a8b8
call fcn.1000de0e
jmp 0x1003bb8a
jmp 0x1003bb74
jmp 0x1003bb5e
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x2d9a
jge 0x1003bbe6
mov edx, dword [ebp - 0x54]
mov ecx, 0x1060a8b8
call fcn.1000f7c5
jmp 0x1003bc02
or dword [ebp - 4], 0xffffffff
jmp 0x1003bc0c
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x60]
mov dword [eax], ecx
jmp 0x1003bc2e
push 0xfa8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x1003bc7e
lea eax, [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x1003bc57
push 0xfa8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x1003bc7e
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x1003bc7e
push 0x1c3c
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CombineRgn]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0x4bbc
jge 0x1003bc9b
mov edx, dword [ebp - 0x74]
mov ecx, 0x1060a8b8
call fcn.1000f7c5
jmp 0x1003bcb7
or dword [ebp - 4], 0xffffffff
jmp 0x1003bcc1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret