Function at 0x421ff0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466e0b
mov eax, dword fs:[0]
push eax
mov eax, 0x206c
call fcn.00452450
mov eax, dword [0x489d38]
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 esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax], reloc.WS2_32.dll_closesocket
mov ebx, ecx
je 0x4220a9
mov eax, dword [ebx + 0x5878]
xor edi, edi
cmp eax, edi
je 0x42203f
call eax
mov dword [ebp - 0x2014], edi
mov dword [ebp - method.CSharingMemory_struct_BDExceptionContext_.virtual_0], vtable.CSharingMemory_struct_BDExceptionContext_.0
mov dword [ebp - 0x2020], edi
mov dword [ebp - 0x201c], edi
mov dword [ebp - 0x2018], edi
cmp dword [ebx + 0x586c], 8
lea eax, [ebx + 0x5858]
mov dword [ebp - 4], edi
jb 0x422075
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x2024]
call fcn.004209a0
test eax, eax
jne 0x4220b0
mov eax, dword [ebp - 0x201c]
cmp eax, edi
je 0x422098
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x2020]
cmp eax, edi
je 0x4220a9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x422249
push 1
mov ecx, ebx
call fcn.004203a0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0xb8]
push edx
mov ecx, ebx
call fcn.00421db0
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x4220e5
push eax
mov eax, dword [esi + 4]
push eax
mov ecx, ebx
call fcn.004204a0
test eax, eax
je 0x422219
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebx + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x10], esi
mov ecx, dword [esi]
mov edx, dword [ecx]
mov dword [ebx + 0x14], edx
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x201c]
mov dword [ebx + 0xc], ecx
mov esi, dword [esi + 4]
push 0x5834
lea edx, [ebx + 8]
push edx
lea edi, [ebx + 0x20]
mov ecx, 0xb3
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0044fac0
xor esi, esi
push 0x3c
lea ecx, [ebp - 0x2070]
push esi
push ecx
mov dword [ebp - 0x2078], 0x44
mov dword [ebp - 0x2074], esi
call fcn.00450d40
xor eax, eax
mov dword [ebp - 0x2030], eax
mov dword [ebp - 0x202c], eax
mov dword [ebp - 0x2028], eax
lea eax, [ebx + 0x5858]
mov edi, 8
add esp, 0x18
mov dword [ebp - 0x2034], esi
cmp dword [eax + 0x14], edi
jb 0x42217b
mov eax, dword [eax]
cmp dword [ebx + 0x5850], edi
lea esi, [ebx + 0x583c]
jb 0x42218d
mov ecx, dword [esi]
jmp 0x42218f
mov ecx, esi
push eax
push ecx
push str.__s____smname_s
lea edx, [ebp - 0x2010]
push 0xffffffffffffffff
push edx
call fcn.00420560
add esp, 0x14
cmp dword [esi + 0x14], edi
jb 0x4221ae
mov esi, dword [esi]
lea eax, [ebp - 0x2034]
push eax
lea ecx, [ebp - 0x2078]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x2010]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42220d
mov eax, dword [ebp - 0x2034]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x2030]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x2034]
push edx
call esi
mov dword [ebp - 0x2014], 1
jmp 0x422217
mov dword [ebp - 0x2014], 0
xor edi, edi
push edi
mov ecx, ebx
call fcn.004203a0
mov eax, dword [ebp - 0x201c]
cmp eax, edi
je 0x422232
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x2020]
cmp eax, edi
je 0x422243
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2014]
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.004501e2
mov esp, ebp
pop ebp
ret 4