Function at 0x1002612f
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069ebe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002616f
push 0x4b95
push 0
call fcn.10026e08
pop ecx
pop ecx
jmp 0x1002634b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], 0x45b0
mov dword [ebp - 0x44], 0x100085c0
cmp dword [ebp - 0x2c], 0x4661
jle 0x1002621b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
and dword [ebp - 0x20], 0
jmp 0x100261ad
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7d79
jge 0x1002620f
and dword [ebp - 0x18], 0
jmp 0x100261c3
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x456
jge 0x1002620d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
sar eax, cl
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
lea ecx, [ebp - 0x98]
call fcn.1000cf11
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.1000af34
push eax
call fcn.100507d6
pop ecx
lea ecx, [ebp - 0x98]
call fcn.1000af2a
jmp 0x100261bc
jmp 0x100261a6
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x100262f3
push 2
lea ecx, [ebp - 0x6c]
call fcn.1000b069
and dword [ebp - 4], 0
or dword [ebp - 0x60], 0xffffffff
or dword [ebp - 0x5c], 0xffffffff
or dword [ebp - 0x58], 0xffffffff
or dword [ebp - 0x54], 0xffffffff
lea ecx, [ebp - 0x21]
call fcn.1000b3fc
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x80]
call fcn.100240a5
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x78]
call fcn.1002407f
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
jmp 0x10026281
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002629a
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
call fcn.1000b0e1
mov dword [eax], 1
jmp 0x1002627a
push 1
lea ecx, [ebp - 0x6c]
call fcn.1000b0e1
cmp dword [eax], 0
jae 0x100262b2
mov dword [ebp - 0x28], 1
jmp 0x100262b6
and dword [ebp - 0x28], 0
push 0
lea ecx, [ebp - 0x78]
call fcn.1000b0e1
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x100262d9
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.1000b0c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.1000b0c5
jmp 0x1002630c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov edx, 0x8d35bbce
mov ecx, dword [ebp - 0x4c]
call fcn.100244f6
mov dword [ebp - 4], 2
cmp dword [ebp - 0x2c], 0x4327
jge 0x10026325
push dword [ebp - 0x44]
call fcn.100507d6
pop ecx
jmp 0x10026341
or dword [ebp - 4], 0xffffffff
jmp 0x1002634b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret