Function at 0x407f10
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44198f
mov eax, dword fs:[0]
push eax
sub esp, 0x8e8
mov eax, dword [0x453f10]
xor eax, esp
mov dword [esp + 0x8e0], eax
push ebx
push esi
push edi
mov eax, dword [0x453f10]
xor eax, esp
push eax
lea eax, [esp + 0x8f8]
mov dword fs:[0], eax
push 0x230
lea eax, [esp + 0xa8]
mov esi, ecx
push 0
push eax
mov dword [esp + 0x1c], esi
mov edi, edx
mov dword [esp + 0xa8], 0
call fcn.0042ce90
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x2de]
push edx
mov word [esp + 0x2e0], cx
call fcn.0042ce90
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x4e6]
push ecx
mov word [esp + 0x4e8], ax
call fcn.0042ce90
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
add esp, 0xc
push 0x105
lea edx, [esp + 0xc8]
push edx
push 0
call ebx
push 0x104
lea eax, [esp + 0x2d8]
push eax
push 0
call ebx
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x4e0]
push 0x104
push ecx
call fcn.0042bd59
add esp, 0xc
lea edx, [esp + 0xc4]
push 0x5c
push edx
call fcn.0042bd2d
add eax, 2
mov ecx, eax
lea edx, [esp + 0xcc]
sub ecx, edx
sar ecx, 1
mov edx, 0x105
push 0x448e30
sub edx, ecx
push edx
push eax
call fcn.0042bd59
add esp, 0x14
lea eax, [esp + 0x2d4]
push 0x5c
push eax
call fcn.0042bd2d
add eax, 2
mov ecx, eax
lea edx, [esp + 0x2dc]
sub ecx, edx
sar ecx, 1
mov edx, 0x104
push str.2Box_img_loader.dll
sub edx, ecx
push edx
push eax
call fcn.0042bd59
add esp, 0x14
lea ecx, [esp + 0x3c]
call fcn.00418b06
mov dword [esp + 0x900], 0
push 0
lea eax, [esp + 0x2d8]
push eax
lea ecx, [esp + 0x44]
call fcn.00418b9e
test eax, eax
jne 0x4080ba
mov ecx, dword [esi + 0x20]
push eax
push 1
push 0x403
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x900], 0xffffffff
call fcn.00418b2f
jmp 0x40844a
lea edx, [esp + 0x4dc]
push 0x5c
push edx
call fcn.0042bd2d
mov ecx, eax
lea edx, [esp + 0x4e4]
sub ecx, edx
sar ecx, 1
mov edx, 0x104
push 0x448e30
sub edx, ecx
push edx
push eax
call fcn.0042bd59
add esp, 0x14
lea ecx, [esp + 0x3c]
mov dword [esp + 0x900], 0xffffffff
call fcn.00418b2f
push 0
push 0
mov dword [esp + 0x908], 1
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov esi, eax
mov dword [esp + 0x38], esi
push 0
test esi, esi
jne 0x40813b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x20]
push 0xffffffffffffffff
push 0x403
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40844a
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x408173
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [edx + 0x20]
push 0xffffffffffffffff
push 0x403
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40844a
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x6ee]
push edx
mov word [esp + 0x6f0], cx
call fcn.0042ce90
mov edi, dword [edi]
add esp, 0xc
push edi
push 0x44958c
lea eax, [esp + 0x6ec]
push 0x208
push eax
call fcn.0042c5c6
xor eax, eax
push 0x40
push eax
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.0042ce90
add esp, 0x1c
lea eax, [esp + 0x18]
push eax
mov edx, 5
lea ecx, [esp + 0x58]
push ecx
mov word [esp + 0x8c], dx
lea edx, [esp + 0x4e4]
push edx
push 0
push 0x5000004
push 0
push 0
push 0
lea eax, [esp + 0x704]
push eax
push 0
mov dword [esp + 0x7c], 0x44
mov dword [esp + 0xa8], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x408248
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x20]
push eax
push 2
push 0x403
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
jmp 0x408445
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x9c], eax
mov eax, ecx
cdq
push ecx
push esi
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], edx
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x4082b1
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
push 0
lea ecx, [esp + 0xc0]
push ecx
push edx
push ebx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push eax
call ebx
test eax, eax
jne 0x4082f4
mov dword [esp + 0x28], 3
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x18]
push eax
call edi
push ebx
call edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x20]
push 0
push ecx
push 0x403
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x408447
mov ecx, dword [esp + 0x18]
push 2
push 0
push 0
lea eax, [esp + 0xb8]
push eax
push ecx
call edi
push eax
call edi
push eax
call ebx
test eax, eax
je 0x4082a5
push 0x258
call fcn.00415594
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x900], 2
test eax, eax
je 0x408341
lea edx, [esp + 0x9c]
push edx
mov ebx, eax
call fcn.00405280
jmp 0x408343
xor eax, eax
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x908], 1
call fcn.00408fc0
mov byte [esp + 0x900], 3
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
sub esp, 8
mov eax, esp
mov dword [esp + 0x34], esp
mov dword [eax], ebx
mov dword [eax + 4], edi
test edi, edi
je 0x40837f
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call fcn.00405690
mov byte [esp + 0x900], 1
test eax, eax
jne 0x40839e
lea edi, [esp + 0x30]
call fcn.004065f0
jmp 0x4082ad
test edi, edi
je 0x4083ca
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4083ca
test ebx, ebx
je 0x4083c1
mov ecx, ebx
call fcn.004052f0
push ebx
call fcn.004155ce
add esp, 4
push edi
call fcn.004155ce
add esp, 4
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x2d4]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
call fcn.00408e30
test eax, eax
je 0x408405
mov eax, dword [esp + 0x14]
push 0x3a98
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x408405
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x408433
mov edx, dword [esp + 0x18]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x20]
push eax
call fcn.00405860
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x20]
push 0
push 4
push 0x403
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call edi
push esi
call edi
mov ecx, dword [esp + 0x8f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8e0]
xor ecx, esp
call fcn.0042bb06
mov esp, ebp
pop ebp
ret