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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52ca46
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x59c6b8]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x59c6b8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
cmp dword [ebp + 0x10], 0
fldz
mov eax, dword [ebp + 0x18]
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x104]
mov edx, dword [eax]
mov edi, dword [eax + 8]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
fstp qword [esp + 0x34]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
jne 0x466ef1
cmp dword [edi + 0xc], 0
je 0x466ef1
push 0x148
call fcn.00511699
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x80], 0
test esi, esi
je 0x466cef
mov eax, dword [ebx + 0x104]
mov ecx, dword [eax + 0x18]
call fcn.004802f0
mov ecx, dword [ebx + 0x80]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00480160
mov esi, eax
jmp 0x466cf1
xor esi, esi
mov ecx, dword [0x59da88]
mov dword [esp + 0x80], 0xffffffff
call fcn.00437810
push eax
mov ecx, esi
call fcn.00480410
mov eax, dword [ebx + 0x104]
cmp dword [eax + 0xc], 0
je 0x466eed
mov ecx, dword [edi + 0xc]
dec ecx
cmp ecx, 3
ja case.default.0x466d2c
jmp dword [ecx*4 + 0x4671c4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
call edx
fild dword [esp + 0x40]
mov eax, dword [esp + 0x40]
imul eax, eax, 0xff
fmul qword [0x535de0]
fstp qword [esp + 0x34]
add eax, 0x8000
sar eax, 0x10
mov byte [esp + 0x18], al
jmp 0x466ecd
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
call edx
fild dword [esp + 0x58]
fld qword [0x535de0]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
imul eax, eax, 0xff
fmul st(1), st(0)
fxch st(1)
fmul qword [0x535ed8]
fild dword [esp + 0x54]
fmul st(2)
mov edx, dword [esp + 0x5c]
imul ecx, ecx, 0xff
fmul qword [0x535ed0]
faddp st(1)
fild dword [esp + 0x5c]
fmulp st(2)
fxch st(1)
imul edx, edx, 0xff
fmul qword [0x535ec8]
faddp st(1)
fstp qword [esp + 0x34]
add eax, 0x8000
sar eax, 0x10
add ecx, 0x8000
sar ecx, 0x10
add edx, 0x8000
mov byte [esp + 0x18], al
sar edx, 0x10
lea eax, [esp + 0x18]
mov byte [esp + 0x19], cl
mov byte [esp + 0x1a], dl
push eax
jmp 0x466ed2
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
call edx
fild dword [esp + 0x6c]
fld qword [0x535de0]
fmul st(1), st(0)
fld1
fsubrp st(2)
fild dword [esp + 0x60]
fmul st(1)
fmul qword [0x535ed0]
fsubp st(2)
fild dword [esp + 0x64]
fmul st(1)
fmul qword [0x535ed8]
fsubp st(2)
fimul dword [esp + 0x68]
fmul qword [0x535ec8]
fsubp st(1)
fst qword [esp + 0x34]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x466e71
fstp qword [esp + 0x34]
jmp 0x466e73
fstp st(0)
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
imul eax, eax, 0xff
mov edx, dword [esp + 0x68]
imul ecx, ecx, 0xff
add eax, 0x8000
imul edx, edx, 0xff
sar eax, 0x10
mov byte [esp + 0x18], al
mov eax, dword [esp + 0x6c]
imul eax, eax, 0xff
add ecx, 0x8000
add edx, 0x8000
sar ecx, 0x10
sar edx, 0x10
add eax, 0x8000
sar eax, 0x10
mov byte [esp + 0x19], cl
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], al
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00483930
test esi, esi
je 0x466eed
mov ecx, esi
call fcn.004843c0
push esi
call fcn.0051163f
add esp, 4
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x466f08
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x38]
push eax
call edx
jmp 0x466f10
fld qword [esp + 0x34]
fstp qword [esp + 0x4c]
push 0x18
call fcn.00511699
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x80], 1
test eax, eax
je 0x466f51
mov edx, dword [ebx + 0xc4]
mov esi, dword [edx + 4]
mov edx, dword [edx]
push 1
push 0
push 1
push 1
push esi
push edx
mov ecx, eax
call fcn.0048be50
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x466f5d
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 8]
fld qword [esp + 0x4c]
imul eax, dword [esi + 4]
fmul qword [0x536240]
fadd qword [0x5312a8]
push eax
mov dword [esp + 0x84], 0xffffffff
call fcn.00512de0
mov ecx, dword [esi + 0x10]
push eax
push ecx
call fcn.00512510
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp edx, dword [esi]
jge 0x46716b
mov eax, dword [esp + 0x20]
cmp eax, dword [esi + 4]
jge 0x46716b
mov ebx, dword [esi + 8]
imul ebx, eax
add ebx, dword [esi + 0x10]
xor eax, eax
add ebx, edx
mov dword [esp + 0x20], eax
cmp dword [edi + 4], eax
jle 0x467167
xor esi, esi
cmp dword [edi], esi
jle 0x467150
nop
cmp dword [ebp + 0x10], 0
mov ecx, edi
je 0x466ff9
push eax
push esi
call fcn.0048c0b0
movzx ecx, al
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fdiv qword [0x536240]
fst qword [esp + 0x2c]
jmp 0x4670ec
lea edx, [esp + 0x18]
push edx
push eax
push esi
call fcn.0048bf90
mov eax, dword [edi + 0xc]
cmp eax, 4
ja case.default.0x467011
jmp dword [eax*4 + 0x4671d4]
movzx eax, byte [esp + 0x18]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdiv qword [0x536240]
fst qword [esp + 0x2c]
jmp 0x4670ec
movzx ecx, byte [esp + 0x18]
movzx edx, byte [esp + 0x19]
movzx eax, byte [esp + 0x1a]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmul qword [0x54c778]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fmul qword [0x54c770]
faddp st(1)
fild dword [esp + 0x14]
fmul qword [0x54c768]
faddp st(1)
fst qword [esp + 0x2c]
jmp 0x4670ec
movzx ecx, byte [esp + 0x1b]
mov dword [esp + 0x14], ecx
movzx edx, byte [esp + 0x18]
fild dword [esp + 0x14]
movzx eax, byte [esp + 0x19]
fdiv qword [0x536240]
movzx ecx, byte [esp + 0x1a]
mov dword [esp + 0x14], edx
fld1
fsubrp st(1)
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fmul qword [0x54c778]
fsubp st(1)
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fmul qword [0x54c770]
fsubp st(1)
fild dword [esp + 0x14]
fmul qword [0x54c768]
fsubp st(1)
fst qword [esp + 0x2c]
fldz
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4670ea
fstp st(1)
fst qword [esp + 0x2c]
jmp 0x4670ec
fld qword [esp + 0x2c]
jmp 0x4670ec
fstp st(0)
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x467109
mov edx, dword [ecx]
fstp st(0)
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x30]
push eax
call edx
jmp 0x46710d
fstp qword [esp + 0x44]
fld qword [esp + 0x44]
inc esi
fmul qword [0x536240]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fadd qword [0x5312a8]
or eax, 0xc00
mov dword [esp + 0x24], eax
fldcw word [esp + 0x24]
fistp dword [esp + 0x24]
mov al, byte [esp + 0x24]
mov byte [esi + ebx - 1], al
mov eax, dword [esp + 0x20]
fldcw word [esp + 0x14]
cmp esi, dword [edi]
jl 0x466fd0
mov ecx, dword [esp + 0x1c]
add ebx, dword [ecx + 8]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [edi + 4]
jl 0x466fc5
mov esi, ecx
mov ebx, dword [esp + 0x3c]
mov ecx, dword [ebx + 0xc8]
push esi
call fcn.00480430
mov eax, dword [ebx + 0x104]
mov edx, dword [eax + 0x1c]
push eax
mov dword [ebx + 0x104], edx
call fcn.0051163f
add esp, 4
test edi, edi
je 0x4671a3
mov ecx, edi
call fcn.0048bf50
push edi
call fcn.0051163f
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00511afd
mov esp, ebp
pop ebp
ret 0x14