Function at 0x579690
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, 0xffffffff
cmp dword [esp + 0xdc], 0x84c
jb 0x57ae73
mov ebp, dword [esp + 0xd8]
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax]
movzx eax, cl
xorps xmm0, xmm0
movups xmmword [ebp + 0x2d0], xmm0
movups xmmword [ebp + 0x2c0], xmm0
movups xmmword [ebp + 0x2b0], xmm0
movups xmmword [ebp + 0x2a0], xmm0
movups xmmword [ebp + 0x290], xmm0
movups xmmword [ebp + 0x280], xmm0
movups xmmword [ebp + 0x270], xmm0
mov esi, 0xffffffd4
cmp eax, 0xc
ja 0x57ae73
mov dword [esp + 0x64], ecx
mov dword [esp + 0x20], eax
lea ebx, [ebp + 0x270]
lea eax, [ebp + 0x3e0]
lea ecx, [ebp + 0x4e0]
sub esp, 4
lea edx, [esp + 0xb8]
lea edi, [esp + 0xb4]
push 0x36c
push ecx
push dword [esp + 0xe0]
push dword [esp + 0xe0]
push edx
push edi
push ebx
push pe_nt_image_headers32
push eax
call fcn.00568750
add esp, 0x28
cmp eax, 0xffffff88
ja 0x57985f
mov edi, ebx
mov ebx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x20]
cmp ebx, ecx
ja 0x57ae73
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x64]
shr eax, 0x18
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xcc]
add eax, 4
mov dword [esp + 0x30], eax
cmp ebx, 0xc
setb al
cmp ecx, 0xc
setae cl
and cl, al
mov byte [esp + 0x18], cl
lea eax, [ebp + 0x68]
mov dword [esp + 4], eax
lea eax, [ebx - 8]
mov dword [esp + 0xc], eax
lea eax, [ebp + 0x34]
mov dword [esp + 8], eax
mov ecx, ebx
add cl, 1
lea edx, [ebp + 0x3c]
mov dword [esp + 0x10], ebx
mov eax, ebx
mov dword [esp + 0x14], edi
nop
mov ebx, eax
mov eax, dword [esp + 4]
mov dword [esp], eax
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov ch, cl
mov ebp, edx
lea eax, [ebx - 1]
add cl, 3
mov edx, dword [esp + 0x14]
cmp dword [edx + ebx*4], 0
mov edx, dword [esp]
lea edx, [edx + 0x34]
mov dword [esp + 4], edx
lea edx, [esi - 1]
mov dword [esp + 0xc], edx
lea edx, [edi + 0x34]
mov dword [esp + 8], edx
lea edx, [ebp + 0x34]
je 0x5797d0
mov dword [esp + 0x14], ebp
mov byte [esp + 0x5c], ch
mov dword [esp + 4], edi
mov dword [esp + 0x24], esi
cmp byte [esp + 0x18], 0
mov eax, 0xb
mov ecx, dword [esp + 0x20]
cmovne ecx, eax
mov dword [esp + 0x20], ecx
lea ecx, [ebx + 1]
xor eax, eax
mov dword [esp + 0xc], ecx
cmp ecx, 2
mov ebp, dword [esp + 0xd8]
jb 0x5798f2
lea eax, [ebx - 1]
cmp eax, 3
jae 0x579866
xor ecx, ecx
mov edx, 1
jmp 0x5798ba
mov esi, eax
jmp 0x57ae73
mov eax, ebx
and eax, 0xfffffffc
xor ecx, ecx
xor edx, edx
nop
mov esi, dword [ebp + edx*4 + 0x274]
add esi, ecx
mov dword [ebp + edx*4 + 0x2ac], ecx
mov ecx, dword [ebp + edx*4 + 0x278]
add ecx, esi
mov dword [ebp + edx*4 + 0x2b0], esi
mov esi, dword [ebp + edx*4 + 0x27c]
add esi, ecx
mov dword [ebp + edx*4 + 0x2b4], ecx
mov ecx, dword [ebp + edx*4 + 0x280]
add ecx, esi
mov dword [ebp + edx*4 + 0x2b8], esi
add edx, 4
cmp eax, edx
jne 0x579870
add edx, 1
mov eax, ecx
test bl, 3
je 0x5798f2
lea edx, [edx*4 + 0x2a8]
add edx, ebp
mov esi, dword [esp + 0x24]
and esi, 3
xor edi, edi
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [edx + edi*4 - 0x38]
add eax, ecx
mov dword [edx + edi*4], ecx
add edi, 1
mov ecx, eax
cmp esi, edi
jne 0x5798e0
mov dword [ebp + 0x2a8], eax
mov dword [ebp + ebx*4 + 0x2ac], eax
mov ecx, dword [esp + 0xb0]
test ecx, ecx
mov dword [esp + 0x1c], ebx
mov edi, dword [esp]
mov esi, dword [esp + 0xc]
je 0x5799b0
xor eax, eax
cmp ecx, 1
je 0x579987
mov edx, ecx
and edx, 0xfffffffe
xor eax, eax
nop word [eax + eax]
movzx esi, byte [ebp + eax + 0x3e0]
mov edi, dword [ebp + esi*4 + 0x2a8]
lea ebx, [edi + 1]
mov dword [ebp + esi*4 + 0x2a8], ebx
mov byte [ebp + edi + 0x2e0], al
movzx esi, byte [ebp + eax + 0x3e1]
mov edi, dword [ebp + esi*4 + 0x2a8]
lea ebx, [edi + 1]
mov dword [ebp + esi*4 + 0x2a8], ebx
mov ebx, eax
add bl, 1
mov byte [ebp + edi + 0x2e0], bl
add eax, 2
cmp eax, edx
jne 0x579930
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp]
mov esi, dword [esp + 0xc]
test cl, 1
je 0x5799b0
movzx ecx, byte [ebp + eax + 0x3e0]
mov edx, dword [ebp + ecx*4 + 0x2a8]
lea esi, [edx + 1]
mov dword [ebp + ecx*4 + 0x2a8], esi
mov esi, dword [esp + 0xc]
mov byte [ebp + edx + 0x2e0], al
mov dword [ebp + 0x2a8], 0
cmp esi, 2
mov eax, dword [esp + 0x20]
jb 0x57ae4c
mov edx, eax
cmp ebx, 1
jne 0x5799d7
xor ebx, ebx
mov esi, 1
jmp 0x579a37
lea eax, [ebp + 0x278]
sub edx, dword [esp + 0x10]
and ebx, 0xfffffffe
mov dword [esp + 8], ebx
xor ebx, ebx
mov esi, 0xffffffff
nop
mov edi, dword [eax - 4]
mov ebp, dword [eax]
mov ecx, edx
shl edi, cl
add edi, ebx
add cl, 1
shl ebp, cl
mov dword [eax - 0x274], ebx
mov ebx, ebp
add ebx, edi
mov dword [eax - 0x270], edi
add eax, 8
add edx, 2
mov ecx, dword [esp + 8]
add ecx, esi
add ecx, 0xfffffffe
add esi, 0xfffffffe
cmp ecx, 0xffffffff
jne 0x5799f0
neg esi
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0xd8]
mov edi, dword [esp]
mov eax, dword [esp + 0x1c]
test al, 1
je 0x579a43
mov dword [ebp + esi*4], ebx
mov ecx, dword [esp + 0x10]
add ecx, 1
mov dword [esp + 0x54], ecx
sub ecx, eax
sub edx, ecx
add edx, 1
mov dword [esp + 0x68], ecx
mov dword [esp + 0x18], edx
cmp ecx, edx
mov esi, dword [esp + 0xc]
jae 0x579ca3
cmp esi, 2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
jb 0x57ae4c
imul edx, dword [esp + 0x10], 0x34
mov ebx, dword [esp + 0x1c]
imul eax, ebx, 0xffffffcc
add eax, edx
add eax, 0x38
mov dword [esp + 0x10], eax
add edx, 0x38
mov eax, ebx
shl eax, 4
lea eax, [eax + eax*2]
sub edx, eax
mov dword [esp + 0x44], edx
lea eax, [ebp + 4]
mov dword [esp + 0x38], eax
lea eax, [ebx*4 + 4]
add eax, ebp
mov dword [esp + 0x58], eax
lea eax, [ebx - 8]
mov dword [esp + 0x40], eax
shr eax, 3
add eax, 1
mov dword [esp + 0x2c], eax
and ebx, 0xfffffff8
shr ecx, 3
add ecx, 1
and ecx, 0xfffffffe
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], ebx
lea eax, [ebx + 1]
mov dword [esp + 0x28], eax
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x14]
jmp 0x579b1f
add ecx, 1
add dword [esp + 8], 1
add edi, 0x34
mov eax, dword [esp + 4]
add eax, 0x34
add ebx, 0x34
cmp ecx, dword [esp + 0x18]
jae 0x579ca3
mov dword [esp + 4], eax
mov edx, 1
cmp dword [esp + 0x1c], 8
jb 0x579c10
imul eax, dword [esp + 8], 0x34
mov esi, dword [esp + 0x10]
add esi, eax
add esi, ebp
cmp esi, dword [esp + 0x58]
mov esi, dword [esp + 0xc]
jae 0x579b5a
add eax, dword [esp + 0x44]
add eax, ebp
cmp dword [esp + 0x38], eax
jb 0x579c10
xor edx, edx
movd xmm1, ecx
xorps xmm0, xmm0
movss xmm0, xmm1
cmp dword [esp + 0x40], 8
jb 0x579bc7
xor edx, edx
mov eax, dword [esp + 0x24]
nop word cs:[eax + eax]
nop
movdqu xmm1, xmmword [ebp + edx*4 + 4]
movdqu xmm2, xmmword [ebp + edx*4 + 0x14]
psrld xmm1, xmm0
psrld xmm2, xmm0
movdqu xmmword [edi + edx*4 - 0x30], xmm1
movdqu xmmword [edi + edx*4 - 0x20], xmm2
movdqu xmm1, xmmword [ebp + edx*4 + 0x24]
movdqu xmm2, xmmword [ebp + edx*4 + 0x34]
psrld xmm1, xmm0
psrld xmm2, xmm0
movdqu xmmword [edi + edx*4 - 0x10], xmm1
movdqu xmmword [edi + edx*4], xmm2
add edx, 0x10
add eax, 0xfffffffe
jne 0x579b80
test byte [esp + 0x2c], 1
je 0x579bf8
shl edx, 2
or edx, 4
movdqu xmm1, xmmword [ebp + edx]
movdqu xmm2, xmmword [ebp + edx + 0x10]
psrld xmm1, xmm0
psrld xmm2, xmm0
imul eax, ecx, 0x34
add eax, ebp
movdqu xmmword [edx + eax], xmm1
movdqu xmmword [edx + eax + 0x10], xmm2
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x1c], eax
je 0x579b00
nop word [eax + eax]
mov dword [esp + 0x14], ebx
mov ebx, esi
sub ebx, edx
mov eax, dword [esp + 0x1c]
sub eax, edx
test bl, 3
mov dword [esp], edi
je 0x579c51
mov bl, byte [esp + 0x5c]
sub bl, dl
movzx esi, bl
and esi, 3
mov ebx, dword [esp + 4]
nop word cs:[eax + eax]
mov edi, dword [ebp + edx*4]
shr edi, cl
mov dword [ebx + edx*4], edi
add edx, 1
add esi, 0xffffffff
jne 0x579c40
cmp eax, 3
mov edi, dword [esp]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
jb 0x579b00
nop word cs:[eax + eax]
nop
mov eax, dword [ebp + edx*4]
shr eax, cl
mov dword [ebx + edx*4 - 8], eax
mov eax, dword [ebp + edx*4 + 4]
shr eax, cl
mov dword [ebx + edx*4 - 4], eax
mov eax, dword [ebp + edx*4 + 8]
shr eax, cl
mov dword [ebx + edx*4], eax
mov eax, dword [ebp + edx*4 + 0xc]
shr eax, cl
mov dword [ebx + edx*4 + 4], eax
add edx, 4
cmp esi, edx
jne 0x579c70
jmp 0x579b00
cmp dword [esp + 0x1c], 0
mov eax, dword [esp + 0x20]
jle 0x57ae4c
mov edx, eax
lea eax, [ebp + 0x2e0]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
sub eax, edx
mov dword [esp + 0x94], eax
lea eax, [ebp + 0x2df]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xcc]
lea ecx, [eax + 0x74]
mov dword [esp + 0x60], ecx
lea ecx, [eax + 0x14]
mov dword [esp + 0x50], ecx
lea ecx, [ebp + 0x2e2]
mov dword [esp + 0x70], ecx
xorps xmm0, xmm0
lea ecx, [ebp + 0x2e4]
mov dword [esp + 0x9c], ecx
add eax, 0x34
mov dword [esp + 0x88], eax
lea eax, [ebp + 0x2ec]
mov dword [esp + 0x84], eax
mov eax, edx
mov ebx, 1
jmp 0x579d4f
mov ecx, dword [esp + 0x98]
lea ebx, [ecx + 1]
cmp dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0xd8]
je 0x57ae4c
mov ecx, dword [ebp + ebx*4 + 0x2a4]
mov dword [esp + 0x2c], ecx
mov edx, dword [ebp + ebx*4 + 0x2a8]
mov esi, dword [esp + 0x54]
sub esi, ebx
mov ecx, eax
sub ecx, esi
mov ebp, dword [ebp + ebx*4]
cmp ecx, dword [esp + 0x68]
mov dword [esp + 0x34], edx
mov dword [esp + 0x98], ebx
jae 0x579ec0
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], ebp
lea edi, [eax + ebp*4]
mov esi, 1
shl esi, cl
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov ebp, eax
add eax, ecx
add ecx, edx
mov dword [esp], ecx
lea ecx, [esi - 1]
cmp ecx, 7
ja case.0x579db7.3
jmp dword [ecx*4 + 0x6887c0]
mov ecx, edx
mov ebx, ebp
sub ecx, ebp
mov ebp, dword [esp + 0x28]
je 0x579d30
mov esi, dword [esp + 0x10]
shl esi, 0x10
add esi, 0x1000000
cmp ecx, 8
jb 0x579e08
cmp dword [esp], edi
mov dword [esp + 4], ecx
jbe 0x57ac24
mov ecx, dword [esp + 0x34]
add ecx, ebp
sub ecx, ebx
mov edx, dword [esp + 0x30]
lea ecx, [edx + ecx*4]
cmp eax, ecx
mov ecx, dword [esp + 4]
jae 0x57ac24
mov ecx, dword [esp + 0xd8]
mov ebx, esi
mov edx, dword [esp + 0x34]
add ecx, edx
sub ecx, eax
add edx, dword [esp + 0x38]
sub edx, eax
mov ebp, edx
and ecx, 7
je 0x579e42
nop word cs:[eax + eax]
movzx edx, byte [eax]
or edx, ebx
mov dword [edi], edx
add edi, 4
add eax, 1
add ecx, 0xffffffff
jne 0x579e30
cmp ebp, 7
mov ebp, dword [esp]
jb 0x579d30
xor ecx, ecx
movzx edx, byte [eax + ecx]
mov ebx, esi
or edx, esi
mov dword [edi + ecx*4], edx
movzx edx, byte [eax + ecx + 1]
or edx, esi
mov dword [edi + ecx*4 + 4], edx
movzx edx, byte [eax + ecx + 2]
or edx, esi
mov dword [edi + ecx*4 + 8], edx
movzx edx, byte [eax + ecx + 3]
or edx, esi
mov dword [edi + ecx*4 + 0xc], edx
movzx edx, byte [eax + ecx + 4]
or edx, esi
mov dword [edi + ecx*4 + 0x10], edx
movzx edx, byte [eax + ecx + 5]
or edx, esi
mov dword [edi + ecx*4 + 0x14], edx
movzx edx, byte [eax + ecx + 6]
or edx, esi
mov dword [edi + ecx*4 + 0x18], edx
movzx edx, byte [eax + ecx + 7]
or edx, esi
mov dword [edi + ecx*4 + 0x1c], edx
lea edx, [eax + ecx]
add edx, 8
add ecx, 8
cmp edx, ebp
jne 0x579e50
jmp 0x579d30
and ecx, 0x1f
mov edi, 1
mov dword [esp + 0xa8], ecx
shl edi, cl
mov eax, dword [esp + 0x94]
mov ecx, esi
add eax, esi
test eax, eax
mov esi, 1
mov dword [esp + 0x7c], eax
cmovg esi, eax
mov dword [esp + 0x80], esi
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
je 0x579d30
mov eax, ecx
shl ecx, 0x10
add ecx, 0x1000000
mov dword [esp + 0x74], ecx
imul ecx, eax, 0x34
add ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x58], ecx
lea ecx, [ecx + edx*4]
mov dword [esp + 0x6c], ecx
cmp edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], edi
jle 0x57a086
cmp dword [esp + 0x7c], 2
jl 0x579d30
mov eax, dword [esp + 0x60]
lea eax, [eax + ebp*4]
lea ecx, [edi*4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
lea edx, [ecx + ebp*4]
mov ecx, dword [esp + 0x30]
lea esi, [ecx + ebp*4]
jmp 0x579f9f
mov dword [ecx], ebp
mov dword [ecx + 4], ebp
add ecx, 8
mov dword [ecx], ebp
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x28]
add ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
add ebx, 1
mov ecx, dword [esp]
add eax, ecx
add edx, ecx
add esi, ecx
cmp ebx, dword [esp + 0x34]
je 0x579d30
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ebp
lea ecx, [ecx + ebp*4]
mov edi, dword [esp + 0x24]
movzx ebp, byte [edi + ebx]
or ebp, dword [esp + 0x74]
mov edi, 1
imul ebp, edi
mov edi, dword [esp + 0x3c]
cmp edi, 2
mov dword [esp + 0x2c], ebx
je 0x579f78
cmp edi, 4
je 0x579f70
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx]
test ecx, ecx
jle 0x579f7d
add ecx, 0xffffffff
mov ebx, ecx
mov dword [esp + 4], ecx
shr ebx, 3
add ebx, 1
mov edi, ebx
and edi, 3
xor ecx, ecx
movd xmm1, ebp
cmp dword [esp + 4], 0x18
jb 0x57a047
and ebx, 0xfffffffc
movdqa xmm2, xmm1
punpckldq xmm2, xmm1
pshufd xmm2, xmm2, 0x44
xor ecx, ecx
nop dword [eax]
movdqu xmmword [eax + ecx*4 - 0x70], xmm2
movdqu xmmword [eax + ecx*4 - 0x60], xmm2
movdqu xmmword [eax + ecx*4 - 0x50], xmm2
movdqu xmmword [eax + ecx*4 - 0x40], xmm2
movdqu xmmword [eax + ecx*4 - 0x30], xmm2
movdqu xmmword [eax + ecx*4 - 0x20], xmm2
movdqu xmmword [eax + ecx*4 - 0x10], xmm2
movdqu xmmword [eax + ecx*4], xmm2
add ecx, 0x20
add ebx, 0xfffffffc
jne 0x57a010
test edi, edi
je 0x579f7d
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
lea ebx, [edx + ecx*4]
lea ecx, [esi + ecx*4]
shl edi, 5
xor ebp, ebp
nop word cs:[eax + eax]
nop dword [eax]
movdqu xmmword [ecx + ebp], xmm1
movdqu xmmword [ebx + ebp], xmm1
add ebp, 0x20
cmp edi, ebp
jne 0x57a070
jmp 0x579f7d
add eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
lea eax, [ebp + 1]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x60]
lea eax, [eax + ebp*4]
mov dword [esp + 0x78], eax
lea eax, [edi*4]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x50]
lea eax, [eax + ebp*4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
lea eax, [eax + ebp*4]
mov dword [esp + 0x40], eax
xor ecx, ecx
jmp 0x57a106
mov ebp, dword [esp + 0x28]
add ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
add ebx, 1
mov ecx, dword [esp + 0xac]
add ecx, 1
mov eax, dword [esp + 0xa0]
add dword [esp + 0x78], eax
add dword [esp + 0x48], eax
add dword [esp + 0x40], eax
cmp ebx, dword [esp + 0x34]
je 0x579d30
mov dword [esp + 0xac], ecx
mov eax, ecx
mov ecx, dword [esp + 0xa8]
shl eax, cl
add eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + ebp*4]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x2c], ebx
movzx ecx, byte [ecx + ebx]
mov dword [esp + 8], ecx
cmp dword [esp + 0x7c], 2
jl 0x57a178
mov edi, dword [esp + 0x74]
or edi, dword [esp + 8]
mov ecx, 1
imul edi, ecx
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x3c], 2
je 0x57a173
cmp dword [esp + 0x3c], 4
jne 0x57a881
mov ecx, dword [esp + 0x44]
mov dword [ecx], edi
mov dword [ecx + 4], edi
add ecx, 8
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [esp + 0x28], ebp
mov ecx, dword [esp + 0xcc]
lea eax, [ecx + eax*4]
mov dword [esp + 0x4c], eax
mov esi, dword [esp + 0x80]
jmp 0x57a1b1
mov ecx, dword [esp + 0x5c]
lea esi, [ecx + 1]
cmp dword [esp + 0x1c], ecx
je 0x57a0d0
mov eax, dword [esp + 0xd8]
mov edi, dword [eax + esi*4 + 0x2a4]
mov ebp, dword [eax + esi*4 + 0x2a8]
mov ebx, dword [esp + 0x10]
sub ebx, esi
mov eax, dword [esp + 0x58]
mov edx, dword [eax + esi*4]
mov ecx, dword [esp + 0x20]
mov dword [esp], ebx
sub ecx, ebx
mov eax, 1
shl eax, cl
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x18], edi
lea ecx, [ebx + edi]
mov dword [esp + 0x14], ebp
add ebx, ebp
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
lea ebx, [eax - 1]
mov eax, edx
cmp ebx, 7
mov dword [esp + 0x5c], esi
ja case.0x57a216.3
mov ebp, dword [esp + 0x44]
lea ebp, [ebp + eax*4]
jmp dword [ebx*4 + 0x6887a0]
mov ebx, dword [esp + 0x14]
mov esi, ebx
mov edi, dword [esp + 0x18]
sub esi, edi
mov edx, dword [esp]
je 0x57a1a0
shl edx, 0x10
add edx, 0x2000000
cmp esi, 8
jae 0x57a5e0
mov esi, edx
jmp 0x57a7ce
mov ebx, dword [esp + 0x14]
mov edx, ebx
mov edi, dword [esp + 0x18]
sub edx, edi
mov dword [esp + 0xc], edx
mov edx, dword [esp]
je 0x57a1a0
shl edx, 0x10
add edx, 0x2000000
mov dword [esp], edx
cmp dword [esp + 0xc], 4
jb 0x57a32d
cmp dword [esp + 4], ebp
jbe 0x57a2a0
lea edx, [eax + ebx*2]
sub edx, edi
sub edx, edi
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x4c]
lea edx, [esi + edx*4]
cmp ecx, edx
jb 0x57a32d
mov edx, dword [esp + 0xc]
and edx, 0xfffffffc
lea ebp, [ebp + edx*8]
mov esi, edx
add ecx, edx
mov edx, dword [esp]
or edx, dword [esp + 8]
movd xmm1, edx
pshufd xmm1, xmm1, 0x50
add edi, dword [esp + 0x70]
mov edx, dword [esp + 0x48]
lea eax, [edx + eax*4]
xor edx, edx
nop dword [eax]
movzx ebx, word [edi + edx - 2]
movd xmm2, ebx
movzx ebx, word [edi + edx]
movd xmm3, ebx
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm3, xmm0
punpcklwd xmm3, xmm0
pslld xmm2, 8
pslld xmm3, 8
por xmm2, xmm1
por xmm3, xmm1
pshufd xmm2, xmm2, 0x50
movdqu xmmword [eax + edx*8 - 0x10], xmm2
pshufd xmm2, xmm3, 0x50
movdqu xmmword [eax + edx*8], xmm2
add edx, 4
cmp esi, edx
jne 0x57a2d0
cmp dword [esp + 0xc], esi
mov ebx, dword [esp + 0x14]
je 0x57a1a0
mov eax, dword [esp + 0xd8]
add eax, ebx
sub eax, ecx
add ebx, dword [esp + 0x38]
sub ebx, ecx
and eax, 3
je 0x57a36b
mov esi, dword [esp + 8]
mov edi, dword [esp]
nop word [eax + eax]
movzx edx, byte [ecx]
shl edx, 8
or edx, esi
or edx, edi
mov dword [ebp], edx
mov dword [ebp + 4], edx
add ebp, 8
add ecx, 1
add eax, 0xffffffff
jne 0x57a350
cmp ebx, 3
mov edi, dword [esp + 8]
mov esi, dword [esp]
mov ebx, dword [esp + 4]
jb 0x57a1a0
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx edx, byte [ecx + eax]
shl edx, 8
or edx, edi
or edx, esi
mov dword [ebp + eax*8], edx
mov dword [ebp + eax*8 + 4], edx
movzx edx, byte [ecx + eax + 1]
shl edx, 8
or edx, edi
or edx, esi
mov dword [ebp + eax*8 + 8], edx
mov dword [ebp + eax*8 + 0xc], edx
movzx edx, byte [ecx + eax + 2]
shl edx, 8
or edx, edi
or edx, esi
mov dword [ebp + eax*8 + 0x10], edx
mov dword [ebp + eax*8 + 0x14], edx
movzx edx, byte [ecx + eax + 3]
shl edx, 8
or edx, edi
or edx, esi
mov dword [ebp + eax*8 + 0x18], edx
mov dword [ebp + eax*8 + 0x1c], edx
lea edx, [ecx + eax]
add edx, 4
add eax, 4
cmp edx, ebx
jne 0x57a390
jmp 0x57a1a0
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x14], edx
mov esi, dword [esp + 8]
mov edx, dword [esp]
je 0x57a1a0
shl edx, 0x10
add edx, 0x2000000
mov edi, dword [esp + 0xc]
lea ebp, [edi*4 - 0x20]
shl edi, 2
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], ebp
shr ebp, 5
add ebp, 1
and ebp, 7
mov edi, dword [esp + 0x40]
lea ebx, [edi + eax*4]
mov dword [esp + 0x18], ebp
shl ebp, 5
mov dword [esp], edx
jmp 0x57a462
add ecx, 1
cmp ecx, edx
mov esi, dword [esp + 8]
mov edx, dword [esp]
je 0x57a1a0
movzx eax, byte [ecx]
shl eax, 8
or eax, esi
or eax, edx
mov edi, 1
imul eax, edi
movd xmm1, eax
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
cmp dword [esp + 0x18], 0
je 0x57a4c0
xor eax, eax
nop word [eax + eax]
movdqu xmmword [ebx + eax], xmm1
movdqu xmmword [ebx + eax + 0x10], xmm1
add eax, 0x20
cmp ebp, eax
jne 0x57a490
add eax, ebx
mov edx, dword [esp + 4]
add ebx, dword [esp + 0xc]
cmp dword [esp + 0x14], 0xe0
jae 0x57a4e0
jmp 0x57a450
mov eax, ebx
mov edx, dword [esp + 4]
add ebx, dword [esp + 0xc]
cmp dword [esp + 0x14], 0xe0
jb 0x57a450
nop dword [eax + eax]
movdqu xmmword [eax], xmm1
movdqu xmmword [eax + 0x10], xmm1
movdqu xmmword [eax + 0x20], xmm1
movdqu xmmword [eax + 0x30], xmm1
movdqu xmmword [eax + 0x40], xmm1
movdqu xmmword [eax + 0x50], xmm1
movdqu xmmword [eax + 0x60], xmm1
movdqu xmmword [eax + 0x70], xmm1
movdqu xmmword [eax + 0x80], xmm1
movdqu xmmword [eax + 0x90], xmm1
movdqu xmmword [eax + 0xa0], xmm1
movdqu xmmword [eax + 0xb0], xmm1
movdqu xmmword [eax + 0xc0], xmm1
movdqu xmmword [eax + 0xd0], xmm1
movdqu xmmword [eax + 0xe0], xmm1
movdqu xmmword [eax + 0xf0], xmm1
add eax, 0x100
cmp eax, ebx
jne 0x57a4e0
jmp 0x57a450
mov ebx, dword [esp + 0x14]
mov eax, ebx
mov edi, dword [esp + 0x18]
sub eax, edi
mov edx, dword [esp]
je 0x57a1a0
shl edx, 0x10
add edx, 0x2000000
add edi, 1
test al, 1
jne 0x57a611
mov esi, edx
cmp ebx, edi
mov edi, dword [esp + 8]
mov ebx, dword [esp + 4]
jne 0x57a650
jmp 0x57a1a0
mov ebx, dword [esp + 0x14]
mov eax, ebx
mov edi, dword [esp + 0x18]
sub eax, edi
mov edx, dword [esp]
je 0x57a1a0
shl edx, 0x10
add edx, 0x2000000
add edi, 1
test al, 1
jne 0x57a6a3
mov esi, edx
cmp ebx, edi
mov edi, dword [esp + 8]
mov ebx, dword [esp + 4]
jne 0x57a6f0
jmp 0x57a1a0
mov dword [esp], edx
cmp dword [esp + 4], ebp
jbe 0x57a74d
lea edx, [eax + ebx]
sub edx, edi
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x4c]
lea edx, [esi + edx*4]
mov esi, dword [esp + 0xc]
cmp ecx, edx
jae 0x57a74d
mov esi, dword [esp]
jmp 0x57a7ce
movzx eax, byte [ecx]
shl eax, 8
add eax, dword [esp + 8]
mov esi, edx
or eax, edx
mov edx, 1
imul eax, edx
movd xmm1, eax
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
movdqu xmmword [ebp], xmm1
add ebp, 0x10
add ecx, 1
cmp ebx, edi
mov edi, dword [esp + 8]
mov ebx, dword [esp + 4]
je 0x57a1a0
nop
movzx eax, byte [ecx]
shl eax, 8
or eax, edi
or eax, esi
mov edx, 1
imul eax, edx
movd xmm1, eax
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
movdqu xmmword [ebp], xmm1
movzx eax, byte [ecx + 1]
shl eax, 8
or eax, edi
or eax, esi
imul eax, edx
movd xmm1, eax
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
movdqu xmmword [ebp + 0x10], xmm1
add ecx, 2
add ebp, 0x20
cmp ecx, ebx
jne 0x57a650
jmp 0x57a1a0
movzx eax, byte [ecx]
shl eax, 8
add eax, dword [esp + 8]
mov esi, edx
or eax, edx
mov edx, 1
imul eax, edx
movd xmm1, eax
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
movdqu xmmword [ebp], xmm1
movdqu xmmword [ebp + 0x10], xmm1
add ebp, 0x20
add ecx, 1
cmp ebx, edi
mov edi, dword [esp + 8]
mov ebx, dword [esp + 4]
je 0x57a1a0
nop word cs:[eax + eax]
movzx eax, byte [ecx]
shl eax, 8
or eax, edi
or eax, esi
mov edx, 1
imul eax, edx
movd xmm1, eax
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
movdqu xmmword [ebp], xmm1
movdqu xmmword [ebp + 0x10], xmm1
movzx eax, byte [ecx + 1]
shl eax, 8
or eax, edi
or eax, esi
imul eax, edx
movd xmm1, eax
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
movdqu xmmword [ebp + 0x20], xmm1
movdqu xmmword [ebp + 0x30], xmm1
add ecx, 2
add ebp, 0x40
cmp ecx, ebx
jne 0x57a6f0
jmp 0x57a1a0
mov ebx, esi
and ebx, 0xfffffff8
lea ebp, [ebp + ebx*4]
add ecx, ebx
mov edx, dword [esp]
or edx, dword [esp + 8]
movd xmm1, edx
pshufd xmm1, xmm1, 0
add edi, dword [esp + 0x9c]
mov edx, dword [esp + 0x48]
lea eax, [edx + eax*4]
xor edx, edx
nop dword [eax + eax]
movd xmm2, dword [edi + edx - 4]
movd xmm3, dword [edi + edx]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm3, xmm0
punpcklwd xmm3, xmm0
pslld xmm2, 8
pslld xmm3, 8
por xmm2, xmm1
por xmm3, xmm1
movdqu xmmword [eax + edx*4 - 0x10], xmm2
movdqu xmmword [eax + edx*4], xmm3
add edx, 8
cmp ebx, edx
jne 0x57a780
cmp esi, ebx
mov esi, dword [esp]
mov ebx, dword [esp + 0x14]
je 0x57a1a0
mov eax, dword [esp + 0xd8]
add eax, ebx
sub eax, ecx
add ebx, dword [esp + 0x38]
sub ebx, ecx
and eax, 3
je 0x57a817
mov edi, dword [esp + 8]
nop dword [eax + eax]
movzx edx, byte [ecx]
shl edx, 8
or edx, edi
or edx, esi
mov dword [ebp], edx
add ebp, 4
add ecx, 1
add eax, 0xffffffff
jne 0x57a7f0
cmp ebx, 3
mov ebx, dword [esp + 4]
jb 0x57a1a0
jmp 0x57a828
mov edi, dword [esp + 8]
cmp ebx, 3
mov ebx, dword [esp + 4]
jb 0x57a1a0
xor eax, eax
nop word [eax + eax]
movzx edx, byte [ecx + eax]
shl edx, 8
or edx, edi
or edx, esi
mov dword [ebp + eax*4], edx
movzx edx, byte [ecx + eax + 1]
shl edx, 8
or edx, edi
or edx, esi
mov dword [ebp + eax*4 + 4], edx
movzx edx, byte [ecx + eax + 2]
shl edx, 8
or edx, edi
or edx, esi
mov dword [ebp + eax*4 + 8], edx
movzx edx, byte [ecx + eax + 3]
shl edx, 8
or edx, edi
or edx, esi
mov dword [ebp + eax*4 + 0xc], edx
lea edx, [ecx + eax]
add edx, 4
add eax, 4
cmp edx, ebx
jne 0x57a830
jmp 0x57a1a0
mov ecx, dword [esp + 0x6c]
mov ebx, dword [ecx]
test ebx, ebx
jle 0x57a178
add ebx, 0xffffffff
mov edx, ebx
shr edx, 3
add edx, 1
mov ecx, edx
and ecx, 3
xor esi, esi
movd xmm1, edi
cmp ebx, 0x18
mov edi, dword [esp + 0x78]
jb 0x57a8f7
and edx, 0xfffffffc
movdqa xmm2, xmm1
punpckldq xmm2, xmm1
pshufd xmm2, xmm2, 0x44
xor esi, esi
movdqu xmmword [edi + esi*4 - 0x70], xmm2
movdqu xmmword [edi + esi*4 - 0x60], xmm2
movdqu xmmword [edi + esi*4 - 0x50], xmm2
movdqu xmmword [edi + esi*4 - 0x40], xmm2
movdqu xmmword [edi + esi*4 - 0x30], xmm2
movdqu xmmword [edi + esi*4 - 0x20], xmm2
movdqu xmmword [edi + esi*4 - 0x10], xmm2
movdqu xmmword [edi + esi*4], xmm2
add esi, 0x20
add edx, 0xfffffffc
jne 0x57a8c0
test ecx, ecx
je 0x57a178
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
mov edx, dword [esp + 0x48]
lea edx, [edx + esi*4]
mov edi, dword [esp + 0x40]
lea esi, [edi + esi*4]
shl ecx, 5
xor edi, edi
nop dword [eax + eax]
movdqu xmmword [esi + edi], xmm1
movdqu xmmword [edx + edi], xmm1
add edi, 0x20
cmp ecx, edi
jne 0x57a920
jmp 0x57a178
mov ecx, edx
sub ecx, ebp
je 0x579d30
mov ebx, ebp
mov ebp, dword [esp + 0x10]
shl ebp, 0x10
add ebp, 0x1000000
mov dword [esp + 0x10], ebp
cmp ecx, 4
jb 0x57ad4c
cmp dword [esp], edi
mov esi, dword [esp + 0x28]
mov dword [esp + 4], ecx
jbe 0x57acd2
lea ecx, [esi + edx*2]
mov ebp, edx
sub ecx, ebx
sub ecx, ebx
mov edx, dword [esp + 0x30]
lea ecx, [edx + ecx*4]
cmp eax, ecx
mov ecx, dword [esp + 4]
jae 0x57acd2
mov edx, ebp
jmp 0x57ad4c
cmp edx, ebp
je 0x579d30
mov edx, dword [esp + 0x10]
shl edx, 0x10
add edx, 0x1000000
mov dword [esp + 0x10], edx
lea ebx, [esi*4 - 0x20]
shl esi, 2
mov dword [esp + 4], ebx
shr ebx, 5
add ebx, 1
and ebx, 7
mov ebp, ebx
shl ebp, 5
jmp 0x57a9db
add eax, 1
cmp eax, ecx
je 0x579d30
movzx edx, byte [eax]
or edx, dword [esp + 0x10]
mov ecx, 1
imul edx, ecx
movd xmm1, edx
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
test ebx, ebx
je 0x57aa30
xor edx, edx
nop dword [eax]
movdqu xmmword [edi + edx], xmm1
movdqu xmmword [edi + edx + 0x10], xmm1
add edx, 0x20
cmp ebp, edx
jne 0x57aa00
add edx, edi
mov ecx, dword [esp]
add edi, esi
cmp dword [esp + 4], 0xe0
jae 0x57aa50
jmp 0x57a9d0
mov edx, edi
mov ecx, dword [esp]
add edi, esi
cmp dword [esp + 4], 0xe0
jb 0x57a9d0
nop word cs:[eax + eax]
nop dword [eax + eax]
movdqu xmmword [edx], xmm1
movdqu xmmword [edx + 0x10], xmm1
movdqu xmmword [edx + 0x20], xmm1
movdqu xmmword [edx + 0x30], xmm1
movdqu xmmword [edx + 0x40], xmm1
movdqu xmmword [edx + 0x50], xmm1
movdqu xmmword [edx + 0x60], xmm1
movdqu xmmword [edx + 0x70], xmm1
movdqu xmmword [edx + 0x80], xmm1
movdqu xmmword [edx + 0x90], xmm1
movdqu xmmword [edx + 0xa0], xmm1
movdqu xmmword [edx + 0xb0], xmm1
movdqu xmmword [edx + 0xc0], xmm1
movdqu xmmword [edx + 0xd0], xmm1
movdqu xmmword [edx + 0xe0], xmm1
movdqu xmmword [edx + 0xf0], xmm1
add edx, 0x100
cmp edx, edi
jne 0x57aa50
jmp 0x57a9d0
mov ecx, edx
sub ecx, ebp
je 0x579d30
mov ebx, ebp
mov ebp, edx
mov edx, dword [esp + 0x10]
shl edx, 0x10
add edx, 0x1000000
add ebx, 1
test cl, 1
mov esi, edx
je 0x57ab0f
movzx ecx, byte [eax]
or ecx, edx
mov edx, 1
imul ecx, edx
movd xmm1, ecx
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
movdqu xmmword [edi], xmm1
add edi, 0x10
add eax, 1
cmp ebp, ebx
mov ebp, dword [esp]
je 0x579d30
nop word [eax + eax]
movzx ecx, byte [eax]
mov ebx, esi
or ecx, esi
mov edx, 1
imul ecx, edx
movd xmm1, ecx
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
movdqu xmmword [edi], xmm1
movzx ecx, byte [eax + 1]
or ecx, esi
imul ecx, edx
movd xmm1, ecx
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
movdqu xmmword [edi + 0x10], xmm1
add eax, 2
add edi, 0x20
cmp eax, ebp
jne 0x57ab20
jmp 0x579d30
mov ecx, edx
sub ecx, ebp
je 0x579d30
mov ebx, ebp
mov ebp, edx
mov edx, dword [esp + 0x10]
shl edx, 0x10
add edx, 0x1000000
add ebx, 1
test cl, 1
mov esi, edx
je 0x57abb8
movzx ecx, byte [eax]
or ecx, edx
mov edx, 1
imul ecx, edx
movd xmm1, ecx
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
movdqu xmmword [edi], xmm1
movdqu xmmword [edi + 0x10], xmm1
add edi, 0x20
add eax, 1
cmp ebp, ebx
mov ebp, dword [esp]
je 0x579d30
nop word cs:[eax + eax]
nop dword [eax]
movzx ecx, byte [eax]
mov ebx, esi
or ecx, esi
mov edx, 1
imul ecx, edx
movd xmm1, ecx
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
movdqu xmmword [edi], xmm1
movdqu xmmword [edi + 0x10], xmm1
movzx ecx, byte [eax + 1]
or ecx, esi
imul ecx, edx
movd xmm1, ecx
punpckldq xmm1, xmm1
pshufd xmm1, xmm1, 0x44
movdqu xmmword [edi + 0x20], xmm1
movdqu xmmword [edi + 0x30], xmm1
add eax, 2
add edi, 0x40
cmp eax, ebp
jne 0x57abd0
jmp 0x579d30
and ecx, 0xfffffff8
movd xmm1, esi
pshufd xmm1, xmm1, 0
mov dword [esp + 0xc], ecx
lea edx, [ecx - 8]
mov ecx, edx
shr ecx, 3
add ecx, 1
test edx, edx
mov dword [esp + 8], ecx
je 0x57adf0
mov edx, ebp
mov ebp, ecx
and ebp, 0xfffffffe
mov ecx, dword [esp + 0x88]
lea ecx, [ecx + edx*4]
add ebx, dword [esp + 0x84]
mov edx, ebx
xor ebx, ebx
movd xmm2, dword [edx + ebx - 0xc]
movd xmm3, dword [edx + ebx - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm3, xmm0
punpcklwd xmm3, xmm0
por xmm2, xmm1
por xmm3, xmm1
movdqu xmmword [ecx + ebx*4 - 0x30], xmm2
movdqu xmmword [ecx + ebx*4 - 0x20], xmm3
movd xmm2, dword [edx + ebx - 4]
movd xmm3, dword [edx + ebx]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm3, xmm0
punpcklwd xmm3, xmm0
por xmm2, xmm1
por xmm3, xmm1
movdqu xmmword [ecx + ebx*4 - 0x10], xmm2
movdqu xmmword [ecx + ebx*4], xmm3
add ebx, 0x10
add ebp, 0xfffffffe
jne 0x57ac67
jmp 0x57adf2
and ecx, 0xfffffffc
lea edi, [edi + ecx*8]
add eax, ecx
movd xmm1, dword [esp + 0x10]
pshufd xmm1, xmm1, 0x50
add ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x50]
lea edx, [edx + esi*4]
mov esi, ebx
xor ebx, ebx
movzx ebp, word [esi + ebx - 2]
movd xmm2, ebp
movzx ebp, word [esi + ebx]
movd xmm3, ebp
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm3, xmm0
punpcklwd xmm3, xmm0
pshufd xmm2, xmm2, 0x50
pshufd xmm4, xmm1, 0x50
por xmm2, xmm4
movdqu xmmword [edx + ebx*8 - 0x10], xmm2
pshufd xmm2, xmm3, 0x50
por xmm2, xmm4
movdqu xmmword [edx + ebx*8], xmm2
add ebx, 4
cmp ecx, ebx
jne 0x57acf4
cmp dword [esp + 4], ecx
mov edx, dword [esp + 0x34]
je 0x579d30
mov ecx, dword [esp + 0xd8]
add ecx, edx
sub ecx, eax
add edx, dword [esp + 0x38]
sub edx, eax
and ecx, 3
je 0x57ad87
mov esi, edx
mov ebx, dword [esp + 0x10]
nop dword [eax + eax]
movzx edx, byte [eax]
or edx, ebx
mov dword [edi], edx
mov dword [edi + 4], edx
add edi, 8
add eax, 1
add ecx, 0xffffffff
jne 0x57ad70
mov edx, esi
cmp edx, 3
mov esi, dword [esp]
jb 0x579d30
xor ecx, ecx
nop word cs:[eax + eax]
nop
movzx edx, byte [eax + ecx]
mov ebx, dword [esp + 0x10]
or edx, ebx
mov dword [edi + ecx*8], edx
mov dword [edi + ecx*8 + 4], edx
movzx edx, byte [eax + ecx + 1]
or edx, ebx
mov dword [edi + ecx*8 + 8], edx
mov dword [edi + ecx*8 + 0xc], edx
movzx edx, byte [eax + ecx + 2]
or edx, ebx
mov dword [edi + ecx*8 + 0x10], edx
mov dword [edi + ecx*8 + 0x14], edx
movzx edx, byte [eax + ecx + 3]
or edx, ebx
mov dword [edi + ecx*8 + 0x18], edx
mov dword [edi + ecx*8 + 0x1c], edx
lea edx, [eax + ecx]
add edx, 4
add ecx, 4
cmp edx, esi
jne 0x57ada0
jmp 0x579d30
xor ebx, ebx
test byte [esp + 8], 1
mov edx, dword [esp + 0x34]
je 0x57ae2b
movd xmm2, dword [eax + ebx]
movd xmm3, dword [eax + ebx + 4]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm3, xmm0
punpcklwd xmm3, xmm0
por xmm2, xmm1
por xmm3, xmm1
movdqu xmmword [edi + ebx*4], xmm2
movdqu xmmword [edi + ebx*4 + 0x10], xmm3
mov ecx, dword [esp + 0xc]
cmp dword [esp + 4], ecx
je 0x579d30
add eax, ecx
lea edi, [edi + ecx*4]
mov ecx, dword [esp + 0xd8]
mov ebx, esi
jmp 0x579e15
mov edx, eax
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x64]
mov byte [eax], cl
mov byte [eax + 1], 1
mov byte [eax + 2], dl
mov ecx, dword [esp + 0x8c]
mov byte [eax + 3], cl
mov esi, dword [esp + 0x90]
mov eax, esi
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret