Function at 0x436180
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x25c
mov eax, dword [esp + 0x270]
and eax, 7
cmp eax, 5
jae 0x436264
mov edi, dword [esp + 0x274]
movsx eax, byte [edi]
lea ecx, [eax - 0x20]
cmp eax, 0x60
cmovbe ecx, eax
add ecx, 0xffffffbf
cmp ecx, 0x19
ja 0x4361be
cmp byte [edi + 1], 0x3a
je 0x4361ea
mov dword [esp], edi
mov dword [esp + 4], 0x2f
call fcn.00434958
test eax, eax
jne 0x4361ea
mov dword [esp], edi
mov dword [esp + 4], 0x5c
call fcn.00434958
test eax, eax
je 0x43641b
xor ebx, ebx
mov dword [esp], edi
mov dword [esp + 4], 0x5c
call fcn.00434c00
test eax, eax
lea eax, [eax + 1]
cmove eax, edi
mov dword [esp], eax
mov dword [esp + 4], 0x2e
call fcn.00434c00
mov esi, eax
mov dword [esp + 4], edi
lea ebp, [esp + 0x54]
mov dword [esp], ebp
call fcn.00429884
test esi, esi
je 0x436279
test ebx, ebx
je 0x4362c4
lea eax, [esp + 0x158]
mov dword [esp + 8], eax
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0x445326
call fcn.00435fc8
cmp byte [esp + 0x158], 0
jne 0x4362f5
jmp 0x4367e3
call fcn.00434e50
mov dword [eax], 0x13
mov ebx, 0xffffffff
jmp 0x43689b
mov dword [esp], ebp
call fcn.004298d0
mov byte [esp + eax + 0x58], 0
mov dword [esp + eax + 0x54], 0x4558452e
test ebx, ebx
je 0x43632a
lea eax, [esp + 0x158]
mov dword [esp + 8], eax
mov dword [esp], ebp
mov dword [esp + 4], 0x445326
call fcn.00435fc8
cmp byte [esp + 0x158], 0
jne 0x4363ac
jmp 0x436351
lea eax, [esp + 0x54]
mov edi, eax
mov dword [esp + 4], edi
lea eax, [esp + 0x158]
mov dword [esp], eax
call fcn.00429884
mov dword [esp], edi
mov dword [esp + 4], 4
call fcn.0042df70
test eax, eax
jne 0x4367e3
mov dword [esp], esi
mov dword [esp + 4], str..BAT
call fcn.004349fc
test eax, eax
je 0x436796
mov dword [esp], esi
mov dword [esp + 4], str..CMD
call fcn.004349fc
test eax, eax
jne 0x4363ac
jmp 0x436796
mov dword [esp + 4], ebp
lea eax, [esp + 0x158]
mov dword [esp], eax
call fcn.00429884
mov dword [esp], ebp
mov dword [esp + 4], 4
call fcn.0042df70
test eax, eax
je 0x4363ac
mov dword [esp + 4], edi
lea esi, [esp + 0x54]
mov dword [esp], esi
call fcn.00429884
mov dword [esp], esi
call fcn.004298d0
test ebx, ebx
mov byte [esp + eax + 0x58], 0
mov dword [esp + eax + 0x54], 0x5441422e
je 0x4366f8
lea eax, [esp + 0x158]
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 4], 0x445326
call fcn.00435fc8
cmp byte [esp + 0x158], 0
jne 0x436796
jmp 0x43671f
mov eax, dword [esp + 0x278]
mov ecx, dword [eax]
add eax, 4
mov dword [esp], eax
mov dword [esp + 0x28], 0
xor edx, edx
call 0x4368e0
mov ebp, eax
test ebp, ebp
je 0x4367ce
mov edi, dword [esp + 0x27c]
test edi, edi
mov dword [esp + 0x30], esi
je 0x436417
mov dword [esp + 0x2c], ebp
mov ebx, dword [edi]
test ebx, ebx
je 0x436427
lea esi, [edi + 4]
mov ebp, 1
mov eax, ebx
nop word [eax + eax]
mov dword [esp], eax
call fcn.004298d0
lea ebp, [ebp + eax + 1]
mov eax, dword [esi]
add esi, 4
test eax, eax
jne 0x436400
jmp 0x43642c
xor esi, esi
jmp 0x436469
mov ebx, dword [esp + 0x280]
jmp 0x4361ec
mov ebp, 1
mov dword [esp], ebp
call fcn.00426bf8
mov esi, eax
test esi, esi
mov ebp, dword [esp + 0x2c]
je 0x4366ae
test ebx, ebx
mov eax, esi
je 0x436466
add edi, 4
mov eax, esi
nop dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0042945c
inc eax
mov ebx, dword [edi]
add edi, 4
test ebx, ebx
jne 0x436450
mov byte [eax], 0
call dword [0x44522c]
mov dword [esp + 0x84], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0x44
mov word [esp + 0x84], 0xa
cmp dword [0x448794], 0
je 0x436554
mov dword [esp], 0
call dword [0x443998]
mov word [esp + 0x86], ax
movzx eax, ax
mov dword [esp], eax
call fcn.00426bf8
mov dword [esp + 0x88], eax
test eax, eax
je 0x4366ae
mov dword [esp], eax
call dword [0x443998]
mov edi, esi
mov dword [esp + 0x48], 0xc
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov ebx, dword [esp + 0x270]
mov eax, ebx
shr eax, 1
and eax, 8
test bl, 0x20
mov ecx, 0x10
cmove ecx, eax
mov eax, ebx
and eax, 0x40
mov edx, ebx
shr edx, 5
and edx, 4
lea edx, [edx + eax*8]
lea eax, [ebx*4]
and eax, 0x1000
test bh, 2
mov esi, 0x800
cmove esi, eax
or esi, ecx
mov eax, ebx
shl eax, 0xf
and eax, 0x4000000
or eax, esi
or eax, edx
mov ecx, 0x20
test bh, 0x20
jne 0x4365e7
mov ecx, 0x40
test bh, 0x10
jne 0x4365e7
mov ecx, 0x80
test bh, 0x40
jne 0x4365e7
mov ecx, ebx
shr ecx, 7
and ecx, 0x100
or eax, ecx
cmp byte [esp + 0x28], 0
lea ecx, [esp + 0x158]
cmovne ecx, dword [esp + 0x30]
lea edx, [esp + 0x38]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x54]
mov dword [esp + 0x20], edx
mov esi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x48]
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov dword [esp], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 1
call sub.KERNEL32.DLL_CreateProcessA
sub esp, 0x28
cmp eax, 1
jne 0x4366cb
mov eax, dword [esp + 0x270]
cmp eax, 0x10
mov ecx, 4
cmovne ecx, eax
mov eax, ecx
and al, 7
cmp al, 4
ja case.default.0x43666d
mov eax, ecx
and eax, 7
mov edi, ecx
jmp dword [eax*4 + 0x4368c8]
test ch, 1
jne case.0x43666d.1
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sub.KERNEL32.DLL_CloseHandle
sub esp, 4
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [0x445308]
mov ecx, edi
mov ebx, eax
test cl, cl
jns 0x436874
jmp 0x43688b
call fcn.00434e50
mov dword [eax], 8
mov dword [esp], ebp
call fcn.00426c08
mov ebx, 0xffffffff
jmp 0x43689b
call sub.KERNEL32.DLL_GetLastError
movzx eax, ax
cmp eax, 0x59
je 0x4367ff
cmp eax, 8
je 0x4367f8
cmp eax, 1
jne 0x436806
mov esi, 0x13
jmp 0x43680b
mov dword [esp + 4], esi
lea eax, [esp + 0x158]
mov dword [esp], eax
call fcn.00429884
mov dword [esp], esi
mov dword [esp + 4], 4
call fcn.0042df70
test eax, eax
je 0x436796
mov dword [esp + 4], edi
lea esi, [esp + 0x54]
mov dword [esp], esi
call fcn.00429884
mov dword [esp], esi
call fcn.004298d0
test ebx, ebx
mov byte [esp + eax + 0x58], 0
mov dword [esp + eax + 0x54], 0x444d432e
je 0x43676f
lea eax, [esp + 0x158]
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 4], 0x445326
call fcn.00435fc8
cmp byte [esp + 0x158], 0
jne 0x436796
jmp 0x4367e3
mov dword [esp + 4], esi
lea eax, [esp + 0x158]
mov dword [esp], eax
call fcn.00429884
mov dword [esp], esi
mov dword [esp + 4], 4
call fcn.0042df70
test eax, eax
jne 0x4367e3
mov dword [esp], 0x44531b
call fcn.0043555c
mov esi, eax
test esi, esi
je 0x4367e3
mov eax, dword [esp + 0x278]
mov dword [esp], eax
mov edx, 0x445323
mov ecx, esi
call 0x4368e0
mov ebp, eax
mov al, 1
mov dword [esp + 0x28], eax
test ebp, ebp
jne 0x4363d4
call fcn.00434e50
mov dword [eax], 8
mov ebx, 0xffffffff
jmp 0x43689b
call fcn.00434e50
mov dword [eax], 2
mov ebx, 0xffffffff
jmp 0x43689b
mov esi, 8
jmp 0x43680b
mov esi, 0x2a
jmp 0x43680b
mov esi, 0x15
call fcn.00434e50
mov dword [eax], esi
mov ebx, 0xffffffff
mov esi, edi
jmp 0x43688b
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call sub.KERNEL32.DLL_WaitForSingleObject
sub esp, 8
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.KERNEL32.DLL_GetExitCodeProcess
sub esp, 8
mov ecx, edi
test ch, 1
jne 0x436861
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sub.KERNEL32.DLL_CloseHandle
sub esp, 4
mov ecx, edi
mov ebx, dword [esp + 0x34]
test cl, cl
jns 0x436874
jmp 0x43688b
mov ebx, 0xffffffff
test cl, cl
js 0x43688b
and ecx, 0x100
jne 0x43688b
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sub.KERNEL32.DLL_CloseHandle
sub esp, 4
mov dword [esp], esi
call fcn.00426c08
mov dword [esp], ebp
call fcn.00426c08
mov eax, ebx
add esp, 0x25c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], esi
call fcn.00426c08
mov dword [esp], ebp
call fcn.00426c08
mov dword [esp], 0
call fcn.00435434
sub esp, 4
nop
sbb ebp, dword [eax + 0x43]
add byte [eax - 1476377754], cl
push 0x66740043
inc ebx
add byte [esi + 0x43], dh
add byte [edi], cl
pop ds
inc eax
add byte [ebp + 0x53], dl
push edi
push esi
sub esp, 0x11c
mov ebp, edx
mov edi, ecx
test edi, edi
je 0x436929
lea ebx, [esp + 0x18]
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 8], 0x104
call sub.KERNEL32.DLL_GetShortPathNameA
sub esp, 0xc
test eax, eax
cmove ebx, edi
mov dword [esp + 0x14], ebx
mov dword [esp], ebx
call fcn.004298d0
mov edi, eax
inc edi
mov al, 1
mov dword [esp + 0x10], eax
jmp 0x43693b
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
xor edi, edi
mov ebx, dword [esp + 0x130]
test ebp, ebp
je 0x436952
mov dword [esp], ebp
call fcn.004298d0
lea edi, [edi + eax + 1]
mov eax, dword [ebx]
test eax, eax
je 0x436975
lea esi, [ebx + 4]
nop dword [eax + eax]
mov dword [esp], eax
call fcn.004298d0
lea edi, [edi + eax + 1]
mov eax, dword [esi]
add esi, 4
test eax, eax
jne 0x436960
mov dword [esp], edi
call fcn.00426bf8
mov edi, eax
test edi, edi
je 0x4369ef
cmp byte [esp + 0x10], 0
mov eax, edi
je 0x4369a0
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0042945c
mov byte [eax], 0x20
inc eax
test ebp, ebp
je 0x4369b4
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.0042945c
mov byte [eax], 0x20
inc eax
cmp byte [esp + 0x10], 0
je 0x4369e9
mov ecx, dword [ebx]
test ecx, ecx
je 0x4369e9
add ebx, 4
nop word cs:[eax + eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0042945c
mov byte [eax], 0x20
inc eax
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
jne 0x4369d0
mov byte [eax - 1], 0
jmp 0x4369f1
xor edi, edi
mov eax, edi
add esp, 0x11c
pop esi
pop edi
pop ebx
pop ebp
ret