Function at 0x4b1c40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccf59
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x50f880]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Wow64DisableWow64FsRedirection
push 0x4f09b4
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b1c96
lea ecx, [ebp - 0x3c]
push ecx
call eax
mov eax, dword [ebp - 0x3c]
jmp 0x4b1c98
xor eax, eax
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0xdc2a0354___0A__tr1_std__X_tr1_std__.0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x34]
push eax
mov ecx, str.defrag.exe
mov dword [ebp - 4], 0
call fcn.0041b050
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 1
call fcn.00401650
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
test eax, eax
js 0x4b1f21
cmp eax, ecx
jg 0x4b1f21
cmp word [edx + eax*2], 0x5c
je 0x4b1d00
push 1
push 0x4ecfa8
lea ebx, [ebp - 0x30]
call fcn.0041acd0
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x38]
push eax
lea ebx, [ebp - 0x30]
call fcn.00418120
add esp, 8
push 0
push 0x80
push 3
push 0
push 3
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x4b1d5f
cmp eax, 0xffffffff
je 0x4b1d5f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4b1f97
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x4ecfac
call fcn.0041b050
mov bl, 4
mov byte [ebp - 4], bl
mov eax, dword [esi]
lea esi, [ebp - 0x40]
call fcn.004018f0
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
push eax
push ecx
push str._s__s__O
lea edi, [ebp - 0x2c]
call fcn.0041b170
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b1db9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x2c]
cmp dword [edi - 4], 1
mov esi, dword [edi - 0xc]
jle 0x4b1dd2
push esi
lea edx, [ebp - 0x2c]
push edx
call fcn.0041b4d0
mov edi, dword [ebp - 0x2c]
push 0x40
lea eax, [ebp - 0x94]
push 0
push eax
mov dword [ebp - 0x98], 0x44
call fcn.00457de0
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x98]
push edx
push eax
push eax
push 0x8000000
push 1
push eax
push eax
push edi
push eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4b1f2b
mov eax, dword [ebp - 0x50]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x50]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [ebp - 0x4c]
push edx
call edi
mov byte [ebp - 4], bl
mov eax, esi
cmp esi, 0xffffffff
jne 0x4b1e5e
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00453fa1
add esp, 8
test eax, eax
js 0x4b1f21
mov ecx, dword [ebp - 0x2c]
cmp eax, dword [ecx - 8]
jg 0x4b1f21
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
mov word [edx + eax*2], cx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b1ea1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b1ec4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b1ee7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b1f0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00432090
mov al, 1
jmp 0x4b1ffb
push 0x80070057
call fcn.0041b5f0
mov byte [ebp - 4], bl
mov eax, esi
cmp esi, 0xffffffff
jne 0x4b1f45
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00453fa1
add esp, 8
test eax, eax
js 0x4b1f21
mov ecx, dword [ebp - 0x2c]
cmp eax, dword [ecx - 8]
jg 0x4b1f21
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov word [ecx + eax*2], dx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b1f80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b1fa3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b1fc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b1fe9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00432090
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453be1
mov esp, ebp
pop ebp
ret