Function at 0x422d60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bd80e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e4
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
mov dword [esp + 0x2fc], ebx
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x304]
mov byte [esp + 0x2fc], 2
push ecx
lea ecx, [esp + 0x18]
call fcn.004a9c8d
lea ecx, [esp + 0x14]
mov byte [esp + 0x2fc], 3
call fcn.00434490
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x3c]
xor edx, edx
rep stosd dword es:[edi], eax
mov ecx, 0x11
lea edi, [esp + 0x38]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x304]
mov dword [esp + 0x2c], edx
push eax
mov dword [esp + 0x34], edx
mov byte [esp + 0x1f4], bl
mov byte [esp + 0xf0], bl
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 1
call fcn.0044a180
add esp, 4
mov edx, dword [esp + 0x304]
neg eax
sbb eax, eax
mov edi, edx
and al, 0xfb
or ecx, 0xffffffff
add eax, 5
lea esi, [esp + 0x1f0]
mov word [esp + 0x68], ax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x308]
cmp dword [edi - 8], ebx
jne 0x422ea8
push edx
lea ecx, [esp + 0x18]
call fcn.004a9d5c
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.00434d10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x300], 4
call fcn.004a9d0c
lea ecx, [esp + 0x10]
mov byte [esp + 0x2fc], 3
call fcn.004a9c1f
lea ecx, [esp + 0x14]
call fcn.004343e0
jmp 0x422ecc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xec]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [esp + 0xec]
lea ecx, [esp + 0x24]
neg al
push ecx
lea ecx, [esp + 0xf0]
sbb eax, eax
lea edx, [esp + 0x3c]
and eax, ecx
push edx
push eax
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20c]
push ebx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
je 0x422f36
cmp dword [esp + 0x30c], ebx
je 0x422f1d
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov dword [ebp + 0xcbc], eax
call fcn.00422c90
mov ecx, dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x24]
push edx
call esi
jmp 0x42306f
push ebx
lea eax, [esp + 0x14]
push ebx
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push ebx
lea ecx, [esp + 0x80]
call fcn.00415cc0
mov ecx, dword [0x4f5b3c]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x1f0]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x300], 6
call fcn.004a9d5c
push 0x4eedbc
lea ecx, [esp + 0x1c]
call fcn.004a9faf
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.004a9faf
push 3
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4fc5e4
call fcn.004a9c8d
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x30c], 7
call fcn.004a9994
lea ecx, [esp + 0x88]
mov byte [esp + 0x308], 6
call fcn.004162a0
push ebx
push ebx
push ebx
lea ecx, [esp + 0x88]
call fcn.00416340
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x18]
mov byte [esp + 0x2fc], 5
call fcn.004a9c1f
lea ecx, [esp + 0xe8]
mov byte [esp + 0x2fc], 9
call fcn.004a9c1f
lea ecx, [esp + 0xe4]
mov byte [esp + 0x2fc], 8
call fcn.004a9c1f
lea ecx, [esp + 0xd8]
mov dword [esp + 0xd8], vtable.CGdiObject.0
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0xd8]
mov byte [esp + 0x2fc], 0xb
call fcn.004b1077
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2fc], 3
call fcn.004ab31a
lea ecx, [esp + 0x14]
mov byte [esp + 0x2fc], 2
call fcn.004a9c1f
lea ecx, [esp + 0x20]
mov byte [esp + 0x2fc], 1
call fcn.004a9c1f
lea ecx, [esp + 0x304]
mov byte [esp + 0x2fc], bl
call fcn.004a9c1f
lea ecx, [esp + 0x308]
mov dword [esp + 0x2fc], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [esp + 0x2f4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2f0
ret 0xc