Function at 0x10007340
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4c
mov esi, edx
mov eax, dword [0x10022040]
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, 0x6ff7625a
mov ebx, 0xce55a90c
jmp 0x100073b0
mov eax, dword [esp + 0x20]
mov eax, 0xce55a90c
nop word cs:[eax + eax]
nop dword [eax]
cmp eax, 0xd93bd03a
jle 0x10007450
cmp eax, 0x3ecdd4b8
jg 0x100074e0
cmp eax, 0xd93bd03b
je 0x10007399
cmp eax, 0x7a6abd1
jne 0x100073b0
lea eax, [esp + 0x40]
mov dword [esp + 0x10], eax
mov ecx, edi
mov edx, 0x104
push 0x104
call fcn.100075e0
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 0x1000740a
mov ecx, dword [esp + 0x30]
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x10007414
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, 0x8ab215d5
mov ecx, 0x99d8041d
cmova eax, ecx
jmp 0x100073b0
cmp eax, 0xbd30f970
jg 0x10007504
cmp eax, 0x8ab215d5
je 0x1000752b
cmp eax, 0x99d8041d
jne 0x100073b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov edx, eax
and edx, ecx
add edx, eax
sub edx, ecx
mov ebp, eax
xor ebp, ecx
add ebp, edx
or eax, ecx
sub ebp, eax
mov dword [esp + 0x18], ebp
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]
mov edx, ecx
and edx, eax
add edx, ecx
sub edx, eax
mov ebp, ecx
or ebp, eax
not ebp
add ebp, edx
xor ecx, eax
lea eax, [ecx + ebp]
add eax, 1
cmp eax, dword [esp + 0x18]
mov eax, 0xbd30f971
mov ecx, 0x3ecdd4b9
cmovb eax, ecx
jmp 0x100073b0
cmp eax, 0x3ecdd4b9
je 0x1000753d
cmp eax, 0x6ff7625a
jne 0x100073b0
cmp byte [esp + 7], 0
mov eax, 0x7a6abd1
cmovne eax, ebx
jmp 0x100073b0
cmp eax, 0xbd30f971
jne 0x1000759e
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 0x10007556
mov ebp, dword [esp]
jmp 0x10007558
mov eax, dword [esp + 0xc]
cmp dword [eax], 0x10
mov eax, dword [esp + 0x1c]
jae 0x10007580
mov eax, dword [esp]
jmp 0x10007582
mov edx, dword [esp + 0x18]
mov ecx, edi
push edx
call fcn.100075e0
add esp, 4
mov eax, 0xd93bd03b
jmp 0x100073b0
mov ebp, dword [eax]
mov eax, dword [esp + 0x14]
add eax, ebp
push dword [esp + 0x18]
push 0
push eax
call fcn.10010a90
add esp, 0xc
mov eax, dword [esp + 8]
mov byte [ebp + eax], 0
mov eax, 0xd93bd03b
jmp 0x100073b0
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, 0xce55a90c
jmp 0x100073b0
cmp eax, 0xce55a90c
jne 0x100073b0
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.1000ff2a
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret