Function at 0x4017a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4377bc
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x44765c]
xor eax, esp
mov dword [esp + 0x688], eax
push ebx
push esi
push edi
mov eax, dword [0x44765c]
xor eax, esp
push eax
lea eax, [esp + 0x6a0]
mov dword fs:[0], eax
call fcn.004053eb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4017fa
push 0x80004005
call fcn.00403e10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x6a8], 0
call fcn.004053eb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40182f
push 0x80004005
call fcn.00403e10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x86]
mov byte [esp + 0x6b0], 1
push edx
mov word [esp + 0x88], cx
call fcn.00423730
add esp, 0xc
call fcn.004053eb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401881
push 0x80004005
call fcn.00403e10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
push str.DriverFiles
mov byte [esp + 0x6ac], 2
mov ecx, dword [0x44b7ec]
push ecx
push 0x43dd8c
lea edx, [esp + 0x88]
push 0x104
push edx
call fcn.00421ab4
add esp, 0x14
cmp dword [0x44b7e0], 2
push 0x206
push 0
jne 0x401a09
lea ecx, [esp + 0x496]
xor eax, eax
push ecx
mov word [esp + 0x498], ax
call fcn.00423730
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x28e]
push eax
mov word [esp + 0x290], dx
call fcn.00423730
add esp, 0xc
lea ecx, [esp + 0x48c]
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.00401d70
add esp, 8
test eax, eax
je 0x401936
push str.ThreadSetupDriver___get__inf_filename_fail
call fcn.00403f00
add esp, 4
lea eax, [esp + 0x48c]
push eax
lea ecx, [esp + 0x80]
push ecx
push 0x43dd8c
lea edx, [esp + 0x290]
push 0x104
push edx
call fcn.00421ab4
add esp, 0x14
lea eax, [esp + 0x284]
push eax
push 0x43e084
lea ecx, [esp + 0x20]
push str._s___s_
push ecx
call fcn.00403ee0
mov edx, dword [0x44b7f4]
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x28]
push 0x43dd8c
push ecx
call fcn.00403ee0
mov ebx, dword [esp + 0x38]
add esp, 0x1c
lea eax, [ebx - 0x10]
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00403b90
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x6b0], 3
mov edi, dword [esp + 0x18]
lea eax, [edi - 0x10]
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.00403b90
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x6b0], 2
call fcn.00401bc0
add esp, 8
test eax, eax
jne 0x401b1a
push eax
push str.Error___
push str.Driver
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call fcn.00421d93
lea eax, [esp + 0x28e]
xor edx, edx
push eax
mov word [esp + 0x290], dx
call fcn.00423730
mov ecx, dword [0x44b7f4]
add esp, 0xc
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x18]
push 0x43dd8c
push eax
call fcn.00403ee0
mov edi, dword [esp + 0x20]
push edi
push str._s__u
lea ecx, [esp + 0x29c]
push 0x104
push ecx
call fcn.00421ab4
push 0x44
lea edx, [esp + 0x58]
push 0
push edx
mov dword [esp + 0x40], 0xffffffff
call fcn.00423730
add esp, 0x2c
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov word [esp + 0x6c], ax
lea eax, [esp + 0x84]
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x2a4]
push ecx
push 0
mov dword [esp + 0x5c], 0x44
mov dword [esp + 0x88], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401ae9
push eax
push str.Error___
push str.Driver
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call fcn.00421d93
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
mov byte [esp + 0x6a8], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401b42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x6a8], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401b66
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add edi, 0xfffffff0
mov dword [esp + 0x6a8], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401b8d
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x6a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x688]
xor ecx, esp
call fcn.004216ac
mov esp, ebp
pop ebp
ret