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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4645bb
mov eax, dword fs:[0]
push eax
sub esp, 0x6a4
mov eax, dword [0x48406c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bh, dl
mov bl, cl
lea eax, [ebp + 0x24]
mov dword [ebp - 4], 1
push eax
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x638]
call fcn.00410b00
add esp, 4
lea edx, [ebp + 0xc]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6ac]
call fcn.0040fe30
cmp dword [eax + 0x14], 8
jb 0x4100f7
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [ebp - 0x698]
cmp edx, 8
jb 0x41013e
mov ecx, dword [ebp - 0x6ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410134
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410380
push edx
push ecx
call fcn.0042b5db
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x684], 0x44
xor eax, eax
movlpd qword [ebp - 0x680], xmm0
movlpd qword [ebp - 0x678], xmm0
movlpd qword [ebp - 0x670], xmm0
movlpd qword [ebp - 0x668], xmm0
movlpd qword [ebp - 0x660], xmm0
movlpd qword [ebp - 0x652], xmm0
movlpd qword [ebp - 0x64a], xmm0
mov word [ebp - 0x642], ax
mov dword [ebp - 0x658], 1
test bh, bh
je 0x4101a1
mov eax, 1
jmp 0x4101a3
xor eax, eax
push 0x208
mov word [ebp - 0x654], ax
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00443020
add esp, 0xc
lea eax, [ebp - 0x638]
cmp dword [ebp - 0x624], 8
cmovae eax, dword [ebp - 0x638]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.004494c3
add esp, 0xc
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x684]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41024b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x61c]
push str.CreateProcess_failed___d_._n
push eax
call fcn.00410bb0
add esp, 0xc
lea eax, [ebp - 0x61c]
push 0
push str.Error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor esi, esi
jmp 0x410286
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x694]
test bl, bl
je 0x410286
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x620]
mov dword [ebp - 0x620], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x624]
cmp edx, 8
jb 0x4102c6
mov ecx, dword [ebp - 0x638]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4102bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410385
push edx
push ecx
call fcn.0042b5db
add esp, 8
mov edx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x628], 0
mov dword [ebp - 0x624], 7
mov word [ebp - 0x638], ax
cmp edx, 8
jb 0x410319
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41030f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41038a
push edx
push ecx
call fcn.0042b5db
add esp, 8
mov edx, dword [ebp + 0x38]
xor eax, eax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
cmp edx, 8
jb 0x410363
mov ecx, dword [ebp + 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410359
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41038f
push edx
push ecx
call fcn.0042b5db
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042b067
mov esp, ebp
pop ebp
ret
call fcn.00449472
call fcn.00449472
call fcn.00449472
call fcn.00449472
int3