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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [0x94bccc]
mov edi, ecx
test eax, eax
je 0x65d8e0
mov dword [esp + 0x10], 2
mov dword [esp + 0x20], 0
mov eax, dword [ebp + 0xc]
movsd xmm2, qword [eax + 0x130]
movsd xmm1, qword [eax + 0x128]
movsd xmm0, qword [eax + 0x138]
movsd qword [esp + 0x58], xmm2
movsd xmm2, qword [eax + 0x120]
movsd qword [esp + 0x50], xmm1
movsd xmm1, qword [eax + 0x118]
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x48], xmm2
movsd xmm2, qword [eax + 0x108]
movsd qword [esp + 0x40], xmm1
movsd xmm1, qword [eax + 0x110]
mov dword [eax + 0x108], 3
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 0x38], xmm1
mov esi, dword [esp + 0x30]
cmp esi, 3
je 0x65d813
movsd xmm2, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x50]
movsd xmm0, qword [esp + 0x60]
mov eax, dword [ebp + 8]
lea ebx, [esp + 0x78]
mov ecx, edi
movsd qword [esp + 0xa0], xmm2
movsd qword [esp + 0x98], xmm1
movsd xmm2, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x40]
movsd qword [esp + 0xa8], xmm0
movsd qword [esp + 0x90], xmm2
movsd qword [esp + 0x88], xmm1
movsd xmm2, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x38]
movsd qword [esp + 0x80], xmm1
movsd qword [esp + 0x78], xmm2
push ebx
push eax
call fcn.00661ba0
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x65d81e
jmp 0x65d89d
xor ebx, ebx
mov eax, dword [esp + 0x10]
cmp eax, 2
je 0x65d89d
test eax, eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
je 0x65d835
mov edx, dword [eax + 8]
dec edx
and edx, 0xfffffff8
lea ecx, [edx + ecx + 8]
lea edx, [esp + 8]
push edx
push ecx
call dword [eax + 0x34]
add esp, 8
mov edx, dword [esp + 0x10]
cmp edx, 2
je 0x65d89d
test edx, edx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
je 0x65d871
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 8]
dec eax
and eax, 0xfffffff8
lea edi, [eax + edi + 8]
mov eax, dword [esp + 0x2c]
push ecx
push eax
push edi
call dword [edx + 0x40]
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp eax, 2
je 0x65d89d
test eax, eax
je 0x65d89d
mov eax, dword [esp + 0x14]
lock dec dword [eax]
jne 0x65d89d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
call fcn.0075aba0
cmp esi, 3
jne 0x65da37
mov eax, dword [esp + 0x30]
cmp eax, 3
je 0x65da37
cmp eax, 1
je 0x65da1e
test eax, eax
jne 0x65da37
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x40]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push eax
call dword [ecx + 0xc]
add esp, 0xc
jmp 0x65da37
movzx eax, byte [0x94ab4c]
test al, al
je 0x65d6fe
movzx eax, al
cmp eax, 1
je 0x65d91a
cmp eax, 2
je 0x65d962
mov ecx, 0x94ab44
mov esi, edx
call fcn.007d3740
mov edx, esi
test al, al
je 0x65d6fe
movzx eax, al
cmp eax, 2
je 0x65d962
mov eax, dword [0x94ab44]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
jne 0x65d6fe
mov ebx, edx
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x65d950
mov esi, dword [ecx + 8]
dec esi
and esi, 0xfffffff8
lea edx, [esi + edx + 8]
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
test al, al
mov edx, ebx
je 0x65d6fe
mov ebx, dword [0x94ab44]
mov dword [esp + 0x6c], 0x93d1f8
mov dword [esp + 0x70], 0
lea eax, [ebx + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [0x94bfb8]
mov dword [esp + 0x2c], edx
cmp eax, 2
jne 0x65da41
cmp dword [0x94bcc0], 0
mov esi, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov edx, dword [0x94bcc8]
lea eax, [esp + 0x6c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 1
je 0x65da75
mov eax, dword [edx + 8]
lea ecx, [esp + 0x30]
mov dword [esp + 4], ebx
dec eax
and eax, 0xfffffff8
lea eax, [eax + esi + 8]
push ecx
push eax
mov ebx, edx
call dword [edx + 0x1c]
add esp, 8
lock inc dword [esi]
jle 0x65dabe
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov edx, ebx
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 8]
dec eax
and eax, 0xfffffff8
lea esi, [eax + esi + 8]
jmp 0x65daa9
cmp dword [esp + 0x3c], 0
je 0x65da37
push dword [esp + 0x38]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xdead
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set
mov dword [esp + 0x18], 0x93b6a0
mov esi, str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set
mov edx, 0x93b6a0
jmp 0x65daa5
lea eax, [esp + 0x30]
push eax
push esi
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
call dword [eax + 0x1c]
add esp, 8
mov dword [esp + 0xc], edx
mov edx, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebx
lea eax, [esp + 8]
push eax
push esi
call dword [edx + 0x30]
add esp, 8
mov edx, dword [esp + 0x2c]
jmp 0x65d70e
ud2