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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x4bd96c]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0xdc], eax
mov eax, dword [ebp + 0x18]
push esi
push edi
xor edi, edi
dec eax
cmp eax, 4
mov edx, 1
jl 0x474881
mov eax, 0xfffffffc
sub eax, ebx
mov dword [esp + 0x18], eax
mov eax, 4
sub eax, ebx
mov dword [esp + 0x14], eax
mov eax, 0xc
sub eax, ebx
mov dword [esp + 0x10], eax
mov eax, 0xfffffff4
xor esi, esi
sub eax, ebx
lea ecx, [ebx + 0x14]
mov dword [esp + 0x4c], eax
fld dword [ecx - 8]
fcomp dword [esi + ebx + 4]
fnstsw ax
test ah, 5
jp 0x47482a
mov eax, dword [esp + 0x4c]
mov edi, edx
lea esi, [eax + ecx]
fld dword [ecx]
fcomp dword [esi + ebx + 4]
fnstsw ax
test ah, 5
jp 0x474841
mov eax, dword [esp + 0x18]
lea edi, [edx + 1]
lea esi, [eax + ecx]
fld dword [ecx + 8]
fcomp dword [esi + ebx + 4]
fnstsw ax
test ah, 5
jp 0x474859
mov eax, dword [esp + 0x14]
lea edi, [edx + 2]
lea esi, [eax + ecx]
fld dword [ecx + 0x10]
fcomp dword [esi + ebx + 4]
fnstsw ax
test ah, 5
jp 0x474871
mov eax, dword [esp + 0x10]
lea edi, [edx + 3]
lea esi, [eax + ecx]
mov eax, dword [ebp + 0x18]
add edx, 4
add eax, 0xfffffffd
add ecx, 0x20
cmp edx, eax
jl 0x474813
cmp edx, dword [ebp + 0x18]
jge 0x4748b2
lea esi, [edi*8]
lea ecx, [ebx + edx*8 + 4]
fld dword [ecx]
fcomp dword [esi + ebx + 4]
fnstsw ax
test ah, 5
jp 0x4748a7
mov edi, edx
lea esi, [edx*8]
mov eax, dword [ebp + 0x18]
inc edx
add ecx, 8
cmp edx, eax
jl 0x474891
lea esi, [edi - 1]
test esi, esi
jge 0x4748c0
mov ecx, dword [ebp + 0x18]
add esi, ecx
jmp 0x4748c9
mov eax, dword [ebp + 0x18]
cmp esi, eax
jl 0x4748c9
sub esi, eax
fld dword [ebx + esi*8]
mov dword [esp + 0x14], esi
call fcn.00462760
fld dword [ebx + edi*8]
mov dword [esp + 0x10], eax
call fcn.00462760
fld dword [ebx + esi*8 + 4]
fsub dword [ebx + edi*8 + 4]
mov dword [esp + 0x18], eax
lea eax, [ebx + edi*8 + 4]
mov dword [esp + 0x4c], eax
call fcn.00462760
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
cmp ecx, edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], ecx
jle 0x47491c
mov dword [esp + 0x48], 0xffffffff
jmp 0x47492c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], 1
sub ecx, edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx + esi*8]
mov edx, dword [edx + edi*8]
cmp edx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0xe0], edx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], edx
jle 0x474976
sub edx, ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xac], 0xffffffff
jmp 0x47498a
sub ecx, edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xac], 1
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx + esi*8 + 4]
mov esi, dword [edx + edi*8 + 4]
cmp esi, ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], esi
jle 0x4749c5
mov edx, esi
sub edx, ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x64], 0xffffffff
jmp 0x4749d3
sub ecx, esi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], 1
inc edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
jns 0x4749e5
mov edx, dword [ebp + 0x18]
add edi, edx
jmp 0x4749ee
mov eax, dword [ebp + 0x18]
cmp edi, eax
jl 0x4749ee
sub edi, eax
mov eax, edi
fld dword [ebx + eax*8]
mov dword [esp + 0x10], edi
call fcn.00462760
mov ecx, dword [esp + 0x10]
fld dword [ebx + ecx*8 + 4]
mov edx, dword [esp + 0x4c]
fsub dword [edx]
mov edi, eax
call fcn.00462760
mov ecx, dword [esp + 0x18]
cmp ecx, edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], ecx
jle 0x474a35
sub ecx, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], 0xffffffff
jmp 0x474a43
sub edi, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], 1
mov ebx, dword [ebp + 0x14]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0xe0]
mov ecx, dword [ebx + edi*8]
cmp edx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], edx
jle 0x474a7c
sub edx, ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x7c], 0xffffffff
jmp 0x474a8a
sub ecx, edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x7c], 1
mov ecx, dword [ebx + edi*8 + 4]
cmp esi, ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], esi
jle 0x474ac2
sub esi, ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x94], 0xffffffff
jmp 0x474ad6
sub ecx, esi
mov dword [esp + 0x88], ecx
mov dword [esp + 0x94], 1
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x4c]
fld dword [eax]
call fcn.00462760
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
cmp ecx, dword [esp + 0x40]
jl 0x474c24
mov ebx, dword [esp + 0x14]
lea eax, [ebx - 1]
test eax, eax
jge 0x474b13
mov edx, dword [ebp + 0x18]
add eax, edx
jmp 0x474b1c
mov ecx, dword [ebp + 0x18]
cmp eax, ecx
jl 0x474b1c
sub eax, ecx
mov edi, dword [ebp + 0x10]
fld dword [edi + eax*8]
mov dword [esp + 0x14], eax
call fcn.00462760
fld dword [edi + ebx*8]
mov esi, eax
call fcn.00462760
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [ebp + 0x10]
fld dword [eax + ecx*8 + 4]
fsub dword [eax + ebx*8 + 4]
call fcn.00462760
cmp edi, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], edi
jle 0x474b6b
sub edi, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], 0xffffffff
jmp 0x474b79
sub esi, edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], 1
mov esi, dword [ebp + 0x14]
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + ebx*8]
mov edx, dword [esi + edi*8]
cmp ecx, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], ecx
jle 0x474bba
sub ecx, edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xac], 0xffffffff
jmp 0x474bce
sub edx, ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xac], 1
mov ecx, dword [esi + ebx*8 + 4]
mov edx, dword [esi + edi*8 + 4]
cmp ecx, edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], ecx
jle 0x474c04
sub ecx, edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], 0xffffffff
jmp 0x474c12
sub edx, ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x64], 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
cmp ebx, dword [esp + 0x10]
je 0x4750e6
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x28]
jl 0x474d54
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x18]
lea eax, [ebx + 1]
test eax, eax
jge 0x474c44
add eax, ecx
jmp 0x474c4a
cmp eax, ecx
jl 0x474c4a
sub eax, ecx
mov esi, dword [ebp + 0x10]
mov edx, eax
fld dword [esi + edx*8]
mov dword [esp + 0x10], eax
call fcn.00462760
fld dword [esi + ebx*8]
mov edi, eax
call fcn.00462760
mov ecx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [ebp + 0x10]
fld dword [eax + ecx*8 + 4]
fsub dword [eax + ebx*8 + 4]
call fcn.00462760
cmp esi, edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], esi
jle 0x474c9b
sub esi, edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], 0xffffffff
jmp 0x474ca9
sub edi, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], 1
mov esi, dword [ebp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + ebx*8]
mov edx, dword [esi + edi*8]
cmp ecx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], ecx
jle 0x474cde
sub ecx, edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x7c], 0xffffffff
jmp 0x474cec
sub edx, ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x7c], 1
mov ecx, dword [esi + ebx*8 + 4]
mov edx, dword [esi + edi*8 + 4]
cmp ecx, edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
jle 0x474d28
sub ecx, edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x94], 0xffffffff
jmp 0x474d3c
sub edx, ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x94], 1
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
cmp ebx, dword [esp + 0x14]
je 0x4750e6
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x474f42
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 4]
jge 0x474f42
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0x6c]
sub ecx, edi
cmp edx, esi
mov dword [esp + 0xcc], edx
jle 0x474d9d
mov eax, edx
sub eax, esi
mov dword [esp + 0xdc], 0xffffffff
jmp 0x474dac
mov eax, esi
sub eax, edx
mov dword [esp + 0xdc], 1
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x84]
cmp esi, ebx
mov edx, ecx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd8], edx
mov dword [esp + 0xb4], esi
jle 0x474de3
mov eax, esi
sub eax, ebx
mov dword [esp + 0xc4], 0xffffffff
jmp 0x474df2
mov eax, ebx
sub eax, esi
mov dword [esp + 0xc4], 1
cmp edi, dword [esp + 0x20]
mov dword [esp + 0xb8], eax
mov eax, ecx
mov dword [esp + 0xc0], eax
jge 0x474f3e
lea esp, [esp]
test edi, edi
jl 0x474eb1
mov esi, dword [ebp + 8]
cmp edi, dword [esi]
jge 0x474eb1
mov eax, dword [esi + 8]
imul eax, dword [esp + 0x18]
mov edx, dword [esi + 0xc]
mov ebx, dword [esp + 0xcc]
add eax, edi
lea esi, [edx + eax*4]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
imul edx, dword [esp + 0xb4]
mov eax, dword [eax + 0xc]
add edx, ebx
mov ebx, dword [ebp + 0x1c]
lea edx, [eax + edx*4]
movzx eax, byte [edx + 3]
imul eax, dword [ebx]
sar eax, 4
cmp eax, 0xfe0
jne 0x474e68
mov edx, dword [edx]
jmp 0x474ea1
test eax, eax
je 0x474ea3
mov ebx, dword [esi]
pxor mm1, mm1
movd mm0, ebx
punpcklbw mm0, mm1
movd mm2, eax
mov eax, dword [edx]
movq mm3, mm2
punpcklwd mm3, mm2
movq mm2, mm3
punpcklwd mm3, mm2
movd mm2, eax
punpcklbw mm2, mm1
psubsw mm2, mm0
psllw mm2, 4
pmulhw mm2, mm3
paddsw mm0, mm2
packuswb mm0, mm1
movd edx, mm0
mov dword [esi], edx
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xd8]
add edx, dword [esp + 0xd0]
cmp edx, ecx
mov dword [esp + 0xd8], edx
jle 0x474eed
mov esi, dword [esp + 0xcc]
lea ebx, [ebx]
mov ebx, dword [esp + 0xdc]
sub edx, ecx
add esi, ebx
cmp edx, ecx
jg 0x474ed0
mov dword [esp + 0xd8], edx
mov dword [esp + 0xcc], esi
add eax, dword [esp + 0xb8]
cmp eax, ecx
mov dword [esp + 0xc0], eax
jle 0x474f2d
mov esi, dword [esp + 0xb4]
jmp 0x474f10
mov ebx, dword [esp + 0xc4]
sub eax, ecx
add esi, ebx
cmp eax, ecx
jg 0x474f10
mov dword [esp + 0xc0], eax
mov dword [esp + 0xb4], esi
mov esi, dword [esp + 0x20]
inc edi
cmp edi, esi
jl 0x474e10
mov edi, dword [esp + 0x38]
emms
jmp 0x474f46
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x20]
add eax, ebx
cmp eax, ecx
mov dword [esp + 0x44], eax
jle 0x474f74
mov edx, dword [esp + 0x48]
sub eax, ecx
add edi, edx
cmp eax, ecx
jg 0x474f60
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
add eax, edi
inc ebx
cmp eax, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xa8], eax
jle 0x474fcd
mov edx, dword [esp + 0x9c]
jmp 0x474fb0
mov edi, dword [esp + 0xac]
sub eax, ecx
add edx, edi
cmp eax, ecx
jg 0x474fb0
mov dword [esp + 0xa8], eax
mov dword [esp + 0x9c], edx
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x98]
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
add eax, edi
inc ebx
cmp eax, ecx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x60], eax
jle 0x47500a
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x64]
sub eax, ecx
add edx, edi
cmp eax, ecx
jg 0x474ff6
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add eax, edi
inc ebx
cmp eax, ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x2c], eax
jle 0x475044
lea esp, [esp]
mov ebx, dword [esp + 0x30]
sub eax, ecx
add esi, ebx
cmp eax, ecx
jg 0x475030
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
add eax, esi
inc edi
cmp eax, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x78], eax
jle 0x47507b
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x7c]
sub eax, ecx
add edx, ebx
cmp eax, ecx
jg 0x475067
mov dword [esp + 0x78], eax
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
add eax, esi
inc edi
cmp eax, ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x90], eax
jle 0x4750cd
mov edx, dword [esp + 0x84]
lea ecx, [ecx]
mov ebx, dword [esp + 0x94]
sub eax, ecx
add edx, ebx
cmp eax, ecx
jg 0x4750b0
mov dword [esp + 0x90], eax
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x80], ecx
inc eax
jmp 0x474aef
mov ecx, dword [esp + 0xe4]
call fcn.00462751
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret