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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x421e80
sub esp, 0x64
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.0045d550
movsd xmm0, qword [0xa540a4]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.0045d500
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], ecx
nop
lea edx, [0xbe6030]
mov dword [esp], edx
call fcn.00402200
mov eax, dword [esp + 0x10]
cmp dword [esp + 4], eax
setbe cl
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x14]
cmp edx, ebx
sete dl
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ecx, edx
or ecx, ebp
test cl, cl
je 0x421c2b
lea eax, [0xbe5548]
mov dword [esp], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0xffffffff
call fcn.00402220
jmp 0x421c42
nop
lea ecx, [0xbe5548]
mov dword [esp], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call fcn.00402220
mov eax, dword [esp + 0x78]
test eax, eax
sete cl
mov edx, dword [esp + 0x7c]
test edx, edx
sete bl
and ebx, ecx
test bl, bl
jne 0x421e5d
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0045d620
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x5c], xmm0
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.0045d620
movsd xmm0, qword [esp + 0x5c]
divsd xmm0, qword [esp + 8]
movsd qword [esp + 0x54], xmm0
mov eax, dword [0xbeb4c8]
mov ecx, dword [0xbeb4cc]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0045d620
movsd xmm0, qword [esp + 0x54]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.0045d500
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov ecx, 0xcccccccd
mul ecx
shr edx, 3
mov dword [esp + 0x50], edx
mov eax, edx
add edx, 0
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x1c], ebx
mov ebp, eax
mov eax, ebx
mov esi, edx
mul ecx
shr edx, 3
mov dword [esp + 0x48], edx
lea eax, [edx + edx*4]
shl eax, 1
sub ebx, eax
mov eax, ebx
mov edi, 0x19999999
mul edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
add eax, esi
mov dword [esp + 0x3c], eax
lea edx, [ebp + ebp*4]
shl edx, 1
mov esi, dword [esp + 0x18]
sub esi, edx
lea edx, [ebx + ebx*2]
lea edx, [esi + edx*2]
mov ebx, eax
mov eax, ecx
mul edx
shr edx, 3
mov dword [esp + 0x38], edx
add edx, ebx
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x18]
add ecx, edx
mov dword [esp + 0x30], ecx
mov edx, dword [0xbe5288]
mov dword [esp + 0x2c], edx
add edx, ecx
mov dword [esp + 0x28], edx
add edx, 0xffffffff
mov dword [esp + 0x24], edx
xor edx, edx
mov ecx, dword [esp + 0x2c]
sub edx, ecx
mov dword [esp + 0x20], edx
call fcn.00421b10
mov eax, dword [esp + 0x50]
add eax, 0
mov eax, dword [esp + 0x48]
adc eax, 0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
add ecx, edx
mov ecx, dword [esp + 0x44]
adc ecx, eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add eax, edx
adc ecx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
add eax, edx
mov eax, dword [esp + 0x1c]
adc ecx, eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add edx, eax
adc ecx, 0
mov edx, dword [esp + 0x28]
add edx, 0xffffffff
adc ecx, 0xffffffff
xor edx, edx
sub edx, eax
mov eax, 0
sbb eax, 0
and eax, ecx
mov ecx, dword [esp + 4]
cmp ecx, eax
setb dl
sete bl
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
and ebp, esi
mov esi, dword [esp]
cmp esi, ebp
xchg edi, ebx
setbe bl
xchg edi, ebx
and edi, ebx
or edi, edx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x421e21
sub esi, ebp
sbb ecx, eax
test ecx, ecx
sete cl
cmp dword [0xbe5288], esi
seta dl
and edx, ecx
test dl, dl
je 0x421e42
nop
lea eax, [0xbe5540]
mov dword [esp], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0xffffffff
call fcn.00402220
jmp 0x421e59
nop
lea ecx, [0xbe5540]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
call fcn.00402220
add esp, 0x64
ret
nop
lea eax, [0xbe5540]
mov dword [esp], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0xffffffff
call fcn.00402220
add esp, 0x64
ret
call fcn.004618d0
jmp fcn.00421b80