Function at 0x405f50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bd08
mov eax, dword fs:[0]
push eax
mov eax, 0x5e50
call fcn.0041a300
mov eax, dword [0x439190]
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
mov eax, dword [ebp + 8]
push 0x2f0c
mov ebx, ecx
lea ecx, [ebp - 0x2f40]
push 0x43f128
push ecx
mov dword [ebp - 0x2f48], eax
call fcn.00419be0
add esp, 0xc
push 0x2f0c
lea edx, [ebp - 0x2f40]
push edx
lea eax, [ebp - 0x5e58]
push eax
call fcn.00419be0
add esp, 0xc
push 0x2efc
lea ecx, [ebp - 0x5e48]
push ecx
lea edx, [ebp - 0x2f30]
push edx
call fcn.00419be0
xor esi, esi
add esp, 0xc
cmp dword [ebp - 0x2ef8], esi
je 0x40603a
lea ecx, [ebx + 0x2f48]
call fcn.0040a430
test eax, eax
jne 0x406086
push ebx
call fcn.00406390
lea eax, [ebx + 0x5e78]
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x406011
mov eax, dword [eax]
push 1
push eax
call fcn.0040e190
add ebx, 0x5e5c
add esp, 8
cmp dword [ebx + 0x14], edi
jb 0x406029
mov ebx, dword [ebx]
push 1
push ebx
call fcn.0040e190
add esp, 8
push esi
call fcn.00419271
mov ecx, ebx
call fcn.00403170
test al, al
jne 0x406086
push ebx
call fcn.00406390
lea eax, [ebx + 0x5e78]
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x40605d
mov eax, dword [eax]
push 1
push eax
call fcn.0040e190
add ebx, 0x5e5c
add esp, 8
cmp dword [ebx + 0x14], edi
jb 0x406075
mov ebx, dword [ebx]
push 1
push ebx
call fcn.0040e190
add esp, 8
push esi
call fcn.00419271
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x2f44], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x4060b9
lea eax, [ebp - 0x2f44]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [ebp - 0x2f44], esi
je 0x40619a
push str.HOOK:64bitOS
call fcn.00416600
add esp, 4
push 0xffffffffffffffff
xor ecx, ecx
push esi
mov word [ebp - 0x2c], cx
lea edi, [ebx + 0x5e5c]
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
call fcn.004014e0
push 9
mov eax, 0x433c38
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.004069b0
cmp byte [ebx + 0x5e94], 0
mov esi, 8
jne 0x40616e
cmp dword [edi + 0x14], esi
jb 0x40611b
mov edi, dword [edi]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x406126
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x5e50]
push 0
push 0
push edi
push eax
push str.open
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x1f
jbe 0x406159
push str.StartHook64_succesed
mov byte [ebx + 0x5e94], 1
call fcn.004166a0
add esp, 4
jmp 0x40616e
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartHook64_FAIL_error:_d_ret:_d
call fcn.004166a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], esi
jb 0x406186
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041866f
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
push 1
lea edi, [ebx + 0x5eb4]
call fcn.00407970
test al, al
jne 0x4061bf
push str.Start_32_HOOK_error
call fcn.00416600
add esp, 4
xor al, al
jmp 0x406367
mov edx, dword [ebp - 0x2f48]
push edx
call fcn.00415d40
add esp, 4
test eax, eax
je 0x406365
mov ecx, dword [ebx + 0x2f2c]
sub ecx, dword [ebx + 0x2f28]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x406365
cmp dword [ebx + 0x5e8c], 8
lea esi, [ebx + 0x5e78]
jb 0x40620c
mov eax, dword [esi]
jmp 0x40620e
mov eax, esi
mov ecx, dword [ebp - 0x2f48]
push 1
push eax
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x64
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x20
ja 0x4062ec
cmp dword [esi + 0x14], 8
jb 0x40624a
mov edx, dword [esi]
mov dword [ebp - 0x2f44], edx
jmp 0x406250
mov dword [ebp - 0x2f44], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call esi
mov ecx, dword [ebp - 0x2f48]
push eax
mov eax, dword [ebp - 0x2f44]
push eax
push ecx
push str.wzFileName:_s_g_wzUnPackDataDir:_s__error:__d__d
call fcn.004166a0
add esp, 0x14
push str.MIXIN_TITLE_CAPTION_ERROR
push 0x442430
mov edi, 0x43a754
call fcn.004011c0
add esp, 8
call esi
mov edx, dword [ebp - 0x2f48]
push eax
push edx
push str.MIXIN_TITLE_OPEN_DOC_FAILED
push 0x442430
mov edi, 0x43a738
call fcn.004011c0
mov ecx, dword [0x43a754]
mov eax, 8
add esp, 0x10
cmp dword [0x43a768], eax
jae 0x4062c5
mov ecx, 0x43a754
cmp dword [0x43a74c], eax
mov eax, dword [0x43a738]
jae 0x4062d7
mov eax, 0x43a738
push 0x10
push ecx
push eax
mov eax, dword [ebx + 0x5e50]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x406367
cmp dword [ebp - 0x2ef8], 0
je 0x40631b
cmp dword [ebp - 0x2ee4], 0
jne 0x40631b
mov eax, dword [ebp - 0x2efc]
cmp eax, 0xfffffffe
je 0x406356
cmp eax, 0xffffffff
je 0x406356
lea ecx, [ebx + 0x2f48]
call fcn.0040a860
jmp 0x406356
mov eax, dword [ebp - 0x2efc]
cmp eax, 0xfffffffe
je 0x406356
cmp eax, 0xffffffff
je 0x406356
dec eax
mov dword [ebp - 0x2efc], eax
mov eax, 0x2efc
lea esi, [ebp - 0x2f30]
call fcn.0041a300
mov ecx, 0xbbf
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.004071f0
add esp, 0x2efc
push ebx
call fcn.00403a70
push 0
mov ecx, ebx
call fcn.00404f30
mov al, 1
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.004180c9
mov esp, ebp
pop ebp
ret 4