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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x303328c0]
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x88c98]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x88c9c]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x48], eax
test byte [edi + 0xc], 7
mov dword [esp + 0x40], edx
je 0x3023cbd5
cmp dword [esi + 0x18], 2
je 0x3023dfcb
mov ecx, 3
movd mm1, ecx
movq mm0, mm1
movq mm2, mm0
punpckldq mm2, mm0
movq mm0, mm2
movq qword [edx + 0x10], mm0
movq qword [edx + 0x18], mm0
movq qword [edx + 0x20], mm0
movq qword [edx + 0x28], mm0
movq qword [edx + 0x30], mm0
movq qword [edx + 0x38], mm0
movq mm0, mm1
punpckldq mm0, mm1
movq qword [edx + 0x60], mm0
movq qword [edx + 0x68], mm0
movq qword [edx + 0x70], mm0
movq qword [edx + 0x78], mm0
movq qword [edx + 0x80], mm0
movq qword [edx + 0x88], mm0
mov eax, dword [esi + 0x88c9c]
lea edi, [eax + 0x128]
add esi, 0x88988
mov ebx, ecx
mov edx, dword [esi]
mov ecx, dword [edx + 0xc]
mov eax, edi
mov edx, 3
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax - 4], ecx
mov dword [eax - 8], ecx
mov dword [eax - 0xec], ecx
mov dword [eax - 0xf0], ecx
mov dword [eax - 0xf4], ecx
mov dword [eax - 0xf8], ecx
add eax, 0x30
dec edx
jne 0x3023cb93
add esi, 4
add edi, 0x10
dec ebx
jne 0x3023cb87
mov ecx, dword [esp + 0x4c]
call fcn.3028e0e3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi + 0x18]
xor eax, eax
cmp ebx, 1
sete al
mov ebx, dword [esi + 0x20]
mov ecx, dword [esi + 0x7660]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov edi, dword [esi + 0xc4]
and eax, 0xf
mov dword [esp + 0x3c], eax
xor eax, eax
mov al, byte [esi + 0x11c]
and eax, 1
or eax, ebx
mov ebx, 2
sub ebx, eax
mov eax, dword [esp + 0x3c]
shl ebx, 1
test eax, eax
mov dword [esp + 0x24], ebx
je 0x3023cdfa
mov eax, dword [ecx]
mov esi, eax
and esi, 0xffff
neg esi
sbb esi, esi
neg esi
shl esi, 1
mov dword [edx + 0x10], esi
mov esi, eax
and esi, 0xffff00
neg esi
sbb esi, esi
neg esi
shl esi, 1
mov dword [edx + 0x20], esi
mov esi, eax
and esi, 0xffff0000
neg esi
sbb esi, esi
neg esi
shl esi, 1
mov dword [edx + 0x30], esi
lea esi, [edi + edi]
or eax, dword [esi + ecx]
mov ebx, eax
neg bl
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x60], ebx
mov ebx, eax
and ebx, 0xff00
neg ebx
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x64], ebx
mov ebx, eax
and ebx, 0xff0000
neg ebx
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x68], ebx
and eax, 0xff000000
neg eax
sbb eax, eax
neg eax
shl eax, 1
mov dword [edx + 0x6c], eax
mov eax, dword [esi + ecx]
mov ebx, eax
and ebx, 0xffff
neg ebx
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x14], ebx
mov ebx, eax
and ebx, 0xffff00
neg ebx
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x24], ebx
mov ebx, eax
and ebx, 0xffff0000
neg ebx
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x34], ebx
or eax, dword [ecx + esi*2]
mov ebx, eax
neg bl
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x70], ebx
mov ebx, eax
and ebx, 0xff00
neg ebx
sbb ebx, ebx
neg ebx
shl ebx, 1
mov dword [edx + 0x74], ebx
mov ebx, eax
and ebx, 0xff0000
neg ebx
sbb ebx, ebx
and eax, 0xff000000
neg ebx
shl ebx, 1
neg eax
sbb eax, eax
neg eax
shl eax, 1
mov dword [edx + 0x7c], eax
mov dword [edx + 0x78], ebx
mov eax, dword [ecx + esi*2]
mov esi, eax
and esi, 0xffff
neg esi
sbb esi, esi
neg esi
shl esi, 1
mov dword [edx + 0x18], esi
mov esi, eax
and esi, 0xffff00
neg esi
sbb esi, esi
neg esi
shl esi, 1
mov dword [edx + 0x28], esi
mov esi, eax
and esi, 0xffff0000
neg esi
sbb esi, esi
neg esi
shl esi, 1
mov dword [edx + 0x38], esi
lea esi, [edi + edi*2]
lea esi, [ecx + esi*2]
or eax, dword [esi]
mov ecx, eax
neg cl
sbb ecx, ecx
neg ecx
shl ecx, 1
mov dword [edx + 0x80], ecx
mov ecx, eax
and ecx, 0xff00
neg ecx
sbb ecx, ecx
neg ecx
shl ecx, 1
mov dword [edx + 0x84], ecx
mov ecx, eax
and ecx, 0xff0000
neg ecx
sbb ecx, ecx
neg ecx
shl ecx, 1
and eax, 0xff000000
neg eax
sbb eax, eax
mov dword [edx + 0x88], ecx
neg eax
shl eax, 1
mov dword [edx + 0x8c], eax
mov eax, dword [esi]
mov ecx, eax
and ecx, 0xffff
neg ecx
sbb ecx, ecx
neg ecx
shl ecx, 1
mov dword [edx + 0x1c], ecx
mov ecx, eax
mov ebx, dword [esp + 0x24]
mov esi, dword [ebp + 8]
and ecx, 0xffff00
neg ecx
sbb ecx, ecx
neg ecx
and eax, 0xffff0000
shl ecx, 1
neg eax
sbb eax, eax
neg eax
shl eax, 1
mov dword [edx + 0x2c], ecx
mov dword [edx + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
test al, 0x10
mov ecx, dword [esp + 0x20]
je 0x3023cfd6
lea eax, [edi*4]
mov edi, dword [esi + 0x7670]
mov dword [esp + 0x10], edi
mov edi, dword [esi + 0x7674]
mov esi, 1
test esi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
jl 0x3023cf8f
mov ecx, dword [esp + 0x10]
mov cl, byte [ecx]
mov byte [esp + 0xf], cl
mov ecx, dword [esp + 0x10]
add ecx, eax
lea eax, [edi + eax*4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
jmp 0x3023ce60
mov ecx, dword [esp + 0x28]
mov al, byte [esp + 0xf]
cmp al, byte [ecx]
jne 0x3023cf51
mov eax, dword [esp + 0x20]
test eax, eax
je 0x3023cea6
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x10]
sete cl
imul ecx, ecx, 0x360
add ecx, eax
mov al, byte [eax + 0x360]
cmp al, byte [ecx + ebx]
mov ebx, dword [esp + 0x24]
jne 0x3023cf51
mov al, byte [esp + 0xf]
test al, al
jl 0x3023ceeb
mov eax, dword [esp + 0x30]
movsx ecx, word [edi]
movsx esi, word [eax]
sub ecx, esi
add ecx, 3
cmp ecx, 7
jb 0x3023cecc
mov esi, 1
jmp 0x3023cf51
movsx eax, word [eax + 2]
movsx ecx, word [edi + 2]
sub ecx, eax
lea ecx, [ecx + ebx - 1]
lea eax, [ebx + ebx - 1]
cmp ecx, eax
jb 0x3023cee9
mov esi, 1
jmp 0x3023cf51
xor esi, esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x3023cf51
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x360]
test al, al
jl 0x3023cf51
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
xor eax, eax
test ecx, ecx
sete al
imul eax, eax, 0x360
add eax, esi
movsx ecx, word [edi + eax*4]
movsx esi, word [edi + 0xd80]
lea eax, [edi + eax*4]
sub esi, ecx
add esi, 3
cmp esi, 7
jb 0x3023cf37
mov esi, 1
jmp 0x3023cf51
movsx eax, word [eax + 2]
movsx ecx, word [edi + 0xd82]
sub ecx, eax
lea eax, [ecx + ebx - 1]
lea ecx, [ebx + ebx - 1]
cmp eax, ecx
sbb esi, esi
inc esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
add ecx, 0xd80
add eax, 0x360
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, esi
and eax, ecx
cmp dword [esp + 0x14], eax
jle 0x3023ce60
test esi, esi
je 0x3023deee
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov eax, 1
jne 0x3023cfad
mov dword [edx + 0x7c], eax
mov dword [edx + 0x78], eax
mov dword [edx + 0x74], eax
mov dword [edx + 0x70], eax
jmp 0x3023def6
mov ecx, dword [edx + 0x70]
mov eax, dword [edx + 0x74]
sar ecx, 1
inc ecx
sar eax, 1
inc eax
mov dword [edx + 0x70], ecx
mov ecx, dword [edx + 0x78]
mov dword [edx + 0x74], eax
mov eax, dword [edx + 0x7c]
sar ecx, 1
inc ecx
sar eax, 1
inc eax
mov dword [edx + 0x78], ecx
mov dword [edx + 0x7c], eax
jmp 0x3023deee
test al, 0x20
je 0x3023d18d
mov eax, dword [esi + 0x7670]
mov edi, dword [esi + 0x7674]
mov esi, 1
test esi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], 0
jl 0x3023d146
mov cl, byte [eax]
mov byte [esp + 0xf], cl
lea ecx, [edi + 8]
add eax, 2
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], eax
jmp 0x3023d020
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x10]
cmp al, byte [ecx]
jne 0x3023d108
mov eax, dword [esp + 0x20]
test eax, eax
je 0x3023d061
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
xor eax, eax
test ecx, ecx
mov cl, byte [edi + 0x360]
sete al
imul eax, eax, 0x360
cmp cl, byte [eax + edi + 2]
mov edi, dword [esp + 0x2c]
jne 0x3023d108
mov al, byte [esp + 0xf]
test al, al
jl 0x3023d0a6
mov eax, dword [esp + 0x30]
movsx ecx, word [edi]
movsx esi, word [eax]
sub ecx, esi
add ecx, 3
cmp ecx, 7
jb 0x3023d087
mov esi, 1
jmp 0x3023d108
movsx eax, word [eax + 2]
movsx ecx, word [edi + 2]
sub ecx, eax
lea ecx, [ecx + ebx - 1]
lea eax, [ebx + ebx - 1]
cmp ecx, eax
jb 0x3023d0a4
mov esi, 1
jmp 0x3023d108
xor esi, esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x3023d108
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 0x360]
test al, al
jl 0x3023d108
mov esi, dword [esp + 0x14]
xor eax, eax
test esi, esi
movsx esi, word [edi + 0xd80]
sete al
imul eax, eax, 0xd80
movsx ecx, word [eax + edi + 8]
lea eax, [eax + edi + 8]
sub esi, ecx
add esi, 3
cmp esi, 7
jb 0x3023d0ee
mov esi, 1
jmp 0x3023d108
movsx eax, word [eax + 2]
movsx ecx, word [edi + 0xd82]
sub ecx, eax
lea eax, [ecx + ebx - 1]
lea ecx, [ebx + ebx - 1]
cmp eax, ecx
sbb esi, esi
inc esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
add ecx, 0x360
add eax, 0xd80
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, esi
and eax, ecx
cmp dword [esp + 0x14], eax
jle 0x3023d020
test esi, esi
je 0x3023deee
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov eax, 1
jne 0x3023d164
mov dword [edx + 0x2c], eax
mov dword [edx + 0x28], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x20], eax
jmp 0x3023def6
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x24]
sar ecx, 1
inc ecx
sar eax, 1
inc eax
mov dword [edx + 0x20], ecx
mov ecx, dword [edx + 0x28]
mov dword [edx + 0x24], eax
mov eax, dword [edx + 0x2c]
sar ecx, 1
inc ecx
sar eax, 1
inc eax
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], eax
jmp 0x3023deee
test al, 0x40
je 0x3023deee
test eax, 0x1000000
jne 0x3023d877
mov esi, dword [ebp + 8]
mov al, byte [esi + 0xde]
and al, byte [esi + 0xdc]
and al, byte [esi + 0xda]
and al, byte [esi + 0xd8]
test al, 8
jne 0x3023d877
mov ecx, dword [esi + 0x18]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x28], eax
jne 0x3023d4de
lea esi, [edi*8]
mov dword [esp + 0x18], esi
lea esi, [edi + edi]
mov dword [esp + 0x34], esi
lea esi, [edx + 0x64]
mov dword [esp + 0x24], esi
xor ecx, ecx
lea esi, [edx + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
mov edi, edi
mov edi, dword [ebp + 8]
mov edi, dword [edi + 0x7670]
add edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x7674]
add eax, ecx
mov ecx, dword [esi - 0x10]
test ecx, ecx
jne 0x3023d265
movsx ecx, byte [edi + 1]
movsx esi, byte [edi]
sub esi, ecx
je 0x3023d22f
mov ecx, 1
jmp 0x3023d25e
movsx ecx, word [eax]
movsx esi, word [eax + 4]
sub ecx, esi
add ecx, 3
cmp ecx, 7
jb 0x3023d247
mov ecx, 1
jmp 0x3023d25e
movsx esi, word [eax + 6]
movsx ecx, word [eax + 2]
sub ecx, esi
lea ecx, [ecx + ebx - 1]
lea esi, [ebx + ebx - 1]
cmp ecx, esi
sbb ecx, ecx
inc ecx
mov esi, dword [esp + 0x14]
mov dword [esi - 0x10], ecx
cmp dword [esi], 0
jne 0x3023d2b3
movsx ecx, byte [edi + 2]
movsx esi, byte [edi + 1]
sub esi, ecx
je 0x3023d27d
mov ecx, 1
jmp 0x3023d2ad
movsx ecx, word [eax + 4]
movsx esi, word [eax + 8]
sub ecx, esi
add ecx, 3
cmp ecx, 7
jb 0x3023d296
mov ecx, 1
jmp 0x3023d2ad
movsx esi, word [eax + 0xa]
movsx ecx, word [eax + 6]
sub ecx, esi
lea ecx, [ecx + ebx - 1]
lea esi, [ebx + ebx - 1]
cmp ecx, esi
sbb ecx, ecx
inc ecx
mov esi, dword [esp + 0x14]
mov dword [esi], ecx
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x3023d304
movsx ecx, byte [edi + 3]
movsx esi, byte [edi + 2]
sub esi, ecx
je 0x3023d2cd
mov ecx, 1
jmp 0x3023d2fd
movsx ecx, word [eax + 0xc]
movsx esi, word [eax + 8]
sub esi, ecx
add esi, 3
cmp esi, 7
jb 0x3023d2e6
mov ecx, 1
jmp 0x3023d2fd
movsx ecx, word [eax + 0xe]
movsx esi, word [eax + 0xa]
sub esi, ecx
lea ecx, [esi + ebx - 1]
lea esi, [ebx + ebx - 1]
cmp ecx, esi
sbb ecx, ecx
inc ecx
mov esi, dword [esp + 0x14]
mov dword [esi + 0x10], ecx
cmp dword [esp + 0x28], 3
jge 0x3023d49b
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx - 4]
test esi, esi
jne 0x3023d36f
mov ecx, dword [esp + 0x34]
movsx ecx, byte [ecx + edi]
movsx esi, byte [edi]
sub esi, ecx
je 0x3023d330
mov ecx, 1
jmp 0x3023d368
mov ecx, dword [esp + 0x18]
movsx ecx, word [ecx + eax]
movsx esi, word [eax]
sub esi, ecx
add esi, 3
cmp esi, 7
jb 0x3023d34c
mov ecx, 1
jmp 0x3023d368
mov ecx, dword [esp + 0x18]
movsx ecx, word [ecx + eax + 2]
movsx esi, word [eax + 2]
sub esi, ecx
lea ecx, [esi + ebx - 1]
lea esi, [ebx + ebx - 1]
cmp ecx, esi
sbb ecx, ecx
inc ecx
mov esi, dword [esp + 0x24]
mov dword [esi - 4], ecx
mov ecx, dword [esp + 0x24]
cmp dword [ecx], 0
jne 0x3023d3d0
mov ecx, dword [esp + 0x34]
movsx ecx, byte [ecx + edi + 1]
movsx esi, byte [edi + 1]
sub esi, ecx
je 0x3023d390
mov ecx, 1
jmp 0x3023d3ca
mov esi, dword [esp + 0x18]
movsx ecx, word [eax + 4]
movsx esi, word [esi + eax + 4]
sub ecx, esi
add ecx, 3
cmp ecx, 7
jb 0x3023d3ae
mov ecx, 1
jmp 0x3023d3ca
mov esi, dword [esp + 0x18]
movsx esi, word [esi + eax + 6]
movsx ecx, word [eax + 6]
sub ecx, esi
lea ecx, [ecx + ebx - 1]
lea esi, [ebx + ebx - 1]
cmp ecx, esi
sbb ecx, ecx
inc ecx
mov esi, dword [esp + 0x24]
mov dword [esi], ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 4]
test esi, esi
jne 0x3023d434
mov ecx, dword [esp + 0x34]
movsx ecx, byte [ecx + edi + 2]
movsx esi, byte [edi + 2]
sub esi, ecx
je 0x3023d3f3
mov ecx, 1
jmp 0x3023d42d
mov esi, dword [esp + 0x18]
movsx ecx, word [eax + 8]
movsx esi, word [esi + eax + 8]
sub ecx, esi
add ecx, 3
cmp ecx, 7
jb 0x3023d411
mov ecx, 1
jmp 0x3023d42d
mov esi, dword [esp + 0x18]
movsx esi, word [esi + eax + 0xa]
movsx ecx, word [eax + 0xa]
sub ecx, esi
lea ecx, [ecx + ebx - 1]
lea esi, [ebx + ebx - 1]
cmp ecx, esi
sbb ecx, ecx
inc ecx
mov esi, dword [esp + 0x24]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 8]
test esi, esi
jne 0x3023d497
mov ecx, dword [esp + 0x34]
movsx ecx, byte [ecx + edi + 3]
movsx esi, byte [edi + 3]
sub esi, ecx
je 0x3023d457
mov eax, 1
jmp 0x3023d490
mov ecx, dword [esp + 0x18]
movsx esi, word [eax + 0xc]
movsx edi, word [ecx + eax + 0xc]
lea ecx, [ecx + eax + 0xc]
sub esi, edi
add esi, 3
cmp esi, 7
jb 0x3023d479
mov eax, 1
jmp 0x3023d490
movsx eax, word [eax + 0xe]
movsx ecx, word [ecx + 2]
sub eax, ecx
lea eax, [eax + ebx - 1]
lea ecx, [ebx + ebx - 1]
cmp eax, ecx
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x24]
mov dword [ecx + 8], eax
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x2c]
add ecx, edi
add dword [esp + 0x24], 0x10
mov edi, dword [esp + 0x28]
add esi, 4
cmp edi, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
jl 0x3023d200
jmp 0x3023deee
lea ecx, [edi + edi]
mov dword [esp + 0x34], ecx
lea ecx, [edx + 0x60]
mov dword [esp + 0x2c], ecx
lea ecx, [edx + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], ecx
jmp 0x3023d500
mov ecx, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
mov edi, edi
mov ecx, dword [esp + 0x10]
cmp dword [ecx], 0
jne 0x3023d676
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x7670]
mov esi, dword [esi + 0x7674]
add eax, ebx
add ecx, eax
lea esi, [esi + eax*4]
mov eax, 1
xor edi, edi
test dword [esp + 0x20], eax
jl 0x3023d66c
mov dl, byte [ecx]
mov byte [esp + 0xf], dl
lea edx, [esi + 4]
mov dword [esp + 0x18], edx
lea edx, [ecx + 1]
mov dword [esp + 0x30], edx
jmp 0x3023d560
mov dl, byte [esp + 0xf]
mov ebx, dword [esp + 0x30]
cmp dl, byte [ebx]
jne 0x3023d637
mov edx, dword [esp + 0x20]
test edx, edx
je 0x3023d595
mov bl, byte [ecx + 0x360]
xor edx, edx
test edi, edi
sete dl
imul edx, edx, 0x360
cmp bl, byte [edx + ecx + 1]
jne 0x3023d637
mov dl, byte [esp + 0xf]
test dl, dl
jl 0x3023d5db
mov eax, dword [esp + 0x18]
movsx edx, word [eax]
movsx ebx, word [esi]
sub ebx, edx
add ebx, 3
cmp ebx, 7
jb 0x3023d5b8
mov eax, 1
jmp 0x3023d637
movsx eax, word [eax + 2]
movsx edx, word [esi + 2]
sub edx, eax
mov eax, dword [esp + 0x24]
lea edx, [edx + eax - 1]
lea eax, [eax + eax - 1]
cmp edx, eax
jb 0x3023d5d9
mov eax, 1
jmp 0x3023d637
xor eax, eax
mov edx, dword [esp + 0x20]
test edx, edx
je 0x3023d637
mov dl, byte [ecx + 0x360]
test dl, dl
jl 0x3023d637
movsx ebx, word [esi + 0xd80]
xor edx, edx
test edi, edi
sete dl
imul edx, edx, 0xd80
lea eax, [edx + esi + 4]
movsx edx, word [eax]
sub ebx, edx
add ebx, 3
cmp ebx, 7
jb 0x3023d619
mov eax, 1
jmp 0x3023d637
movsx eax, word [eax + 2]
movsx edx, word [esi + 0xd82]
sub edx, eax
mov eax, dword [esp + 0x24]
lea edx, [edx + eax - 1]
lea eax, [eax + eax - 1]
cmp edx, eax
sbb eax, eax
inc eax
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
add edx, 0xd80
add ebx, 0x360
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x20]
mov edx, eax
inc edi
and edx, ebx
cmp edi, edx
jle 0x3023d560
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
inc ebx
add esi, 0x10
cmp ebx, 3
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
jl 0x3023d510
cmp dword [esp + 0x28], 3
jge 0x3023d840
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
jmp 0x3023d6b0
mov ecx, dword [esp + 0x10]
cmp dword [ecx], 0
jne 0x3023d827
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x7670]
mov esi, dword [esi + 0x7674]
add eax, ebx
add ecx, eax
lea esi, [esi + eax*4]
mov eax, 1
xor edi, edi
test dword [esp + 0x20], eax
mov dword [esp + 0x44], ecx
jl 0x3023d81d
mov dl, byte [ecx]
mov byte [esp + 0xf], dl
mov edx, dword [esp + 0x34]
lea ebx, [ecx + edx]
lea edx, [esi + edx*4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], edx
mov dl, byte [esp + 0xf]
mov ebx, dword [esp + 0x18]
cmp dl, byte [ebx]
jne 0x3023d7e8
mov edx, dword [esp + 0x20]
test edx, edx
je 0x3023d73e
mov ebx, dword [esp + 0x34]
xor edx, edx
test edi, edi
sete dl
imul edx, edx, 0x360
add edx, ecx
mov cl, byte [ecx + 0x360]
cmp cl, byte [edx + ebx]
mov ecx, dword [esp + 0x44]
jne 0x3023d7e8
mov dl, byte [esp + 0xf]
test dl, dl
jl 0x3023d787
mov eax, dword [esp + 0x30]
movsx edx, word [esi]
movsx ebx, word [eax]
sub edx, ebx
add edx, 3
cmp edx, 7
jb 0x3023d764
mov eax, 1
jmp 0x3023d7e8
movsx eax, word [eax + 2]
movsx edx, word [esi + 2]
sub edx, eax
mov eax, dword [esp + 0x24]
lea edx, [edx + eax - 1]
lea eax, [eax + eax - 1]
cmp edx, eax
jb 0x3023d785
mov eax, 1
jmp 0x3023d7e8
xor eax, eax
mov edx, dword [esp + 0x20]
test edx, edx
je 0x3023d7e8
mov dl, byte [ecx + 0x360]
test dl, dl
jl 0x3023d7e8
mov ebx, dword [esp + 0x34]
xor edx, edx
test edi, edi
sete dl
imul edx, edx, 0x360
add edx, ebx
movsx ebx, word [esi + 0xd80]
lea eax, [esi + edx*4]
movsx edx, word [eax]
sub ebx, edx
add ebx, 3
cmp ebx, 7
jb 0x3023d7ca
mov eax, 1
jmp 0x3023d7e8
movsx eax, word [eax + 2]
movsx edx, word [esi + 0xd82]
sub edx, eax
mov eax, dword [esp + 0x24]
lea edx, [edx + eax - 1]
lea eax, [eax + eax - 1]
cmp edx, eax
sbb eax, eax
inc eax
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
add edx, 0x360
add ebx, 0xd80
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x20]
mov edx, eax
inc edi
and edx, ebx
cmp edi, edx
jle 0x3023d700
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
inc ebx
add esi, 4
cmp ebx, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
jl 0x3023d6b0
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
inc ecx
add esi, 4
add ebx, 0x10
add eax, edi
cmp ecx, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], eax
jl 0x3023d500
jmp 0x3023deee
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7670]
mov esi, dword [esi + 0x7674]
and ecx, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x38], ecx
jl 0x3023d9fd
mov cl, byte [eax]
mov byte [esp + 0xf], cl
lea ecx, [esi + 8]
add eax, 2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
jmp 0x3023d8c0
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x1c]
cmp al, byte [ecx]
jne 0x3023d9c1
mov eax, dword [esp + 0x20]
test eax, eax
je 0x3023d901
mov eax, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x28]
mov bl, byte [eax + 0x360]
sete cl
imul ecx, ecx, 0x360
cmp bl, byte [ecx + eax + 2]
mov ebx, dword [esp + 0x24]
jne 0x3023d9c1
mov al, byte [esp + 0xf]
test al, al
jl 0x3023d956
mov ecx, dword [esp + 0x10]
movsx eax, word [esi]
movsx ecx, word [ecx]
sub eax, ecx
add eax, 3
cmp eax, 7
jb 0x3023d92a
mov dword [esp + 0x34], 1
jmp 0x3023d9c1
mov ecx, dword [esp + 0x10]
movsx ecx, word [ecx + 2]
movsx eax, word [esi + 2]
sub eax, ecx
lea eax, [eax + ebx - 1]
lea ecx, [ebx + ebx - 1]
cmp eax, ecx
jb 0x3023d94e
mov dword [esp + 0x34], 1
jmp 0x3023d9c1
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x3023d9c1
mov eax, dword [esp + 0x28]
mov cl, byte [eax + 0x360]
test cl, cl
jl 0x3023d9c1
mov ebx, dword [esp + 0x14]
xor ecx, ecx
test ebx, ebx
movsx ebx, word [esi + 0xd80]
sete cl
imul ecx, ecx, 0xd80
lea eax, [ecx + esi + 8]
movsx ecx, word [eax]
sub ebx, ecx
add ebx, 3
cmp ebx, 7
mov ebx, dword [esp + 0x24]
jb 0x3023d9a3
mov dword [esp + 0x34], 1
jmp 0x3023d9c1
movsx eax, word [eax + 2]
movsx ecx, word [esi + 0xd82]
sub ecx, eax
lea eax, [ecx + ebx - 1]
lea ecx, [ebx + ebx - 1]
cmp eax, ecx
sbb eax, eax
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
add ecx, 0x360
add eax, 0xd80
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
and eax, ecx
cmp dword [esp + 0x14], eax
jle 0x3023d8c0
mov eax, dword [esp + 0x28]
lea ecx, [edi*4]
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x30], ecx
lea edi, [esi + ecx*4]
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
jl 0x3023db82
mov eax, dword [esp + 0x1c]
mov cl, byte [eax]
mov byte [esp + 0xf], cl
lea ecx, [edi + 8]
add eax, 2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x2c]
cmp al, byte [ecx]
jne 0x3023db46
mov eax, dword [esp + 0x20]
test eax, eax
je 0x3023da86
mov eax, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x1c]
mov bl, byte [eax + 0x360]
sete cl
imul ecx, ecx, 0x360
cmp bl, byte [ecx + eax + 2]
mov ebx, dword [esp + 0x24]
jne 0x3023db46
mov al, byte [esp + 0xf]
test al, al
jl 0x3023dadb
mov ecx, dword [esp + 0x10]
movsx eax, word [edi]
movsx ecx, word [ecx]
sub eax, ecx
add eax, 3
cmp eax, 7
jb 0x3023daaf
mov dword [esp + 0x14], 1
jmp 0x3023db46
mov ecx, dword [esp + 0x10]
movsx ecx, word [ecx + 2]
movsx eax, word [edi + 2]
sub eax, ecx
lea eax, [eax + ebx - 1]
lea ecx, [ebx + ebx - 1]
cmp eax, ecx
jb 0x3023dad3
mov dword [esp + 0x14], 1
jmp 0x3023db46
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x3023db46
mov eax, dword [esp + 0x1c]
mov cl, byte [eax + 0x360]
test cl, cl
jl 0x3023db46
mov ebx, dword [esp + 0x18]
xor ecx, ecx
test ebx, ebx
movsx ebx, word [edi + 0xd80]
sete cl
imul ecx, ecx, 0xd80
lea eax, [ecx + edi + 8]
movsx ecx, word [eax]
sub ebx, ecx
add ebx, 3
cmp ebx, 7
mov ebx, dword [esp + 0x24]
jb 0x3023db28
mov dword [esp + 0x14], 1
jmp 0x3023db46
movsx eax, word [eax + 2]
movsx ecx, word [edi + 0xd82]
sub ecx, eax
lea eax, [ecx + ebx - 1]
lea ecx, [ebx + ebx - 1]
cmp eax, ecx
sbb eax, eax
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
add ecx, 0x360
add eax, 0xd80
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
and eax, ecx
cmp dword [esp + 0x18], eax
jle 0x3023da45
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
test eax, eax
mov edi, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], 0
jl 0x3023dcf3
mov eax, dword [esp + 0x28]
mov al, byte [eax]
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
lea eax, [esi + ecx*4]
mov dword [esp + 0x1c], eax
mov edi, edi
mov ecx, dword [esp + 0x2c]
mov al, byte [esp + 0xf]
cmp al, byte [ecx]
jne 0x3023dcb9
mov eax, dword [esp + 0x20]
test eax, eax
je 0x3023dc06
mov edi, dword [esp + 0x10]
xor ecx, ecx
test edi, edi
mov edi, dword [esp + 0x28]
mov al, byte [edi + 0x360]
sete cl
imul ecx, ecx, 0x360
add ecx, edi
mov edi, dword [esp + 0x30]
cmp al, byte [ecx + edi]
mov edi, dword [esp + 0x18]
jne 0x3023dcb9
mov al, byte [esp + 0xf]
test al, al
jl 0x3023dc4f
mov eax, dword [esp + 0x1c]
movsx ecx, word [esi]
movsx edi, word [eax]
sub ecx, edi
add ecx, 3
cmp ecx, 7
jb 0x3023dc2c
mov edi, 1
jmp 0x3023dcb5
movsx eax, word [eax + 2]
movsx ecx, word [esi + 2]
sub ecx, eax
lea ecx, [ecx + ebx - 1]
lea eax, [ebx + ebx - 1]
cmp ecx, eax
jb 0x3023dc49
mov edi, 1
jmp 0x3023dcb5
xor edi, edi
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x3023dcb9
mov ecx, dword [esp + 0x28]
mov al, byte [ecx + 0x360]
test al, al
jl 0x3023dcb9
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
xor eax, eax
test edi, edi
sete al
imul eax, eax, 0x360
add eax, ecx
movsx ecx, word [esi + 0xd80]
movsx edi, word [esi + eax*4]
lea eax, [esi + eax*4]
sub ecx, edi
add ecx, 3
cmp ecx, 7
jb 0x3023dc9b
mov edi, 1
jmp 0x3023dcb5
movsx eax, word [eax + 2]
movsx ecx, word [esi + 0xd82]
sub ecx, eax
lea ecx, [ecx + ebx - 1]
lea eax, [ebx + ebx - 1]
cmp ecx, eax
sbb edi, edi
inc edi
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
add eax, 0xd80
add ecx, 0x360
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov ecx, edi
and ecx, eax
cmp dword [esp + 0x10], ecx
jle 0x3023dbc0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
add eax, 2
test ebx, ebx
mov dword [esp + 0x10], eax
mov eax, 1
mov dword [esp + 0x28], 0
jl 0x3023de5c
mov ebx, dword [esp + 0x10]
mov bl, byte [ebx]
mov byte [esp + 0xf], bl
mov ebx, dword [esp + 0x10]
add ebx, ecx
lea ecx, [esi + ecx*4 + 8]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov bl, byte [esp + 0xf]
cmp bl, byte [ecx]
jne 0x3023de2f
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x3023dd79
mov edi, dword [esp + 0x28]
xor ecx, ecx
test edi, edi
mov edi, dword [esp + 0x10]
mov bl, byte [edi + 0x360]
sete cl
imul ecx, ecx, 0x360
add ecx, edi
mov edi, dword [esp + 0x30]
cmp bl, byte [ecx + edi]
mov edi, dword [esp + 0x18]
jne 0x3023de2f
mov cl, byte [esp + 0xf]
test cl, cl
jl 0x3023ddc3
mov eax, dword [esp + 0x1c]
movsx ecx, word [esi + 8]
movsx ebx, word [eax]
sub ecx, ebx
add ecx, 3
cmp ecx, 7
jb 0x3023dda0
mov eax, 1
jmp 0x3023de2f
movsx eax, word [eax + 2]
movsx ecx, word [esi + 0xa]
sub ecx, eax
mov eax, dword [esp + 0x24]
lea ecx, [ecx + eax - 1]
lea eax, [eax + eax - 1]
cmp ecx, eax
jb 0x3023ddc1
mov eax, 1
jmp 0x3023de2f
xor eax, eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x3023de2f
mov ecx, dword [esp + 0x10]
mov bl, byte [ecx + 0x360]
test bl, bl
jl 0x3023de2f
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
xor eax, eax
test ebx, ebx
sete al
imul eax, eax, 0x360
add eax, ecx
movsx ecx, word [esi + 0xd88]
movsx ebx, word [esi + eax*4 + 8]
lea eax, [esi + eax*4 + 8]
sub ecx, ebx
add ecx, 3
cmp ecx, 7
jb 0x3023de11
mov eax, 1
jmp 0x3023de2f
movsx eax, word [eax + 2]
movsx ecx, word [esi + 0xd8a]
sub ecx, eax
mov eax, dword [esp + 0x24]
lea ecx, [ecx + eax - 1]
lea eax, [eax + eax - 1]
cmp ecx, eax
sbb eax, eax
inc eax
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
add ebx, 0xd80
mov dword [esp + 0x1c], ebx
add dword [esp + 0x2c], 0x360
mov ebx, eax
and ebx, dword [esp + 0x20]
inc ecx
cmp ecx, ebx
mov dword [esp + 0x28], ecx
jle 0x3023dd33
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov ebx, eax
or ebx, edi
or ebx, esi
or ebx, ecx
je 0x3023deee
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jne 0x3023de94
mov dword [edx + 0x24], ecx
mov dword [edx + 0x20], ecx
mov dword [edx + 0x2c], esi
mov dword [edx + 0x28], esi
mov dword [edx + 0x74], edi
mov dword [edx + 0x70], edi
mov dword [edx + 0x7c], eax
mov dword [edx + 0x78], eax
jmp 0x3023def6
mov ebx, dword [edx + 0x20]
sar ebx, cl
mov ecx, dword [esp + 0x34]
add ebx, ecx
mov dword [edx + 0x20], ebx
mov ebx, dword [edx + 0x24]
sar ebx, cl
add ebx, ecx
mov ecx, esi
mov dword [edx + 0x24], ebx
mov ebx, dword [edx + 0x28]
sar ebx, cl
add ebx, esi
mov dword [edx + 0x28], ebx
mov ebx, dword [edx + 0x2c]
sar ebx, cl
mov ecx, edi
add ebx, esi
mov esi, dword [edx + 0x70]
sar esi, cl
mov dword [edx + 0x2c], ebx
add esi, edi
mov dword [edx + 0x70], esi
mov esi, dword [edx + 0x74]
sar esi, cl
mov ecx, eax
add esi, edi
mov dword [edx + 0x74], esi
mov esi, dword [edx + 0x78]
sar esi, cl
add esi, eax
mov dword [edx + 0x78], esi
mov esi, dword [edx + 0x7c]
sar esi, cl
add esi, eax
mov dword [edx + 0x7c], esi
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x3023df03
mov ecx, dword [ebp + 0xc]
test byte [ecx + 0xc], 8
jne 0x3023dfcb
mov ecx, dword [esp + 0x48]
mov esi, dword [ebp + 8]
add ecx, 0x40
add edx, 0x10
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], 2
or edi, 0xffffffff
jmp 0x3023df30
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 3
lea esp, [esp]
xor eax, eax
mov ebx, dword [edx + eax*4]
test ebx, ebx
je 0x3023df79
mov edi, ebx
mov ebx, dword [esi + 0x88988]
mov edi, dword [ebx + edi*4]
mov dword [ecx - 0x10], edi
mov ebx, dword [esi + 0x8898c]
mov edi, dword [edx + eax*4]
mov edi, dword [ebx + edi*4]
mov dword [ecx], edi
mov edi, dword [edx + eax*4]
mov ebx, dword [esi + 0x88990]
mov edi, dword [ebx + edi*4]
mov dword [ecx + 0x10], edi
or edi, 0xffffffff
jmp 0x3023df81
mov dword [ecx + 0x10], edi
mov dword [ecx], edi
mov dword [ecx - 0x10], edi
inc eax
add ecx, 4
cmp eax, 4
jl 0x3023df42
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
add ecx, 0x30
add edx, 0x10
dec eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
jne 0x3023df40
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
add edx, 0x50
add ecx, 0xf0
dec eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
jne 0x3023df30
mov ecx, dword [esp + 0x4c]
call fcn.3028e0e3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret