Function at 0x45f200
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
mov edi, dword [ebp + 0x20]
mov esi, ecx
mov dword [ebp - 4], esi
test edi, edi
je case.default.0x45f4d4
mov eax, dword [esi + 0x64]
cmp eax, 0x11
jne 0x45f247
push 0xfffffffffffffffe
push edi
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 0x1c
cmp eax, 0x100
jne 0x45f26f
push edi
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.00463bb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp edi, 0x10
jne 0x45f294
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.00462230
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
test byte [esi + 0x6c], 1
je 0x45f2bb
push edi
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.0045e580
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [esi + 0x68]
test eax, eax
je 0x45f32f
test byte [esi + 0x5c], 4
jne 0x45f32f
mov ecx, dword [esi + 8]
mov ebx, dword [eax + 8]
push edi
push dword [ebp + 0x1c]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
push dword [ebp + 0x18]
cdq
add ecx, 3
push dword [ebp + 0x14]
mov edi, eax
and ecx, 0xfffffffc
mov eax, dword [ebx + 8]
xor edi, edx
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 - 4]
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 0x1c
call dword [sym.imp.GDI32.dll_GdiFlush]
mov eax, dword [esi + 8]
add eax, 0x28
test byte [esi + 0x60], 1
mov dword [ebp - 4], eax
je 0x45f4ca
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
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 0x45f489
sub edi, dword [ebp + 0xc]
sub esi, dword [ebp + 0x14]
dec edx
jne 0x45f486
emms
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
dec edi
cmp edi, 0xe
ja case.default.0x45f4d4
jmp dword [edi*4 + 0x45fd6c]
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]
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
add edi, 4
shr eax, 4
inc esi
mov dword [edi - 4], eax
mov ebx, dword [ebp - 4]
dec ecx
jne 0x45f4ee
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 0x45f4e4
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
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]
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
add edi, 4
shr eax, 4
inc esi
mov dword [edi - 4], eax
mov ebx, dword [ebp - 4]
dec ecx
jne 0x45f57e
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 0x45f574
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
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]
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
add edi, 4
shr eax, 4
inc esi
mov dword [edi - 4], eax
mov ebx, dword [ebp - 4]
dec ecx
jne 0x45f612
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 0x45f608
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
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]
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
add edi, 4
shr eax, 4
inc esi
mov dword [edi - 4], eax
mov ebx, dword [ebp - 4]
dec ecx
jne 0x45f6ae
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 0x45f6a4
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
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]
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
add edi, 4
shr eax, 4
inc esi
mov dword [edi - 4], eax
mov ebx, dword [ebp - 4]
dec ecx
jne 0x45f735
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 0x45f72b
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
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]
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
add edi, 4
shr eax, 4
inc esi
mov dword [edi - 4], eax
mov ebx, dword [ebp - 4]
dec ecx
jne 0x45f7d1
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 0x45f7c7
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
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]
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
add edi, 4
shr eax, 4
inc esi
mov dword [edi - 4], eax
mov ebx, dword [ebp - 4]
dec ecx
jne 0x45f85c
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 0x45f852
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
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]
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
add edi, 4
shr eax, 4
inc esi
mov dword [edi - 4], eax
mov ebx, dword [ebp - 4]
dec ecx
jne 0x45f8f7
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 0x45f8ed
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
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]
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
add edi, 4
shr eax, 4
inc esi
mov dword [edi - 4], eax
mov ebx, dword [ebp - 4]
dec ecx
jne 0x45f980
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 0x45f976
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
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]
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
add edi, 4
shr eax, 4
inc esi
mov dword [edi - 4], eax
mov ebx, dword [ebp - 4]
dec ecx
jne 0x45fa21
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 0x45fa17
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
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]
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
add edi, 4
shr eax, 4
inc esi
mov dword [edi - 4], eax
mov ebx, dword [ebp - 4]
dec ecx
jne 0x45faac
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 0x45faa2
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
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]
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
add edi, 4
shr eax, 4
inc esi
mov dword [edi - 4], eax
mov ebx, dword [ebp - 4]
dec ecx
jne 0x45fb3d
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 0x45fb33
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
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]
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
add edi, 4
shr eax, 4
inc esi
mov dword [edi - 4], eax
mov ebx, dword [ebp - 4]
dec ecx
jne 0x45fbcc
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 0x45fbc2
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
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]
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
add edi, 4
shr eax, 4
inc esi
mov dword [edi - 4], eax
mov ebx, dword [ebp - 4]
dec ecx
jne 0x45fc5d
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 0x45fc53
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
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]
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
add edi, 4
shr eax, 4
inc esi
mov dword [edi - 4], eax
mov ebx, dword [ebp - 4]
dec ecx
jne 0x45fcf6
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 0x45fcec
popal
popfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c