Function at 0x422980
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48ecc1
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x4c2b20]
xor eax, esp
mov dword [esp + 0x4e4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c2b20]
xor eax, esp
push eax
lea eax, [esp + 0x4fc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50c]
push 0x3fe
mov dword [esp + 0x30], ecx
xor ebx, ebx
lea ecx, [esp + 0xfe]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x104], ax
call fcn.0046a930
add esp, 0xc
call fcn.00450992
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x422a02
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x504], ebx
call fcn.00438660
lea edx, [esp + 0xf8]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bx
jne 0x422a25
lea ecx, [esp + 0xf8]
push 0x5c
push ecx
call fcn.0046b5ec
xor edx, edx
lea edi, [esp + 0x100]
add esp, 8
mov word [eax + 2], dx
add edi, 0xfffffffe
jmp 0x422a60
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x422a60
push ebp
lea eax, [esp + 0xfc]
push eax
mov ecx, 7
mov esi, 0x495d44
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1c]
push str.__s__ODMGuard64__s
push ecx
call fcn.0041c5f0
push 0x40
lea edx, [esp + 0x48]
push ebx
push edx
call fcn.0046a930
mov edx, dword [esp + 0x30]
xor eax, eax
add esp, 0x1c
lea ecx, [esp + 0x78]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push 3
mov eax, 5
mov dword [esp + 0x78], ecx
push edx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], 0x44
mov word [esp + 0x68], ax
call fcn.004207e0
sub esp, 0x84
mov edi, esp
mov ecx, 0x21
lea esi, [esp + 0xf8]
push str.szCmdLine__s_
mov byte [esp + 0x58c], 1
rep movsd dword es:[edi], dword [esi]
call fcn.0042fa80
mov eax, dword [esp + 0xfc]
lea ecx, [esp + 0x100]
add esp, 0x88
mov byte [esp + 0x504], bl
cmp eax, ecx
je 0x422b2c
push eax
call fcn.0046ad15
add esp, 4
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x422b8d
push 0x10
push 0x495d00
push 0x495cec
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [edi - 0x10]
mov dword [esp + 0x504], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422b86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x422c78
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0042f720
mov edx, dword [esp + 0x28]
push 1
push edx
call fcn.00402750
add esp, 0xc
call fcn.00450992
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x422bc0
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push ebp
lea ecx, [esp + 0x1c]
push str.OpenDoc64__s
push ecx
mov byte [esp + 0x510], 2
call fcn.0041c5f0
mov ecx, dword [esp + 0x38]
add esp, 0xc
lea edx, [esp + 0x18]
add ecx, 0x418
push edx
call fcn.0041a940
mov eax, dword [esp + 0x24]
push eax
push str.StartODMGuardExe64
call fcn.0042fa80
mov ecx, dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x504], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422c4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x504], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422c73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x4fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4e4]
xor ecx, esp
call fcn.0046b5b0
add esp, 0x4f4
ret 4