Function at 0x438630
Capabilities:
Create process on windows
Get process heap flags
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push esi
push edi
lea edi, [ebp - 0x430]
mov ecx, 0x10c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4b62b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov esi, esp
push 0x4b9ea4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp esi, esp
call fcn.00492e6b
cmp dword [0x4ba1c8], 0
je 0x43867b
xor eax, eax
jmp 0x43897d
mov dword [0x4ba1c8], 1
mov dword [ebp - 8], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 8], eax
mov eax, dword [0x4ba1c4]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x20], ecx
mov edx, dword [0x4ba1c4]
mov eax, dword [ebp + 8]
mov dword [edx + 0x34c], eax
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
mov edi, dword [0x4ba1c4]
add edi, 0x30
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 8]
mov esi, dword [edx + 4]
mov edi, dword [0x4ba1c4]
add edi, 0x80
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4ba1c4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x5f4], ecx
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.00492e6b
mov edx, dword [0x4ba1c4]
mov dword [edx + 0x18], eax
mov word [ebp - 0x214], 0
push 0x206
push 0
lea eax, [ebp - 0x212]
push eax
call fcn.00472c50
add esp, 0xc
mov word [ebp - 0x3ac], 0
push 0x18e
push 0
lea ecx, [ebp - 0x3aa]
push ecx
call fcn.00472c50
add esp, 0xc
mov dword [ebp - 0x3c0], 0xc
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], 1
mov esi, esp
push 0
push 0
push 1
lea edx, [ebp - 0x3c0]
push edx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 0x3c8], eax
mov dword [ebp - 0x410], 0x44
push 0x40
push 0
lea eax, [ebp - 0x40c]
push eax
call fcn.00472c50
add esp, 0xc
mov dword [ebp - 0x428], 0
xor ecx, ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x3e4], 1
mov word [ebp - 0x3e0], 1
mov esi, esp
push 0
lea edx, [ebp - 0x214]
push edx
push 0x104
push 0
push 0x4a1a3c
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
cmp esi, esp
call fcn.00492e6b
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.00492e6b
mov esi, esp
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 0x430], eax
cmp dword [0x4ba1cc], 0
je 0x438843
mov esi, esp
call dword [0x4ba1cc]
cmp esi, esp
call fcn.00492e6b
cmp dword [ebp - 0x430], 0
je 0x438929
cmp dword [ebp - 0x3c8], 0
je 0x438929
movzx eax, word [ebp - 0x214]
test eax, eax
je 0x438929
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.00492e6b
push eax
mov ecx, dword [0x4ba1c4]
push ecx
mov edx, dword [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x3c8]
push eax
push 0x4a1a58
push 0xc8
lea ecx, [ebp - 0x3ac]
push ecx
call fcn.00475487
add esp, 0x1c
mov esi, esp
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x3ac]
push ecx
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp esi, esp
call fcn.00492e6b
test eax, eax
je 0x438929
mov esi, esp
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00492e6b
mov esi, esp
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00492e6b
mov esi, esp
push 0xffffffffffffffff
mov edx, dword [ebp - 0x3c8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, esp
call fcn.00492e6b
mov esi, esp
mov eax, dword [ebp - 0x3c8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00492e6b
cmp dword [0x4ba1d0], 0
je 0x438957
mov esi, esp
call dword [0x4ba1d0]
cmp esi, esp
call fcn.00492e6b
mov esi, esp
push 0x1234
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.00492e6b
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp esi, esp
call fcn.00492e6b
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4389ac]
call fcn.00492e8e
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472710
add esp, 0x430
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret