Function at 0x409c00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov ecx, dword [esp + 0x3c]
call fcn.00409ae0
test eax, eax
je 0x409c91
mov esi, edx
cmp eax, 1
jne 0x409c60
lea eax, [esp + 0x1c]
mov dword [esp], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov dword [esp + 0x20], 0
mov ecx, esp
push eax
push eax
push eax
push ecx
push esi
call dword [sym.imp.kernel32.dll_GetProcessTimes]
test eax, eax
mov dword [esp + 0x18], esi
je 0x409ca0
mov eax, dword [esp + 4]
mov esi, dword [esp]
mov dword [esp + 8], eax
jmp 0x409cd3
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x409c91
call fcn.0040cfb0
test edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 1
je 0x409c91
lea eax, [esp + 0x14]
push eax
call fcn.0040ce40
add esp, 4
xor ebp, ebp
xor edi, edi
xor eax, eax
xor edx, edx
xor ebx, ebx
jmp 0x409d39
call fcn.0040cfb0
mov ecx, dword [esp + 4]
mov edi, dword [esp]
test edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], ecx
je 0x409cd1
lea eax, [esp + 0x14]
push eax
call fcn.0040ce40
add esp, 4
mov esi, edi
movzx eax, byte [0x529189]
push 4
push 0xc
call fcn.00402c90
add esp, 8
test eax, eax
je 0x409e97
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
mov ebx, eax
push 0
push 0x989680
push dword [esp + 0x10]
push esi
call fcn.0043aec0
add eax, 0x49ef6f00
mov esi, edi
mov dword [ebx], 1
mov dword [ebx + 4], 1
adc edx, 0xfffffffd
xor ecx, ecx
cmp ebp, eax
sbb esi, edx
mov esi, edx
cmovb esi, ecx
cmovae ecx, eax
sub ebp, ecx
sbb edi, esi
mov esi, dword [esp + 0x18]
mov dword [ebx + 8], esi
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
movsd xmm0, qword [esi]
mov esi, dword [esi + 8]
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x6c], 0
mov dword [ecx + 0x68], 0
mov dword [ecx + 0xa8], esi
mov esi, dword [esp + 0x3c]
movsd qword [ecx + 0xa0], xmm0
mov dword [ecx + 0xac], 4
mov dword [ecx + 0xb0], 0
mov dword [ecx + 0xb4], 0
mov byte [ecx + 0x1c], 2
mov dword [ecx + 0xc4], esi
mov esi, dword [esp + 0x4c]
mov dword [ecx + 0xc8], 0
mov dword [ecx + 0xb8], 4
mov dword [ecx + 0xbc], 0
mov dword [ecx + 0xc0], 0
mov byte [ecx + 0x2c], 2
mov byte [ecx + 0x3c], 2
mov dword [ecx + 0x44], esi
mov esi, dword [esp + 0x48]
mov dword [ecx + 0x40], esi
mov esi, dword [esp + 0x54]
mov dword [ecx + 0x4c], esi
mov esi, dword [esp + 0x50]
mov dword [ecx + 0x48], esi
mov esi, dword [esp + 0x40]
mov dword [ecx], esi
mov esi, dword [esp + 0x44]
mov dword [ecx + 4], esi
mov dword [ecx + 8], 1
mov dword [ecx + 0xd4], ebx
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], edx
mov dword [ecx + 0x7c], edi
mov dword [ecx + 0x78], ebp
mov dword [ecx + 0xd8], 0
mov byte [ecx + 0xdc], 1
mov dword [ecx + 0x98], 0
mov dword [ecx + 0x9c], 0
mov dword [ecx + 0x90], 0
mov dword [ecx + 0x94], 0
mov dword [ecx + 0x88], 0
mov dword [ecx + 0x8c], 0
mov dword [ecx + 0x80], 0
mov dword [ecx + 0x84], 0
mov eax, ecx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xc
push 4
call fcn.00442780
add esp, 8
ud2