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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
push eax
call sub.CDRRIP110.dll_RIPResetPalLookup
lea ebx, [esp + 0x58]
mov ebp, 4
mov esi, dword [esp + 0x90]
lea edi, [esi + 0x40c]
mov ecx, dword [esp + 0x98]
push ecx
push edi
push ebx
call fcn.004cdb40
add edi, 0x418
add ebx, 0xc
dec ebp
jne 0x4cdc17
mov edi, dword [esp + 0x54]
lea eax, [esi + 0xc]
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], eax
jmp 0x4cdc4b
mov eax, dword [esp + 0x4c]
xor ecx, ecx
mov cl, byte [esi + 0x1114]
dec ecx
cmp ecx, 3
ja case.default.0x4cdc5d
jmp dword [ecx*4 + 0x4cf11c]
mov ecx, dword [esp + 0x60]
mov edi, dword [eax]
mov ebx, 0xff
mov eax, 0x80808081
and ecx, ebx
imul ecx, edi
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x61]
and ecx, ebx
imul ecx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x80808081
mov dword [esp + 0x3c], edx
imul ecx
add edx, ecx
mov eax, 0x80808081
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esp + 0x62]
and ecx, ebx
mov dword [esp + 0x40], edx
imul ecx, edi
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x63]
and ecx, ebx
imul ecx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov edi, edx
jmp 0x4cf072
mov ebp, dword [eax]
mov ecx, dword [eax + 0x418]
mov eax, dword [esi + 0x1118]
test eax, eax
je 0x4cdd19
mov edx, ecx
mov eax, 0x103060a1
imul edx, ecx
imul edx, ebp
imul edx, ebp
mul edx
mov edi, edx
shr edi, 0x14
jmp 0x4cdd1b
xor edi, edi
mov ebx, dword [esp + 0x6c]
sub ecx, edi
and ebx, 0xff
mov eax, 0x80808081
imul ebx, ecx
imul ebx
mov dword [esp + 0x10], ecx
mov ecx, edx
add ecx, ebx
mov ebx, dword [esi + 0x1060]
imul ebx, edi
sar ecx, 7
mov eax, ecx
sub ebp, edi
shr eax, 0x1f
add ecx, eax
mov eax, 0x80808081
imul ebx
add edx, ebx
mov eax, 0x80808081
sar edx, 7
mov ebx, edx
add edx, ecx
mov ecx, dword [esp + 0x60]
and ecx, 0xff
imul ecx, ebp
shr ebx, 0x1f
add ebx, edx
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
add edx, ebx
mov ebx, dword [esp + 0x6d]
and ebx, 0xff
imul ebx, dword [esp + 0x10]
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x3c], eax
mov eax, 0x80808081
imul ebx
mov ecx, edx
mov eax, 0x80808081
add ecx, ebx
mov ebx, dword [esi + 0x1064]
imul ebx, edi
sar ecx, 7
mov edx, ecx
shr edx, 0x1f
add ecx, edx
imul ebx
add edx, ebx
mov eax, 0x80808081
sar edx, 7
mov ebx, edx
add edx, ecx
mov ecx, dword [esp + 0x61]
and ecx, 0xff
imul ecx, ebp
shr ebx, 0x1f
add ebx, edx
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
add edx, ebx
mov ebx, dword [esp + 0x6e]
and ebx, 0xff
imul ebx, dword [esp + 0x10]
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x40], eax
mov eax, 0x80808081
imul ebx
mov ecx, edx
add ecx, ebx
mov ebx, dword [esi + 0x1068]
sar ecx, 7
mov eax, ecx
shr eax, 0x1f
add ecx, eax
imul ebx, edi
mov eax, 0x80808081
imul ebx
add edx, ebx
mov eax, 0x80808081
sar edx, 7
mov ebx, edx
add edx, ecx
mov ecx, dword [esp + 0x62]
and ecx, 0xff
imul ecx, ebp
shr ebx, 0x1f
add ebx, edx
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
add edx, ebx
mov ebx, dword [esp + 0x6f]
and ebx, 0xff
imul ebx, dword [esp + 0x10]
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x44], eax
mov eax, 0x80808081
imul ebx
mov ecx, edx
mov eax, 0x80808081
add ecx, ebx
mov ebx, dword [esi + 0x106c]
imul ebx, edi
sar ecx, 7
mov edx, ecx
shr edx, 0x1f
add ecx, edx
imul ebx
add edx, ebx
sar edx, 7
mov ebx, edx
add edx, ecx
mov ecx, dword [esp + 0x63]
shr ebx, 0x1f
and ecx, 0xff
add ebx, edx
imul ecx, ebp
jmp 0x4ce3f1
mov edi, dword [eax]
mov ebx, dword [eax + 0x418]
mov ebp, dword [eax + 0x830]
mov eax, dword [esi + 0x1118]
test eax, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ebp
je 0x4cdf45
mov ecx, ebp
mov eax, 0x81018203
imul ecx, ebx
imul ebx, edi
mov dword [esp + 0x44], ecx
imul ecx, edi
imul ecx
imul ebp, edi
add edx, ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x80808081
mov ecx, edx
imul ebx
add edx, ebx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x80808081
mov ebx, edx
imul ebp
add edx, ebp
sub ebx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x80808081
mov ebp, edx
imul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
sub ebp, ecx
add edx, eax
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edx
sub eax, ecx
mov dword [esp + 0x18], eax
jmp 0x4cdf51
xor ecx, ecx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov eax, ebp
lea edx, [ecx + ebp]
add edx, ebx
sub edi, edx
lea edx, [eax + ecx]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x10]
add edx, ebx
sub edi, edx
lea edx, [eax + ebp]
mov eax, dword [esp + 0x1c]
add edx, ecx
sub eax, edx
mov edx, dword [esp + 0x78]
and edx, 0xff
mov dword [esp + 0x1c], eax
imul edx, eax
mov eax, 0x80808081
mov dword [esp + 0x48], edx
imul edx
mov dword [esp + 0x10], edi
mov edi, edx
mov edx, dword [esp + 0x48]
add edi, edx
mov edx, dword [esp + 0x6c]
and edx, 0xff
imul edx, dword [esp + 0x10]
sar edi, 7
mov eax, edi
mov dword [esp + 0x48], edx
shr eax, 0x1f
add edi, eax
mov eax, 0x80808081
imul edx
add edx, dword [esp + 0x48]
sar edx, 7
mov eax, edx
add edx, edi
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x1090]
imul edx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, 0x80808081
mov dword [esp + 0x48], edx
imul edx
mov eax, dword [esp + 0x48]
add edx, eax
mov eax, dword [esp + 0x44]
sar edx, 7
mov edi, edx
add edx, eax
shr edi, 0x1f
add edi, edx
mov edx, dword [esi + 0x10c0]
imul edx, ecx
mov eax, 0x80808081
mov dword [esp + 0x48], edx
imul edx
mov eax, dword [esp + 0x48]
add edx, eax
mov eax, edi
sar edx, 7
mov edi, edx
add edx, eax
shr edi, 0x1f
add edi, edx
mov edx, dword [esi + 0x1070]
imul edx, ebp
mov eax, 0x80808081
mov dword [esp + 0x48], edx
imul edx
mov eax, dword [esp + 0x48]
add edx, eax
mov eax, edi
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edx, eax
add edi, edx
mov edx, dword [esi + 0x1060]
imul edx, ebx
mov eax, 0x80808081
mov dword [esp + 0x48], edx
imul edx
mov eax, dword [esp + 0x48]
add edx, eax
mov eax, edi
sar edx, 7
mov edi, edx
add edx, eax
shr edi, 0x1f
add edi, edx
mov edx, dword [esp + 0x60]
and edx, 0xff
mov eax, 0x80808081
imul edx, dword [esp + 0x14]
mov dword [esp + 0x48], edx
imul edx
add edx, dword [esp + 0x48]
sar edx, 7
mov eax, edx
add edx, edi
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x79]
and edx, 0xff
mov dword [esp + 0x3c], eax
imul edx, dword [esp + 0x1c]
mov eax, 0x80808081
mov dword [esp + 0x48], edx
imul edx
mov eax, dword [esp + 0x48]
mov edi, edx
add edi, eax
mov eax, 0x80808081
sar edi, 7
mov edx, edi
shr edx, 0x1f
add edi, edx
mov edx, dword [esp + 0x6d]
and edx, 0xff
imul edx, dword [esp + 0x10]
mov dword [esp + 0x48], edx
imul edx
add edx, dword [esp + 0x48]
sar edx, 7
mov eax, edx
add edx, edi
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x1094]
imul edx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, 0x80808081
mov dword [esp + 0x48], edx
imul edx
mov eax, dword [esp + 0x48]
add edx, eax
mov eax, dword [esp + 0x44]
sar edx, 7
mov edi, edx
add edx, eax
shr edi, 0x1f
add edi, edx
mov edx, dword [esi + 0x10c4]
imul edx, ecx
mov eax, 0x80808081
mov dword [esp + 0x48], edx
imul edx
mov eax, dword [esp + 0x48]
add edx, eax
mov eax, edi
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edx, eax
mov eax, 0x80808081
add edi, edx
mov edx, dword [esi + 0x1074]
imul edx, ebp
mov dword [esp + 0x48], edx
imul edx
mov eax, dword [esp + 0x48]
add edx, eax
mov eax, edi
sar edx, 7
mov edi, edx
add edx, eax
shr edi, 0x1f
add edi, edx
mov edx, dword [esi + 0x1064]
imul edx, ebx
mov eax, 0x80808081
mov dword [esp + 0x48], edx
imul edx
mov eax, dword [esp + 0x48]
add edx, eax
mov eax, edi
sar edx, 7
mov edi, edx
add edx, eax
shr edi, 0x1f
add edi, edx
mov edx, dword [esp + 0x61]
and edx, 0xff
mov eax, 0x80808081
imul edx, dword [esp + 0x14]
mov dword [esp + 0x48], edx
imul edx
add edx, dword [esp + 0x48]
sar edx, 7
mov eax, edx
add edx, edi
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x7a]
and edx, 0xff
mov dword [esp + 0x40], eax
imul edx, dword [esp + 0x1c]
mov eax, 0x80808081
mov dword [esp + 0x48], edx
imul edx
mov eax, dword [esp + 0x48]
mov edi, edx
add edi, eax
mov eax, 0x80808081
sar edi, 7
mov edx, edi
shr edx, 0x1f
add edi, edx
mov edx, dword [esp + 0x6e]
and edx, 0xff
imul edx, dword [esp + 0x10]
mov dword [esp + 0x48], edx
imul edx
add edx, dword [esp + 0x48]
sar edx, 7
mov eax, edx
add edx, edi
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x1098]
imul edx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, 0x80808081
mov dword [esp + 0x48], edx
imul edx
add edx, dword [esp + 0x48]
sar edx, 7
mov edi, edx
shr edi, 0x1f
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, 0x80808081
add edi, edx
mov edx, dword [esi + 0x10c8]
imul edx, ecx
mov dword [esp + 0x48], edx
imul edx
mov eax, dword [esp + 0x48]
add edx, eax
mov eax, edi
sar edx, 7
mov edi, edx
add edx, eax
shr edi, 0x1f
add edi, edx
mov edx, dword [esi + 0x1078]
imul edx, ebp
mov eax, 0x80808081
mov dword [esp + 0x48], edx
imul edx
mov eax, dword [esp + 0x48]
add edx, eax
mov eax, edi
sar edx, 7
mov edi, edx
add edx, eax
shr edi, 0x1f
add edi, edx
mov edx, dword [esi + 0x1068]
imul edx, ebx
mov eax, 0x80808081
mov dword [esp + 0x48], edx
imul edx
mov eax, dword [esp + 0x48]
add edx, eax
mov eax, edi
sar edx, 7
mov edi, edx
add edx, eax
shr edi, 0x1f
add edi, edx
mov edx, dword [esp + 0x62]
and edx, 0xff
mov eax, 0x80808081
imul edx, dword [esp + 0x14]
mov dword [esp + 0x48], edx
imul edx
add edx, dword [esp + 0x48]
sar edx, 7
mov eax, edx
add edx, edi
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x7b]
and edx, 0xff
mov dword [esp + 0x44], eax
imul edx, dword [esp + 0x1c]
mov eax, 0x80808081
mov dword [esp + 0x48], edx
imul edx
mov eax, dword [esp + 0x48]
mov edi, edx
add edi, eax
mov eax, 0x80808081
sar edi, 7
mov edx, edi
shr edx, 0x1f
add edi, edx
mov edx, dword [esp + 0x6f]
and edx, 0xff
imul edx, dword [esp + 0x10]
mov dword [esp + 0x48], edx
imul edx
add edx, dword [esp + 0x48]
sar edx, 7
mov eax, edx
add edx, edi
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x109c]
imul edx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, 0x80808081
mov dword [esp + 0x48], edx
imul edx
mov edi, dword [esp + 0x48]
add edx, edi
mov edi, dword [esp + 0x38]
sar edx, 7
mov eax, edx
add edx, edi
mov edi, dword [esi + 0x10cc]
imul edi, ecx
shr eax, 0x1f
add eax, edx
mov ecx, dword [esi + 0x107c]
mov dword [esp + 0x48], eax
mov eax, 0x80808081
imul edi
imul ecx, ebp
mov eax, dword [esp + 0x48]
add edx, edi
sar edx, 7
mov edi, edx
add edx, eax
shr edi, 0x1f
mov eax, 0x80808081
add edi, edx
imul ecx
add edx, ecx
mov ecx, dword [esi + 0x106c]
imul ecx, ebx
sar edx, 7
mov ebp, edx
add edx, edi
shr ebp, 0x1f
mov eax, 0x80808081
add ebp, edx
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x63]
sar edx, 7
mov ebx, edx
add edx, ebp
shr ebx, 0x1f
and ecx, 0xff
add ebx, edx
imul ecx, dword [esp + 0x14]
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edx, ebx
jmp 0x4cf06b
mov edx, dword [eax]
mov ebx, dword [eax + 0x418]
mov edi, dword [eax + 0x830]
mov ecx, dword [esi + 0x1118]
mov eax, dword [eax + 0xc48]
mov dword [esp + 0x14], edx
test ecx, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
je 0x4ce5e5
mov ebp, eax
imul ebp, edi
imul edi, ebx
mov eax, ebp
mov dword [esp + 0x44], edi
imul eax, ebx
imul edi, dword [esp + 0x14]
mov ecx, eax
mov dword [esp + 0x40], eax
imul ecx, edx
mov eax, 0x103060a1
mov dword [esp + 0x28], ebp
imul ecx
imul ebp, dword [esp + 0x14]
sar edx, 0x14
mov ecx, edx
mov eax, 0x81018203
shr ecx, 0x1f
add edx, ecx
mov ecx, edx
imul edi
add edx, edi
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x24]
imul eax, ebx
mov ebx, eax
mov dword [esp + 0x3c], eax
imul ebx, dword [esp + 0x14]
mov eax, 0x81018203
mov edi, edx
imul ebx
add edx, ebx
sub edi, ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x81018203
mov ebx, edx
imul ebp
add edx, ebp
sub ebx, ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x81018203
mov ebp, edx
imul dword [esp + 0x40]
mov eax, dword [esp + 0x40]
sub ebp, ecx
add edx, eax
mov dword [esp + 0x48], ebp
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x80808081
sub edx, ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
imul edx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
imul edx
add edx, dword [esp + 0x40]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x80808081
sub edx, ebx
sub edx, ecx
sub edx, edi
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x1c]
imul edx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
imul edx
add edx, dword [esp + 0x40]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x80808081
sub edx, ebp
sub edx, ecx
sub edx, edi
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
imul edx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
imul edx
add edx, dword [esp + 0x40]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x80808081
sub edx, ebp
sub edx, ebx
sub edx, ecx
mov dword [esp + 0x30], edx
imul dword [esp + 0x44]
add edx, dword [esp + 0x44]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x20]
sub edx, eax
mov eax, 0x80808081
sub edx, ecx
sub edx, edi
mov dword [esp + 0x18], edx
imul dword [esp + 0x3c]
add edx, dword [esp + 0x3c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x20]
sub edx, eax
mov eax, 0x80808081
sub edx, ebx
sub edx, ecx
mov dword [esp + 0x2c], edx
imul dword [esp + 0x28]
add edx, dword [esp + 0x28]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x20]
sub edx, eax
sub edx, ebp
sub edx, ecx
mov dword [esp + 0x28], edx
jmp 0x4ce60f
xor ecx, ecx
xor edi, edi
xor ebx, ebx
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
add edx, ebp
add edx, ebx
add edx, ecx
add edx, eax
mov eax, dword [esp + 0x38]
add edx, edi
add edx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
add eax, edx
mov edx, dword [esp + 0x18]
add eax, ebx
add eax, ecx
add eax, edx
mov edx, dword [esp + 0x38]
add eax, edi
add eax, edx
mov edx, dword [esp + 0x10]
sub edx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x20]
add eax, edx
mov edx, dword [esp + 0x18]
add eax, ebp
add eax, ecx
add eax, edx
mov edx, dword [esp + 0x34]
add eax, edx
mov edx, dword [esp + 0x1c]
add eax, edi
sub edx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x2c]
add eax, edx
mov edx, dword [esp + 0x30]
add eax, edx
mov edx, dword [esp + 0x20]
add eax, edx
mov edx, dword [esi + 0x10b0]
imul edx, dword [esp + 0x28]
add eax, ebp
mov ebp, dword [esp + 0x24]
add eax, ebx
mov dword [esp + 0x44], edx
add eax, ecx
sub ebp, eax
mov eax, 0x80808081
imul edx
mov dword [esp + 0x24], ebp
mov ebp, edx
mov edx, dword [esp + 0x44]
add ebp, edx
mov edx, dword [esi + 0x10f0]
imul edx, dword [esp + 0x20]
sar ebp, 7
mov eax, ebp
mov dword [esp + 0x44], edx
shr eax, 0x1f
add ebp, eax
mov eax, 0x80808081
imul edx
add edx, dword [esp + 0x44]
sar edx, 7
mov eax, edx
add edx, ebp
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x10a0]
imul edx, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, dword [esp + 0x40]
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x10e0]
imul edx, dword [esp + 0x48]
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x1080]
imul edx, dword [esp + 0x30]
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esp + 0x84]
and edx, 0xff
mov eax, 0x80808081
imul edx, dword [esp + 0x24]
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esp + 0x78]
and edx, 0xff
mov eax, 0x80808081
imul edx, dword [esp + 0x1c]
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esp + 0x6c]
and edx, 0xff
mov eax, 0x80808081
imul edx, dword [esp + 0x10]
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x1100]
mov eax, 0x80808081
imul edx, ecx
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x10d0]
imul edx, ebx
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x1090]
imul edx, dword [esp + 0x18]
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x10c0]
imul edx, edi
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x1070]
imul edx, dword [esp + 0x34]
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x1060]
imul edx, dword [esp + 0x38]
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x44], ebp
add edx, eax
sar edx, 7
mov ebp, edx
shr ebp, 0x1f
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, 0x80808081
add ebp, edx
mov edx, dword [esp + 0x60]
and edx, 0xff
imul edx, dword [esp + 0x14]
mov dword [esp + 0x44], edx
imul edx
add edx, dword [esp + 0x44]
sar edx, 7
mov eax, edx
add edx, ebp
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x10b4]
imul edx, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
mov ebp, edx
add ebp, eax
mov eax, 0x80808081
sar ebp, 7
mov edx, ebp
shr edx, 0x1f
add ebp, edx
mov edx, dword [esi + 0x10f4]
imul edx, dword [esp + 0x20]
mov dword [esp + 0x44], edx
imul edx
add edx, dword [esp + 0x44]
sar edx, 7
mov eax, edx
add edx, ebp
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x10a4]
imul edx, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, dword [esp + 0x40]
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x10e4]
imul edx, dword [esp + 0x48]
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x1084]
imul edx, dword [esp + 0x30]
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
shr ebp, 0x1f
add edx, eax
mov eax, 0x80808081
add ebp, edx
mov edx, dword [esp + 0x85]
and edx, 0xff
imul edx, dword [esp + 0x24]
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esp + 0x79]
and edx, 0xff
mov eax, 0x80808081
imul edx, dword [esp + 0x1c]
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esp + 0x6d]
and edx, 0xff
mov eax, 0x80808081
imul edx, dword [esp + 0x10]
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x1104]
imul edx, ecx
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x10d4]
imul edx, ebx
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x1094]
imul edx, dword [esp + 0x18]
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x10c4]
imul edx, edi
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x1074]
imul edx, dword [esp + 0x34]
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x1064]
imul edx, dword [esp + 0x38]
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esp + 0x61]
and edx, 0xff
mov eax, 0x80808081
imul edx, dword [esp + 0x14]
mov dword [esp + 0x44], edx
imul edx
add edx, dword [esp + 0x44]
sar edx, 7
mov eax, edx
add edx, ebp
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x10b8]
imul edx, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
mov ebp, edx
add ebp, eax
mov eax, 0x80808081
sar ebp, 7
mov edx, ebp
shr edx, 0x1f
add ebp, edx
mov edx, dword [esi + 0x10f8]
imul edx, dword [esp + 0x20]
mov dword [esp + 0x44], edx
imul edx
add edx, dword [esp + 0x44]
sar edx, 7
mov eax, edx
add edx, ebp
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x10a8]
imul edx, dword [esp + 0x2c]
mov dword [esp + 0x54], eax
mov eax, 0x80808081
mov dword [esp + 0x44], edx
imul edx
mov eax, dword [esp + 0x44]
add edx, eax
mov eax, dword [esp + 0x54]
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x10e8]
imul edx, dword [esp + 0x48]
mov eax, 0x80808081
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x1088]
imul edx, dword [esp + 0x30]
mov eax, 0x80808081
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esp + 0x7a]
and edx, 0xff
mov eax, 0x80808081
imul edx, dword [esp + 0x1c]
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esp + 0x6e]
and edx, 0xff
mov eax, 0x80808081
imul edx, dword [esp + 0x10]
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esp + 0x86]
and edx, 0xff
imul edx, dword [esp + 0x24]
mov eax, 0x80808081
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x1108]
imul edx, ecx
mov eax, 0x80808081
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x10d8]
imul edx, ebx
mov eax, 0x80808081
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x1098]
imul edx, dword [esp + 0x18]
mov eax, 0x80808081
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x10c8]
imul edx, edi
mov eax, 0x80808081
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x1078]
imul edx, dword [esp + 0x34]
mov eax, 0x80808081
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
shr ebp, 0x1f
add edx, eax
mov eax, 0x80808081
add ebp, edx
mov edx, dword [esi + 0x1068]
imul edx, dword [esp + 0x38]
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esp + 0x62]
and edx, 0xff
mov eax, 0x80808081
imul edx, dword [esp + 0x14]
mov dword [esp + 0x54], edx
imul edx
add edx, dword [esp + 0x54]
sar edx, 7
mov eax, edx
add edx, ebp
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x10bc]
imul edx, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov eax, 0x80808081
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
mov ebp, edx
add ebp, eax
mov eax, 0x80808081
sar ebp, 7
mov edx, ebp
shr edx, 0x1f
add ebp, edx
mov edx, dword [esi + 0x10fc]
imul edx, dword [esp + 0x20]
mov dword [esp + 0x54], edx
imul edx
add edx, dword [esp + 0x54]
sar edx, 7
mov eax, edx
add edx, ebp
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x10ac]
imul edx, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, 0x80808081
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, dword [esp + 0x2c]
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esi + 0x10ec]
imul edx, dword [esp + 0x48]
mov eax, 0x80808081
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
shr ebp, 0x1f
add edx, eax
add ebp, edx
mov edx, dword [esi + 0x108c]
imul edx, dword [esp + 0x30]
mov eax, 0x80808081
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esp + 0x7b]
and edx, 0xff
mov eax, 0x80808081
imul edx, dword [esp + 0x1c]
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esp + 0x6f]
and edx, 0xff
mov eax, 0x80808081
imul edx, dword [esp + 0x10]
mov dword [esp + 0x54], edx
imul edx
mov eax, dword [esp + 0x54]
add edx, eax
mov eax, ebp
sar edx, 7
mov ebp, edx
add edx, eax
shr ebp, 0x1f
add ebp, edx
mov edx, dword [esp + 0x87]
and edx, 0xff
mov eax, 0x80808081
imul edx, dword [esp + 0x24]
mov dword [esp + 0x54], edx
imul edx
add edx, dword [esp + 0x54]
sar edx, 7
mov eax, edx
add edx, ebp
mov ebp, dword [esi + 0x110c]
imul ebp, ecx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x80808081
imul ebp
add edx, ebp
sar edx, 7
mov ebp, edx
add edx, ecx
mov ecx, dword [esi + 0x10dc]
mov eax, 0x80808081
imul ecx, ebx
shr ebp, 0x1f
add ebp, edx
imul ecx
add edx, ecx
mov ecx, dword [esi + 0x109c]
sar edx, 7
mov ebx, edx
add edx, ebp
shr ebx, 0x1f
add ebx, edx
imul ecx, dword [esp + 0x18]
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [esi + 0x10cc]
imul ecx, edi
sar edx, 7
mov ebp, edx
add edx, ebx
shr ebp, 0x1f
mov eax, 0x80808081
add ebp, edx
imul ecx
add edx, ecx
mov ecx, dword [esi + 0x107c]
imul ecx, dword [esp + 0x34]
sar edx, 7
mov edi, edx
add edx, ebp
shr edi, 0x1f
mov eax, 0x80808081
add edi, edx
imul ecx
add edx, ecx
mov ecx, dword [esi + 0x106c]
imul ecx, dword [esp + 0x38]
sar edx, 7
mov ebx, edx
add edx, edi
shr ebx, 0x1f
mov eax, 0x80808081
add ebx, edx
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x63]
and ecx, 0xff
mov eax, 0x80808081
imul ecx, dword [esp + 0x14]
sar edx, 7
mov ebp, edx
add edx, ebx
shr ebp, 0x1f
add ebp, edx
imul ecx
add edx, ecx
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edx, ebp
add edi, edx
mov ebx, 0xff
cmp dword [esp + 0x3c], ebx
jb 0x4cf07c
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x40], ebx
jb 0x4cf086
mov dword [esp + 0x40], ebx
cmp dword [esp + 0x44], ebx
jb 0x4cf090
mov dword [esp + 0x44], ebx
cmp edi, ebx
jb 0x4cf096
mov edi, ebx
mov edx, dword [esp + 0x3c]
lea eax, [edi + edx]
cmp eax, ebx
jbe 0x4cf0a3
mov eax, ebx
mov ebp, ebx
mov ecx, ebx
sub ebp, eax
mov eax, dword [esp + 0x40]
add eax, edi
cmp eax, ebx
ja 0x4cf0b5
mov ecx, eax
mov eax, ebx
sub eax, ecx
mov ecx, dword [esp + 0x44]
add ecx, edi
cmp ecx, ebx
jbe 0x4cf0c5
mov ecx, ebx
or dl, 0xff
sub dl, cl
mov ecx, dword [esp + 0x94]
push edx
push eax
mov eax, ebx
mov ebx, dword [esp + 0x58]
sub eax, ebx
push ebp
push eax
push ecx
call sub.CDRRIP110.dll_RIPSetPaletteEntry
inc ebx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x50], ebx
add ecx, 4
cmp bx, 0x100
mov dword [esp + 0x4c], ecx
jb 0x4cdc47
mov edx, dword [esp + 0x94]
push 1
push edx
call sub.CDRRIP110.dll_RIPCreatePalLookup
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7c
ret 0xc