Function at 0x45af20
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 0x45b4a5
mov edi, dword [edx]
test edi, edi
je 0x45b4a5
xor ebx, ebx
lea esi, [esi]
add ebx, 1
mov esi, dword [edx + ebx*4]
lea ecx, [ebx*4]
test esi, esi
jne 0x45af50
lea eax, [ecx + 0x1e]
and eax, 0xfffffff0
call fcn.004712d0
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], 0x45ae90
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 0x45afb8
mov ecx, edi
mov ebx, dword [ebp - 0x1c]
xor esi, esi
mov dword [esp], ecx
mov edi, dword [ebp - 0x2c]
call fcn.004534b0
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.0045ccd0
cmp esi, ebx
lea edx, [eax + 1]
jl 0x45afe6
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 0x45b4b9
mov ebx, 0x4d11de
mov ecx, ebx
xor esi, esi
movzx eax, byte [ecx]
test al, al
je 0x45b071
cmp al, 0x3b
mov eax, ecx
jne 0x45b048
jmp 0x45b331
cmp dl, 0x3b
je 0x45b052
add eax, 1
movzx edx, byte [eax]
test dl, dl
jne 0x45b043
mov byte [ebp - 0x1c], dl
mov edx, eax
sub edx, ecx
cmp esi, edx
cmovb esi, edx
cmp byte [ebp - 0x1c], 0x3b
je 0x45b331
mov ecx, eax
movzx eax, byte [ecx]
test al, al
jne 0x45b038
lea eax, [esi + edi + 6]
mov esi, ebx
mov dword [esp], eax
call fcn.004534b0
mov dword [ebp - 0x28], eax
movzx eax, byte [ebx]
test al, al
je 0x45b491
cmp al, 0x3b
jne 0x45b09a
jmp 0x45b491
cmp al, 0x3b
je 0x45b0a4
add esi, 1
movzx eax, byte [esi]
test al, al
jne 0x45b096
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 0x45b0cd
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 0x45b0ff
jmp 0x45b4fa
add ebx, 1
movzx eax, byte [ebx]
test al, al
je 0x45b110
cmp al, 0x2f
jne 0x45b0f5
mov byte [ebx], 0x5c
add ebx, 1
movzx eax, byte [ebx]
test al, al
jne 0x45b0ff
mov edi, 0x4d1214
mov eax, str..com
mov dword [ebp - 0x1c], esi
mov esi, edi
mov edi, ebx
mov ebx, dword [ebp - 0x28]
jmp 0x45b133
add esi, 4
mov eax, dword [esi]
test eax, eax
je 0x45b477
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 0x45b126
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 0x45b50d
add eax, 4
xor edi, edi
mov dword [ebp - 0x20], eax
movzx ecx, byte [edx]
test cl, cl
je 0x45b499
mov dword [ebp - 0x1c], 0
xor eax, eax
jmp 0x45b1d0
movzx ecx, byte [edx + eax + 1]
lea ebx, [eax + 1]
mov esi, ebx
test cl, cl
je 0x45b220
mov eax, ebx
cmp cl, 9
je 0x45b1da
cmp cl, 0x20
jne 0x45b1e1
mov dword [ebp - 0x1c], 1
cmp cl, 0x22
jne 0x45b1c0
lea ecx, [eax - 1]
cmp ecx, 0xffffffff
je 0x45b208
cmp byte [edx + eax - 1], 0x5c
je 0x45b1fd
jmp 0x45b208
cmp byte [edx + ecx], 0x5c
jne 0x45b208
sub ecx, 1
add edi, 1
cmp ecx, 0xffffffff
jne 0x45b1f7
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 0x45b1ce
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x45b34b
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 0x45b1a8
mov dword [esp], edi
call fcn.004534b0
mov esi, dword [ebp - 0x24]
mov ebx, dword [esi]
mov dword [ebp - 0x30], eax
test ebx, ebx
je 0x45b505
lea edi, [esi + 4]
mov dword [ebp - 0x20], edi
mov edi, eax
movzx eax, byte [ebx]
test al, 0xdf
je 0x45b456
cmp al, 9
je 0x45b456
cmp al, 0x22
je 0x45b456
xor edx, edx
jmp 0x45b29a
mov ecx, eax
and ecx, 0xfffffffd
cmp cl, 0x20
je 0x45b456
cmp al, 9
je 0x45b456
add edx, 1
movzx eax, byte [ebx + edx]
test al, al
jne 0x45b284
mov dword [ebp - 0x24], 0
mov edx, dword [esi]
movzx ecx, byte [edx]
test cl, cl
je 0x45b35b
mov eax, 0xffffffff
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov eax, ebx
mov ebx, 0xffffffff
jmp 0x45b2f2
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 0x45b360
mov edi, dword [ebp - 0x1c]
cmp cl, 0x22
jne 0x45b2d0
cmp ebx, 0xffffffff
mov ecx, ebx
je 0x45b468
cmp byte [edx + ebx], 0x5c
mov edx, edi
je 0x45b318
jmp 0x45b327
mov edi, dword [esi]
cmp byte [edi + ecx], 0x5c
jne 0x45b327
sub ecx, 1
add edx, 1
cmp ecx, 0xffffffff
mov byte [edx - 1], 0x5c
jne 0x45b310
lea edi, [edx + 1]
mov byte [edx], 0x5c
mov edx, dword [esi]
jmp 0x45b2d0
add eax, 1
mov ecx, eax
jmp 0x45b06a
sub eax, 1
add edi, 1
cmp eax, 0xffffffff
je 0x45b351
cmp byte [edx + eax], 0x5c
je 0x45b340
mov eax, 2
jmp 0x45b22d
mov dword [ebp - 0x1c], edi
xor edi, edi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x45b3a0
lea eax, [edi - 1]
cmp eax, 0xffffffff
je 0x45b4b1
cmp byte [edx + edi - 1], 0x5c
mov edx, dword [ebp - 0x1c]
je 0x45b388
jmp 0x45b397
mov ecx, dword [esi]
cmp byte [ecx + eax], 0x5c
jne 0x45b397
sub eax, 1
add edx, 1
cmp eax, 0xffffffff
mov byte [edx - 1], 0x5c
jne 0x45b380
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 0x45b265
mov esi, dword [ebp - 0x30]
mov byte [edi - 1], 0
test esi, esi
je 0x45b55f
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 0x45b53f
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 0x45b2ac
mov edx, edi
lea edi, [edx + 1]
mov byte [edx], 0x5c
mov edx, dword [esi]
jmp 0x45b2d0
mov esi, dword [ebp - 0x1c]
movzx eax, byte [esi]
test al, al
je 0x45b515
mov ebx, esi
test al, al
mov esi, ebx
jne 0x45b08d
mov eax, dword [ebp - 0x28]
jmp 0x45b0cd
mov eax, 2
xor esi, esi
jmp 0x45b22d
mov dword [ebp - 0x2c], 0
jmp 0x45b003
mov edx, dword [ebp - 0x1c]
jmp 0x45b397
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x45b028
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x45b028
mov dword [esp], str.PATH
call sub.msvcrt.dll_getenv
test eax, eax
mov ebx, eax
jne 0x45b02d
jmp 0x45b028
mov ebx, dword [ebp - 0x28]
lea esi, [esi]
jmp 0x45b110
mov edi, dword [ebp - 0x30]
jmp 0x45b3be
xor edi, edi
nop
jmp 0x45b245
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 0x45b44e
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 0x45b44e
mov ebx, dword [ebp - 0x28]
jmp 0x45b522