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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov esi, esp
mov dword [esi + 0xb8], ebp
mov dword [esi + 0xbc], esp
mov dword [esi + 0xc8], 0xffffffff
mov dword [esi + 0xc4], 0x412e30
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0xc0]
mov edx, dword fs:[0]
mov dword [esi + 0xc0], edx
mov dword fs:[0], ecx
mov edx, dword [ebp + 8]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, edi
xor ecx, 2
or ecx, ebx
jne 0x40e9e2
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [edx + 8], 2
mov dword [edx + 0xc], 0
mov dword [edx + 0x30], ecx
mov dword [edx + 0x34], ebx
mov dword [edx + 0x38], edi
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], 1
mov dword [edx + 0x44], 0
mov dword [edx + 0x48], edi
mov dword [edx + 0x4c], 0
jmp 0x40eb7e
mov dword [esi + 0x1c], edi
mov ecx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x18], ebx
mov byte [esi + 7], 1
mov dword [esi + 0xc8], 0
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 8], edi
mov dword [esi + 0x14], edx
lea eax, [esi + 0x78]
push 0
push 0xffffffffffffffff
push 0xfffffffffffffffe
push eax
call fcn.004dd6d0
add esp, 0x10
mov eax, dword [esi + 0x88]
movsd xmm0, qword [esi + 0x78]
movsd xmm1, qword [esi + 0x80]
mov ebx, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
movsd xmm2, qword [esi + 0xa0]
movsd xmm3, qword [esi + 0x98]
movsd xmm4, qword [esi + 0x90]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0xc]
movsd qword [esi + 0x40], xmm1
movsd qword [esi + 0x38], xmm0
movsd xmm0, qword [esi + 0xb0]
movsd xmm1, qword [esi + 0xa8]
movsd qword [esi + 0x60], xmm2
movsd qword [esi + 0x58], xmm3
movsd qword [esi + 0x50], xmm4
movsd qword [esi + 0x88], xmm2
movsd qword [esi + 0x80], xmm3
movsd qword [esi + 0x78], xmm4
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
movsd qword [esi + 0x70], xmm0
movsd qword [esi + 0x68], xmm1
movsd qword [esi + 0x98], xmm0
movsd qword [esi + 0x90], xmm1
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x30], eax
movzx eax, byte [0x69b8b9]
push 8
push 0x28
call fcn.00407070
add esp, 8
test eax, eax
je 0x40eb94
movsd xmm1, qword [esi + 0x60]
movsd xmm2, qword [esi + 0x68]
mov edx, dword [ebp + 8]
movsd xmm0, qword [esi + 0x70]
movsd xmm3, qword [esi + 0x50]
mov ecx, dword [esi + 0x14]
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esi + 0x58]
movsd qword [eax + 0x18], xmm2
movsd xmm2, qword [esi + 0x48]
movsd qword [eax + 0x20], xmm0
movsd qword [eax], xmm3
movsd qword [eax + 8], xmm1
movsd xmm1, qword [esi + 0x40]
movsd qword [edx + 0x28], xmm2
movsd xmm2, qword [esi + 0x38]
movsd qword [edx + 0x20], xmm1
movsd xmm1, qword [esi + 0x30]
movsd qword [edx + 0x18], xmm2
movsd xmm2, qword [esi + 0x20]
movsd qword [edx + 0x10], xmm1
movsd xmm1, qword [esi + 0x28]
movsd qword [edx], xmm2
movsd qword [edx + 8], xmm1
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], eax
mov dword [edx + 0x38], 0x6091c0
mov dword [edx + 0x3c], 0
mov dword [edx + 0x40], edi
mov edi, dword [esi + 0x10]
mov dword [edx + 0x44], ebx
mov dword [edx + 0x48], ecx
mov dword [edx + 0x4c], edi
mov eax, dword [esi + 0xc0]
mov dword fs:[0], eax
mov eax, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0xc8], 2
push 0x28
push 8
call fcn.005a08c0
add esp, 8
ud2