Function at 0x1002e240
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [0x10063040]
xor eax, esp
mov dword [esp + 0x60], eax
lea edi, [esp + 0x48]
mov dword [esp + 4], edi
mov eax, dword [esp + 4]
lea eax, [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 4]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0x10]
mov dword [eax], 0xf
mov dword [esp + 0x20], edx
cmp dword [edx + 0x10], 0
sete byte [esp + 0xb]
mov dword [esp + 0x30], ecx
mov ecx, 0x3ad0ba3
mov eax, 0x88027e43
jmp 0x1002e2c0
mov edx, dword [esp + 0x1c]
mov ecx, edi
push edx
call fcn.1002eaa0
add esp, 4
mov ecx, 0x1d71b15
mov eax, 0xd619486f
nop word [eax + eax]
cmp ecx, 0x13f99a9d
jle 0x1002e320
cmp ecx, 0x59c04071
jg 0x1002e370
cmp ecx, 0x206c3807
jle 0x1002e40b
cmp ecx, 0x42cdc656
jg 0x1002e4f5
cmp ecx, 0x206c3808
je 0x1002e582
cmp ecx, 0x2428d1e5
jne 0x1002e2c0
mov ecx, dword [esp]
cmp ecx, 0x14a1c252
mov ecx, 0x1de8e594
mov edx, 0xfa2f63ac
cmove ecx, edx
jmp 0x1002e2c0
cmp ecx, 0xf0376094
jle 0x1002e3c0
cmp ecx, 0x39124bd
jle 0x1002e449
cmp ecx, 0xc6b4ef7
jg 0x1002e528
cmp ecx, 0x39124be
je 0x1002e59d
cmp ecx, 0x3ad0ba3
jne 0x1002e2c0
mov dword [esp], eax
mov ecx, 0x206c3808
jmp 0x1002e2c0
cmp ecx, 0x5feb6102
jg 0x1002e477
cmp ecx, 0x5d8f6502
jle 0x1002e55b
cmp ecx, 0x5d8f6503
je 0x1002e5b8
cmp ecx, 0x5e3170d4
jne 0x1002e2c0
mov ecx, dword [esp]
cmp ecx, 0x600fb2ca
mov ecx, 0x7c55aa2b
mov edx, 0x39124be
cmovl ecx, edx
jmp 0x1002e2c0
cmp ecx, 0x9785c754
jg 0x1002e4b6
cmp ecx, 0x8619109f
je 0x1002e29e
cmp ecx, 0x8c538287
je 0x1002e5c2
cmp ecx, 0x96028021
jne 0x1002e2c0
mov ecx, dword [esp]
cmp ecx, 0xd619486f
mov ecx, 0x13f99a9e
mov edx, 0x42cdc657
cmovl ecx, edx
jmp 0x1002e2c0
cmp ecx, 0x13f99a9e
je 0x1002e5dd
cmp ecx, 0x1de8e594
je 0x1002e5f8
cmp ecx, 0x1e17efee
jne 0x1002e2c0
mov eax, dword [esp + 0x10]
cmp dword [eax], 0x10
mov eax, dword [esp + 0x24]
jae 0x1002ea18
mov eax, dword [esp + 4]
jmp 0x1002ea1a
cmp ecx, 0xf0376095
je 0x1002e602
cmp ecx, 0xfa2f63ac
je 0x1002e67f
cmp ecx, 0x1d71b15
jne 0x1002e2c0
mov ecx, 0x3ad0ba3
jmp 0x1002e2c0
cmp ecx, 0x5feb6103
je 0x1002e988
cmp ecx, 0x72720319
je 0x1002e9a3
cmp ecx, 0x7c55aa2b
jne 0x1002e2c0
mov ecx, dword [esp]
cmp ecx, 0x600fb2ca
mov ecx, 0x1de8e594
mov edx, 0x5c25e69b
cmove ecx, edx
jmp 0x1002e2c0
cmp ecx, 0x9785c755
je 0x1002e9bf
cmp ecx, 0xc70e0e6a
je 0x1002e9dc
cmp ecx, 0xc9739669
jne 0x1002e2c0
mov ecx, dword [esp]
cmp ecx, 0x2d890a0d
mov ecx, 0x531b4969
mov edx, 0x8c538287
cmovl ecx, edx
jmp 0x1002e2c0
cmp ecx, 0x42cdc657
je 0x1002e9e2
cmp ecx, 0x531b4969
jne 0x1002e2c0
mov ecx, dword [esp]
cmp ecx, 0x2d890a0d
mov ecx, 0x1de8e594
mov edx, 0xf0376095
cmove ecx, edx
jmp 0x1002e2c0
cmp ecx, 0xc6b4ef8
je 0x1002e9fd
cmp ecx, 0x10b6e510
jne 0x1002e2c0
mov ecx, dword [esp]
cmp ecx, 0xd6c64852
mov ecx, 0x1de8e594
mov edx, 0x1e17efee
cmove ecx, edx
jmp 0x1002e2c0
cmp ecx, 0x59c04072
jne 0x1002ea5f
mov ecx, dword [esp]
cmp ecx, 0xd6c64852
mov ecx, 0xc6b4ef8
mov edx, 0x96028021
cmovl ecx, edx
jmp 0x1002e2c0
mov ecx, dword [esp]
cmp ecx, 0x174160c0
mov ecx, 0x5feb6103
mov edx, 0x59c04072
cmovl ecx, edx
jmp 0x1002e2c0
mov ecx, dword [esp]
cmp ecx, 0x428c19f6
mov ecx, 0x1de8e594
mov edx, 0x9785c755
cmove ecx, edx
jmp 0x1002e2c0
mov ecx, 0x1d71b15
jmp 0x1002e2c0
mov ecx, dword [esp]
cmp ecx, 0x174160c0
mov ecx, 0x1de8e594
mov edx, 0x8619109f
cmove ecx, edx
jmp 0x1002e2c0
mov ecx, dword [esp]
cmp ecx, 0xd619486f
mov ecx, 0x1de8e594
mov edx, 0xc70e0e6a
cmove ecx, edx
jmp 0x1002e2c0
mov ecx, 0x5d8f6503
jmp 0x1002e2c0
lea eax, [esp + 0x58]
mov dword [esp + 0x14], eax
mov ecx, edi
mov edx, 0x104
push 0x104
call fcn.1002eaa0
add esp, 4
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
cmp dword [ecx], 0x10
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 4]
jb 0x1002e639
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
cmp dword [edx + 0x14], 0x10
jb 0x1002e649
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x18]
mov eax, 0xd6c64852
mov ecx, 0x14a1c252
cmova eax, ecx
mov ecx, 0x1d71b15
jmp 0x1002e2c0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
lea ecx, [edx - 0x1468a6a5]
mov esi, ecx
xor esi, 0x1468a6a5
lea esi, [esi + esi*2]
add esi, edx
add edx, edx
add edx, 0xd72eb2b6
mov edi, edx
or edi, 0x28d14d4a
sub esi, edi
xor ecx, 0xeb97595a
add ecx, esi
and edx, 0x28d14d4a
lea esi, [edx + ecx]
add ecx, edx
add ecx, 1
mov edx, ecx
and edx, eax
add edx, esi
add edx, 1
sub edx, eax
mov esi, ecx
or esi, eax
not esi
add esi, edx
xor ecx, eax
add ecx, esi
imul eax, ecx, 0xa96eb757
add eax, 0xa96eb757
mov ecx, eax
and ecx, 0x835cf3e9
mov edx, eax
xor edx, 0x835cf3e9
add edx, ecx
or eax, 0x7ca30c16
lea ecx, [edx + eax]
add eax, edx
add eax, 0xff0693ec
mov edx, eax
not edx
mov esi, eax
xor esi, 0x835cf3e9
add ecx, esi
add ecx, 0xff0693ec
and edx, 0x7ca30c16
add edx, ecx
and eax, 0x835cf3e9
add eax, edx
imul eax, eax, 0x3342467
lea ecx, [eax + 0x363b0b26]
mov edx, ecx
and edx, 0x9846ff93
add eax, edx
add eax, 0x363b0b26
not ecx
add eax, ecx
or ecx, 0x9846ff93
sub eax, ecx
lea ecx, [eax + 0x67b9006d]
mov edx, ecx
or edx, 0x77ca89b4
add eax, edx
add eax, 0x67b9006d
not ecx
or ecx, 0x77ca89b4
lea edx, [eax + ecx]
add eax, ecx
add eax, 1
mov esi, 0x3ffffffc
sub esi, edx
sub esi, edx
and esi, 0x308dff26
lea ecx, [esi + edx]
add ecx, 1
and eax, 0x1846ff93
lea eax, [ecx + eax*2]
add eax, 0x67b9006d
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov ebp, ecx
not ebp
lea ebx, [ecx - 0x1741e325]
or ebx, 0x1741e324
mov eax, 0x1741e324
sub eax, ecx
or eax, 0xe8be1cdb
add eax, edx
sub ebx, eax
mov eax, ecx
and eax, 0x9af43bed
lea eax, [eax + eax*2]
lea esi, [ecx + ecx]
mov dword [esp + 0x3c], esi
not esi
and esi, 0x35e877da
lea ecx, [esi + eax]
add ecx, 0xca178826
mov eax, ebp
and eax, 0x650bc412
or ecx, eax
mov dword [esp + 0x38], ecx
mov eax, edx
not eax
or eax, 0x650bc412
mov esi, edx
xor esi, 0x650bc412
lea ecx, [eax + esi]
mov dword [esp + 0x34], ecx
lea edi, [eax + esi]
add edi, 1
mov eax, edx
and eax, 0x1af43bed
mov ecx, edx
xor ecx, 0x9af43bed
lea eax, [ecx + eax*2]
mov ecx, edx
or ecx, 0x9af43bed
sub eax, ecx
mov ecx, 0xfffffffe
sub ecx, dword [esp + 0x34]
and ecx, eax
mov esi, edi
or esi, eax
add esi, ecx
and edi, eax
not eax
add eax, esi
lea esi, [edi + eax]
add esi, 1
xor esi, dword [esp + 0x38]
mov eax, ebx
and eax, 0x57cc46ad
add eax, eax
lea ecx, [ebx + ebx]
sub ecx, eax
not ebx
mov eax, ebx
or eax, 0xa833b952
sub ecx, eax
or ebx, 0x57cc46ad
add ebx, ecx
lea eax, [ebx + esi]
lea edi, [esi + ebx]
add edi, 0xa833b952
mov ecx, edi
and ecx, 0xa833b952
add eax, ecx
add eax, 0xa833b952
mov ebx, edi
xor ebx, 0xa833b952
add ebx, eax
mov eax, dword [esp + 0x3c]
xor eax, 0x1bbfa631
or ebp, 0xddfd318
add ebp, eax
mov eax, dword [esp + 0x40]
or eax, 0xf2202ce7
lea ecx, [eax + ebp]
add eax, ebp
add eax, 1
xor edx, 0xddfd318
mov esi, 0xfffffffe
sub esi, ecx
and esi, edx
mov ecx, eax
xor ecx, edx
add ecx, esi
and eax, edx
sub edx, ecx
sub edx, eax
lea eax, [edx + edx]
sub edx, eax
or edi, 0xa833b952
add edx, edi
lea edi, [esp + 0x48]
sub ebx, edx
lea eax, [ebx - 0x1595584b]
mov ecx, eax
not ecx
or eax, 0x6d619ef9
neg eax
add eax, ebx
add eax, 0x57cc46ad
add eax, ebx
add eax, 0x57cc46ad
or ecx, 0x929e6106
lea edx, [eax + ecx]
add eax, ecx
add eax, 0x9c56aade
mov ecx, eax
not ecx
and ecx, 0x593ab5a
lea ecx, [ecx + edx*2]
add ecx, 0x38ad55bc
or eax, 0x593ab5a
sub ecx, eax
lea eax, [ecx + 0x693d0080]
mov edx, eax
or edx, 0xfa6c54a5
add edx, ecx
mov ecx, eax
xor eax, 0x593ab5a
add eax, edx
not ecx
or ecx, 0x593ab5a
add eax, ecx
add eax, 0x63a95527
cmp eax, dword [esp + 0x1c]
mov eax, 0x428c19f6
mov ecx, 0x174160c0
cmovb eax, ecx
mov ecx, 0x1d71b15
jmp 0x1002e2c0
mov ecx, dword [esp]
cmp ecx, 0x428c19f6
mov ecx, 0x5e3170d4
mov edx, 0xc9739669
cmovl ecx, edx
jmp 0x1002e2c0
cmp byte [esp + 0xb], 0
mov eax, 0x2d890a0d
mov ecx, 0x600fb2ca
cmovne eax, ecx
mov ecx, 0x1d71b15
jmp 0x1002e2c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
cmp ecx, 0x10
jae 0x1002ea3b
mov esi, dword [esp + 4]
jmp 0x1002ea3d
mov eax, dword [esp + 0x28]
jmp 0x1002ea2c
mov ecx, dword [esp]
cmp ecx, 0x88027e43
mov ecx, 0x1de8e594
mov edx, 0x72720319
cmove ecx, edx
jmp 0x1002e2c0
mov ecx, dword [esp]
cmp ecx, 0x14a1c252
mov ecx, 0x2428d1e5
mov edx, 0x10b6e510
cmovl ecx, edx
jmp 0x1002e2c0
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov dword [ecx], edx
mov ecx, dword [esp + 0xc]
mov byte [eax + ecx], 0
mov ecx, 0x1d71b15
mov eax, 0x600fb2ca
jmp 0x1002e2c0
mov esi, dword [eax]
mov eax, dword [esp + 0x18]
add eax, esi
push dword [esp + 0x1c]
push 0
push eax
call fcn.100515f0
add esp, 0xc
mov eax, dword [esp + 0xc]
mov byte [esi + eax], 0
jmp 0x1002e2ad
cmp ecx, 0x5c25e69b
jne 0x1002e2c0
mov eax, dword [esp + 4]
movsd xmm0, qword [eax + 0x10]
mov ecx, dword [esp + 0x30]
movsd qword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.10050a8a
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret