Function at 0x100421d9
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb48
push ebx
push esi
push edi
push 0x44
xor ebx, ebx
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.10041ba3
xor eax, eax
mov dword [ebp - 0x28], ebx
lea edi, [ebp - 0x24]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x10042453
cmp dword [ebp - 0x28], ebx
je 0x10042453
mov esi, dword [ebp + 0xc]
push esi
call fcn.10042969
pop ecx
test eax, eax
je 0x10042453
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push 4
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10042453
push 0x2c8
lea eax, [ebp - 0x340]
push ebx
push eax
call fcn.10041ba3
lea eax, [ebp - 0x344]
mov dword [ebp - 0x344], 0x1003f
push eax
push dword [ebp - 0x20]
call fcn.10042872
add esp, 0x14
test eax, eax
je 0x10042453
push ebx
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
mov eax, dword [ebp - 0x2a0]
add eax, 8
cdq
push edx
push eax
push dword [ebp - 0x24]
call fcn.1004279d
add esp, 0x18
test eax, eax
je 0x10042453
push 0x802
lea eax, [ebp - 0xb48]
push ebx
push eax
call fcn.10041ba3
push dword [ebp - 4]
lea eax, [ebp - 0xb48]
push str.0x_x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push esi
call fcn.1004292d
mov eax, dword [ebp - 4]
add esp, 0x20
cmp dword [ebp - 0xc], eax
jne 0x1004230a
push ebx
push eax
push dword [ebp - 0x24]
call fcn.10042800
add esp, 0xc
test eax, eax
je 0x10042453
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push esi
call fcn.10042955
push 0x40
push 0x3000
push ebx
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x24]
call fcn.10042821
mov edi, eax
mov ebx, edx
mov ecx, edi
add esp, 0x24
or ecx, ebx
jne 0x10042361
push 0x40
push 0x3000
xor eax, eax
push eax
push dword [ebp - 0x10]
push eax
push eax
push dword [ebp - 0x24]
call fcn.10042821
mov ebx, edx
add esp, 0x1c
mov edi, eax
or eax, ebx
je 0x10042453
xor eax, eax
cmp dword [ebp - 4], edi
jne 0x1004236c
cmp eax, ebx
je 0x10042397
push eax
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
mov eax, dword [ebp - 0x2a0]
add eax, 8
cdq
push edx
push eax
push dword [ebp - 0x24]
call fcn.100428ca
add esp, 0x18
test eax, eax
je 0x10042453
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.10042941
xor eax, eax
push eax
push dword [ebp - 0x2c]
push esi
push ebx
push edi
push dword [ebp - 0x24]
call fcn.100428ca
add esp, 0x20
test eax, eax
je 0x10042453
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.1004290e
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x14], 0
pop ecx
pop ecx
jbe 0x1004241a
add eax, 0x10
mov dword [ebp - 8], eax
mov edx, dword [eax - 4]
xor ecx, ecx
push 0
push dword [eax]
mov eax, dword [eax + 4]
add edx, edi
adc ecx, ebx
add eax, esi
push eax
push ecx
push edx
push dword [ebp - 0x24]
call fcn.100428ca
add esp, 0x18
test eax, eax
je 0x1004241a
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
inc ecx
add eax, 0x28
mov dword [ebp - 0x30], ecx
mov dword [ebp - 8], eax
cmp ecx, dword [ebp - 0x14]
jb 0x100423e1
xor eax, eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.100428fa
mov eax, dword [ebp - 0x34]
add eax, edi
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x344]
push eax
push dword [ebp - 0x20]
call fcn.1004289f
add esp, 0x10
test eax, eax
je 0x10042453
push dword [ebp - 0x20]
call fcn.100427cd
pop ecx
cmp dword [ebp - 0x24], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x10042464
push dword [ebp - 0x24]
call esi
cmp dword [ebp - 0x20], 0
je 0x1004246f
push dword [ebp - 0x20]
call esi
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret