Function at 0x403f00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425088
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x431220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2c4], eax
cmp dword [esi + 0x10], 0
jne 0x403f4a
xor al, al
jmp 0x404135
lea eax, [ebp - 0x40]
xor bl, bl
push eax
xor bh, bh
call fcn.00403ce0
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], eax
je 0x4040fb
push 0x426798
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00403240
push esi
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.00403210
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x403fdd
cmp dword [ebp - 0x14], 8
jb 0x403fc0
push dword [ebp - 0x28]
call fcn.0040be2b
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402a10
cmp dword [ebp - 0x44], 8
jb 0x403fee
push dword [ebp - 0x58]
call fcn.0040be2b
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x404013
push dword [ebp - 0x70]
call fcn.0040be2b
add esp, 4
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4040fb
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
cmp dword [edi + 0x10], esi
je 0x40406c
cmp dword [edi + 0x14], 8
jb 0x40404b
mov edi, dword [edi]
push edi
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x40406c
cmp esi, 0xffffffff
je 0x40406c
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov bh, 1
push 0x3c
lea eax, [ebp - 0x300]
push 0
push eax
call fcn.0040d820
mov ecx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0x300], 0x3c
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x2e8], eax
call fcn.00401fa0
mov dword [ebp - 0x2ec], eax
lea eax, [ebp - 0x300]
push eax
mov dword [ebp - 0x2e4], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4040e9
mov bl, 1
test bh, bh
je 0x4040e9
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
je 0x4040fd
cmp esi, 0xffffffff
je 0x4040fd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4040fd
xor bl, bl
cmp dword [ebp - 0x14], 8
jb 0x40410e
push dword [ebp - 0x28]
call fcn.0040be2b
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x404133
push dword [ebp - 0x40]
call fcn.0040be2b
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b645
mov esp, ebp
pop ebp
ret