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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x422f0f
sub esp, 0x9c
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.004237f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x8c94a0], eax
mov dword [0x8c94a4], ecx
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0xe0]
mov edx, dword [eax + 0xe4]
mov ebx, dword [esp + 0xa4]
sub ebx, ecx
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0xa8]
sbb ecx, edx
mov dword [esp + 0x48], ecx
test ecx, ecx
sete dl
xchg ebp, ebx
setg bl
xchg ebp, ebx
test ebx, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and edx, esi
or ebp, edx
xchg ebp, eax
mov byte [esp + 0x13], al
xchg ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4228ad
movsd xmm1, qword [0x733858]
jmp 0x42292c
lea ecx, [eax + 0xc0]
mov dword [esp], ecx
call fcn.0047bf90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004681a0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x84], xmm0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xac]
mov ebx, eax
mul ecx
mov dword [esp], eax
mov eax, dword [esp + 0x48]
imul eax, ecx
add eax, edx
sar ecx, 0x1f
imul ecx, ebx
add eax, ecx
mov dword [esp + 4], eax
call fcn.004681a0
movsd xmm0, qword [esp + 0x84]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x733858]
addsd xmm1, xmm0
mov eax, dword [esp + 0xa0]
movsd qword [esp + 0x14], xmm1
lea ecx, [eax + 0x68]
mov dword [esp + 0x98], ecx
mov dword [esp], ecx
call fcn.0047c250
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx + 0x58]
mov ebx, dword [ecx + 0x5c]
cmp dword [esp + 4], edx
setbe dl
cmp eax, ebx
sete al
setb bl
and eax, edx
or ebx, eax
test bl, bl
jne 0x422b5b
movzx eax, byte [esp + 0x13]
test al, al
jne 0x42297e
xorps xmm0, xmm0
jmp 0x4229f1
lea eax, [ecx + 0xd8]
mov dword [esp], eax
call fcn.0047bf90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004681a0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x84], xmm0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xac]
mov ebx, eax
mul ecx
mov dword [esp], eax
mov eax, dword [esp + 0x48]
imul eax, ecx
add eax, edx
sar ecx, 0x1f
imul ebx, ecx
add eax, ebx
mov dword [esp + 4], eax
call fcn.004681a0
movsd xmm0, qword [esp + 0x84]
divsd xmm0, qword [esp + 8]
mov ecx, dword [esp + 0xa0]
movsd qword [esp + 0x34], xmm0
lea eax, [ecx + 0xa0]
mov dword [esp + 0x94], eax
mov dword [esp], eax
call fcn.0047bf90
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0xa8]
mov dword [esp + 0x90], ebx
mov dword [esp], ebx
call fcn.0047bf90
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0xb0]
mov dword [esp + 0x8c], ebx
mov dword [esp], ebx
call fcn.0047bf90
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x98]
mov dword [esp], edx
call fcn.0047c250
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x58]
mov ebp, dword [edx + 0x5c]
movsd xmm0, qword [esp + 0x14]
movsd xmm1, qword [esp + 0x34]
addsd xmm1, xmm0
movsd qword [esp + 0x84], xmm1
movsd xmm2, qword [0x733890]
subsd xmm2, xmm0
movsd qword [esp + 0x64], xmm2
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x78]
add esi, edi
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x74]
adc edi, edx
mov edx, dword [esp + 0x70]
add esi, edx
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x6c]
adc edi, edx
mov dword [esp + 0x20], edi
sub eax, ebx
mov dword [esp], eax
sbb ecx, ebp
mov dword [esp + 4], ecx
call fcn.00468220
movsd xmm0, qword [esp + 0x84]
mulsd xmm0, qword [esp + 8]
movsd qword [esp + 0x84], xmm0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.004681a0
movsd xmm0, qword [esp + 0x64]
mulsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x84]
divsd xmm1, xmm0
mov eax, dword [esp + 0xa0]
movsd xmm0, qword [eax + 0x20]
movsd qword [eax + 0x20], xmm1
xor ecx, ecx
jmp 0x422b63
add esp, 0x9c
ret
inc ecx
cmp ecx, 4
jge 0x422b80
movsd xmm2, qword [eax + ecx*8 + 0x28]
movsd xmm3, qword [eax + 0x20]
ucomisd xmm2, xmm3
jbe 0x422b62
movsd qword [eax + 0x20], xmm2
jmp 0x422b62
movsd qword [esp + 0x3c], xmm1
movsd qword [esp + 0x24], xmm0
lea ecx, [eax + 0x28]
mov dword [esp], ecx
lea ecx, [eax + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
call fcn.00477ad0
movsd xmm0, qword [esp + 0x3c]
mov eax, dword [esp + 0xa0]
movsd qword [eax + 0x40], xmm0
mov ecx, dword [0x8c8bd8]
test ecx, ecx
jle 0x422f08
call fcn.0043d340
call fcn.0043d340
lea eax, [0x702d0a]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043db50
movsd xmm0, qword [esp + 0x14]
movsd xmm1, qword [0x733bc8]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043d9a0
lea eax, [0x702d11]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043db50
mov dword [esp], 0x19
mov dword [esp + 4], 0
call fcn.0043d9a0
lea eax, [0x703efd]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043db50
call fcn.0043d3a0
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.0047bf90
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x90]
mov dword [esp], edx
call fcn.0047bf90
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
call fcn.0047bf90
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0x80]
mov dword [esp], ebx
call fcn.0047c250
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0x90]
mov dword [esp], ebx
call fcn.0047c250
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x78]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x4c], ebp
call fcn.0043d340
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.0043d9a0
lea eax, [0x702297]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043db50
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0043d9a0
lea eax, [0x702297]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043db50
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.0043d9a0
lea eax, [0x7034c2]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0043db50
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
add eax, ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
adc ecx, edx
mov edx, dword [esp + 0x50]
add eax, edx
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
adc ecx, eax
mov dword [esp + 4], ecx
call fcn.0043d870
lea eax, [0x7034cb]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0043db50
call fcn.0043d3a0
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call fcn.0047c250
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x58]
mov dword [esp + 0x80], ebx
mov ebp, dword [edx + 0x5c]
mov dword [esp + 0x78], ebp
mov esi, dword [edx + 0x60]
mov dword [esp + 0x70], esi
mov edx, dword [edx + 0x64]
mov dword [esp + 0x60], edx
call fcn.0043d340
lea eax, [0x702393]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0043db50
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.0043d870
lea eax, [0x7029e6]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.0043db50
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.0043d870
lea eax, [0x70459e]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043db50
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
sub eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x60]
sbb eax, ecx
mov dword [esp + 4], eax
call fcn.0043d9a0
lea eax, [0x7045aa]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043db50
movsd xmm0, qword [esp + 0x24]
movsd qword [esp], xmm0
call fcn.0043d5c0
lea eax, [0x702298]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043db50
call fcn.0043d3a0
call fcn.0043d340
call fcn.0043d520
call fcn.0043d3a0
call fcn.0043d3a0
add esp, 0x9c
ret
call fcn.00475ee0
jmp fcn.00422810