Function at 0x10037f80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd638
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x100e70dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1a8], edi
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x198], esi
call fcn.1007b9bb
test eax, eax
je 0x10038679
nop
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x17c], xmm0
push esi
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.1007b0c3
push eax
lea ecx, [ebp - 0x17c]
call fcn.1007ad82
push 4
push 0x100da3d0
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 4], 1
call fcn.10035a20
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x10038031
mov eax, dword [eax]
lea ecx, [ebp - 0x15c]
push ecx
push eax
lea ecx, [ebp - 0x17c]
call fcn.1007b18b
mov ecx, eax
call fcn.1007b435
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1ac]
cmp eax, 0x10
jb 0x1003806d
inc eax
lea ecx, [ebp - 0x1c0]
push eax
push dword [ebp - 0x1c0]
call fcn.10003a90
push 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 0x1ac], 0xf
push 0
mov dword [ebp - 0x1b0], 0
mov byte [ebp - 0x1c0], 0
push eax
mov byte [ebp - 4], 4
call fcn.100953e0
add esp, 0xc
lea ecx, [ebp - 0x114]
cmp dword [ebp - 0x148], 0x10
lea eax, [ebp - 0x15c]
cmovae eax, dword [ebp - 0x15c]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
jne 0x10038105
xor ecx, ecx
jmp 0x10038119
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038110
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x144]
call fcn.100038b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1d8]
xorps xmm0, xmm0
push 7
movups xmmword [ebp - 0x16c], xmm0
push 0x100da3d8
mov byte [ebp - 4], 6
call fcn.10035a20
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x1003815c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x17c]
call fcn.1007b18b
push eax
lea ecx, [ebp - 0x16c]
call fcn.1007ad82
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1c4]
cmp eax, 0x10
jb 0x10038196
inc eax
lea ecx, [ebp - 0x1d8]
push eax
push dword [ebp - 0x1d8]
call fcn.10003a90
mov dword [ebp - 0x1c4], 0xf
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x1c8], 0
xor edi, edi
mov byte [ebp - 0x1d8], 0
mov byte [ebp - 4], 0xa
call fcn.1007b9bb
test eax, eax
je 0x100385c2
nop word [eax + eax]
lea eax, [ebp - 0x12c]
push eax
push edi
lea ecx, [ebp - 0x16c]
call fcn.1007b0c3
mov ecx, eax
call fcn.1007b435
mov edx, dword [ebp - 0x19c]
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 0xc
call fcn.10039630
add esp, 4
mov esi, eax
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0xd
cmp eax, esi
je 0x1003825e
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x10038237
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.10003a90
push esi
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
call fcn.10003250
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x1dc]
cmp eax, 0x10
jb 0x10038280
inc eax
lea ecx, [ebp - 0x1f0]
push eax
push dword [ebp - 0x1f0]
call fcn.10003a90
lea edx, [ebp - 0x12c]
mov dword [ebp - 0x1dc], 0xf
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x1e0], 0
mov byte [ebp - 0x1f0], 0
call fcn.10037c80
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x180], 0xf
mov dword [ebp - 0x184], 0
mov byte [ebp - 0x194], 0
push 7
mov edx, 0x100da460
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x208]
call fcn.100358e0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 0x10
cmp eax, esi
je 0x10038353
mov eax, dword [ebp - 0x180]
cmp eax, 0x10
jb 0x1003832c
inc eax
lea ecx, [ebp - 0x194]
push eax
push dword [ebp - 0x194]
call fcn.10003a90
push esi
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x180], 0xf
mov dword [ebp - 0x184], 0
mov byte [ebp - 0x194], 0
call fcn.10003250
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x1f4]
cmp eax, 0x10
jb 0x10038375
inc eax
lea ecx, [ebp - 0x208]
push eax
push dword [ebp - 0x208]
call fcn.10003a90
mov dword [ebp - 0x1f4], 0xf
mov dword [ebp - 0x1f8], 0
mov byte [ebp - 0x208], 0
push dword [ebp - 0x1a0]
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x194]
cmp dword [ebp - 0x180], 0x10
cmovae eax, dword [ebp - 0x194]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.10031fe0
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0x12
cmp eax, esi
je 0x10038413
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x100383ec
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.10003a90
push esi
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
call fcn.10003250
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x20c]
cmp eax, 0x10
jb 0x10038435
inc eax
lea ecx, [ebp - 0x220]
push eax
push dword [ebp - 0x220]
call fcn.10003a90
mov dword [ebp - 0x20c], 0xf
mov dword [ebp - 0x210], 0
mov byte [ebp - 0x220], 0
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x180]
cmp eax, 0x10
jb 0x10038472
inc eax
lea ecx, [ebp - 0x194]
push eax
push dword [ebp - 0x194]
call fcn.10003a90
mov dword [ebp - 0x180], 0xf
mov dword [ebp - 0x184], 0
mov byte [ebp - 0x194], 0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x224]
cmp eax, 0x10
jb 0x100384af
inc eax
lea ecx, [ebp - 0x238]
push eax
push dword [ebp - 0x238]
call fcn.10003a90
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x224], 0xf
push eax
lea edx, [ebp - 0x144]
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x268]
mov byte [ebp - 0x238], 0
call fcn.100396f0
add esp, 4
mov ecx, dword [ebp - 0x1a4]
push eax
mov byte [ebp - 4], 0x14
call fcn.10039220
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x23c]
cmp eax, 0x10
jb 0x10038517
inc eax
lea ecx, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
call fcn.10003a90
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x250], 0
cmp eax, 0x10
jb 0x10038550
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.10003a90
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x254], 0xf
mov dword [ebp - 0x258], 0
mov byte [ebp - 0x268], 0
cmp eax, 0x10
jb 0x1003858d
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.10003a90
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
inc edi
mov byte [ebp - 0x12c], 0
call fcn.1007b9bb
cmp edi, eax
jb 0x100381d0
mov esi, dword [ebp - 0x198]
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 6
call fcn.1007afdf
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x130]
cmp eax, 0x10
jb 0x100385f3
inc eax
lea ecx, [ebp - 0x144]
push eax
push dword [ebp - 0x144]
call fcn.10003a90
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x148]
cmp eax, 0x10
jb 0x10038630
inc eax
lea ecx, [ebp - 0x15c]
push eax
push dword [ebp - 0x15c]
call fcn.10003a90
mov dword [ebp - 0x148], 0xf
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x14c], 0
mov byte [ebp - 0x15c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.1007afdf
mov edi, dword [ebp - 0x1a8]
inc esi
mov ecx, edi
mov dword [ebp - 0x198], esi
call fcn.1007b9bb
cmp esi, eax
jb 0x10037fe0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007bf25
mov esp, ebp
pop ebp
ret 0xc