Function at 0x43e4d0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4a88fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0xeb0]
xor esi, esi
dec eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], esi
js 0x43e802
mov ecx, dword [ebx + 0xeac]
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x43e802
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x43e7ee
mov ecx, dword [esp + 0x158]
mov ebp, 1
test ecx, ecx
je 0x43e7d8
add eax, 4
lea ecx, [esp + 0xc]
push eax
call fcn.0048f8e6
push ebp
push 0x22
lea ecx, [esp + 0x1c]
mov dword [esp + 0x154], 0
call fcn.00487bd9
lea edx, [esp + 0x34]
push ebp
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 1
call fcn.0048801f
mov esi, dword [esp + 0x14]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43e5a0
test cl, cl
je 0x43e59c
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43e5a0
add eax, 2
add esi, 2
test cl, cl
jne 0x43e578
xor eax, eax
jmp 0x43e5a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x34]
sete bl
call fcn.0048fb71
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0
call fcn.0048fb71
test bl, bl
je 0x43e5fb
lea eax, [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x14]
call fcn.00487eea
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], 2
call fcn.0048fcaa
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 0
call fcn.0048fb71
push 1
push 0x22
lea ecx, [esp + 0x20]
call fcn.00487bd9
lea ecx, [esp + 0x2c]
push 1
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 3
call fcn.00487fa3
mov esi, dword [esp + 0x18]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43e64e
test cl, cl
je 0x43e64a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43e64e
add eax, 2
add esi, 2
test cl, cl
jne 0x43e626
xor eax, eax
jmp 0x43e653
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x2c]
sete bl
call fcn.0048fb71
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0
call fcn.0048fb71
test bl, bl
je 0x43e6b0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x38]
mov eax, dword [eax - 8]
dec eax
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0048801f
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], 4
call fcn.0048fcaa
lea ecx, [esp + 0x38]
mov byte [esp + 0x14c], 0
call fcn.0048fb71
mov eax, dword [esp + 0xc]
cmp byte [eax], 0x25
jne 0x43e6d8
lea edx, [esp + 0x40]
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [esp + 0x40]
lea ecx, [esp + 0xc]
push eax
call fcn.0048fcfa
lea ecx, [esp + 0x24]
push 2
push ecx
lea ecx, [esp + 0x14]
call fcn.0048801f
mov eax, dword [eax]
mov esi, 0x4d55b8
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43e717
test cl, cl
je 0x43e713
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43e717
add eax, 2
add esi, 2
test cl, cl
jne 0x43e6ef
xor eax, eax
jmp 0x43e71c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call fcn.0048fb71
test bl, bl
je 0x43e798
lea eax, [esp + 0x28]
push 2
push eax
lea ecx, [esp + 0x14]
call fcn.00487eea
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], 5
call fcn.0048fcaa
lea ecx, [esp + 0x28]
mov byte [esp + 0x14c], 0
call fcn.0048fb71
lea ecx, [esp + 0xc]
lea edx, [esp + 0x30]
push ecx
push 0x4ddfc4
push edx
call fcn.0048fda0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], 6
call fcn.0048fcaa
lea ecx, [esp + 0x30]
mov byte [esp + 0x14c], 0
call fcn.0048fb71
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.0048f8e6
call fcn.0040f620
add esp, 4
cmp eax, 1
je 0x43e7b8
xor ebp, ebp
lea ecx, [esp + 0xc]
mov dword [esp + 0x14c], 0xffffffff
call fcn.0048fb71
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
test ebp, ebp
je 0x43e7ee
mov ecx, dword [esp + 0x154]
lea edx, [esi + 0xe00]
push ecx
push edx
mov ecx, ebx
call fcn.0043aa00
mov eax, dword [ebx + 0xeb0]
inc esi
dec eax
mov dword [esp + 0x10], esi
cmp esi, eax
jle 0x43e507
mov ecx, dword [esp + 0x144]
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x144
ret 8