Function at 0x43ea20
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [ebp - 0x28], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
test edx, edx
je 0x43efa5
mov edi, dword [edx]
test edi, edi
je 0x43efa5
xor ebx, ebx
lea esi, [esi]
add ebx, 1
mov esi, dword [edx + ebx*4]
lea ecx, [ebx*4]
test esi, esi
jne 0x43ea50
lea eax, [ecx + 0x1e]
and eax, 0xfffffff0
call fcn.00457a60
xor esi, esi
sub esp, eax
lea edi, [esp + 0x37]
and edi, 0xfffffff0
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [ebp - 0x2c], edx
call sub.msvcrt.dll_memcpy
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0xc], 0x43e990
mov dword [esp + 8], 4
call sub.msvcrt.dll_qsort
mov edx, dword [ebp - 0x2c]
mov ecx, 1
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], edi
mov edi, ecx
mov ebx, edx
mov eax, dword [ebx + esi*4]
add esi, 1
mov dword [esp], eax
call sub.msvcrt.dll_strlen
cmp esi, dword [ebp - 0x1c]
lea edi, [edi + eax + 1]
jl 0x43eab8
mov ecx, edi
mov ebx, dword [ebp - 0x1c]
xor esi, esi
mov dword [esp], ecx
mov edi, dword [ebp - 0x2c]
call fcn.0043e2b0
mov dword [ebp - 0x2c], eax
mov edx, eax
mov eax, dword [edi + esi*4]
add esi, 1
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00441eb0
cmp esi, ebx
lea edx, [eax + 1]
jl 0x43eae6
mov byte [eax + 1], 0
mov esi, dword [ebp - 0x20]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov dword [esp + 4], 0x2f
mov dword [esp], esi
mov edi, eax
call sub.msvcrt.dll_strchr
test eax, eax
je 0x43efb9
mov ebx, 0x47ca9e
mov ecx, ebx
xor esi, esi
movzx eax, byte [ecx]
test al, al
je 0x43eb71
cmp al, 0x3b
mov eax, ecx
jne 0x43eb48
jmp 0x43ee31
cmp dl, 0x3b
je 0x43eb52
add eax, 1
movzx edx, byte [eax]
test dl, dl
jne 0x43eb43
mov byte [ebp - 0x1c], dl
mov edx, eax
sub edx, ecx
cmp esi, edx
cmovb esi, edx
cmp byte [ebp - 0x1c], 0x3b
je 0x43ee31
mov ecx, eax
movzx eax, byte [ecx]
test al, al
jne 0x43eb38
lea eax, [esi + edi + 6]
mov esi, ebx
mov dword [esp], eax
call fcn.0043e2b0
mov dword [ebp - 0x28], eax
movzx eax, byte [ebx]
test al, al
je 0x43ef91
cmp al, 0x3b
jne 0x43eb9a
jmp 0x43ef91
cmp al, 0x3b
je 0x43eba4
add esi, 1
movzx eax, byte [esi]
test al, al
jne 0x43eb96
mov eax, dword [ebp - 0x28]
mov edi, esi
sub edi, ebx
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x28]
cmp esi, ebx
lea ecx, [eax + edi]
mov eax, ecx
je 0x43ebcd
add eax, 1
mov byte [ecx], 0x5c
mov ebx, dword [ebp - 0x20]
mov dword [esp], eax
mov dword [esp + 4], ebx
call sub.msvcrt.dll_strcpy
xor eax, eax
mov ebx, dword [ebp - 0x28]
cmp byte [esi], 0x3b
sete al
add esi, eax
movzx eax, byte [ebx]
test al, al
jne 0x43ebff
jmp 0x43effa
add ebx, 1
movzx eax, byte [ebx]
test al, al
je 0x43ec10
cmp al, 0x2f
jne 0x43ebf5
mov byte [ebx], 0x5c
add ebx, 1
movzx eax, byte [ebx]
test al, al
jne 0x43ebff
mov edi, 0x47cad4
mov eax, str..com
mov dword [ebp - 0x1c], esi
mov esi, edi
mov edi, ebx
mov ebx, dword [ebp - 0x28]
jmp 0x43ec33
add esi, 4
mov eax, dword [esi]
test eax, eax
je 0x43ef77
mov byte [edi], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_strcat
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x43ec26
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x34], eax
call eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
sub esp, 4
test edx, edx
je 0x43f00d
add eax, 4
xor edi, edi
mov dword [ebp - 0x20], eax
movzx ecx, byte [edx]
test cl, cl
je 0x43ef99
mov dword [ebp - 0x1c], 0
xor eax, eax
jmp 0x43ecd0
movzx ecx, byte [edx + eax + 1]
lea ebx, [eax + 1]
mov esi, ebx
test cl, cl
je 0x43ed20
mov eax, ebx
cmp cl, 9
je 0x43ecda
cmp cl, 0x20
jne 0x43ece1
mov dword [ebp - 0x1c], 1
cmp cl, 0x22
jne 0x43ecc0
lea ecx, [eax - 1]
cmp ecx, 0xffffffff
je 0x43ed08
cmp byte [edx + eax - 1], 0x5c
je 0x43ecfd
jmp 0x43ed08
cmp byte [edx + ecx], 0x5c
jne 0x43ed08
sub ecx, 1
add edi, 1
cmp ecx, 0xffffffff
jne 0x43ecf7
movzx ecx, byte [edx + eax + 1]
add edi, 1
lea ebx, [eax + 1]
mov dword [ebp - 0x1c], 1
mov esi, ebx
test cl, cl
jne 0x43ecce
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x43ee4b
xor eax, eax
add dword [ebp - 0x20], 4
lea edi, [edi + esi + 1]
add edi, eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax - 4]
test edx, edx
jne 0x43eca8
mov dword [esp], edi
call fcn.0043e2b0
mov esi, dword [ebp - 0x24]
mov ebx, dword [esi]
mov dword [ebp - 0x30], eax
test ebx, ebx
je 0x43f005
lea edi, [esi + 4]
mov dword [ebp - 0x20], edi
mov edi, eax
movzx eax, byte [ebx]
test al, 0xdf
je 0x43ef56
cmp al, 9
je 0x43ef56
cmp al, 0x22
je 0x43ef56
xor edx, edx
jmp 0x43ed9a
mov ecx, eax
and ecx, 0xfffffffd
cmp cl, 0x20
je 0x43ef56
cmp al, 9
je 0x43ef56
add edx, 1
movzx eax, byte [ebx + edx]
test al, al
jne 0x43ed84
mov dword [ebp - 0x24], 0
mov edx, dword [esi]
movzx ecx, byte [edx]
test cl, cl
je 0x43ee5b
mov eax, 0xffffffff
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov eax, ebx
mov ebx, 0xffffffff
jmp 0x43edf2
movzx eax, byte [edx + eax]
lea ecx, [edi + 1]
mov dword [ebp - 0x1c], ecx
mov byte [edi], al
mov edx, dword [esi]
lea eax, [ebx + 2]
mov edi, eax
movzx ecx, byte [edx + ebx + 2]
add ebx, 1
test cl, cl
je 0x43ee60
mov edi, dword [ebp - 0x1c]
cmp cl, 0x22
jne 0x43edd0
cmp ebx, 0xffffffff
mov ecx, ebx
je 0x43ef68
cmp byte [edx + ebx], 0x5c
mov edx, edi
je 0x43ee18
jmp 0x43ee27
mov edi, dword [esi]
cmp byte [edi + ecx], 0x5c
jne 0x43ee27
sub ecx, 1
add edx, 1
cmp ecx, 0xffffffff
mov byte [edx - 1], 0x5c
jne 0x43ee10
lea edi, [edx + 1]
mov byte [edx], 0x5c
mov edx, dword [esi]
jmp 0x43edd0
add eax, 1
mov ecx, eax
jmp 0x43eb6a
sub eax, 1
add edi, 1
cmp eax, 0xffffffff
je 0x43ee51
cmp byte [edx + eax], 0x5c
je 0x43ee40
mov eax, 2
jmp 0x43ed2d
mov dword [ebp - 0x1c], edi
xor edi, edi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x43eea0
lea eax, [edi - 1]
cmp eax, 0xffffffff
je 0x43efb1
cmp byte [edx + edi - 1], 0x5c
mov edx, dword [ebp - 0x1c]
je 0x43ee88
jmp 0x43ee97
mov ecx, dword [esi]
cmp byte [ecx + eax], 0x5c
jne 0x43ee97
sub eax, 1
add edx, 1
cmp eax, 0xffffffff
mov byte [edx - 1], 0x5c
jne 0x43ee80
lea eax, [edx + 1]
mov dword [ebp - 0x1c], eax
mov byte [edx], 0x22
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add dword [ebp - 0x20], 4
lea edi, [eax + 1]
mov byte [eax], 0x20
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax - 4]
test ebx, ebx
jne 0x43ed65
mov esi, dword [ebp - 0x30]
mov byte [edi - 1], 0
test esi, esi
je 0x43f05f
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
sub esp, 0x28
test eax, eax
je 0x43f03f
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
sub esp, 4
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov byte [edi], 0x22
add edi, 1
mov dword [ebp - 0x24], 1
jmp 0x43edac
mov edx, edi
lea edi, [edx + 1]
mov byte [edx], 0x5c
mov edx, dword [esi]
jmp 0x43edd0
mov esi, dword [ebp - 0x1c]
movzx eax, byte [esi]
test al, al
je 0x43f015
mov ebx, esi
test al, al
mov esi, ebx
jne 0x43eb8d
mov eax, dword [ebp - 0x28]
jmp 0x43ebcd
mov eax, 2
xor esi, esi
jmp 0x43ed2d
mov dword [ebp - 0x2c], 0
jmp 0x43eb03
mov edx, dword [ebp - 0x1c]
jmp 0x43ee97
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x43eb28
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x43eb28
mov dword [esp], str.PATH
call sub.msvcrt.dll_getenv
test eax, eax
mov ebx, eax
jne 0x43eb2d
jmp 0x43eb28
mov ebx, dword [ebp - 0x28]
lea esi, [esi]
jmp 0x43ec10
mov edi, dword [ebp - 0x30]
jmp 0x43eebe
xor edi, edi
nop
jmp 0x43ed45
mov eax, dword [ebp - 0x28]
xor ebx, ebx
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esp], ebx
call sub.msvcrt.dll_free
mov eax, 0xffffffff
jmp 0x43ef4e
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, 0xffffffff
jmp 0x43ef4e
mov ebx, dword [ebp - 0x28]
jmp 0x43f022