Function at 0x43d760
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4a81ad
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 + 0xea0]
xor esi, esi
dec eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], esi
js 0x43da92
mov ecx, dword [ebx + 0xe9c]
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x43da92
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x43da7e
mov ecx, dword [esp + 0x158]
mov ebp, 1
test ecx, ecx
je 0x43da68
add eax, 4
lea ecx, [esp + 0xc]
push eax
call fcn.0048f3b6
push ebp
push 0x22
lea ecx, [esp + 0x1c]
mov dword [esp + 0x154], 0
call fcn.00487639
lea edx, [esp + 0x34]
push ebp
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 1
call fcn.00487a7f
mov esi, dword [esp + 0x14]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43d830
test cl, cl
je 0x43d82c
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43d830
add eax, 2
add esi, 2
test cl, cl
jne 0x43d808
xor eax, eax
jmp 0x43d835
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x34]
sete bl
call fcn.0048f641
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0
call fcn.0048f641
test bl, bl
je 0x43d88b
lea eax, [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x14]
call fcn.0048794a
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], 2
call fcn.0048f77a
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 0
call fcn.0048f641
push 1
push 0x22
lea ecx, [esp + 0x20]
call fcn.00487639
lea ecx, [esp + 0x2c]
push 1
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 3
call fcn.00487a03
mov esi, dword [esp + 0x18]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43d8de
test cl, cl
je 0x43d8da
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43d8de
add eax, 2
add esi, 2
test cl, cl
jne 0x43d8b6
xor eax, eax
jmp 0x43d8e3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x2c]
sete bl
call fcn.0048f641
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0
call fcn.0048f641
test bl, bl
je 0x43d940
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.00487a7f
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], 4
call fcn.0048f77a
lea ecx, [esp + 0x38]
mov byte [esp + 0x14c], 0
call fcn.0048f641
mov eax, dword [esp + 0xc]
cmp byte [eax], 0x25
jne 0x43d968
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.0048f7ca
lea ecx, [esp + 0x24]
push 2
push ecx
lea ecx, [esp + 0x14]
call fcn.00487a7f
mov eax, dword [eax]
mov esi, 0x4d447c
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43d9a7
test cl, cl
je 0x43d9a3
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43d9a7
add eax, 2
add esi, 2
test cl, cl
jne 0x43d97f
xor eax, eax
jmp 0x43d9ac
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call fcn.0048f641
test bl, bl
je 0x43da28
lea eax, [esp + 0x28]
push 2
push eax
lea ecx, [esp + 0x14]
call fcn.0048794a
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], 5
call fcn.0048f77a
lea ecx, [esp + 0x28]
mov byte [esp + 0x14c], 0
call fcn.0048f641
lea ecx, [esp + 0xc]
lea edx, [esp + 0x30]
push ecx
push 0x4decc0
push edx
call fcn.0048f870
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], 6
call fcn.0048f77a
lea ecx, [esp + 0x30]
mov byte [esp + 0x14c], 0
call fcn.0048f641
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.0048f3b6
call fcn.0040e7f0
add esp, 4
cmp eax, 1
je 0x43da48
xor ebp, ebp
lea ecx, [esp + 0xc]
mov dword [esp + 0x14c], 0xffffffff
call fcn.0048f641
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
test ebp, ebp
je 0x43da7e
mov ecx, dword [esp + 0x154]
lea edx, [esi + 0xe00]
push ecx
push edx
mov ecx, ebx
call fcn.00439c80
mov eax, dword [ebx + 0xea0]
inc esi
dec eax
mov dword [esp + 0x10], esi
cmp esi, eax
jle 0x43d797
mov ecx, dword [esp + 0x144]
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x144
ret 8