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

Disassembly:
mov eax, dword [0x6eb40c]
fild dword [eax + 0xc]
fmul dword [0x66c418]
fld qword [0x66c940]
call fcn.0062410a
fcom dword [0x66c938]
fnstsw ax
test ah, 5
jp 0x4b1de3
fadd dword [0x66c4ec]
fmul dword [0x68ceb4]
fdivr dword [0x66c410]
fstp dword [0x70b27c]
jmp 0x4b1e00
fstp st(0)
mov dword [0x70b27c], 0x3ecccccd
jmp 0x4b1e00
sub esp, 0x48
mov eax, dword [0x6eb40c]
mov ecx, dword [eax + 0xc]
push ebx
push ebp
push esi
push edi
mov edi, dword [0x70b278]
mov dx, word [edi + 0x56c]
inc dx
movsx eax, dx
cdq
mov esi, 0xa
idiv esi
mov eax, ecx
mov ebx, 0xf
mov byte [esp + 0x13], 0
mov byte [edi + 0x56e], 1
mov dword [edi + 0x568], ecx
mov esi, edx
cdq
idiv ebx
mov word [edi + 0x56c], si
test edx, edx
je 0x4b1ef5
test ecx, ecx
je 0x4b1ef5
movsx ebx, si
lea eax, [ebx + 9]
cdq
mov ecx, 0xa
idiv ecx
mov ecx, dword [0x86b838]
mov esi, dword [ecx + 4]
mov ax, word [ecx + 0xc]
or ebp, 0xffffffff
cmp esi, ebp
je 0x4b1e82
xor ebp, ebp
test ax, ax
jle 0x4b2270
movsx edx, dx
movzx eax, ax
imul edx, edx, 0x84
imul ebx, ebx, 0x84
mov dword [esp + 0x20], eax
jmp 0x4b1eb0
mov edi, dword [0x70b278]
lea esp, [esp]
movsx eax, bp
imul eax, eax, 0x568
lea esi, [edx + eax]
add esi, edi
lea edi, [ebx + eax]
add edi, dword [0x70b278]
mov ecx, 0x21
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x86b838]
mov esi, dword [ecx + 4]
or eax, 0xffffffff
cmp esi, eax
je 0x4b1ee5
test bp, bp
jge 0x4b1ee5
xor eax, eax
mov ebp, eax
dec dword [esp + 0x20]
jne 0x4b1ea3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov eax, dword [0x86b838]
mov ecx, dword [eax + 4]
xor ebp, ebp
mov bp, word [eax + 0xc]
or ebx, 0xffffffff
cmp ecx, ebx
mov word [esp + 0x18], 0
mov dword [esp + 0x28], ebp
je 0x4b1f17
xor ebx, ebx
test bp, bp
jle 0x4b1ff1
movzx eax, bp
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
nop
movsx ecx, word [edi + 0x56c]
movsx eax, bx
imul ecx, ecx, 0x84
mov esi, eax
imul esi, esi, 0x568
add ecx, edi
add esi, ecx
cmp bx, 0xffff
je 0x4b1f61
mov edx, dword [0x86b838]
mov ecx, dword [edx + eax*4 + 4]
cmp ecx, 0xffffffff
jne 0x4b1f66
or ecx, 0xffffffff
jmp 0x4b1f7c
mov edx, dword [0x86b840]
mov edx, dword [edx + 0x34]
and ecx, 0xffff
shl ecx, 9
mov ecx, dword [ecx + edx + 0x34]
mov edx, dword [esp + 0x1c]
lea eax, [eax + eax*2]
shl eax, 2
xor ebp, ebp
cmp ecx, 0xffffffff
lea edi, [esp + eax + 0x3c]
mov word [edx], bx
mov dword [edi], ebp
mov dword [esp + eax + 0x40], ebp
mov dword [esp + eax + 0x44], ebp
je 0x4b1fa3
call fcn.00564950
mov dword [esi + 0x78], ebp
lea eax, [esi + 2]
mov ecx, 0x10
mov edi, edi
mov byte [eax], 6
add eax, 4
dec ecx
jne 0x4b1fb0
mov esi, dword [esp + 0x1c]
mov ecx, dword [0x86b838]
mov edx, dword [ecx + 4]
add esi, 2
or eax, 0xffffffff
cmp edx, eax
mov dword [esp + 0x1c], esi
je 0x4b1fdb
cmp bx, bp
jge 0x4b1fdb
xor eax, eax
mov edi, dword [0x70b278]
mov ebx, eax
dec dword [esp + 0x20]
jne 0x4b1f30
mov ebp, dword [esp + 0x28]
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x58], 0x86868686
mov dword [esp + 0x4c], 3
mov byte [esp + 0x50], 1
mov word [esp + 0x52], 0
mov dword [esp + 0x54], 0xffffffff
call fcn.004f2b00
add esp, 4
test eax, eax
je 0x4b2270
lea ebx, [ebx]
mov al, byte [esp + 0x13]
test al, al
jne 0x4b2270
mov esi, dword [esp + 0x50]
xor ebx, ebx
cmp esi, 0xffffffff
je 0x4b2086
mov ecx, esi
mov dx, si
sar ecx, 0x10
test dx, dx
jl 0x4b2086
mov eax, dword [0x851c30]
cmp dx, word [eax + 0x20]
jge 0x4b2086
movsx eax, word [eax + 0x22]
movsx edx, dx
imul eax, edx
mov edx, dword [0x851c30]
add eax, dword [edx + 0x34]
mov dx, word [eax]
test dx, dx
je 0x4b2086
test cx, cx
je 0x4b2084
cmp dx, cx
jne 0x4b2086
mov ebx, eax
test ebx, ebx
je 0x4b225b
mov cl, byte [ebx + 3]
mov eax, 1
shl eax, cl
test al, 3
je 0x4b225b
mov eax, dword [ebx + 8]
test eax, eax
je 0x4b225b
test byte [eax + 0x106], 4
jne 0x4b225b
push esi
call fcn.004b1b20
add esp, 4
test al, al
je 0x4b225b
mov edx, dword [0x851c30]
mov eax, esi
and eax, 0xffff
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x34]
mov eax, dword [eax + ecx*4 + 8]
add eax, 0xa0
test bp, bp
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
jle 0x4b224b
movzx edx, bp
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], edx
lea esp, [esp]
mov eax, dword [esp + 0x1c]
mov ax, word [eax]
cmp ax, 0xffff
je 0x4b2231
mov edx, dword [0x86b838]
movsx ecx, ax
mov eax, dword [edx + ecx*4 + 4]
cmp eax, 0xffffffff
je 0x4b2231
mov edx, dword [0x86b840]
mov edx, dword [edx + 0x34]
and eax, 0xffff
shl eax, 9
cmp dword [eax + edx + 0x34], 0xffffffff
je 0x4b2231
mov dx, word [esp + ecx*2 + 0x18]
cmp dx, 0x10
lea eax, [esp + ecx*2 + 0x18]
mov dword [esp + 0x24], eax
jge 0x4b222d
mov esi, dword [0x6eb3c0]
lea eax, [ecx + ecx*2]
shl eax, 2
test esi, esi
fld dword [esp + eax + 0x44]
fstp dword [esp + 0x38]
jne 0x4b21da
fld dword [esp + 0x30]
lea eax, [esp + eax + 0x3c]
fsub dword [eax]
fld dword [esp + 0x34]
fsub dword [eax + 4]
fld dword [esp + 0x38]
fsub dword [eax + 8]
mov eax, dword [0x70b25c]
fld dword [eax + 0x2d0]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
fld st(4)
fmul st(5)
faddp st(1)
fld st(1)
fmul st(2)
fcompp
fstp st(0)
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 1
fstp st(0)
jne 0x4b2231
mov ebp, ecx
imul ebp, ebp, 0x568
add ebp, edi
movsx edi, word [edi + 0x56c]
imul edi, edi, 0x84
movsx ebx, dx
add edi, ebp
mov eax, ecx
mov ecx, dword [esp + 0x50]
lea esi, [edi + ebx*4]
call fcn.004b1a70
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
xor eax, eax
mov ax, word [edx]
mov dword [ebp + ebx*4 + 0x528], ecx
mov ebp, dword [esp + 0x28]
mov ecx, edx
inc eax
mov word [ecx], ax
inc dword [edi + 0x78]
mov edi, dword [0x70b278]
jmp 0x4b2231
inc dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
add ecx, 2
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
jne 0x4b2120
mov eax, dword [esp + 0x20]
movsx edx, bp
cmp eax, edx
jne 0x4b225b
mov byte [esp + 0x13], 1
lea eax, [esp + 0x48]
push eax
call fcn.004f2b00
add esp, 4
test eax, eax
jne 0x4b2030
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret