Function at 0x4561e0
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 [0x4c6280]
xor eax, ebp
mov dword [ebp - 4], eax
mov esi, esp
push 0x4c9d2c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp esi, esp
call fcn.0049f8de
cmp dword [0x4c9fa8], 0
je 0x45622b
xor eax, eax
jmp 0x45652d
mov dword [0x4c9fa8], 1
mov dword [ebp - 8], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 8], eax
mov eax, dword [0x4c9fa4]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x20], ecx
mov edx, dword [0x4c9fa4]
mov eax, dword [ebp + 8]
mov dword [edx + 0x34c], eax
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
mov edi, dword [0x4c9fa4]
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 [0x4c9fa4]
add edi, 0x80
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4c9fa4]
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.0049f8de
mov edx, dword [0x4c9fa4]
mov dword [edx + 0x18], eax
mov word [ebp - 0x214], 0
push 0x206
push 0
lea eax, [ebp - 0x212]
push eax
call fcn.004806d0
add esp, 0xc
mov word [ebp - 0x3ac], 0
push 0x18e
push 0
lea ecx, [ebp - 0x3aa]
push ecx
call fcn.004806d0
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.0049f8de
mov dword [ebp - 0x3c8], eax
mov dword [ebp - 0x410], 0x44
push 0x40
push 0
lea eax, [ebp - 0x40c]
push eax
call fcn.004806d0
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 0x4b0484
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
cmp esi, esp
call fcn.0049f8de
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.0049f8de
mov esi, esp
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp esi, esp
call fcn.0049f8de
mov dword [ebp - 0x430], eax
cmp dword [0x4c9fac], 0
je 0x4563f3
mov esi, esp
call dword [0x4c9fac]
cmp esi, esp
call fcn.0049f8de
cmp dword [ebp - 0x430], 0
je 0x4564d9
cmp dword [ebp - 0x3c8], 0
je 0x4564d9
movzx eax, word [ebp - 0x214]
test eax, eax
je 0x4564d9
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.0049f8de
push eax
mov ecx, dword [0x4c9fa4]
push ecx
mov edx, dword [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x3c8]
push eax
push str.bugreport__buginfo:_p:_p:_p:_lu
push 0xc8
lea ecx, [ebp - 0x3ac]
push ecx
call fcn.00482389
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.0049f8de
test eax, eax
je 0x4564d9
mov esi, esp
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0049f8de
mov esi, esp
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0049f8de
mov esi, esp
push 0xffffffffffffffff
mov edx, dword [ebp - 0x3c8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, esp
call fcn.0049f8de
mov esi, esp
mov eax, dword [ebp - 0x3c8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.0049f8de
cmp dword [0x4c9fb0], 0
je 0x456507
mov esi, esp
call dword [0x4c9fb0]
cmp esi, esp
call fcn.0049f8de
mov esi, esp
push 0x1234
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.0049f8de
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp esi, esp
call fcn.0049f8de
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x45655c]
call fcn.0049f901
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047f404
add esp, 0x430
cmp ebp, esp
call fcn.0049f8de
mov esp, ebp
pop ebp
ret