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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
mov eax, esi
shl eax, 6
push edi
mov edi, dword [esp + 0x78]
add eax, edi
imul eax, eax, 0x74
mov edx, dword [eax + ecx + 0x1c0]
test edx, edx
lea eax, [eax + ecx + 0x1c0]
je 0x4bb224
fld qword [0x5b7490]
fstp dword [edx + 4]
mov ebx, dword [esp + 0x80]
mov ebp, dword [eax]
mov edx, ebx
imul edx, edx, 0x70
lea eax, [edx + ebp + 0x14a54]
push 4
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x84], eax
call fcn.004b4cc0
mov ecx, dword [esp + 0x80]
mov dword [ecx + 0x60], eax
mov dword [eax + 0x4c], 4
mov edx, dword [ecx + 0x60]
mov dword [edx + 0x40], edi
mov dword [edx + 0x44], esi
mov eax, dword [ecx + 0x60]
add ecx, 0x60
mov byte [eax + 0x3c], 1
mov edx, dword [ecx]
mov dword [edx + 0x48], ebx
mov eax, dword [ecx]
mov dword [eax + 0x54], ecx
mov edx, dword [ecx]
fld qword [0x5b7490]
mov eax, 0x40
fstp dword [edx + 0x38]
mov ebp, dword [ebp + 0x14a50]
cdq
fld dword [0x521590]
idiv ebp
mov dword [esp + 0x80], ebp
shl esi, 5
shl edi, 5
mov ebp, eax
mov eax, ebx
cdq
idiv dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
sar ebp, 1
fdiv dword [ebx + 0x10]
imul eax, ebp
imul edx, ebp
add esi, eax
shl esi, 1
add edi, edx
mov dword [esp + 0x38], esi
mov esi, dword [ecx]
mov ecx, dword [esi]
shl edi, 1
mov dword [esp + 0x34], edi
mov edi, dword [0x5b746c]
mov dword [esp + 0x30], ecx
xor ecx, ecx
cmp dword [edi + 0x9c0], ecx
mov dword [esp + 0x14], edx
mov edx, dword [esi + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x10], ecx
jne 0x4bb30f
fmul dword [0x5215ec]
sar ebp, 1
xor edi, edi
test ebp, ebp
mov dword [esp + 0x78], edi
mov dword [esp + 0x54], ebp
jle 0x4bb6a6
mov esi, dword [esp + 0x14]
imul eax, eax, 0x41
add eax, esi
mov esi, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea ebp, [esi + eax*8 + 0x1490]
mov dword [esp + 0x28], ebp
mov edi, edi
mov eax, dword [esp + 0x2c]
xor esi, esi
lea eax, [eax + edi*2]
mov dword [esp + 0x84], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], ebp
jmp 0x4bb360
mov eax, 0xff00
test word [ebp - 0x1450], ax
jne 0x4bb387
test word [ebp], ax
jne 0x4bb387
test word [ebp - 0x1400], ax
jne 0x4bb387
test word [ebp + 0x50], ax
je 0x4bb648
add esi, edi
and esi, 0x80000001
jns 0x4bb396
dec esi
or esi, 0xfffffffe
inc esi
je 0x4bb3ad
fld dword [ebx + 0xc]
fcomp dword [0x521418]
fnstsw ax
test ah, 0x44
mov eax, 0x1f
jp 0x4bb3b2
mov eax, 0x20
mov esi, dword [esp + 0x80]
imul eax, eax, 0xf8
add eax, 0x54d890
cmp dword [eax], 0
mov dword [esp + 0x50], eax
mov edi, eax
mov dword [esp + 0x4c], esi
jl 0x4bb5d3
mov ebp, dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
add ebp, ebp
and ecx, 0x80000007
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0x3f800000
jns 0x4bb414
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, dword [esp + 0x78]
and edx, 0x80000007
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fmul dword [0x521afc]
jns 0x4bb433
dec edx
or edx, 0xfffffff8
inc edx
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
lea eax, [eax + eax*2]
shl eax, 4
lea esi, [eax + ecx + 0x10]
fmul dword [0x521afc]
mov eax, dword [edi]
cdq
mov ecx, 3
idiv ecx
mov ecx, edx
mov edx, dword [esp + 0x34]
add ebp, ecx
lea edx, [edx + ebp*2]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
mov edx, dword [esp + 0x78]
lea edx, [eax + edx*2]
lea edx, [ebp + edx*2]
fmul dword [0x52b964]
mov dword [esp + 0x1c], edx
lea edx, [esi - 0x10]
mov dword [esp + 0x44], eax
fstp dword [esp + 0x5c]
mov ebp, dword [esp + 0x5c]
fild dword [esp + 0x1c]
mov dword [edx], ebp
mov dword [esp + 0x40], ecx
fmul dword [0x52b964]
fstp dword [esp + 0x60]
mov ebp, dword [esp + 0x60]
mov dword [edx + 4], ebp
mov ebp, dword [esp + 0x64]
mov dword [edx + 8], ebp
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x84]
add eax, edx
imul eax, eax, 0x41
add ebp, ebp
add eax, ebp
add eax, ecx
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
fld dword [ecx + eax*8 + 0x3c]
fcom dword [ebx + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4bb4f6
fstp st(0)
fld dword [0x5223a0]
jmp 0x4bb505
fld st(3)
fadd dword [ebx + 0x14]
fsubrp st(1)
fdivr st(3)
fsubr dword [0x521590]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add edx, eax
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
lea ecx, [esi + 8]
fld st(0)
fdiv dword [ebx + 4]
fcos
fmul dword [0x5213d0]
fadd dword [0x521590]
fmul dword [0x5213d0]
fstp dword [esi - 4]
fdiv dword [ebx + 4]
mov dword [ecx], edx
mov edx, dword [esp + 0x70]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
fsin
fmul dword [0x5213d0]
fadd dword [0x521590]
fmul dword [0x5213d0]
fstp dword [esi]
fild dword [esp + 0x40]
fmul dword [0x523df4]
fadd st(3)
fstp dword [esi + 0x18]
fild dword [esp + 0x44]
fmul dword [0x523df4]
fadd st(2)
fstp dword [esi + 0x1c]
fmul dword [0x5239b4]
call fcn.00514cfc
mov ecx, dword [ebx]
shl eax, 0x18
and ecx, 0xffffff
or eax, ecx
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x80]
inc eax
add edi, 4
mov dword [esp + 0x80], eax
mov eax, dword [edi]
add esi, 0x30
test eax, eax
jge 0x4bb456
mov edx, dword [esp + 0x48]
fstp st(0)
mov ebp, dword [esp + 0x24]
fstp st(0)
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
cmp byte [0x5b73e5], 0
jne 0x4bb5fc
mov edi, dword [eax + 0x28]
add eax, 0x28
test edi, edi
jl 0x4bb648
mov di, word [eax]
add di, si
add eax, 4
mov word [edx + ecx*2], di
mov edi, dword [eax]
inc ecx
test edi, edi
jge 0x4bb5e6
jmp 0x4bb644
mov edi, dword [eax + 0x90]
add eax, 0x90
test edi, edi
jl 0x4bb648
test ecx, ecx
je 0x4bb628
mov di, word [edx + ecx*2 - 2]
mov word [edx + ecx*2], di
mov di, word [eax]
inc ecx
add di, si
mov word [edx + ecx*2], di
inc ecx
mov dword [esp + 0x10], ecx
cmp dword [eax], 0
jl 0x4bb648
lea ecx, [ecx]
mov di, word [eax]
add di, si
add eax, 4
mov word [edx + ecx*2], di
mov edi, dword [eax]
inc ecx
test edi, edi
jge 0x4bb630
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x78]
inc esi
add ebp, 0x50
cmp esi, eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x24], ebp
jl 0x4bb360
mov ebp, dword [esp + 0x28]
inc edi
add ebp, 0x1450
cmp edi, eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x28], ebp
jl 0x4bb340
mov eax, dword [esp + 0x58]
fstp st(0)
mov edx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
pop ebx
add esp, 0x64
ret 0x10
mov eax, dword [esp + 0x80]
fstp st(0)
pop edi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10