Function at 0x4778f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x63e758]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x6c], eax
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x74], esi
test edx, edx
je 0x478d73
test eax, eax
je 0x478d73
test esi, esi
je 0x478d73
cmp dword [edx + 0x38], 0
movzx eax, word [edx + 0x14]
jbe 0x477942
mov ecx, eax
not ecx
inc ecx
and ecx, 7
add ecx, eax
movzx eax, cx
mov cl, byte [edx + 0x34]
push edi
movzx edi, ax
mov eax, dword [edx + 0x4c]
mov byte [ebp - 0x49], cl
mov ecx, edi
imul ecx, esi
mov dword [ebp - 0x54], edi
cmp dword [eax + 0x1c], ecx
jb 0x477963
lea eax, [esi + esi]
cmp edi, eax
jae 0x477975
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ce
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x48]
xor edx, edx
xor esi, esi
mov dword [ebp - 0x64], edx
movzx eax, word [ecx + 0x16]
cmp si, ax
jae 0x478cfd
lea esp, [esp]
movzx esi, dx
mov edx, esi
movzx eax, ax
imul edx, edi
sub eax, esi
dec eax
mov dword [ebp - 0x60], 0
imul eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], edx
mov edx, dword [ecx + 0x4c]
movzx ecx, word [ecx + 0x14]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], eax
mov edi, dword [edx + 8]
add edi, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], edi
mov edi, dword [edx + 0xc]
add edi, dword [ebp - 0x5c]
mov dword [ebp - 0x44], edi
mov edi, dword [edx + 0x10]
add edi, dword [ebp - 0x5c]
mov dword [ebp - 0x40], edi
mov edi, ecx
imul edi, esi
add edi, dword [edx + 0x14]
xor edx, edx
mov dword [ebp - 0x68], edi
cmp dx, cx
jae 0x478c86
movzx ecx, byte [ebp - 0x49]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx]
mov ecx, dword [ecx + 0x10]
cmp ecx, 0x18020888
ja 0x478678
je 0x478558
cmp ecx, 0x10010565
ja 0x478113
je 0x477e06
cmp ecx, 0x4004000
je 0x477c02
cmp ecx, 0x8008000
jne 0x478a54
mov edx, dword [ebp - 0x48]
mov esi, dword [edx + 0x40]
movzx edx, byte [eax + 7]
lea ecx, [esi + edx*2]
add ecx, edx
movzx edx, byte [eax + 6]
mov dword [ebp - 0x1c], ecx
lea ecx, [esi + edx*2]
add ecx, edx
movzx edx, byte [eax + 5]
mov dword [ebp - 0x18], ecx
lea ecx, [esi + edx*2]
add ecx, edx
movzx edx, byte [eax + 4]
mov dword [ebp - 0x14], ecx
lea ecx, [esi + edx*2]
add ecx, edx
movzx edx, byte [eax + 3]
mov dword [ebp - 0x2c], ecx
lea edi, [esi + edx*2]
add edi, edx
movzx edx, byte [eax + 2]
mov dword [ebp - 0x50], edi
lea ecx, [esi + edx*2]
movzx edi, byte [edi]
add ecx, edx
movzx edx, byte [eax + 1]
mov dword [ebp - 0x38], ecx
lea ecx, [esi + edx*2]
add ecx, edx
movzx edx, byte [eax]
mov dword [ebp - 0x30], ecx
lea ecx, [esi + edx*2]
add ecx, edx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx]
mov word [ebp - 0x20], cx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ecx]
mov word [ebp - 0x1e], cx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx]
mov word [ebp - 0x10], cx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ecx]
mov word [ebp - 0xe], cx
mov ecx, dword [ebp - 0x38]
movzx esi, byte [ecx]
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx]
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ecx]
movd xmm4, ecx
mov ecx, dword [ebp - 0x1c]
pinsrw xmm4, edx, 1
pinsrw xmm4, esi, 2
pinsrw xmm4, edi, 3
movzx ecx, byte [ecx + 1]
pinsrw xmm4, word [ebp - 0xe], 4
pinsrw xmm4, word [ebp - 0x10], 5
pinsrw xmm4, word [ebp - 0x1e], 6
pinsrw xmm4, word [ebp - 0x20], 7
mov word [ebp - 0x20], cx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ecx + 1]
mov word [ebp - 0x1e], cx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx + 1]
mov word [ebp - 0x10], cx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ecx + 1]
mov word [ebp - 0xe], cx
mov ecx, dword [ebp - 0x50]
movzx edi, byte [ecx + 1]
mov ecx, dword [ebp - 0x38]
movzx esi, byte [ecx + 1]
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 1]
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ecx + 1]
movd xmm3, ecx
add eax, 8
mov ecx, dword [ebp - 0x1c]
pinsrw xmm3, edx, 1
pinsrw xmm3, esi, 2
pinsrw xmm3, edi, 3
movzx ecx, byte [ecx + 2]
pinsrw xmm3, word [ebp - 0xe], 4
pinsrw xmm3, word [ebp - 0x10], 5
pinsrw xmm3, word [ebp - 0x1e], 6
pinsrw xmm3, word [ebp - 0x20], 7
mov word [ebp - 0x20], cx
mov ecx, dword [ebp - 0x18]
movdqa xmm6, xmmword [0x5c7080]
movzx ecx, byte [ecx + 2]
mov word [ebp - 0x1e], cx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx + 2]
mov word [ebp - 0x10], cx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ecx + 2]
mov word [ebp - 0xe], cx
mov ecx, dword [ebp - 0x50]
movzx edi, byte [ecx + 2]
mov ecx, dword [ebp - 0x38]
movzx esi, byte [ecx + 2]
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 2]
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ecx + 2]
movd xmm5, ecx
pinsrw xmm5, edx, 1
pinsrw xmm5, esi, 2
pinsrw xmm5, edi, 3
pinsrw xmm5, word [ebp - 0xe], 4
pinsrw xmm5, word [ebp - 0x10], 5
pinsrw xmm5, word [ebp - 0x1e], 6
pinsrw xmm5, word [ebp - 0x20], 7
jmp 0x478bd6
mov cl, byte [eax + 1]
mov dl, byte [eax + 2]
mov dh, byte [eax]
mov byte [ebp - 0x1d], cl
mov cl, byte [eax + 3]
mov dword [ebp - 0x58], 7
mov eax, dword [ebp - 0x58]
mov byte [ebp - 0x1f], dl
mov byte [ebp - 0x29], cl
mov ch, cl
mov cl, al
shr ch, cl
shr dl, cl
and ch, 1
and dl, 1
add ch, ch
or ch, dl
mov dl, byte [ebp - 0x1d]
shr dl, cl
add ch, ch
and dl, 1
or ch, dl
mov dl, dh
shr dl, cl
add ch, ch
and dl, 1
or ch, dl
mov dl, byte [ebp - 0x1f]
mov cl, ch
add ch, ch
add cl, ch
mov byte [ebp + eax - 0xc], cl
dec eax
mov cl, byte [ebp - 0x29]
jns 0x477c20
mov edx, dword [ebp - 0x48]
movzx ecx, byte [ebp - 0xc]
movzx edi, byte [ebp - 8]
movzx esi, byte [ebp - 7]
mov edx, dword [edx + 0x40]
add ecx, edx
mov dword [ebp - 0x18], ecx
add edi, edx
movzx ecx, byte [ebp - 0xb]
add esi, edx
add ecx, edx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x14], ecx
movzx ecx, byte [ebp - 0xa]
add ecx, edx
movzx esi, byte [esi]
mov dword [ebp - 0x2c], ecx
movzx ecx, byte [ebp - 9]
add ecx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x38], ecx
movzx ecx, byte [ebp - 6]
add ecx, edx
movzx edi, byte [edi]
mov dword [ebp - 0x30], ecx
movzx ecx, byte [ebp - 5]
add ecx, edx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ecx]
mov word [ebp - 0x20], cx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx]
mov word [ebp - 0x1e], cx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ecx]
mov word [ebp - 0x10], cx
mov ecx, dword [ebp - 0x38]
movzx ecx, byte [ecx]
mov word [ebp - 0xe], cx
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx]
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ecx]
movd xmm4, ecx
mov ecx, dword [ebp - 0x18]
pinsrw xmm4, edx, 1
pinsrw xmm4, esi, 2
pinsrw xmm4, edi, 3
movzx ecx, byte [ecx + 1]
pinsrw xmm4, word [ebp - 0xe], 4
pinsrw xmm4, word [ebp - 0x10], 5
pinsrw xmm4, word [ebp - 0x1e], 6
pinsrw xmm4, word [ebp - 0x20], 7
mov word [ebp - 0x20], cx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx + 1]
mov word [ebp - 0x1e], cx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ecx + 1]
mov word [ebp - 0x10], cx
mov ecx, dword [ebp - 0x38]
movzx ecx, byte [ecx + 1]
mov word [ebp - 0xe], cx
mov ecx, dword [ebp - 0x50]
movzx edi, byte [ecx + 1]
mov ecx, dword [ebp - 0x58]
movzx esi, byte [ecx + 1]
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 1]
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ecx + 1]
movd xmm3, ecx
mov ecx, dword [ebp - 0x18]
pinsrw xmm3, edx, 1
pinsrw xmm3, esi, 2
pinsrw xmm3, edi, 3
pinsrw xmm3, word [ebp - 0xe], 4
pinsrw xmm3, word [ebp - 0x10], 5
pinsrw xmm3, word [ebp - 0x1e], 6
pinsrw xmm3, word [ebp - 0x20], 7
movzx ecx, byte [ecx + 2]
mov word [ebp - 0x20], cx
mov ecx, dword [ebp - 0x14]
add dword [ebp - 0x1c], 4
movdqa xmm6, xmmword [0x5c7080]
movzx ecx, byte [ecx + 2]
mov word [ebp - 0x1e], cx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ecx + 2]
mov word [ebp - 0x10], cx
mov ecx, dword [ebp - 0x38]
movzx ecx, byte [ecx + 2]
mov word [ebp - 0xe], cx
mov ecx, dword [ebp - 0x50]
movzx edi, byte [ecx + 2]
mov ecx, dword [ebp - 0x58]
movzx esi, byte [ecx + 2]
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 2]
mov ecx, dword [ebp - 0x34]
movzx ecx, byte [ecx + 2]
movd xmm5, ecx
pinsrw xmm5, edx, 1
pinsrw xmm5, esi, 2
pinsrw xmm5, edi, 3
pinsrw xmm5, word [ebp - 0xe], 4
pinsrw xmm5, word [ebp - 0x10], 5
pinsrw xmm5, word [ebp - 0x1e], 6
pinsrw xmm5, word [ebp - 0x20], 7
jmp 0x478bd9
mov cl, byte [eax + 0xf]
mov dl, cl
shr cl, 5
and dl, 0xf8
or dl, cl
movzx ecx, dl
mov word [ebp - 0x2e], cx
mov dl, byte [eax + 0xd]
mov cl, byte [eax + 0xd]
and dl, 0xf8
shr cl, 5
or dl, cl
movzx ecx, dl
mov word [ebp - 0x36], cx
mov cl, byte [eax + 0xb]
mov dl, cl
shr cl, 5
and dl, 0xf8
or dl, cl
movzx ecx, dl
mov word [ebp - 0x2a], cx
mov cl, byte [eax + 9]
mov dl, cl
shr cl, 5
and dl, 0xf8
or dl, cl
movzx ecx, dl
mov word [ebp - 0x20], cx
mov cl, byte [eax + 7]
mov dl, cl
shr cl, 5
and dl, 0xf8
or dl, cl
movzx ecx, dl
mov word [ebp - 0xe], cx
mov cl, byte [eax + 5]
mov dl, cl
shr cl, 5
and dl, 0xf8
or dl, cl
mov cl, byte [eax + 3]
movzx edi, dl
mov dl, cl
shr cl, 5
and dl, 0xf8
or dl, cl
mov cl, byte [eax + 1]
movzx esi, dl
mov dl, cl
shr cl, 5
and dl, 0xf8
or dl, cl
movzx ecx, dl
movd xmm4, ecx
mov cl, byte [eax + 0xe]
shr cl, 3
and cl, 0x1c
pinsrw xmm4, esi, 1
movzx edx, cl
mov cl, byte [eax + 0xf]
and cl, 7
pinsrw xmm4, edi, 2
pinsrw xmm4, word [ebp - 0xe], 3
pinsrw xmm4, word [ebp - 0x20], 4
pinsrw xmm4, word [ebp - 0x2a], 5
pinsrw xmm4, word [ebp - 0x36], 6
pinsrw xmm4, word [ebp - 0x2e], 7
movzx ecx, cl
shl cx, 5
or dx, cx
mov cl, byte [eax + 0xc]
shr cl, 3
and cl, 0x1c
mov word [ebp - 0x16], dx
movzx edx, cl
mov cl, byte [eax + 0xd]
and cl, 7
movzx ecx, cl
shl cx, 5
or dx, cx
mov word [ebp - 0x12], dx
mov cl, byte [eax + 0xa]
shr cl, 3
and cl, 0x1c
movzx edx, cl
mov cl, byte [eax + 0xb]
and cl, 7
movzx ecx, cl
shl cx, 5
or dx, cx
mov cl, byte [eax + 8]
shr cl, 3
and cl, 0x1c
mov word [ebp - 0x32], dx
movzx edx, cl
mov cl, byte [eax + 9]
and cl, 7
movzx ecx, cl
shl cx, 5
or dx, cx
mov cl, byte [eax + 6]
shr cl, 3
and cl, 0x1c
mov word [ebp - 0x1e], dx
movzx edx, cl
mov cl, byte [eax + 7]
and cl, 7
movzx ecx, cl
shl cx, 5
or dx, cx
mov cl, byte [eax + 4]
shr cl, 3
and cl, 0x1c
mov word [ebp - 0x10], dx
movzx edi, cl
mov cl, byte [eax + 5]
and cl, 7
movzx ecx, cl
shl cx, 5
or di, cx
mov cl, byte [eax + 2]
shr cl, 3
and cl, 0x1c
movzx esi, cl
mov cl, byte [eax + 3]
and cl, 7
movzx ecx, cl
shl cx, 5
or si, cx
mov cl, byte [eax]
shr cl, 3
and cl, 0x1c
movzx edx, cl
mov cl, byte [eax + 1]
and cl, 7
movzx ecx, cl
shl cx, 5
or dx, cx
movzx ecx, dx
movd xmm3, ecx
mov ch, byte [eax + 0xe]
mov cl, ch
pinsrw xmm3, esi, 1
and cl, 0x1f
shr ch, 2
movzx edx, cl
and ch, 7
pinsrw xmm3, edi, 2
pinsrw xmm3, word [ebp - 0x10], 3
pinsrw xmm3, word [ebp - 0x1e], 4
pinsrw xmm3, word [ebp - 0x32], 5
pinsrw xmm3, word [ebp - 0x12], 6
pinsrw xmm3, word [ebp - 0x16], 7
shl dx, 3
movzx ecx, ch
or dx, cx
mov ch, byte [eax + 0xc]
mov cl, ch
mov word [ebp - 0x1e], dx
and cl, 0x1f
movzx edx, cl
shl dx, 3
shr ch, 2
and ch, 7
movdqa xmm6, xmmword [0x5c7080]
movzx ecx, ch
or dx, cx
mov ch, byte [eax + 0xa]
mov cl, ch
mov word [ebp - 0x10], dx
and cl, 0x1f
shr ch, 2
movzx edx, cl
and ch, 7
shl dx, 3
movzx ecx, ch
or dx, cx
mov ch, byte [eax + 8]
mov cl, ch
mov word [ebp - 0xe], dx
and cl, 0x1f
shr ch, 2
movzx edx, cl
and ch, 7
shl dx, 3
movzx ecx, ch
or dx, cx
mov ch, byte [eax + 6]
mov cl, ch
mov word [ebp - 0x12], dx
and cl, 0x1f
shr ch, 2
movzx edx, cl
and ch, 7
shl dx, 3
movzx ecx, ch
or dx, cx
mov word [ebp - 0x16], dx
mov dl, byte [eax + 4]
mov cl, dl
shr dl, 2
and cl, 0x1f
and dl, 7
movzx edi, cl
movzx ecx, dl
mov dl, byte [eax + 2]
shl di, 3
or di, cx
mov cl, dl
and cl, 0x1f
shr dl, 2
movzx esi, cl
and dl, 7
movzx ecx, dl
shl si, 3
or si, cx
mov ch, byte [eax]
mov cl, ch
shr ch, 2
and cl, 0x1f
and ch, 7
movzx edx, cl
shl dx, 3
movzx ecx, ch
or dx, cx
add eax, 0x10
movzx ecx, dx
movd xmm5, ecx
pinsrw xmm5, esi, 1
pinsrw xmm5, edi, 2
pinsrw xmm5, word [ebp - 0x16], 3
pinsrw xmm5, word [ebp - 0x12], 4
pinsrw xmm5, word [ebp - 0xe], 5
pinsrw xmm5, word [ebp - 0x10], 6
pinsrw xmm5, word [ebp - 0x1e], 7
jmp 0x478bd6
cmp ecx, 0x10020565
je 0x47824b
cmp ecx, 0x18010888
jne 0x478a54
movzx ecx, byte [eax + 0x15]
movzx edx, byte [eax + 3]
movzx esi, byte [eax + 6]
movzx edi, byte [eax + 9]
mov word [ebp - 0x10], cx
movzx ecx, byte [eax + 0x12]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0xf]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0xc]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax]
movdqa xmm6, xmmword [0x5c7080]
movd xmm4, ecx
movzx ecx, byte [eax + 0x16]
pinsrw xmm4, edx, 1
movzx edx, byte [eax + 4]
pinsrw xmm4, esi, 2
movzx esi, byte [eax + 7]
pinsrw xmm4, edi, 3
pinsrw xmm4, word [ebp - 0x16], 4
pinsrw xmm4, word [ebp - 0x12], 5
pinsrw xmm4, word [ebp - 0xe], 6
pinsrw xmm4, word [ebp - 0x10], 7
movzx edi, byte [eax + 0xa]
mov word [ebp - 0x10], cx
movzx ecx, byte [eax + 0x13]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x10]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0xd]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 1]
movd xmm3, ecx
movzx ecx, byte [eax + 0x17]
pinsrw xmm3, edx, 1
movzx edx, byte [eax + 5]
pinsrw xmm3, esi, 2
movzx esi, byte [eax + 8]
pinsrw xmm3, edi, 3
pinsrw xmm3, word [ebp - 0x16], 4
pinsrw xmm3, word [ebp - 0x12], 5
pinsrw xmm3, word [ebp - 0xe], 6
pinsrw xmm3, word [ebp - 0x10], 7
movzx edi, byte [eax + 0xb]
mov word [ebp - 0x10], cx
movzx ecx, byte [eax + 0x14]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x11]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0xe]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 2]
add eax, 0x18
movd xmm5, ecx
pinsrw xmm5, edx, 1
pinsrw xmm5, esi, 2
pinsrw xmm5, edi, 3
pinsrw xmm5, word [ebp - 0x16], 4
pinsrw xmm5, word [ebp - 0x12], 5
pinsrw xmm5, word [ebp - 0xe], 6
pinsrw xmm5, word [ebp - 0x10], 7
jmp 0x478bd6
mov dh, byte [eax + 0xf]
mov cl, dh
mov dl, dh
shr cl, 5
and dl, 0xf8
or dl, cl
and dh, 7
movzx ecx, dl
mov word [ebp - 0x1e], cx
mov cl, byte [eax + 0xd]
mov dl, cl
shr cl, 5
and dl, 0xf8
or dl, cl
movzx ecx, dl
mov word [ebp - 0x10], cx
mov cl, byte [eax + 0xb]
mov dl, cl
shr cl, 5
and dl, 0xf8
or dl, cl
movzx ecx, dl
mov word [ebp - 0xe], cx
mov cl, byte [eax + 9]
mov dl, cl
shr cl, 5
and dl, 0xf8
or dl, cl
movzx ecx, dl
mov word [ebp - 0x12], cx
mov cl, byte [eax + 7]
mov dl, cl
shr cl, 5
and dl, 0xf8
or dl, cl
movzx ecx, dl
mov word [ebp - 0x16], cx
mov cl, byte [eax + 5]
mov dl, cl
shr cl, 5
and dl, 0xf8
or dl, cl
mov cl, byte [eax + 3]
movzx edi, dl
mov dl, cl
shr cl, 5
and dl, 0xf8
or dl, cl
mov cl, byte [eax + 1]
movzx esi, dl
mov dl, cl
shr cl, 5
and dl, 0xf8
or dl, cl
movzx ecx, dl
mov dl, byte [eax]
movzx edx, dh
shl dx, 5
movd xmm5, ecx
mov cl, byte [eax + 0xe]
shr cl, 3
and cl, 0x1c
pinsrw xmm5, esi, 1
movzx ecx, cl
or dx, cx
pinsrw xmm5, edi, 2
mov cl, byte [eax + 0xd]
pinsrw xmm5, word [ebp - 0x16], 3
and cl, 7
pinsrw xmm5, word [ebp - 0x12], 4
pinsrw xmm5, word [ebp - 0xe], 5
pinsrw xmm5, word [ebp - 0x10], 6
pinsrw xmm5, word [ebp - 0x1e], 7
mov word [ebp - 0x1a], dx
movzx edx, cl
mov cl, byte [eax + 0xc]
shr cl, 3
and cl, 0x1c
shl dx, 5
movzx ecx, cl
or dx, cx
mov cl, byte [eax + 0xb]
and cl, 7
mov word [ebp - 0x20], dx
movzx edx, cl
mov cl, byte [eax + 0xa]
shr cl, 3
and cl, 0x1c
shl dx, 5
movzx ecx, cl
or dx, cx
mov cl, byte [eax + 9]
and cl, 7
mov word [ebp - 0x10], dx
movzx edx, cl
mov cl, byte [eax + 8]
shr cl, 3
and cl, 0x1c
shl dx, 5
movzx ecx, cl
or dx, cx
mov cl, byte [eax + 6]
shr cl, 3
and cl, 0x1c
mov word [ebp - 0x12], dx
movzx edx, cl
mov cl, byte [eax + 7]
and cl, 7
movzx ecx, cl
shl cx, 5
or dx, cx
mov cl, byte [eax + 4]
shr cl, 3
and cl, 0x1c
mov word [ebp - 0x16], dx
movzx edi, cl
mov cl, byte [eax + 5]
and cl, 7
movzx ecx, cl
shl cx, 5
or di, cx
mov cl, byte [eax + 2]
shr cl, 3
and cl, 0x1c
movzx esi, cl
mov cl, byte [eax + 3]
and cl, 7
movzx ecx, cl
shl cx, 5
or si, cx
mov cl, byte [eax]
shr cl, 3
and cl, 0x1c
movzx edx, cl
mov cl, byte [eax + 1]
and cl, 7
movzx ecx, cl
shl cx, 5
or dx, cx
movzx ecx, dx
movd xmm3, ecx
mov ch, byte [eax + 0xe]
mov cl, ch
pinsrw xmm3, esi, 1
and cl, 0x1f
shr ch, 2
movzx edx, cl
and ch, 7
pinsrw xmm3, edi, 2
pinsrw xmm3, word [ebp - 0x16], 3
pinsrw xmm3, word [ebp - 0x12], 4
pinsrw xmm3, word [ebp - 0x10], 5
pinsrw xmm3, word [ebp - 0x20], 6
pinsrw xmm3, word [ebp - 0x1a], 7
shl dx, 3
movzx ecx, ch
or dx, cx
mov ch, byte [eax + 0xc]
mov cl, ch
mov word [ebp - 0x10], dx
and cl, 0x1f
movzx edx, cl
shr ch, 2
and ch, 7
shl dx, 3
movzx ecx, ch
or dx, cx
movdqa xmm6, xmmword [0x5c7080]
mov ch, byte [eax + 0xa]
mov cl, ch
mov word [ebp - 0xe], dx
and cl, 0x1f
shr ch, 2
movzx edx, cl
and ch, 7
shl dx, 3
movzx ecx, ch
or dx, cx
mov ch, byte [eax + 8]
mov cl, ch
mov word [ebp - 0x12], dx
and cl, 0x1f
shr ch, 2
movzx edx, cl
and ch, 7
shl dx, 3
movzx ecx, ch
or dx, cx
mov ch, byte [eax + 6]
mov cl, ch
mov word [ebp - 0x16], dx
and cl, 0x1f
shr ch, 2
movzx edx, cl
and ch, 7
shl dx, 3
movzx ecx, ch
or dx, cx
mov word [ebp - 0x1a], dx
mov dl, byte [eax + 4]
mov cl, dl
shr dl, 2
and cl, 0x1f
and dl, 7
movzx edi, cl
movzx ecx, dl
mov dl, byte [eax + 2]
shl di, 3
or di, cx
mov cl, dl
and cl, 0x1f
shr dl, 2
movzx esi, cl
and dl, 7
movzx ecx, dl
shl si, 3
or si, cx
mov ch, byte [eax]
mov cl, ch
shr ch, 2
and cl, 0x1f
and ch, 7
movzx edx, cl
shl dx, 3
movzx ecx, ch
or dx, cx
add eax, 0x10
movzx ecx, dx
movd xmm4, ecx
pinsrw xmm4, esi, 1
pinsrw xmm4, edi, 2
pinsrw xmm4, word [ebp - 0x1a], 3
pinsrw xmm4, word [ebp - 0x16], 4
pinsrw xmm4, word [ebp - 0x12], 5
pinsrw xmm4, word [ebp - 0xe], 6
pinsrw xmm4, word [ebp - 0x10], 7
jmp 0x478bd6
movzx ecx, byte [eax + 0x15]
movzx edx, byte [eax + 3]
movzx esi, byte [eax + 6]
movzx edi, byte [eax + 9]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x12]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0xf]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0xc]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax]
movdqa xmm6, xmmword [0x5c7080]
movd xmm5, ecx
movzx ecx, byte [eax + 0x16]
pinsrw xmm5, edx, 1
movzx edx, byte [eax + 4]
pinsrw xmm5, esi, 2
movzx esi, byte [eax + 7]
pinsrw xmm5, edi, 3
pinsrw xmm5, word [ebp - 0x1a], 4
pinsrw xmm5, word [ebp - 0x16], 5
pinsrw xmm5, word [ebp - 0x12], 6
pinsrw xmm5, word [ebp - 0xe], 7
movzx edi, byte [eax + 0xa]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x13]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x10]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0xd]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax + 1]
movd xmm3, ecx
movzx ecx, byte [eax + 0x17]
pinsrw xmm3, edx, 1
movzx edx, byte [eax + 5]
pinsrw xmm3, esi, 2
movzx esi, byte [eax + 8]
pinsrw xmm3, edi, 3
pinsrw xmm3, word [ebp - 0x1a], 4
pinsrw xmm3, word [ebp - 0x16], 5
pinsrw xmm3, word [ebp - 0x12], 6
pinsrw xmm3, word [ebp - 0xe], 7
movzx edi, byte [eax + 0xb]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x14]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x11]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0xe]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax + 2]
add eax, 0x18
movd xmm4, ecx
pinsrw xmm4, edx, 1
pinsrw xmm4, esi, 2
pinsrw xmm4, edi, 3
pinsrw xmm4, word [ebp - 0x1a], 4
pinsrw xmm4, word [ebp - 0x16], 5
pinsrw xmm4, word [ebp - 0x12], 6
pinsrw xmm4, word [ebp - 0xe], 7
jmp 0x478bd6
cmp ecx, 0x20040888
ja 0x478a4c
je 0x47892f
cmp ecx, 0x20030888
je 0x478812
cmp ecx, 0x20038888
jne 0x478a54
movzx ecx, byte [eax + 0x1c]
movzx edx, byte [eax + 4]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x18]
movzx esi, byte [eax + 8]
movzx edi, byte [eax + 0xc]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x14]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0x10]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax]
movd xmm4, ecx
movzx ecx, byte [eax + 0x1d]
pinsrw xmm4, edx, 1
movzx edx, byte [eax + 5]
pinsrw xmm4, esi, 2
movzx esi, byte [eax + 9]
pinsrw xmm4, edi, 3
pinsrw xmm4, word [ebp - 0x1a], 4
pinsrw xmm4, word [ebp - 0x16], 5
pinsrw xmm4, word [ebp - 0x12], 6
pinsrw xmm4, word [ebp - 0xe], 7
movzx edi, byte [eax + 0xd]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x19]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x15]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0x11]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax + 1]
movd xmm3, ecx
movzx ecx, byte [eax + 0x1e]
pinsrw xmm3, edx, 1
movzx edx, byte [eax + 6]
pinsrw xmm3, esi, 2
movzx esi, byte [eax + 0xa]
pinsrw xmm3, edi, 3
pinsrw xmm3, word [ebp - 0x1a], 4
pinsrw xmm3, word [ebp - 0x16], 5
pinsrw xmm3, word [ebp - 0x12], 6
pinsrw xmm3, word [ebp - 0xe], 7
movzx edi, byte [eax + 0xe]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x1a]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x16]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0x12]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax + 2]
movd xmm5, ecx
movzx ecx, byte [eax + 0x1f]
pinsrw xmm5, edx, 1
movzx edx, byte [eax + 7]
pinsrw xmm5, esi, 2
movzx esi, byte [eax + 0xb]
pinsrw xmm5, edi, 3
pinsrw xmm5, word [ebp - 0x1a], 4
pinsrw xmm5, word [ebp - 0x16], 5
pinsrw xmm5, word [ebp - 0x12], 6
pinsrw xmm5, word [ebp - 0xe], 7
movzx edi, byte [eax + 0xf]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x1b]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x17]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0x13]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax + 3]
movd xmm6, ecx
pinsrw xmm6, edx, 1
pinsrw xmm6, esi, 2
pinsrw xmm6, edi, 3
pinsrw xmm6, word [ebp - 0x1a], 4
pinsrw xmm6, word [ebp - 0x16], 5
pinsrw xmm6, word [ebp - 0x12], 6
pinsrw xmm6, word [ebp - 0xe], 7
jmp 0x478bd3
movzx ecx, byte [eax + 0x1c]
movzx edx, byte [eax + 4]
movzx esi, byte [eax + 8]
movzx edi, byte [eax + 0xc]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x18]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x14]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0x10]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax]
movdqa xmm6, xmmword [0x5c7080]
movd xmm4, ecx
movzx ecx, byte [eax + 0x1d]
pinsrw xmm4, edx, 1
movzx edx, byte [eax + 5]
pinsrw xmm4, esi, 2
movzx esi, byte [eax + 9]
pinsrw xmm4, edi, 3
pinsrw xmm4, word [ebp - 0x1a], 4
pinsrw xmm4, word [ebp - 0x16], 5
pinsrw xmm4, word [ebp - 0x12], 6
pinsrw xmm4, word [ebp - 0xe], 7
movzx edi, byte [eax + 0xd]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x19]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x15]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0x11]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax + 1]
movd xmm3, ecx
movzx ecx, byte [eax + 0x1e]
pinsrw xmm3, edx, 1
movzx edx, byte [eax + 6]
pinsrw xmm3, esi, 2
movzx esi, byte [eax + 0xa]
pinsrw xmm3, edi, 3
pinsrw xmm3, word [ebp - 0x1a], 4
pinsrw xmm3, word [ebp - 0x16], 5
pinsrw xmm3, word [ebp - 0x12], 6
pinsrw xmm3, word [ebp - 0xe], 7
movzx edi, byte [eax + 0xe]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x1a]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x16]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0x12]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax + 2]
movd xmm5, ecx
pinsrw xmm5, edx, 1
pinsrw xmm5, esi, 2
pinsrw xmm5, edi, 3
pinsrw xmm5, word [ebp - 0x1a], 4
pinsrw xmm5, word [ebp - 0x16], 5
pinsrw xmm5, word [ebp - 0x12], 6
pinsrw xmm5, word [ebp - 0xe], 7
jmp 0x478bd3
movzx ecx, byte [eax + 0x1c]
movzx edx, byte [eax + 4]
movzx esi, byte [eax + 8]
movzx edi, byte [eax + 0xc]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x18]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x14]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0x10]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax]
movdqa xmm6, xmmword [0x5c7080]
movd xmm5, ecx
movzx ecx, byte [eax + 0x1d]
pinsrw xmm5, edx, 1
movzx edx, byte [eax + 5]
pinsrw xmm5, esi, 2
movzx esi, byte [eax + 9]
pinsrw xmm5, edi, 3
pinsrw xmm5, word [ebp - 0x1a], 4
pinsrw xmm5, word [ebp - 0x16], 5
pinsrw xmm5, word [ebp - 0x12], 6
pinsrw xmm5, word [ebp - 0xe], 7
movzx edi, byte [eax + 0xd]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x19]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x15]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0x11]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax + 1]
movd xmm3, ecx
movzx ecx, byte [eax + 0x1e]
pinsrw xmm3, edx, 1
movzx edx, byte [eax + 6]
pinsrw xmm3, esi, 2
movzx esi, byte [eax + 0xa]
pinsrw xmm3, edi, 3
pinsrw xmm3, word [ebp - 0x1a], 4
pinsrw xmm3, word [ebp - 0x16], 5
pinsrw xmm3, word [ebp - 0x12], 6
pinsrw xmm3, word [ebp - 0xe], 7
movzx edi, byte [eax + 0xe]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x1a]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x16]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0x12]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax + 2]
movd xmm4, ecx
pinsrw xmm4, edx, 1
pinsrw xmm4, esi, 2
pinsrw xmm4, edi, 3
pinsrw xmm4, word [ebp - 0x1a], 4
pinsrw xmm4, word [ebp - 0x16], 5
pinsrw xmm4, word [ebp - 0x12], 6
pinsrw xmm4, word [ebp - 0xe], 7
jmp 0x478bd3
cmp ecx, 0x20048888
je 0x478a68
xorps xmm6, xmm6
movdqa xmm5, xmm6
movdqa xmm3, xmm6
movdqa xmm4, xmm6
jmp 0x478be2
movzx ecx, byte [eax + 0x1c]
movzx edx, byte [eax + 4]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x18]
movzx esi, byte [eax + 8]
movzx edi, byte [eax + 0xc]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x14]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0x10]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax]
movd xmm5, ecx
movzx ecx, byte [eax + 0x1d]
pinsrw xmm5, edx, 1
movzx edx, byte [eax + 5]
pinsrw xmm5, esi, 2
movzx esi, byte [eax + 9]
pinsrw xmm5, edi, 3
pinsrw xmm5, word [ebp - 0x1a], 4
pinsrw xmm5, word [ebp - 0x16], 5
pinsrw xmm5, word [ebp - 0x12], 6
pinsrw xmm5, word [ebp - 0xe], 7
movzx edi, byte [eax + 0xd]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x19]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x15]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0x11]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax + 1]
movd xmm3, ecx
movzx ecx, byte [eax + 0x1e]
pinsrw xmm3, edx, 1
movzx edx, byte [eax + 6]
pinsrw xmm3, esi, 2
movzx esi, byte [eax + 0xa]
pinsrw xmm3, edi, 3
pinsrw xmm3, word [ebp - 0x1a], 4
pinsrw xmm3, word [ebp - 0x16], 5
pinsrw xmm3, word [ebp - 0x12], 6
pinsrw xmm3, word [ebp - 0xe], 7
movzx edi, byte [eax + 0xe]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x1a]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x16]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0x12]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax + 2]
movd xmm4, ecx
movzx ecx, byte [eax + 0x1f]
pinsrw xmm4, edx, 1
movzx edx, byte [eax + 7]
pinsrw xmm4, esi, 2
movzx esi, byte [eax + 0xb]
pinsrw xmm4, edi, 3
pinsrw xmm4, word [ebp - 0x1a], 4
pinsrw xmm4, word [ebp - 0x16], 5
pinsrw xmm4, word [ebp - 0x12], 6
pinsrw xmm4, word [ebp - 0xe], 7
movzx edi, byte [eax + 0xf]
mov word [ebp - 0xe], cx
movzx ecx, byte [eax + 0x1b]
mov word [ebp - 0x12], cx
movzx ecx, byte [eax + 0x17]
mov word [ebp - 0x16], cx
movzx ecx, byte [eax + 0x13]
mov word [ebp - 0x1a], cx
movzx ecx, byte [eax + 3]
movd xmm6, ecx
pinsrw xmm6, edx, 1
pinsrw xmm6, esi, 2
pinsrw xmm6, edi, 3
pinsrw xmm6, word [ebp - 0x1a], 4
pinsrw xmm6, word [ebp - 0x16], 5
pinsrw xmm6, word [ebp - 0x12], 6
pinsrw xmm6, word [ebp - 0xe], 7
add eax, 0x20
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x70]
movdqa xmm0, xmm3
mov ecx, dword [ebp - 0x68]
movdqa xmm2, xmm4
add dword [ebp - 0x60], 8
movdqa xmm1, xmm4
psraw xmm0, 1
psubw xmm1, xmm5
psraw xmm2, 2
psraw xmm4, 1
paddw xmm2, xmm0
packuswb xmm6, xmm6
movdqa xmm0, xmm5
psubw xmm3, xmm4
psraw xmm0, 2
psraw xmm5, 1
paddw xmm2, xmm0
movd xmm0, eax
psraw xmm1, xmm0
movd xmm0, eax
psubw xmm3, xmm5
mov eax, dword [ebp - 0x60]
psraw xmm3, xmm0
packuswb xmm2, xmm2
movdqu xmmword [edx], xmm2
add edx, 8
packsswb xmm1, xmm1
movdqu xmmword [esi], xmm1
add esi, 8
mov dword [ebp - 0x3c], edx
packsswb xmm3, xmm3
movdqu xmmword [edi], xmm3
add edi, 8
mov dword [ebp - 0x44], esi
movdqu xmmword [ecx], xmm6
add ecx, 8
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0x48]
cmp ax, word [ecx + 0x14]
mov eax, dword [ebp - 0x1c]
jb 0x477a00
jmp 0x478c89
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + 0x38], 0
jbe 0x478ce6
movzx edx, word [ecx + 0x14]
mov eax, edx
and eax, 0x80000001
jns 0x478ca1
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x478ce6
mov eax, dword [ecx + 0x4c]
mov esi, dword [ebp - 0x5c]
mov ecx, dword [eax + 8]
add ecx, edx
mov edx, dword [ebp - 0x48]
movzx eax, byte [ecx + esi - 1]
mov byte [ecx + esi], al
mov eax, dword [edx + 0x4c]
movzx ecx, word [edx + 0x14]
mov eax, dword [eax + 0xc]
add ecx, eax
movzx eax, byte [ecx + esi - 1]
mov byte [ecx + esi], al
mov eax, dword [edx + 0x4c]
movzx ecx, word [edx + 0x14]
mov eax, dword [eax + 0x10]
add ecx, eax
movzx eax, byte [ecx + esi - 1]
mov byte [ecx + esi], al
mov ecx, edx
mov edx, dword [ebp - 0x64]
movzx eax, word [ecx + 0x16]
inc edx
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x64], edx
cmp dx, ax
jb 0x477990
cmp dword [ecx + 0x38], 0
jbe 0x478d5e
movzx edx, dx
mov eax, edx
and eax, 0x80000001
jns 0x478d14
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x478d5e
mov eax, dword [ecx + 0x4c]
imul edx, edi
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
add ecx, edx
add esi, edx
add edi, edx
mov edx, dword [ebp - 0x54]
mov eax, ecx
push edx
sub eax, edx
push eax
push ecx
call fcn.00580540
mov ecx, dword [ebp - 0x54]
mov eax, esi
push ecx
sub eax, ecx
push eax
push esi
call fcn.00580540
mov ecx, dword [ebp - 0x54]
mov eax, edi
push ecx
sub eax, ecx
push eax
push edi
call fcn.00580540
add esp, 0x24
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ce
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.005802ce
mov esp, ebp
pop ebp
ret