Function at 0x485c40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524ae5
mov eax, dword fs:[0]
push eax
sub esp, 0x394
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
mov dword [ebp - 0x384], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x48606d
cmp eax, 0x104
je 0x48606d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.004076f0
push 1
push 0xffffffffffffffff
push 0x52da1c
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.004688b0
cmp eax, 0xffffffff
jne 0x485ce1
mov byte [ebp - 0x37d], 0
jmp 0x48604e
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x224]
cmp ecx, eax
ja 0x485d10
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
mov dword [ebp - 0x224], ecx
cmovae eax, dword [ebp - 0x234]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x485d20
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x234]
call fcn.0040e250
push 0xb0
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.004f9050
add esp, 0xc
mov dword [ebp - 0x31c], 0x5362f0
mov dword [ebp - 0x30c], 0x5362f8
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
push 0
lea eax, [ebp - 0x304]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x31c]
mov dword [ebp - 0x384], 1
call fcn.00485440
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x31c], 0x5362ec
mov eax, dword [ebp - 0x31c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x320], eax
lea ecx, [ebp - 0x304]
call fcn.0044db70
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x30c]
push edi
push 0x536300
mov byte [ebp - 4], 4
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x30c]
push edx
push 0x536304
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x30c]
mov eax, dword [eax + 4]
or dword [ebp + eax - 0x2f8], 8
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x30c]
push 0x5340c4
push eax
call fcn.00484f40
add esp, 8
push eax
call fcn.004851e0
add esp, 8
push eax
call fcn.00484f40
add esp, 8
mov ecx, eax
call fcn.0044dc40
push eax
call fcn.00484be0
add esp, 8
mov ecx, eax
call fcn.0044dc40
lea eax, [ebp - 0x39c]
push eax
lea ecx, [ebp - 0x31c]
call fcn.00487680
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 5
jb 0x485e76
mov eax, dword [eax]
push eax
call fcn.00410a18
mov esi, eax
add esp, 4
mov dword [ebp - 0x384], esi
cmp dword [ebp - 0x388], 8
mov byte [ebp - 4], 7
jb 0x485ea2
push dword [ebp - 0x39c]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x388], 7
push 0x40
push eax
mov word [ebp - 0x39c], ax
lea eax, [ebp - 0x378]
push eax
mov dword [ebp - 0x38c], 0
call fcn.004f9050
add esp, 0xc
mov dword [ebp - 0x37c], 0x44
xorps xmm0, xmm0
lea ecx, [ebp - 0x338]
movdqu xmmword [ebp - 0x26c], xmm0
call fcn.004710c0
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 8
call fcn.00471480
test al, al
jne 0x485f0f
mov byte [ebp - 0x37d], al
jmp 0x486006
lea eax, [ebp - 0x25c]
push eax
call fcn.0042ebd0
add esp, 4
cmp dword [ebp - 0x24c], 0
mov byte [ebp - 4], 9
je 0x485ff4
cmp dword [ebp - 0x248], 8
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x37c]
push ecx
lea eax, [ebp - 0x25c]
cmovae eax, dword [ebp - 0x25c]
push eax
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 0x485ff4
lea eax, [ebp - 0x26c]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x244]
movdqu xmmword [ebp - 0x244], xmm0
call fcn.00439470
push 0xffffffffffffffff
push dword [ebp - 0x244]
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
setne al
cmp edi, 0x102
je 0x485fdc
test al, al
je 0x485fdc
cmp dword [ebp - 0x21c], 0
mov byte [ebp - 0x37d], 1
je 0x485fe3
mov byte [ebp - 0x37d], 0
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 9
call fcn.00439940
jmp 0x485ffb
mov byte [ebp - 0x37d], 0
lea ecx, [ebp - 0x25c]
call fcn.004087d0
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 7
call fcn.00471100
mov byte [ebp - 4], 4
test esi, esi
je 0x486026
push esi
call fcn.004039d2
add esp, 4
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0
call fcn.00485720
lea eax, [ebp - 0x2b4]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.0044fc19
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x486065
push dword [ebp - 0x234]
call fcn.004085be
add esp, 4
mov al, byte [ebp - 0x37d]
jmp 0x48606f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret 4