Function at 0x405580
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4564a9
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x46d358]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46d358]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
call fcn.00416200
push str.MonServiceUDisk.exe
push eax
lea ecx, [esp + 0x174]
xor ebx, ebx
push ecx
mov dword [esp + 0x1a0], ebx
call fcn.00404270
add esp, 0x10
mov ebp, 8
cmp dword [esp + 0x44], ebp
mov byte [esp + 0x190], 2
jb 0x405604
mov edx, dword [esp + 0x30]
push edx
call fcn.0041d291
add esp, 4
cmp dword [esp + 0x180], ebp
mov eax, dword [esp + 0x16c]
mov edi, 7
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jae 0x40562d
lea eax, [esp + 0x16c]
push eax
call fcn.00415fc0
add esp, 4
test al, al
jne 0x405681
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x26
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.File_MonServiceUDisk.exe_is_NOT_Exist.
mov word [ecx + 4], bx
call fcn.004037c0
call fcn.0040d4f0
add esp, 0x1c
cmp dword [esp + 0x180], ebp
jb 0x40567a
mov eax, dword [esp + 0x16c]
push eax
call fcn.0041d291
add esp, 4
xor al, al
jmp 0x405927
push 1
push 3
lea ecx, [esp + 0xb0]
call fcn.004054e0
cmp byte [esp + 0x198], bl
mov byte [esp + 0x190], 3
je 0x4056be
push 0x45bb1c
lea ecx, [esp + 0x16c]
push ecx
push 0x45bb18
lea edx, [esp + 0xbc]
push edx
jmp 0x4056d8
push str.___u
lea eax, [esp + 0x16c]
push eax
push 0x45bb18
lea ecx, [esp + 0xbc]
push ecx
call fcn.00404f50
add esp, 8
push eax
call fcn.00405170
add esp, 8
push eax
call fcn.00404f50
add esp, 8
lea edx, [esp + 0x130]
push edx
lea ecx, [esp + 0xac]
call fcn.00404d70
push 0x44
lea eax, [esp + 0x68]
push ebx
push eax
mov byte [esp + 0x19c], 4
call fcn.00428720
add esp, 0xc
push 0x15
push str.Service_Command_Line:
lea ecx, [esp + 0x154]
mov dword [esp + 0x6c], 0x44
mov word [esp + 0x9c], bx
mov dword [esp + 0x16c], edi
mov dword [esp + 0x168], ebx
mov word [esp + 0x158], bx
call fcn.004037c0
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x150]
push edx
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x19c], 5
call fcn.00404330
add esp, 0xc
cmp dword [eax + 0x18], ebp
mov byte [esp + 0x190], 6
jb 0x40578e
mov esi, dword [eax + 4]
jmp 0x405791
lea esi, [eax + 4]
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x18], edi
mov eax, esi
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x34], esp
mov word [ecx + 4], bx
lea edi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4057b0
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.004037c0
call fcn.0040d4f0
add esp, 0x1c
cmp dword [esp + 0x60], ebp
mov byte [esp + 0x190], 5
jb 0x4057e9
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0041d291
add esp, 4
xor eax, eax
cmp dword [esp + 0x148], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x134]
jae 0x405812
lea eax, [esp + 0x134]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x68]
push ecx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp esi, ebx
je 0x405870
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x45babc
call fcn.004046a0
call fcn.0040d4f0
mov edx, dword [esp + 0x38]
add esp, 0x1c
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x1c]
push ecx
call edi
cmp esi, 1
sete byte [esp + 0x17]
cmp dword [esp + 0x164], ebp
jb 0x405891
mov edx, dword [esp + 0x150]
push edx
call fcn.0041d291
add esp, 4
cmp dword [esp + 0x148], ebp
mov esi, 7
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
jb 0x4058c5
mov eax, dword [esp + 0x134]
push eax
call fcn.0041d291
add esp, 4
lea ecx, [esp + 0xfc]
mov dword [esp + 0x148], esi
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], bx
mov byte [esp + 0x190], 2
call fcn.00402050
lea ecx, [esp + 0xfc]
push ecx
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00442341
add esp, 4
cmp dword [esp + 0x180], ebp
jb 0x405923
mov edx, dword [esp + 0x16c]
push edx
call fcn.0041d291
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.00428437
add esp, 0x180
ret