Function at 0x40aa80
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.0040a960
test eax, eax
je 0x40ab11
mov esi, edx
cmp eax, 1
jne 0x40aae0
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 0x40ab20
mov eax, dword [esp + 4]
mov esi, dword [esp]
mov dword [esp + 8], eax
jmp 0x40ab53
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x40ab11
call fcn.004150e0
test edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 1
je 0x40ab11
lea eax, [esp + 0x14]
push eax
call fcn.00414ed0
add esp, 4
xor ebp, ebp
xor edi, edi
xor eax, eax
xor edx, edx
xor ebx, ebx
jmp 0x40abb9
call fcn.004150e0
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 0x40ab51
lea eax, [esp + 0x14]
push eax
call fcn.00414ed0
add esp, 4
mov esi, edi
movzx eax, byte [0x537199]
push 4
push 0xc
call fcn.00403b10
add esp, 8
test eax, eax
je 0x40ad17
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.00436070
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.0043daa0
add esp, 8
ud2