Function at 0x1000ab70
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4c
mov esi, edx
mov eax, dword [0x10025040]
xor eax, esp
mov dword [esp + 0x48], eax
lea edi, [esp + 0x30]
mov dword [esp], edi
mov eax, dword [esp]
lea eax, [esp + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [esp]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0xc]
mov dword [eax], 0xf
cmp dword [edx + 0x10], 0
sete byte [esp + 7]
mov dword [esp + 0x28], ecx
mov eax, 0x7a153e7d
mov ebx, 0x38d9e2ba
jmp 0x1000abe0
mov eax, dword [esp + 0x20]
mov eax, 0x38d9e2ba
nop word cs:[eax + eax]
nop dword [eax]
cmp eax, 0x1a69f32c
jg 0x1000ac60
cmp eax, 0x62b3e62
jg 0x1000ac90
cmp eax, 0xd2dfe980
je 0x1000ace3
cmp eax, 0xf40bb24c
jne 0x1000abe0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov edx, ecx
not edx
mov ebp, eax
or ebp, edx
add edx, eax
add ebp, ecx
sub edx, ebp
and eax, ecx
add eax, edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
sub ecx, eax
cmp ecx, dword [esp + 0x18]
mov eax, 0xd2dfe980
mov ecx, 0x1a69f32d
cmovb eax, ecx
jmp 0x1000abe0
cmp eax, 0x6190cce4
jle 0x1000acbf
cmp eax, 0x6190cce5
je 0x1000ad06
cmp eax, 0x7a153e7d
jne 0x1000abe0
cmp byte [esp + 7], 0
mov eax, 0x6190cce5
cmovne eax, ebx
jmp 0x1000abe0
cmp eax, 0x62b3e63
je 0x1000abc9
cmp eax, 0xf524cdc
jne 0x1000abe0
mov eax, dword [esp + 0xc]
cmp dword [eax], 0x10
mov eax, dword [esp + 0x1c]
jae 0x1000ad77
mov eax, dword [esp]
jmp 0x1000ad79
cmp eax, 0x1a69f32d
jne 0x1000adbf
mov edx, dword [esp + 0x18]
mov ecx, edi
push edx
call fcn.1000ae00
add esp, 4
mov eax, 0x62b3e63
jmp 0x1000abe0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp ecx, 0x10
jae 0x1000ad95
mov ebp, dword [esp]
jmp 0x1000ad97
lea eax, [esp + 0x40]
mov dword [esp + 0x10], eax
mov ecx, edi
mov edx, 0x104
push 0x104
call fcn.1000ae00
add esp, 4
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
cmp dword [ecx], 0x10
mov dword [esp + 0x1c], edi
mov ecx, dword [esp]
jb 0x1000ad3c
mov ecx, dword [esp + 0x30]
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x1000ad46
mov edx, dword [esi]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x14]
mov eax, 0xf524cdc
mov ecx, 0xf40bb24c
cmova eax, ecx
jmp 0x1000abe0
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov dword [ecx], edx
mov ecx, dword [esp + 8]
mov byte [eax + ecx], 0
mov eax, 0x38d9e2ba
jmp 0x1000abe0
mov ebp, dword [eax]
mov eax, dword [esp + 0x14]
add eax, ebp
push dword [esp + 0x18]
push 0
push eax
call fcn.10014040
add esp, 0xc
mov eax, dword [esp + 8]
mov byte [ebp + eax], 0
mov eax, 0x62b3e63
jmp 0x1000abe0
cmp eax, 0x38d9e2ba
jne 0x1000abe0
mov eax, dword [esp]
movsd xmm0, qword [eax + 0x10]
mov ecx, dword [esp + 0x28]
movsd qword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov eax, dword [esp]
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.100134da
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret