Function at 0x403bd0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bd0d
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x431f04]
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]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xc8], edi
cmp dword [esi + 0x10], ebx
je 0x404064
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x403c2e
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404064
xor eax, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov ecx, dword [esi + 0x14]
mov edx, esi
mov dword [ebp - 4], eax
cmp ecx, 8
jb 0x403c5c
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x403c8b
mov ecx, eax
mov eax, edx
lea ecx, [ecx]
cmp word [eax], 0x20
je 0x403d4e
add eax, 2
sub ecx, 1
jne 0x403c70
mov ecx, dword [esi + 0x14]
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0x40]
cmp edx, esi
je 0x403ca3
cmp ecx, 8
jb 0x403c99
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402660
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
xor eax, eax
mov byte [ebp - 4], 5
mov word [ebp - 0x28], ax
or ebx, 0x20
mov dword [ebp - 0x18], 0
lea eax, [esi + 1]
mov dword [ebp - 0x14], 7
push eax
mov dword [ebp - 0xbc], ebx
call fcn.00402f60
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push esi
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.004024e0
push 1
push 0x41d49c
lea ecx, [ebp - 0x28]
call fcn.004024e0
push dword [ebp - 0xc0]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004038c0
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x403f02
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403ef8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404082
jmp 0x403ef8
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x403c82
push 0x41d588
lea ecx, [ebp - 0x70]
call fcn.004014e0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
push esi
call fcn.00404250
add esp, 8
test al, al
je 0x403da4
push esi
lea ecx, [ebp - 0xb8]
call fcn.00401440
mov ecx, eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
mov ebx, 1
cmp eax, ecx
jne 0x403e33
jmp 0x403e69
push 0x41d588
lea ecx, [ebp - 0xa0]
call fcn.004014e0
push esi
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0xbc], 2
call fcn.004038c0
add esp, 0xc
push 1
push 0x41d588
mov ecx, eax
mov dword [ebp - 4], 4
mov dword [ebp - 0xbc], 6
call fcn.004024e0
mov edx, eax
mov ecx, dword [edx]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x28]
mov dword [edx + 0x10], 0
lea ebx, [eax + 0x1e]
mov dword [edx + 0x14], 7
mov word [edx], ax
mov eax, dword [ecx]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
test bl, 8
je 0x403eab
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffff7
cmp edx, 8
jb 0x403eab
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403ea1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404087
push edx
push ecx
call fcn.0040c046
add esp, 8
test bl, 4
je 0x403ebe
lea ecx, [ebp - 0x88]
and ebx, 0xfffffffb
call fcn.004019c0
test bl, 2
je 0x403ed1
lea ecx, [ebp - 0xa0]
and ebx, 0xfffffffd
call fcn.004019c0
mov dword [ebp - 4], 1
test bl, 1
je 0x403eeb
lea ecx, [ebp - 0xb8]
and ebx, 0xfffffffe
call fcn.004019c0
lea ecx, [ebp - 0x70]
call fcn.004019c0
jmp 0x403ca3
push edx
push ecx
call fcn.0040c046
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
xor esi, esi
mov eax, dword [ebp - 0x48]
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x14], 7
add eax, 1
mov dword [ebp - 0xc0], eax
je 0x403f5e
cmp eax, 0x7fffffff
ja 0x40408c
push eax
lea ecx, [ebp - 0x64]
call fcn.00402480
mov ecx, dword [ebp - 0xc0]
mov esi, eax
xor eax, eax
mov edi, esi
lea ebx, [esi + ecx*2]
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0xc8]
mov ecx, ebx
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
sub ecx, esi
push eax
sar ecx, 1
push ecx
push esi
call fcn.004101a5
xor eax, eax
mov dword [ebp - 0x11c], 0x44
push 0x40
push eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x118]
push eax
call fcn.0040e030
add esp, 0x18
cmp dword [edi + 0x10], 0
jne 0x403fb5
xor edi, edi
jmp 0x403fbd
cmp dword [edi + 0x14], 8
jb 0x403fbd
mov edi, dword [edi]
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x11c]
push eax
push edi
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x403fef
push dword [ebp - 0xd4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0xd8]
test esi, esi
je 0x404022
sub ebx, esi
mov eax, esi
and ebx, 0xfffffffe
cmp ebx, 0x1000
jb 0x404018
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404091
push ebx
push esi
call fcn.0040c046
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.004019c0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x404060
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404056
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404091
push edx
push ecx
call fcn.0040c046
add esp, 8
mov eax, edi
jmp 0x404066
xor eax, eax
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.0040c2b3
mov esp, ebp
pop ebp
ret
call fcn.0040fa8a
call fcn.0040fa8a
call fcn.00402460
call fcn.0040fa8a
int3