Function at 0x40fd70
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x627843
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x6aab00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], eax
mov eax, dword [eax + 0x10]
push 0x665ccc
push eax
call fcn.0054da9f
add esp, 8
test eax, eax
sete al
test al, al
jne 0x410155
lea esi, [ebp - 0x13c]
call fcn.004049b0
push 0x665dd4
push eax
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 4], 0
call fcn.0040cfd0
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x13c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fe11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x40
lea ecx, [ebp - 0x198]
push 0
push ecx
mov dword [ebp - 0x19c], 0x44
call fcn.00551e50
mov edx, dword [0x6b9884]
xor eax, eax
add esp, 0xc
push edx
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call fcn.0044ce39
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40fe73
push 0x80004005
call fcn.00401b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x124], eax
push 0
mov byte [ebp - 4], 3
call fcn.0054d771
add esp, 4
lea ecx, [ebp - 0x154]
push ecx
mov esi, str._A_B_W_H_Y
lea edi, [ebp - 0x138]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], edx
call fcn.004102f0
push 0x665de0
push eax
lea edx, [ebp - 0x134]
push edx
mov byte [ebp - 4], 4
call fcn.0040cfd0
add esp, 0xc
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x138]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fef5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x103
lea ecx, [ebp - 0x11b]
push 0
push ecx
mov byte [ebp - 0x11c], 0
call fcn.00551e50
add esp, 0xc
call fcn.0045168a
mov eax, dword [eax + 0xc]
push 0x104
lea edx, [ebp - 0x11c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.004016c0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x120]
mov esi, dword [eax - 0xc]
push 0x5c
push eax
call fcn.0054dca1
add esp, 8
test eax, eax
jne 0x40ff60
or eax, 0xffffffff
jmp 0x40ff66
sub eax, dword [ebp - 0x120]
sub esi, eax
dec esi
push esi
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x120]
call fcn.004055b0
push eax
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 8
call fcn.004017f0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ffb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x128]
lea ecx, [ebp - 0x12c]
push ecx
call fcn.0040e950
mov esi, eax
push str.MT.exe
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 9
call fcn.004016c0
mov byte [ebp - 4], 0xa
mov edx, dword [esi]
mov ecx, dword [ebp - 0x134]
mov eax, dword [eax]
push edx
mov edx, dword [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x130]
push edx
push eax
push ecx
lea edx, [ebp - 0x124]
push str._s_s____s____s___s
push edx
call fcn.00405900
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff0
add esp, 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410033
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410059
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x124]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x410081
push 0
lea ecx, [ebp - 0x124]
call fcn.00401990
mov esi, dword [ebp - 0x124]
lea ecx, [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x19c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4100c0
mov eax, dword [ebp - 0x148]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [ebp - 0x14c]
push ecx
call edi
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4100e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41010c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41012c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x130]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410155
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054cec4
mov esp, ebp
pop ebp
ret 4