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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8f8
push ebx
push esi
push edi
mov dword [ebp - 0x8f8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x888], eax
mov ecx, dword [ebp - 0x888]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0xffffffff
jne 0x4b82f2
jmp 0x4b8b4c
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x8f8]
mov ecx, dword [ecx + 0xc]
call fcn.004caa50
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4b8312
jmp 0x4b8b4c
mov edx, dword [ebp - 0x888]
mov eax, dword [edx + 0x6c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x888]
mov edx, dword [ecx + 0x70]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x888]
mov ecx, dword [eax + 0x94]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x888]
mov eax, dword [edx + 0x98]
mov dword [ebp - 0x85c], eax
mov ecx, dword [ebp - 0x888]
mov edx, dword [ecx + 0x84]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x888]
mov ecx, dword [eax + 0x88]
mov dword [ebp - 0x884], ecx
mov edx, dword [ebp - 0x888]
mov eax, dword [edx + 0x8c]
mov dword [ebp - 0x8ac], eax
mov ecx, dword [ebp - 0x888]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 0x858], edx
mov eax, dword [ebp - 0x888]
mov ecx, dword [eax + 0x7c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x888]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x844], eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x85c]
push edx
mov eax, dword [ebp - 0x858]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00488d10
add esp, 0x1c
mov dword [ebp - 0x89c], eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x85c]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x884]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00488d10
add esp, 0x1c
mov dword [ebp - 0x868], eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x85c]
push edx
mov eax, dword [ebp - 0x844]
push eax
mov ecx, dword [ebp - 0x8ac]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00488d10
add esp, 0x1c
mov dword [ebp - 0x864], eax
mov ecx, dword [ebp - 0x89c]
mov dword [ebp - 0x898], ecx
mov edx, dword [ebp - 0x868]
mov dword [ebp - 0x894], edx
mov eax, dword [ebp - 0x864]
mov dword [ebp - 0x890], eax
mov ecx, dword [ebp - 0x888]
mov edx, dword [ecx + 0x9c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x888]
mov ecx, dword [eax + 0xa0]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x888]
mov eax, dword [edx + 0xa4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x888]
mov edx, dword [ecx + 0xa8]
mov dword [ebp - 0x83c], edx
mov dword [ebp - 0x8b0], 0
jmp 0x4b84b6
mov eax, dword [ebp - 0x8b0]
add eax, 1
mov dword [ebp - 0x8b0], eax
cmp dword [ebp - 0x8b0], 3
jge 0x4b854f
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp + ecx*4 - 0x24]
mov dword [ebp - 0x8b4], edx
mov dword [ebp - 0x8b8], 0
jmp 0x4b84ee
mov eax, dword [ebp - 0x8b8]
add eax, 1
mov dword [ebp - 0x8b8], eax
cmp dword [ebp - 0x8b8], 0x100
jge 0x4b854a
mov ecx, dword [ebp - 0x8b4]
mov edx, dword [ebp - 0x8f8]
mov eax, dword [edx + ecx*4 + 0x10]
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8b8]
mov ecx, dword [ebp + ecx*4 - 0x898]
imul ecx, dword [eax + edx*4]
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov edx, dword [ebp - 0x8b0]
mov ecx, dword [ebp - 0x8f8]
mov edx, dword [ecx + edx*4 + 0x38]
mov ecx, dword [ebp - 0x8b8]
mov dword [edx + ecx*4], eax
jmp 0x4b84df
jmp 0x4b84a7
cmp dword [ebp - 0x83c], 0
je 0x4b875b
mov dword [ebp - 0x8bc], 0
jmp 0x4b8577
mov edx, dword [ebp - 0x8bc]
add edx, 1
mov dword [ebp - 0x8bc], edx
cmp dword [ebp - 0x8bc], 0x100
jge 0x4b875b
mov eax, dword [ebp - 0x8f8]
mov ecx, dword [eax + 0x38]
mov edx, dword [ebp - 0x8bc]
fild dword [ecx + edx*4]
fstp dword [ebp - 0x8d4]
mov eax, dword [ebp - 0x8f8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x8bc]
fild dword [ecx + edx*4]
fstp dword [ebp - 0x8d0]
mov eax, dword [ebp - 0x8f8]
mov ecx, dword [eax + 0x40]
mov edx, dword [ebp - 0x8bc]
fild dword [ecx + edx*4]
fstp dword [ebp - 0x8cc]
fld dword [ebp - 0x8d4]
fmul qword [0x57c2d0]
fld dword [ebp - 0x8d0]
fmul qword [0x57c2c8]
faddp st(1)
fld dword [ebp - 0x8cc]
fmul qword [0x57c2c0]
faddp st(1)
fstp dword [ebp - 0x8d8]
fld dword [ebp - 0x8d8]
fdiv qword [0x57c2d0]
fmul qword [0x57c2b8]
fsubr dword [ebp - 0x8d4]
fstp dword [ebp - 0x8d4]
fld dword [ebp - 0x8d8]
fdiv qword [0x57c2c8]
fmul qword [0x57c2b8]
fsubr dword [ebp - 0x8d0]
fstp dword [ebp - 0x8d0]
fld dword [ebp - 0x8d8]
fdiv qword [0x57c2c0]
fmul qword [0x57c2b8]
fsubr dword [ebp - 0x8cc]
fstp dword [ebp - 0x8cc]
fld dword [ebp - 0x8d4]
call fcn.00482d30
mov dword [ebp - 0x8c8], eax
fld dword [ebp - 0x8d0]
call fcn.00482d30
mov dword [ebp - 0x8c4], eax
fld dword [ebp - 0x8cc]
call fcn.00482d30
mov dword [ebp - 0x8c0], eax
cmp dword [ebp - 0x8c8], 0xffffff01
jge 0x4b86a0
mov dword [ebp - 0x8c8], 0xffffff01
cmp dword [ebp - 0x8c8], 0xff
jle 0x4b86b6
mov dword [ebp - 0x8c8], 0xff
cmp dword [ebp - 0x8c4], 0xffffff01
jge 0x4b86cc
mov dword [ebp - 0x8c4], 0xffffff01
cmp dword [ebp - 0x8c4], 0xff
jle 0x4b86e2
mov dword [ebp - 0x8c4], 0xff
cmp dword [ebp - 0x8c0], 0xffffff01
jge 0x4b86f8
mov dword [ebp - 0x8c0], 0xffffff01
cmp dword [ebp - 0x8c0], 0xff
jle 0x4b870e
mov dword [ebp - 0x8c0], 0xff
mov eax, dword [ebp - 0x8f8]
mov ecx, dword [eax + 0x38]
mov edx, dword [ebp - 0x8bc]
mov eax, dword [ebp - 0x8c8]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x8f8]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0x8bc]
mov ecx, dword [ebp - 0x8c4]
mov dword [edx + eax*4], ecx
mov edx, dword [ebp - 0x8f8]
mov eax, dword [edx + 0x40]
mov ecx, dword [ebp - 0x8bc]
mov edx, dword [ebp - 0x8c0]
mov dword [eax + ecx*4], edx
jmp 0x4b8568
call fcn.004e23e0
mov dword [ebp - 4], eax
call fcn.004e23d0
mov dword [ebp - 0x87c], eax
mov eax, dword [ebp - 0x888]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x878], ecx
mov edx, dword [ebp - 0x888]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x840], eax
mov ecx, dword [ebp - 0x888]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x88c], edx
mov eax, dword [ebp - 0x888]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x854], ecx
mov edx, dword [ebp - 0x888]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x848], eax
mov ecx, dword [ebp - 0x888]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x880], edx
mov ecx, dword [ebp - 0x14]
call fcn.004dbe30
mov dword [ebp - 0x8a4], eax
mov ecx, dword [ebp - 0x14]
call fcn.004dbca0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x850]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004dbe50
mov ecx, dword [ebp - 0x850]
mov dword [ebp - 0x8a0], ecx
mov edx, dword [ebp - 0x850]
shl edx, 2
mov dword [ebp - 0x874], edx
mov eax, dword [ebp - 4]
shl eax, 2
mov dword [ebp - 0x860], eax
call fcn.004e2400
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x880]
push ecx
lea edx, [ebp - 0x848]
push edx
lea eax, [ebp - 0x854]
push eax
lea ecx, [ebp - 0x88c]
push ecx
lea edx, [ebp - 0x840]
push edx
lea eax, [ebp - 0x878]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004df450
test eax, eax
jne 0x4b885a
jmp 0x4b8b4c
mov ecx, dword [ebp - 0x88c]
mov edx, dword [ebp - 0x8a4]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x8a4], eax
mov ecx, dword [ebp - 0x874]
shr ecx, 2
imul ecx, dword [ebp - 0x854]
mov edx, dword [ebp - 0x8a4]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x8a4], eax
mov ecx, dword [ebp - 0x878]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx*4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x860]
shr ecx, 2
imul ecx, dword [ebp - 0x840]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx*4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x88c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x8a0]
imul edx, dword [ebp - 0x854]
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x838]
mov dword [ebp - 0x8a8], eax
mov dword [ebp - 0x870], 0x96001d
mov dword [ebp - 0x86c], 0x4d
jne 0x4b88fc
jmp 0x4b8b4c
mov dword [ebp - 0x8dc], 0
jmp 0x4b8917
mov ecx, dword [ebp - 0x8dc]
add ecx, 1
mov dword [ebp - 0x8dc], ecx
cmp dword [ebp - 0x8dc], 0x100
jge 0x4b8a62
mov edx, dword [ebp - 0x8f8]
mov eax, dword [edx + 0x38]
mov ecx, dword [ebp - 0x8dc]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x8f4], edx
mov eax, dword [ebp - 0x8f8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x8dc]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x8e0], eax
mov ecx, dword [ebp - 0x8f8]
mov edx, dword [ecx + 0x40]
mov eax, dword [ebp - 0x8dc]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x8f0], ecx
mov edx, dword [ebp - 0x8f4]
neg edx
mov dword [ebp - 0x8e8], edx
mov eax, dword [ebp - 0x8e0]
neg eax
mov dword [ebp - 0x8ec], eax
mov ecx, dword [ebp - 0x8f0]
neg ecx
mov dword [ebp - 0x8e4], ecx
cmp dword [ebp - 0x8f4], 0
jge 0x4b89ac
mov dword [ebp - 0x8f4], 0
cmp dword [ebp - 0x8e0], 0
jge 0x4b89bf
mov dword [ebp - 0x8e0], 0
cmp dword [ebp - 0x8f0], 0
jge 0x4b89d2
mov dword [ebp - 0x8f0], 0
cmp dword [ebp - 0x8e8], 0
jge 0x4b89e5
mov dword [ebp - 0x8e8], 0
cmp dword [ebp - 0x8ec], 0
jge 0x4b89f8
mov dword [ebp - 0x8ec], 0
cmp dword [ebp - 0x8e4], 0
jge 0x4b8a0b
mov dword [ebp - 0x8e4], 0
mov edx, dword [ebp - 0x8f4]
shl edx, 0x10
mov eax, dword [ebp - 0x8e0]
shl eax, 8
or edx, eax
or edx, dword [ebp - 0x8f0]
mov ecx, dword [ebp - 0x8dc]
shl ecx, 1
mov dword [ebp + ecx*4 - 0x838], edx
mov edx, dword [ebp - 0x8e8]
shl edx, 0x10
mov eax, dword [ebp - 0x8ec]
shl eax, 8
or edx, eax
or edx, dword [ebp - 0x8e4]
mov ecx, dword [ebp - 0x8dc]
shl ecx, 1
mov dword [ebp + ecx*4 - 0x834], edx
jmp 0x4b8908
push eax
push ebx
push ecx
push edx
push esi
push edi
pxor mm0, mm0
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x8a4]
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x880]
push ebx
push ecx
push esi
push edi
mov ecx, dword [ebp - 0x848]
push ecx
xor eax, eax
mov al, byte [ebx]
or eax, eax
je 0x4b8b18
movd mm2, eax
punpcklwd mm2, mm2
punpckldq mm2, mm2
mov ecx, eax
neg ecx
add ecx, 0x100
movd mm6, ecx
punpcklwd mm6, mm6
punpckldq mm6, mm6
mov eax, dword [esi]
movd mm3, eax
movq mm4, mm3
punpcklbw mm4, mm0
movq mm5, qword [ebp - 0x870]
pmaddwd mm5, mm4
movq mm4, mm5
punpckhdq mm5, mm5
paddd mm5, mm4
psrlw mm5, 8
movd ecx, mm5
and ecx, 0xff
add ecx, ecx
add ecx, ecx
add ecx, ecx
add ecx, dword [ebp - 0x8a8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
movd mm4, edx
movd mm5, ecx
paddusb mm3, mm4
psubusb mm3, mm5
punpcklbw mm3, mm0
pmullw mm3, mm2
mov eax, dword [edi]
movd mm7, eax
punpcklbw mm7, mm0
pmullw mm7, mm6
paddw mm7, mm3
psrlw mm7, 8
packuswb mm7, mm7
movd eax, mm7
mov dword [edi], eax
add edi, 4
add esi, 4
inc ebx
pop ecx
dec ecx
jne 0x4b8a87
pop edi
pop esi
pop ecx
pop ebx
add edi, dword [ebp - 0x860]
add esi, dword [ebp - 0x874]
add ebx, dword [ebp - 0x8a0]
dec ecx
jne 0x4b8a7d
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
emms
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8