Function at 0x45fdb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0x20]
mov dword [ebp - 8], ebx
mov ecx, dword [ebx + 8]
push edi
lea eax, [ecx + 0x28]
mov dword [ebp - 4], eax
test esi, esi
jle case.default.0x46003d
cmp dword [ebx + 0x64], 0x11
jne 0x45fe01
push dword [ebp + 0x24]
mov ecx, ebx
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00463650
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
cmp esi, 0x10
jl 0x45fe2b
push dword [ebp + 0x24]
mov ecx, ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00463420
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x45fe9c
test byte [ebx + 0x5c], 4
jne 0x45fe9c
mov ebx, dword [eax + 8]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
push esi
push dword [ebp + 0x1c]
cdq
add ecx, 3
push dword [ebp + 0x18]
mov edi, eax
and ecx, 0xfffffffc
mov eax, dword [ebx + 8]
xor edi, edx
push dword [ebp + 0x14]
sub edi, edx
cdq
mov esi, eax
dec edi
xor esi, edx
imul edi, ecx
mov ecx, dword [ebx + 4]
sub esi, edx
dec esi
add ecx, 3
and ecx, 0xfffffffc
imul esi, ecx
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x68]
sub esi, edi
sub esi, dword [ecx + 0xc]
add esi, dword [eax + 0xc]
mov eax, dword [ebp + 0x10]
add esi, eax
push esi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045eec0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
call dword [sym.imp.GDI32.dll_GdiFlush]
test byte [ebx + 0x60], 1
je 0x460033
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
add dword [ebp + 0x14], ecx
mov dword [ebp - 0xc], 0x100010
mov dword [ebp - 8], 0x100010
lea eax, [eax + ecx*4]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0x10001
mov dword [ebp - 0x88], 0x100001
mov dword [ebp - 0x84], 0x20002
mov dword [ebp - 0x80], 0x200002
mov dword [ebp - 0x7c], 0x30003
mov dword [ebp - 0x78], 0x300003
mov dword [ebp - 0x74], 0x40004
mov dword [ebp - 0x70], 0x400004
mov dword [ebp - 0x6c], 0x50005
mov dword [ebp - 0x68], 0x500005
mov dword [ebp - 0x64], 0x60006
mov dword [ebp - 0x60], 0x600006
mov dword [ebp - 0x5c], 0x70007
mov dword [ebp - 0x58], 0x700007
mov dword [ebp - 0x54], 0x80008
mov dword [ebp - 0x50], 0x800008
mov dword [ebp - 0x4c], 0x90009
mov dword [ebp - 0x48], 0x900009
mov dword [ebp - 0x44], 0xa000a
mov dword [ebp - 0x40], 0xa0000a
mov dword [ebp - 0x3c], 0xb000b
mov dword [ebp - 0x38], 0xb0000b
mov dword [ebp - 0x34], 0xc000c
mov dword [ebp - 0x30], 0xc0000c
mov dword [ebp - 0x2c], 0xd000d
mov dword [ebp - 0x28], 0xd0000d
mov dword [ebp - 0x24], 0xe000e
mov dword [ebp - 0x20], 0xe0000e
mov dword [ebp - 0x1c], 0xf000f
mov dword [ebp - 0x18], 0xf0000f
mov dword [ebp - 0x14], 0x100010
mov dword [ebp - 0x10], 0x1000010
mov dword [ebp + 0xc], eax
pushfd
cld
pushal
mov eax, dword [ebp + 0x20]
pxor mm5, mm5
movq mm6, qword [ebp + eax*8 - 0x94]
movq mm7, qword [ebp - 0xc]
psubw mm7, mm6
mov edx, dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov al, byte [esi]
inc esi
cmp eax, dword [ebp + 0x24]
je 0x460017
movd mm1, dword [edi]
movd mm0, dword [ebx + eax*4]
punpcklbw mm1, mm5
punpcklbw mm0, mm5
pmullw mm1, mm7
pmullw mm0, mm6
paddusw mm1, mm0
psrlw mm1, 4
packuswb mm1, mm5
movd dword [edi], mm1
add edi, 4
dec ecx
jne 0x45ffed
sub edi, dword [ebp + 0xc]
sub esi, dword [ebp + 0x14]
dec edx
jne 0x45ffea
emms
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
dec esi
cmp esi, 0xe
ja case.default.0x46003d
jmp dword [esi*4 + 0x460920]
pushfd
cld
pushal
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 4]
push ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [esi]
cmp edx, dword [ebp + 0x24]
je 0x4600b0
lea eax, [ebx + edx*4]
mov edx, dword [edi]
and edx, 0xff00ff
mov ebx, edx
shl edx, 4
sub edx, ebx
mov ebx, dword [eax]
and ebx, 0xff00ff
add edx, ebx
mov dword [ebp + 0x20], edx
mov ebx, dword [edi]
and ebx, 0xff00
mov edx, ebx
shl ebx, 4
sub ebx, edx
mov edx, dword [eax]
and edx, 0xff00
add ebx, edx
mov eax, dword [ebp + 0x20]
and ebx, 0xff0000
and eax, 0xff00ff00
add eax, ebx
shr eax, 4
mov dword [edi], eax
mov ebx, dword [ebp - 4]
inc esi
add edi, 4
dec ecx
jne 0x460057
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
pop ecx
dec ecx
jne 0x46004d
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pushfd
cld
pushal
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 4]
push ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [esi]
cmp edx, dword [ebp + 0x24]
je 0x460148
lea eax, [ebx + edx*4]
mov edx, dword [edi]
and edx, 0xff00ff
mov ebx, edx
shl edx, 3
sub edx, ebx
mov ebx, dword [eax]
and ebx, 0xff00ff
add edx, ebx
add edx, edx
mov dword [ebp + 0x20], edx
mov ebx, dword [edi]
and ebx, 0xff00
mov edx, ebx
shl ebx, 3
sub ebx, edx
mov edx, dword [eax]
and edx, 0xff00
add ebx, edx
add ebx, ebx
mov eax, dword [ebp + 0x20]
and ebx, 0xff0000
and eax, 0xff00ff00
add eax, ebx
shr eax, 4
mov dword [edi], eax
mov ebx, dword [ebp - 4]
inc esi
add edi, 4
dec ecx
jne 0x4600eb
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
pop ecx
dec ecx
jne 0x4600e1
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pushfd
cld
pushal
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 4]
push ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [esi]
cmp edx, dword [ebp + 0x24]
je 0x4601e8
lea eax, [ebx + edx*4]
mov edx, dword [edi]
and edx, 0xff00ff
mov ebx, edx
lea edx, [edx + edx*4]
lea edx, [edx + ebx*8]
mov ebx, dword [eax]
and ebx, 0xff00ff
lea ebx, [ebx + ebx*2]
add edx, ebx
mov dword [ebp + 0x20], edx
mov edx, dword [edi]
and edx, 0xff00
mov ebx, edx
lea ebx, [ebx + ebx*4]
lea edx, [ebx + edx*8]
mov ebx, dword [eax]
and ebx, 0xff00
lea eax, [ebx + ebx*2]
add edx, eax
mov eax, dword [ebp + 0x20]
and edx, 0xff0000
and eax, 0xff00ff00
add eax, edx
shr eax, 4
mov dword [edi], eax
mov ebx, dword [ebp - 4]
inc esi
add edi, 4
dec ecx
jne 0x460187
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
pop ecx
dec ecx
jne 0x46017d
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pushfd
cld
pushal
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 4]
push ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [esi]
cmp edx, dword [ebp + 0x24]
je 0x460277
lea eax, [ebx + edx*4]
mov edx, dword [edi]
and edx, 0xff00ff
lea edx, [edx + edx*2]
mov ebx, dword [eax]
and ebx, 0xff00ff
add edx, ebx
shl edx, 2
mov ebx, dword [edi]
and ebx, 0xff00
lea ebx, [ebx + ebx*2]
mov eax, dword [eax]
and eax, 0xff00
add eax, ebx
shl eax, 2
and eax, 0xff0000
and edx, 0xff00ff00
add eax, edx
shr eax, 4
mov dword [edi], eax
mov ebx, dword [ebp - 4]
inc esi
add edi, 4
dec ecx
jne 0x460227
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
pop ecx
dec ecx
jne 0x46021d
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pushfd
cld
pushal
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 4]
push ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [esi]
cmp edx, dword [ebp + 0x24]
je 0x460313
lea eax, [ebx + edx*4]
mov edx, dword [edi]
and edx, 0xff00ff
mov ebx, edx
lea edx, [edx + edx*2]
lea ebx, [edx + ebx*8]
mov edx, dword [eax]
and edx, 0xff00ff
lea edx, [edx + edx*4]
add edx, ebx
mov ebx, dword [edi]
mov dword [ebp + 0x20], edx
and ebx, 0xff00
mov edx, ebx
lea ebx, [ebx + ebx*2]
lea edx, [ebx + edx*8]
mov ebx, dword [eax]
and ebx, 0xff00
lea ebx, [ebx + ebx*4]
add edx, ebx
mov eax, dword [ebp + 0x20]
and edx, 0xff0000
and eax, 0xff00ff00
add eax, edx
shr eax, 4
mov dword [edi], eax
mov ebx, dword [ebp - 4]
inc esi
add edi, 4
dec ecx
jne 0x4602b2
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
pop ecx
dec ecx
jne 0x4602a8
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pushfd
cld
pushal
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 4]
push ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [esi]
cmp edx, dword [ebp + 0x24]
je 0x4603a6
lea eax, [ebx + edx*4]
mov edx, dword [edi]
and edx, 0xff00ff
lea edx, [edx + edx*4]
mov ebx, dword [eax]
and ebx, 0xff00ff
lea ebx, [ebx + ebx*2]
add edx, ebx
add edx, edx
mov ebx, dword [edi]
and ebx, 0xff00
lea ebx, [ebx + ebx*4]
mov eax, dword [eax]
and eax, 0xff00
lea eax, [eax + eax*2]
add eax, ebx
add eax, eax
and eax, 0xff0000
and edx, 0xff00ff00
add eax, edx
shr eax, 4
mov dword [edi], eax
mov ebx, dword [ebp - 4]
inc esi
add edi, 4
dec ecx
jne 0x460352
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
pop ecx
dec ecx
jne 0x460348
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pushfd
cld
pushal
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 4]
push ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [esi]
cmp edx, dword [ebp + 0x24]
je 0x460441
lea eax, [ebx + edx*4]
mov ebx, dword [eax]
and ebx, 0xff00ff
mov edx, ebx
lea ebx, [ebx*8]
sub ebx, edx
mov edx, dword [edi]
and edx, 0xff00ff
mov eax, dword [eax]
lea edx, [edx + edx*8]
and eax, 0xff00
add edx, ebx
mov ebx, eax
lea eax, [eax*8]
sub eax, ebx
mov ebx, dword [edi]
and ebx, 0xff00
lea ebx, [ebx + ebx*8]
add eax, ebx
and edx, 0xff00ff00
and eax, 0xff0000
add eax, edx
shr eax, 4
mov dword [edi], eax
mov ebx, dword [ebp - 4]
inc esi
add edi, 4
dec ecx
jne 0x4603e1
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
pop ecx
dec ecx
jne 0x4603d7
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pushfd
cld
pushal
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 4]
push ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [esi]
cmp edx, dword [ebp + 0x24]
je 0x4604d2
lea eax, [ebx + edx*4]
mov edx, dword [edi]
mov ebx, dword [eax]
and edx, 0xff00ff
and ebx, 0xff00ff
add edx, ebx
lea edx, [edx*8]
mov ebx, dword [edi]
mov eax, dword [eax]
and ebx, 0xff00
and eax, 0xff00
add eax, ebx
lea eax, [eax*8]
and edx, 0xff00ff00
and eax, 0xff0000
add eax, edx
shr eax, 4
mov dword [edi], eax
mov ebx, dword [ebp - 4]
inc esi
add edi, 4
dec ecx
jne 0x460480
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
pop ecx
dec ecx
jne 0x460476
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pushfd
cld
pushal
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 4]
push ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [esi]
cmp edx, dword [ebp + 0x24]
je 0x460573
lea eax, [ebx + edx*4]
mov edx, dword [edi]
and edx, 0xff00ff
mov ebx, edx
lea edx, [edx*8]
sub edx, ebx
mov ebx, dword [eax]
and ebx, 0xff00ff
lea ebx, [ebx + ebx*8]
add edx, ebx
mov dword [ebp + 0x20], edx
mov ebx, dword [edi]
and ebx, 0xff00
mov edx, ebx
lea ebx, [ebx*8]
sub ebx, edx
mov eax, dword [eax]
and eax, 0xff00
lea eax, [eax + eax*8]
add eax, ebx
mov edx, dword [ebp + 0x20]
and eax, 0xff0000
and edx, 0xff00ff00
add eax, edx
shr eax, 4
mov dword [edi], eax
mov ebx, dword [ebp - 4]
inc esi
add edi, 4
dec ecx
jne 0x46050d
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
pop ecx
dec ecx
jne 0x460503
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pushfd
cld
pushal
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 4]
push ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [esi]
cmp edx, dword [ebp + 0x24]
je 0x460606
lea eax, [ebx + edx*4]
mov edx, dword [edi]
and edx, 0xff00ff
lea edx, [edx + edx*2]
mov ebx, dword [eax]
and ebx, 0xff00ff
lea ebx, [ebx + ebx*4]
add edx, ebx
add edx, edx
mov ebx, dword [edi]
and ebx, 0xff00
lea ebx, [ebx + ebx*2]
mov eax, dword [eax]
and eax, 0xff00
lea eax, [eax + eax*4]
add eax, ebx
add eax, eax
and eax, 0xff0000
and edx, 0xff00ff00
add eax, edx
shr eax, 4
mov dword [edi], eax
mov ebx, dword [ebp - 4]
inc esi
add edi, 4
dec ecx
jne 0x4605b2
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
pop ecx
dec ecx
jne 0x4605a8
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pushfd
cld
pushal
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 4]
push ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [esi]
cmp edx, dword [ebp + 0x24]
je 0x46069b
lea eax, [ebx + edx*4]
mov edx, dword [eax]
and edx, 0xff00ff
mov ebx, edx
lea edx, [edx + edx*2]
lea ebx, [edx + ebx*8]
mov edx, dword [edi]
and edx, 0xff00ff
lea edx, [edx + edx*4]
add edx, ebx
mov eax, dword [eax]
and eax, 0xff00
mov ebx, eax
lea ebx, [ebx + ebx*2]
lea eax, [ebx + eax*8]
mov ebx, dword [edi]
and ebx, 0xff00
lea ebx, [ebx + ebx*4]
add eax, ebx
and edx, 0xff00ff00
and eax, 0xff0000
add eax, edx
shr eax, 4
mov dword [edi], eax
mov ebx, dword [ebp - 4]
inc esi
add edi, 4
dec ecx
jne 0x460641
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
pop ecx
dec ecx
jne 0x460637
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pushfd
cld
pushal
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 4]
push ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [esi]
cmp edx, dword [ebp + 0x24]
je 0x460732
lea eax, [ebx + edx*4]
mov edx, dword [edi]
mov ebx, dword [eax]
and ebx, 0xff00ff
and edx, 0xff00ff
lea ebx, [ebx + ebx*2]
add edx, ebx
lea edx, [edx*4]
mov eax, dword [eax]
mov ebx, dword [edi]
and eax, 0xff00
and ebx, 0xff00
lea eax, [eax + eax*2]
add eax, ebx
lea eax, [eax*4]
and edx, 0xff00ff00
and eax, 0xff0000
add eax, edx
shr eax, 4
mov dword [edi], eax
mov ebx, dword [ebp - 4]
inc esi
add edi, 4
dec ecx
jne 0x4606da
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
pop ecx
dec ecx
jne 0x4606d0
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pushfd
cld
pushal
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 4]
push ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [esi]
cmp edx, dword [ebp + 0x24]
je 0x4607c7
lea eax, [ebx + edx*4]
mov edx, dword [eax]
and edx, 0xff00ff
mov ebx, edx
lea edx, [edx + edx*4]
lea edx, [edx + ebx*8]
mov ebx, dword [edi]
and ebx, 0xff00ff
mov eax, dword [eax]
lea ebx, [ebx + ebx*2]
and eax, 0xff00
add edx, ebx
mov ebx, eax
lea ebx, [ebx + ebx*4]
lea eax, [ebx + eax*8]
mov ebx, dword [edi]
and ebx, 0xff00
lea ebx, [ebx + ebx*2]
add eax, ebx
and edx, 0xff00ff00
and eax, 0xff0000
add eax, edx
shr eax, 4
mov dword [edi], eax
mov ebx, dword [ebp - 4]
inc esi
add edi, 4
dec ecx
jne 0x46076d
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
pop ecx
dec ecx
jne 0x460763
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pushfd
cld
pushal
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 4]
push ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [esi]
cmp edx, dword [ebp + 0x24]
je 0x460864
lea eax, [ebx + edx*4]
mov edx, dword [eax]
and edx, 0xff00ff
mov ebx, edx
lea edx, [edx*8]
sub edx, ebx
mov ebx, dword [edi]
and ebx, 0xff00ff
add edx, ebx
add edx, edx
mov eax, dword [eax]
and eax, 0xff00
mov ebx, eax
lea eax, [eax*8]
sub eax, ebx
mov ebx, dword [edi]
and ebx, 0xff00
add eax, ebx
add eax, eax
and edx, 0xff00ff00
and eax, 0xff0000
add eax, edx
shr eax, 4
mov dword [edi], eax
mov ebx, dword [ebp - 4]
inc esi
add edi, 4
dec ecx
jne 0x460806
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
pop ecx
dec ecx
jne 0x4607fc
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pushfd
cld
pushal
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp - 4]
push ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
xor edx, edx
mov dl, byte [esi]
cmp edx, dword [ebp + 0x24]
je 0x4608f5
lea eax, [ebx + edx*4]
mov edx, dword [eax]
and edx, 0xff00ff
mov ebx, edx
shl edx, 4
sub edx, ebx
mov ebx, dword [edi]
and ebx, 0xff00ff
add edx, ebx
mov eax, dword [eax]
and eax, 0xff00
mov ebx, eax
shl eax, 4
sub eax, ebx
mov ebx, dword [edi]
and ebx, 0xff00
add eax, ebx
and edx, 0xff00ff00
and eax, 0xff0000
add eax, edx
shr eax, 4
mov dword [edi], eax
mov ebx, dword [ebp - 4]
inc esi
add edi, 4
dec ecx
jne 0x4608a3
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
pop ecx
dec ecx
jne 0x460899
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20