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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push esi
push edi
push ebx
sub esp, 0x64
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], ecx
mov edx, dword [eax]
test edx, edx
mov dword [esp + 0x4c], edx
je 0x422246
mov ecx, edx
mov edx, dword [ebp + 0x18]
mov esi, dword [edx + 0xc]
mov ebx, dword [edx + 4]
dec ebx
mov dword [esp + 0x24], esi
mov esi, dword [ecx + 0xc]
mov eax, esi
mov ecx, ebx
neg eax
imul ecx, esi
mov dword [esp + 0x10], eax
test ebx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
js 0x4216c1
lea edi, [esi - 2]
mov dword [esp + 0x20], edi
lea ebx, [esi - 3]
mov dword [esp + 0x1c], ebx
lea edx, [esi*4]
lea eax, [esi - 1]
nop dword [eax + eax]
nop dword [eax]
mov ebx, dword [esp + 0x28]
cmp dword [ebx + ecx*4], 0
jne 0x4215fc
mov ebx, edx
imul ebx, dword [esp + 0x44]
add ebx, dword [esp + 0x28]
mov dword [esp + 0x14], ebx
cmp esi, 1
mov dword [esp + 0x18], esi
jle 0x4215f1
cmp dword [ebx + edx - 4], 0
jne 0x4215f1
mov dword [esp + 0x18], eax
cmp eax, 1
jle 0x4215f1
cmp dword [ebx + eax*4 - 4], 0
jne 0x4215fc
mov ebx, dword [esp + 0x20]
cmp ebx, 1
mov dword [esp + 0x18], ebx
jle 0x4215f1
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
cmp dword [ebx + edi*4 - 4], 0
jne 0x4215fc
mov ebx, dword [esp + 0x1c]
cmp ebx, 1
mov dword [esp + 0x18], ebx
jle 0x4215f1
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
cmp dword [ebx + edi*4 - 4], 0
jne 0x4215fc
lea ebx, [esi - 4]
mov dword [esp + 0x18], ebx
cmp ebx, 1
jle 0x4215f1
mov edi, dword [esp + 0x14]
nop dword [eax]
nop dword [eax]
cmp dword [edi + ebx*4 - 4], 0
jne 0x4215fc
dec ebx
cmp ebx, 1
jg 0x4215e0
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x18], 1
je 0x4221fa
mov ebx, esi
lea edx, [esi - 2]
mov dword [esp + 0x18], edx
lea edi, [esi - 1]
imul ebx, dword [esp + 0x48]
lea eax, [esi - 3]
mov dword [esp + 0x14], eax
lea ecx, [esi*4]
mov dword [esp + 0x1c], edi
mov edx, dword [ebp + 0x14]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
cmp dword [edx + ebx*4], 0
jne 0x4216b6
mov eax, ecx
mov edi, esi
imul eax, dword [esp + 0x48]
add eax, edx
cmp esi, 1
jle 0x4216ad
cmp dword [eax + ecx - 4], 0
jne 0x4216ad
mov edi, dword [esp + 0x1c]
cmp edi, 1
jle 0x4216ad
cmp dword [eax + edi*4 - 4], 0
jne 0x4216b6
mov edi, dword [esp + 0x18]
cmp edi, 1
jle 0x4216ad
cmp dword [eax + edi*4 - 4], 0
jne 0x4216b6
mov edi, dword [esp + 0x14]
cmp edi, 1
jle 0x4216ad
cmp dword [eax + edi*4 - 4], 0
jne 0x4216b6
lea edi, [esi - 4]
cmp edi, 1
jle 0x4216ad
nop dword [eax]
cmp dword [eax + edi*4 - 4], 0
jne 0x4216b6
dec edi
cmp edi, 1
jg 0x4216a0
cmp edi, 1
je 0x42220d
cmp dword [esp + 0x48], 0
je 0x42200b
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x44]
jle 0x4219fa
cmp dword [esp + 0x24], 0
jle 0x42176c
cmp dword [esp + 0x24], 4
jl 0x42174e
mov eax, dword [esp + 0x40]
and eax, 0xf
je 0x4216fe
test al, 3
jne 0x42174e
neg eax
add eax, 0x10
shr eax, 2
lea edx, [eax + 4]
cmp edx, dword [esp + 0x24]
jg 0x42174e
mov ecx, dword [esp + 0x24]
mov edx, ecx
sub edx, eax
and edx, 3
neg edx
add edx, ecx
test eax, eax
jbe 0x42172c
mov ebx, dword [esp + 0x40]
xor ecx, ecx
mov dword [ebx + ecx*4], 0
inc ecx
cmp ecx, eax
jb 0x421720
mov ecx, dword [esp + 0x40]
pxor xmm0, xmm0
nop dword [eax + eax]
nop dword [eax]
movdqa xmmword [ecx + eax*4], xmm0
add eax, 4
cmp eax, edx
jb 0x421740
jmp 0x421750
xor edx, edx
cmp edx, dword [esp + 0x24]
jae 0x42176c
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
nop
mov dword [eax + edx*4], 0
inc edx
cmp edx, ecx
jb 0x421760
mov eax, dword [esp + 0x44]
imul eax, esi
add esi, eax
test esi, esi
jle 0x421915
cmp esi, 6
jle 0x4218af
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x28]
jae 0x4217a8
mov eax, dword [esp + 0x28]
lea edx, [esi*4]
sub eax, dword [esp + 0x3c]
cmp eax, edx
jge 0x4217c1
jmp 0x4218af
jbe 0x4218af
lea edx, [esi*4]
sub eax, dword [esp + 0x28]
cmp eax, edx
jl 0x4218af
mov ecx, dword [esp + 0x3c]
and ecx, 0xf
je 0x4217db
test cl, 3
jne 0x422220
neg ecx
add ecx, 0x10
shr ecx, 2
lea eax, [ecx + 4]
cmp esi, eax
jl 0x422220
mov eax, esi
sub eax, ecx
and eax, 3
neg eax
add eax, esi
test ecx, ecx
jbe 0x42182f
mov dword [esp + 0x10], eax
xor edx, edx
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
nop dword [eax]
mov eax, dword [edi + edx*4]
mov dword [ebx + edx*4], eax
inc edx
cmp edx, ecx
jb 0x421820
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
lea ebx, [edx + ecx*4]
test bl, 0xf
je 0x421873
mov ebx, edx
mov edx, dword [esp + 0x3c]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
nop
movdqu xmm0, xmmword [ebx + ecx*4]
movdqa xmmword [edx + ecx*4], xmm0
add ecx, 4
cmp ecx, eax
jb 0x421860
jmp 0x421891
mov ebx, edx
mov edx, dword [esp + 0x3c]
nop dword [eax]
movdqa xmm0, xmmword [ebx + ecx*4]
movdqa xmmword [edx + ecx*4], xmm0
add ecx, 4
cmp ecx, eax
jb 0x421880
cmp eax, esi
jae 0x4218ab
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
nop dword [eax]
mov edx, dword [ebx + eax*4]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, esi
jb 0x4218a0
mov eax, esi
jmp 0x421917
mov ecx, esi
shr ecx, 1
test ecx, ecx
jbe 0x422227
mov edx, dword [esp + 0x3c]
xor ebx, ebx
mov eax, dword [esp + 0x28]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov edi, dword [eax + ebx*8]
mov dword [edx + ebx*8], edi
mov edi, dword [eax + ebx*8 + 4]
mov dword [edx + ebx*8 + 4], edi
inc ebx
cmp ebx, ecx
jb 0x4218e0
lea eax, [ebx + ebx]
lea edx, [ebx + ebx + 1]
lea ecx, [edx - 1]
cmp ecx, esi
jae 0x421917
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [eax + edx*4 - 4]
mov eax, edx
mov dword [ebx + edx*4 - 4], ecx
jmp 0x421917
xor eax, eax
cmp eax, dword [esp + 0x24]
jge 0x4219ec
mov edx, dword [esp + 0x24]
sub edx, eax
mov dword [esp + 0x24], edx
cmp edx, 4
jl 0x4219ae
mov edx, dword [esp + 0x3c]
lea ecx, [edx + eax*4]
mov edx, ecx
and edx, 0xf
je 0x421953
test dl, 3
jne 0x4219ae
neg edx
add edx, 0x10
shr edx, 2
lea ebx, [edx + 4]
cmp ebx, dword [esp + 0x24]
jg 0x4219ae
mov esi, dword [esp + 0x24]
mov ebx, esi
sub ebx, edx
and ebx, 3
neg ebx
add ebx, esi
test edx, edx
jbe 0x42198c
xor esi, esi
nop dword [eax + eax]
nop dword [eax]
mov dword [ecx + esi*4], 0
inc esi
cmp esi, edx
jb 0x421980
pxor xmm0, xmm0
nop dword [eax + eax]
nop dword [eax]
nop
movdqa xmmword [ecx + edx*4], xmm0
add edx, 4
cmp edx, ebx
jb 0x4219a0
jmp 0x4219b0
xor ebx, ebx
cmp ebx, dword [esp + 0x24]
jae 0x4219ec
mov edx, dword [esp + 0x3c]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x24]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
nop
mov dword [eax + ebx*4], 0
inc ebx
cmp ebx, edx
jb 0x4219e0
mov eax, dword [esp + 0x3c]
add esp, 0x64
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x18]
mov edi, dword [eax + 0x14]
mov dword [esp + 0x1c], edi
mov ebx, dword [edx + 8]
mov dword [esp + 0x54], ebx
mov ebx, dword [eax + 0x34]
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x50], ecx
lea edx, [ebx + 2]
cmp edx, dword [eax + 0x38]
jle 0x421a25
xor ebx, ebx
jmp 0x421a33
shl ebx, 2
imul ebx, dword [esp + 0x1c]
mov dword [eax + 0x34], edx
add ebx, dword [eax + 0x3c]
mov edx, esi
imul edx, dword [esp + 0x44]
add edx, esi
test edx, edx
jle 0x421c02
cmp edx, 6
jle 0x421b9a
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x28]
jae 0x421a6f
mov eax, dword [esp + 0x28]
lea ecx, [edx*4]
sub eax, dword [esp + 0x3c]
cmp eax, ecx
jge 0x421a88
jmp 0x421b9a
jbe 0x421b9a
lea ecx, [edx*4]
sub eax, dword [esp + 0x28]
cmp eax, ecx
jl 0x421b9a
mov ecx, dword [esp + 0x3c]
and ecx, 0xf
je 0x421aa2
test cl, 3
jne 0x422233
neg ecx
add ecx, 0x10
shr ecx, 2
lea eax, [ecx + 4]
cmp edx, eax
jl 0x422233
mov eax, edx
sub eax, ecx
and eax, 3
neg eax
add eax, edx
test ecx, ecx
jbe 0x421af7
mov dword [esp + 0x10], edx
xor edi, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
nop dword [eax]
nop dword [eax]
mov eax, dword [ebx + edi*4]
mov dword [edx + edi*4], eax
inc edi
cmp edi, ecx
jb 0x421ae0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
lea edi, [edi + ecx*4]
test edi, 0xf
je 0x421b33
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
nop dword [eax]
nop dword [eax]
movdqu xmm0, xmmword [edi + ecx*4]
movdqa xmmword [ebx + ecx*4], xmm0
add ecx, 4
cmp ecx, eax
jb 0x421b20
jmp 0x421b51
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
nop
movdqa xmm0, xmmword [edi + ecx*4]
movdqa xmmword [ebx + ecx*4], xmm0
add ecx, 4
cmp ecx, eax
jb 0x421b40
mov ebx, dword [esp + 0x20]
cmp eax, edx
jae 0x421b8f
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov ecx, dword [edi + eax*4]
mov dword [ebx + eax*4], ecx
inc eax
cmp eax, edx
jb 0x421b80
mov ebx, dword [esp + 0x20]
mov edx, esi
imul edx, dword [esp + 0x44]
add edx, esi
jmp 0x421c04
shr edx, 1
test edx, edx
jbe 0x42223a
mov dword [esp + 0x20], ebx
xor eax, eax
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
nop dword [eax]
nop dword [eax]
mov edi, dword [ecx + eax*8]
mov dword [ebx + eax*8], edi
mov edi, dword [ecx + eax*8 + 4]
mov dword [ebx + eax*8 + 4], edi
inc eax
cmp eax, edx
jb 0x421bc0
mov ebx, dword [esp + 0x20]
lea edx, [eax + eax]
lea eax, [eax + eax + 1]
mov edi, esi
lea ecx, [eax - 1]
imul edi, dword [esp + 0x44]
add edi, esi
cmp ecx, edi
jae 0x421c04
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
mov ecx, dword [edx + eax*4 - 4]
mov edx, eax
mov dword [edi + eax*4 - 4], ecx
jmp 0x421c04
xor edx, edx
cmp edx, dword [esp + 0x24]
jge 0x421ccc
mov edi, dword [esp + 0x24]
sub edi, edx
cmp edi, 4
jl 0x421cb2
mov eax, dword [esp + 0x3c]
lea eax, [eax + edx*4]
mov dword [esp + 0x18], eax
and eax, 0xf
je 0x421c3d
test al, 3
jne 0x421cb2
neg eax
add eax, 0x10
shr eax, 2
lea ecx, [eax + 4]
cmp edi, ecx
jl 0x421cb2
mov ecx, edi
sub ecx, eax
and ecx, 3
neg ecx
add ecx, edi
test eax, eax
jbe 0x421c94
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
nop dword [eax + eax]
nop dword [eax]
nop
mov dword [ebx + edx*4], 0
inc edx
cmp edx, eax
jb 0x421c80
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x18]
pxor xmm0, xmm0
movdqa xmmword [ebx + eax*4], xmm0
add eax, 4
cmp eax, ecx
jb 0x421ca0
mov ebx, dword [esp + 0x20]
jmp 0x421cb4
xor ecx, ecx
cmp ecx, edi
jae 0x421ccc
mov eax, dword [esp + 0x3c]
lea eax, [eax + edx*4]
nop
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, edi
jb 0x421cc0
cmp dword [esp + 0x24], 0
jle 0x421d6c
cmp dword [esp + 0x24], 4
jl 0x421d4e
mov eax, dword [esp + 0x40]
and eax, 0xf
je 0x421cfb
test al, 3
jne 0x421d4e
neg eax
add eax, 0x10
shr eax, 2
lea edx, [eax + 4]
cmp edx, dword [esp + 0x24]
jg 0x421d4e
mov ecx, dword [esp + 0x24]
mov edx, ecx
sub edx, eax
and edx, 3
neg edx
add edx, ecx
test eax, eax
jbe 0x421d2c
mov edi, dword [esp + 0x40]
xor ecx, ecx
nop dword [eax]
mov dword [edi + ecx*4], 0
inc ecx
cmp ecx, eax
jb 0x421d20
mov ecx, dword [esp + 0x40]
pxor xmm0, xmm0
nop dword [eax + eax]
nop dword [eax]
movdqa xmmword [ecx + eax*4], xmm0
add eax, 4
cmp eax, edx
jb 0x421d40
jmp 0x421d50
xor edx, edx
cmp edx, dword [esp + 0x24]
jae 0x421d6c
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
nop
mov dword [eax + edx*4], 0
inc edx
cmp edx, ecx
jb 0x421d60
mov edx, dword [esp + 0x48]
lea ecx, [esi*4]
imul edx, ecx
mov edi, dword [esp + 0x1c]
add edx, dword [ebp + 0x14]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x4c]
lea eax, [ebx + edi*4]
mov dword [esp + 0x30], eax
call fcn.004208ac
mov edi, dword [esp + 0x44]
sub edi, dword [esp + 0x48]
js 0x421fe6
mov eax, dword [esp + 0x34]
lea edx, [edi + 1]
imul edi, eax
pxor xmm0, xmm0
mov ecx, dword [esp + 0x44]
imul ecx, eax
neg eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x3c]
add dword [esp + 0x40], edi
add edi, edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
lea edi, [edx + esi*4]
mov dword [esp + 0x28], 0
add edx, ecx
mov dword [esp + 0x38], edx
lea edx, [eax + edi]
add edx, ecx
lea eax, [eax + esi*4]
add edi, eax
lea eax, [esi - 1]
add ecx, edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ebx
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax + eax]
mov edx, esi
imul edx, edi
shl edx, 2
neg edx
mov eax, dword [esp + 0x38]
cmp dword [eax + edx], 0
jne 0x421e82
mov edx, esi
cmp esi, 1
jle 0x421e79
mov ebx, dword [esp + 0x18]
xor eax, eax
imul ebx, edi
xor ecx, ecx
mov dword [esp + 0x28], edi
add ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
nop dword [eax]
nop dword [eax]
cmp dword [ebx + ecx*4 - 4], 0
jne 0x421e71
inc eax
lea edx, [ecx + esi - 1]
dec ecx
cmp eax, edi
jb 0x421e60
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x28]
cmp edx, 1
je 0x421fe6
push dword [esp + 0x4c]
push dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
imul ebx, edi
mov eax, dword [esp + 0x40]
sub eax, ebx
push eax
mov edx, dword [esp + 0x4c]
sub edx, ebx
mov dword [esp + 0x64], edx
push edx
call dword [esp + 0x64]
add esp, 0x10
test esi, esi
jle 0x421f6c
cmp esi, 4
jl 0x421f4e
mov edx, dword [esp + 0x18]
imul edx, edi
add edx, dword [esp + 0x14]
mov ecx, edx
and ecx, 0xf
je 0x421ede
test cl, 3
jne 0x421f4e
neg ecx
add ecx, 0x10
shr ecx, 2
lea eax, [ecx + 4]
cmp esi, eax
jl 0x421f4e
mov eax, esi
sub eax, ecx
and eax, 3
neg eax
add eax, esi
test ecx, ecx
jbe 0x421f30
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x24]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax + eax]
mov dword [edx + edi*4], 0
inc edi
cmp edi, ecx
jb 0x421f20
mov edi, dword [esp + 0x28]
pxor xmm0, xmm0
nop dword [eax + eax]
nop dword [eax]
movdqa xmmword [edx + ecx*4], xmm0
add ecx, 4
cmp ecx, eax
jb 0x421f40
jmp 0x421f50
xor eax, eax
cmp eax, esi
jae 0x421f6c
mov edx, dword [esp + 0x18]
imul edx, edi
add edx, dword [esp + 0x14]
nop
mov dword [edx + eax*4], 0
inc eax
cmp eax, esi
jb 0x421f60
cmp dword [esp + 0x48], 0
jle 0x421fdb
neg ebx
xor edx, edx
add ebx, dword [esp + 0x1c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebx
mov ebx, edx
mov dword [esp + 0x28], edi
mov edi, edx
mov esi, dword [esp + 0x20]
nop dword [eax + eax]
nop dword [eax]
nop
mov ecx, dword [ebp + 0x14]
push dword [esp + 0x4c]
push dword [esp + 0x5c]
add ecx, ebx
push ecx
push esi
call dword [esp + 0x64]
push dword [esp + 0x5c]
push esi
mov ecx, dword [esp + 0x78]
add ecx, ebx
push ecx
push ecx
call dword [esp + 0x70]
add esp, 0x20
mov ecx, dword [esp + 0x5c]
inc edi
cmp edi, dword [esp + 0x48]
lea ebx, [ebx + ecx*4]
jb 0x421fa0
mov esi, ecx
mov edi, dword [esp + 0x28]
inc edi
cmp edi, dword [esp + 0x2c]
jb 0x421e20
mov ecx, dword [esp + 0x4c]
mov eax, 2
mov edx, dword [ecx + 0x34]
cmp edx, 2
cmovl eax, edx
sub edx, eax
mov dword [ecx + 0x34], edx
mov eax, dword [esp + 0x3c]
add esp, 0x64
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x422056
mov eax, esi
cmp esi, 1
jle 0x42204d
mov edx, dword [ebp + 0x14]
cmp dword [edx + esi*4 - 4], 0
jne 0x42204d
lea eax, [esi - 1]
cmp eax, 1
jle 0x42204d
mov edx, dword [ebp + 0x14]
nop dword [eax + eax]
nop dword [eax]
nop
cmp dword [edx + eax*4 - 4], 0
jne 0x422056
dec eax
cmp eax, 1
jg 0x422040
cmp eax, 1
je 0x422246
mov eax, dword [esp + 0x4c]
mov edx, dword [eax]
test edx, edx
je 0x422070
mov eax, edx
mov edx, dword [edx]
test edx, edx
je 0x422070
mov eax, edx
mov edx, dword [edx]
test edx, edx
jne 0x422060
push eax
push dword [ebp + 0x14]
push dword [esp + 0x44]
call 0x428320
add esp, 0xc
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0xc]
sub esi, eax
test esi, esi
jle 0x42212c
cmp esi, 4
jl 0x42210e
mov edx, dword [esp + 0x3c]
lea ecx, [edx + eax*4]
mov dword [esp + 0x10], ecx
and ecx, 0xf
je 0x4220bb
test cl, 3
jne 0x42210e
neg ecx
add ecx, 0x10
shr ecx, 2
lea edx, [ecx + 4]
cmp esi, edx
jl 0x42210e
mov edx, esi
sub edx, ecx
and edx, 3
neg edx
add edx, esi
test ecx, ecx
jbe 0x4220ec
mov edi, dword [esp + 0x10]
xor ebx, ebx
nop word [eax + eax]
mov dword [edi + ebx*4], 0
inc ebx
cmp ebx, ecx
jb 0x4220e0
mov ebx, dword [esp + 0x10]
pxor xmm0, xmm0
nop dword [eax + eax]
nop dword [eax]
movdqa xmmword [ebx + ecx*4], xmm0
add ecx, 4
cmp ecx, edx
jb 0x422100
jmp 0x422110
xor edx, edx
cmp edx, esi
jae 0x42212c
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + eax*4]
nop dword [eax + eax]
mov dword [eax + edx*4], 0
inc edx
cmp edx, esi
jb 0x422120
push dword [ebp + 0x18]
push dword [esp + 0x40]
push dword [esp + 0x30]
push dword [esp + 0x4c]
call 0x4282a0
add esp, 0x10
cmp dword [esp + 0x24], 0
jle 0x4221ec
cmp dword [esp + 0x24], 4
jl 0x4221ce
mov eax, dword [esp + 0x3c]
and eax, 0xf
je 0x422172
test al, 3
jne 0x4221ce
neg eax
add eax, 0x10
shr eax, 2
lea edx, [eax + 4]
cmp edx, dword [esp + 0x24]
jg 0x4221ce
mov ecx, dword [esp + 0x24]
mov edx, ecx
sub edx, eax
and edx, 3
neg edx
add edx, ecx
test eax, eax
jbe 0x4221ac
mov ebx, dword [esp + 0x3c]
xor ecx, ecx
nop dword [eax + eax]
nop dword [eax]
mov dword [ebx + ecx*4], 0
inc ecx
cmp ecx, eax
jb 0x4221a0
mov ecx, dword [esp + 0x3c]
pxor xmm0, xmm0
nop dword [eax + eax]
nop dword [eax]
movdqa xmmword [ecx + eax*4], xmm0
add eax, 4
cmp eax, edx
jb 0x4221c0
jmp 0x4221d0
xor edx, edx
cmp edx, dword [esp + 0x24]
jae 0x4221ec
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
nop
mov dword [ecx + edx*4], 0
inc edx
cmp edx, eax
jb 0x4221e0
mov eax, dword [esp + 0x3c]
add esp, 0x64
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
add ecx, dword [esp + 0x10]
dec dword [esp + 0x44]
jns 0x421540
jmp 0x4215fc
add ebx, dword [esp + 0x10]
dec dword [esp + 0x48]
jns 0x421640
jmp 0x4216c1
xor eax, eax
jmp 0x421891
xor eax, eax
mov edx, 1
jmp 0x4218fa
xor eax, eax
jmp 0x421b55
xor edx, edx
mov eax, 1
jmp 0x421bde
xor eax, eax
add esp, 0x64
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret