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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, ecx
mov bh, byte [ebp + 0x2c]
mov edi, dword [ebp + 0x24]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov ecx, esi
call fcn.004035b0
sub esp, 0x14
mov bl, byte [esi + 0xc]
test bl, 1
jne 0x403a6d
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x20]
mov dword [eax + 4], ecx
mov eax, dword [esi + 8]
movsd xmm0, qword [esi]
movsd qword [esp + 0x34], xmm0
mov edx, dword [eax]
movsd xmm0, qword [esp + 0x34]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
lea ecx, [esp + 0x20]
call dword [edx + 0x2c]
sub esp, 0xc
test byte [esp + 0x28], 1
jne 0x403ae1
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx]
add eax, dword [esp + 0x20]
mov ecx, dword [ecx + 4]
adc ecx, dword [esp + 0x24]
mov dword [edi], eax
mov dword [edi + 4], ecx
test bh, bh
mov ecx, dword [ebp + 0xc]
je 0x403ad5
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
movsd xmm0, qword [esi]
movsd qword [esp + 8], xmm0
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 4], ecx
lea ecx, [esp + 0x34]
call fcn.00403720
sub esp, 0x18
mov byte [esi + 0xc], bl
mov eax, dword [esp + 0x3c]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x34]
movsd qword [esi], xmm0
test byte [esp + 0x28], 1
je 0x403ad5
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test ecx, ecx
je 0x403ad5
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x403ad5
mov ecx, dword [ebp + 0xc]
call fcn.0054f5e4
add eax, dword [ebp + 0x1c]
adc edx, dword [ebp + 0x20]
mov dword [edi], eax
mov dword [edi + 4], edx
mov eax, dword [ebp + 0x28]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
movzx edx, bh
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea ecx, [esp + 0x34]
call fcn.00403350
sub esp, 0x14
test byte [esp + 0x40], 1
jne 0x403ac8
and bl, 0xfe
mov eax, dword [esp + 0x3c]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x34]
movsd qword [esi], xmm0
mov byte [esi + 0xc], bl
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x28
xorps xmm0, xmm0
movsd qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
lea eax, [esp + 0x58]
mov dword [esp], eax
lea esi, [esp + 0x34]
mov ecx, esi
call fcn.00403b80
sub esp, 4
xor eax, eax
test byte [esp + 0x28], 1
je 0x403b1c
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov word [esp + 0x88], 0x101
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], eax
movups xmm0, xmmword [esp + 0x78]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], esi
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.0054f356
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x403b5c
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x54]
mov word [esp + 0x74], 0x104
mov dword [esp + 0x64], eax
lea eax, [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0054f344
int3