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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1dc
mov eax, dword [0x62a3b4]
xor eax, esp
mov dword [esp + 0x1d8], eax
mov eax, dword [ebp + 0x20]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edi
mov eax, dword [edi + 0x20]
mov edx, eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x3c], eax
call fcn.004a2b68
cmp byte [edi + 0x1d], 0
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jne 0x4a451a
cmp dword [edi + 0x3c], 0
jne 0x4a451a
test byte [ebx + 0x16], 0x80
jne 0x4a451a
imul edi, dword [ebx + 0x18], 0x28
add edi, esi
mov dword [esp + 0x38], edi
jmp 0x4a4512
mov ecx, 0x100
cmp word [esi + 0x10], cx
jne 0x4a450f
mov ecx, eax
mov eax, edx
not ecx
not eax
and ecx, dword [esi + 0x20]
and eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x4a450b
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 0x16c]
and ecx, dword [edx + 0x168]
and eax, dword [esp + 0x14]
or ecx, eax
je 0x4a4507
imul eax, dword [edx + 0x18], 0x28
xorps xmm0, xmm0
mov edi, dword [edx + 0x20]
xorps xmm2, xmm2
movlpd qword [esp + 0x20], xmm0
xorps xmm3, xmm3
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add eax, edi
movsd qword [esp + 0x40], xmm2
mov dword [esp + 0x18], eax
movsd qword [esp + 0x48], xmm3
cmp edi, eax
jae 0x4a44a1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], edx
mov eax, 0x200
cmp word [edi + 0x10], ax
jne 0x4a43d9
mov edx, dword [edi + 0xc]
jmp 0x4a4426
mov eax, dword [esp + 0x3c]
cmp dword [edi + 8], eax
mov eax, dword [esp + 0x18]
jne 0x4a4496
mov eax, dword [ebx]
lea edx, [esp + 0x78]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x88], ebx
mov byte [esp + 0x8c], 0x45
mov dword [esp + 0x98], edi
mov word [esp + 0x8e], ax
mov dword [esp + 0x90], 1
lea eax, [esp + 0x50]
push eax
push ecx
push dword [ebp + 0x18]
mov ecx, dword [esp + 0x3c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x44]
call fcn.004a5587
movsd xmm2, qword [esp + 0x84]
add esp, 0x1c
addsd xmm2, qword [esp + 0x40]
movsd xmm3, qword [esp + 0x58]
addsd xmm3, qword [esp + 0x48]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
or edx, dword [esp + 0x70]
or ecx, dword [esp + 0x74]
comisd xmm2, xmmword [eax + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], ecx
movsd qword [esp + 0x40], xmm2
movsd qword [esp + 0x48], xmm3
jae 0x4a44a5
mov eax, dword [esp + 0x18]
add edi, 0x28
cmp edi, eax
jb 0x4a43c9
mov eax, dword [esp + 0x1c]
cmp dword [ebp + 0x1c], 0
je 0x4a44df
movsd xmm1, qword [0x609bf0]
comisd xmm3, xmm1
movsd xmm0, qword [0x609bc8]
jbe 0x4a44d7
mulsd xmm1, qword [0x609bf0]
addsd xmm0, qword [0x609bc8]
comisd xmm3, xmm1
ja 0x4a44c1
mulsd xmm0, xmm3
addsd xmm2, xmm0
movsd xmm0, qword [eax + 0x18]
comisd xmm0, xmm2
mov edi, dword [esp + 0x38]
jbe 0x4a4507
movsd qword [eax + 0x18], xmm2
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
movsd qword [eax + 8], xmm3
mov dword [eax], 0x10000000
mov dword [eax + 0x10], esi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add esi, 0x28
cmp esi, edi
jb 0x4a433f
mov ecx, dword [esp + 0x1e4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00542357
mov esp, ebp
pop ebp
ret