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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x303328c0]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x14]
test eax, eax
push edi
je 0x3022be07
mov eax, dword [esi + 0xf0]
test eax, eax
jne 0x3022be07
mov eax, dword [esi + 0x10]
test eax, eax
je 0x3022bd6a
mov eax, dword [esi + 0xe4]
mov ecx, dword [esi + 0x124]
mov edi, dword [esi + 0xe0]
mov dword [esi + 0xe0], ecx
mov edx, dword [esi + 0x128]
mov dword [esp + 0x2c], eax
mov dword [esi + 0xe4], edx
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x3022bc99
mov cl, byte [esi + 0x11c]
and cl, 3
je 0x3022bc90
cmp cl, 3
jne 0x3022bc99
add eax, 0x20
mov dword [esi + 0xe0], eax
test byte [esi + 0x11c], 4
jne 0x3022bcaa
mov dword [esi + 0xe4], ebx
jmp 0x3022bcbd
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x3022bcbd
add eax, 0x20
mov dword [esi + 0xe4], eax
mov eax, dword [esi + 0x18]
push eax
mov edx, esi
call fcn.302285b0
test eax, eax
jne 0x3022bd4b
call fcn.302286c0
test eax, eax
mov al, byte [esi + 0x11c]
je 0x3022bcdf
or al, 0x55
jmp 0x3022bce1
and al, 0xaa
mov byte [esi + 0x11c], al
mov ecx, dword [esi + 0x124]
mov dword [esi + 0xe0], ecx
mov eax, dword [esi + 0x128]
mov dword [esi + 0xe4], eax
mov cl, byte [esi + 0x11c]
test cl, 4
jne 0x3022bd29
test eax, eax
je 0x3022bd1c
add eax, 0x20
mov dword [esi + 0xe4], eax
jmp 0x3022be07
xor eax, eax
mov dword [esi + 0xe4], eax
jmp 0x3022be07
test eax, eax
je 0x3022be07
and cl, 0xc
cmp cl, 0xc
je 0x3022be07
add eax, 0x20
mov dword [esi + 0xe4], eax
jmp 0x3022be07
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x120], 1
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], edx
jmp 0x3022be07
mov eax, dword [esi + 0x8a0]
test eax, eax
jne 0x3022bdd7
mov ecx, dword [esi + 0x8b4]
test ecx, ecx
jl 0x3022bda9
mov eax, dword [esi + 0x8ac]
mov edi, dword [esi + 0x8b8]
xor edx, edx
mov dh, byte [eax]
mov dl, byte [eax + 1]
shl edx, cl
or edi, edx
mov dword [esi + 0x8b8], edi
add dword [esi + 0x8ac], 2
add dword [esi + 0x8b4], 0xfffffff0
mov ecx, dword [esi + 0x8b8]
mov eax, ecx
add ecx, ecx
mov dword [esi + 0x8b8], ecx
mov edx, dword [esi + 0x8b4]
shr eax, 0x1f
inc edx
mov dword [esi + 0x8b4], edx
test eax, eax
mov al, byte [esi + 0x11c]
jne 0x3022bdff
and al, 0xaa
jmp 0x3022be01
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x3022bdeb
mov al, byte [esi + 0x11c]
test al, 2
jmp 0x3022bdfd
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x3022be07
mov al, byte [esi + 0x11c]
test al, 8
je 0x3022be07
or al, 0x55
mov byte [esi + 0x11c], al
test byte [esi + 0x11c], 0x55
je 0x3022be17
or dword [ebx + 0xc], 0x80
cmp dword [esi + 0x18], 1
jne 0x3022cf0e
push ebx
push esi
call dword [esi + 0x64480]
mov edx, dword [esi + 0xc0]
mov edi, dword [esi + 0xc4]
mov dword [esp + 0x4c], edx
xor edx, edx
mov dword [esp + 0x40], edx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esi + 0x767c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x7680]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0x7684]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x7688]
mov dword [esp + 0x64], ecx
mov ecx, eax
and ecx, 0x40
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x70], edx
mov cl, byte [esi + 0x11c]
add esp, 8
test cl, 1
je 0x3022bea1
mov edx, dword [esi + 0xf0]
lea ecx, [edx + edx + 2]
mov dword [esp + 0x40], ecx
jmp 0x3022bea9
mov dword [esp + 0x40], 0
mov edx, dword [esi + 0x3ff80]
test edx, edx
mov ecx, 0x1010101
je 0x3022befb
mov eax, dword [esi + 0x402ec]
test eax, eax
je 0x3022bee9
cmp eax, 4
je 0x3022bee9
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.3022b060
jmp 0x3022bf13
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x40]
push edx
push esi
call fcn.3022b870
jmp 0x3022bf13
or eax, 8
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x7684]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x3022c5b4
mov eax, dword [esi + 0x766c]
sub eax, edi
xor ebx, ebx
dec eax
mov dword [esp + 0x30], eax
lea ecx, [ecx]
movsx ecx, byte [eax + 5]
cmp ecx, 0xfffffff8
movsx edx, byte [eax + edi]
jne 0x3022bf40
movsx ecx, byte [eax]
cmp dword [edx*4 + 0x302ee6f0], 0x7fffffff
mov dword [esp + ebx*4 + 0x20], SysStringLen
jge 0x3022bf59
mov dword [esp + ebx*4 + 0x20], edx
movsx edx, byte [eax + 1]
mov edx, dword [edx*4 + 0x302ee6f0]
cmp edx, dword [esp + ebx*4 + 0x20]
jge 0x3022bf72
movsx edx, byte [eax + 1]
mov dword [esp + ebx*4 + 0x20], edx
mov edx, dword [ecx*4 + 0x302ee6f0]
cmp edx, dword [esp + ebx*4 + 0x20]
jge 0x3022bf83
mov dword [esp + ebx*4 + 0x20], ecx
mov ecx, dword [esp + ebx*4 + 0x20]
cmp ecx, 0x7fffffff
je 0x3022bfa9
lea eax, [esp + ebx*4 + 0x74]
push eax
push ecx
push ebx
push 4
push 0
mov eax, esi
call fcn.3022ae30
mov eax, dword [esp + 0x30]
xor ecx, ecx
jmp 0x3022bfbd
xor ecx, ecx
mov word [esp + ebx*4 + 0x76], cx
mov dword [esp + ebx*4 + 0x20], 0xffffffff
mov word [esp + ebx*4 + 0x74], cx
inc ebx
add eax, 0x360
cmp ebx, 2
mov dword [esp + 0x30], eax
jl 0x3022bf30
mov eax, dword [esp + 0x20]
cmp eax, ecx
mov edx, dword [esp + 0x24]
jge 0x3022bfec
cmp edx, ecx
jge 0x3022bff7
xor eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
jmp 0x3022c014
cmp edx, ecx
jge 0x3022bff7
mov ecx, 0xffff3fff
jmp 0x3022c000
cmp eax, ecx
jge 0x3022c014
mov ecx, 0xffffcfff
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
and ebx, ecx
and edx, ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edx
test byte [esp + 0x3c], 8
je 0x3022c287
mov edx, dword [esi + 0x766c]
movzx ecx, al
imul ecx, ecx, 0x1010101
mov eax, edi
imul eax, eax, 7
mov dword [eax + edx], ecx
mov dword [esp + 0x10], eax
lea eax, [edi + edi*2]
shl eax, 1
mov dword [eax + edx], ecx
mov dword [esp + 0x18], eax
lea eax, [edi + edi*4]
mov dword [eax + edx], ecx
lea eax, [edi*4]
mov dword [eax + edx], ecx
lea ebx, [edi + edi*2]
mov dword [ebx + edx], ecx
mov ebx, dword [esp + 0x10]
mov dword [edx + edi*2], ecx
mov dword [edx + edi], ecx
mov dword [edx], ecx
movzx edx, byte [esp + 0x24]
mov ecx, dword [esi + 0x766c]
imul edx, edx, 0x1010101
add ecx, 0x360
mov dword [ecx + ebx], edx
mov ebx, dword [esp + 0x18]
mov dword [ecx + ebx], edx
lea ebx, [edi + edi*4]
mov dword [ecx + ebx], edx
mov dword [ecx + eax], edx
lea ebx, [edi + edi*2]
mov dword [ecx + ebx], edx
mov dword [ecx + edi*2], edx
mov dword [ecx + edi], edx
mov dword [ecx], edx
mov ecx, dword [esi + 0x88984]
test ecx, ecx
je 0x3022c141
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
imul ecx, ecx, 0x21
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
add ecx, edx
movzx ecx, byte [ecx + esi + 0x891b9]
mov edx, dword [esi + 0x7670]
imul ecx, ecx, 0x1010101
mov dword [ebx + edx], ecx
mov ebx, dword [esp + 0x18]
mov dword [ebx + edx], ecx
lea ebx, [edi + edi*4]
mov dword [ebx + edx], ecx
mov dword [eax + edx], ecx
lea ebx, [edi + edi*2]
mov dword [ebx + edx], ecx
mov dword [edx + edi*2], ecx
mov dword [edx + edi], ecx
mov ebx, dword [esp + 0x10]
mov dword [edx], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
add ecx, edx
movzx edx, byte [ecx + esi + 0x891da]
mov ecx, dword [esi + 0x7670]
add ecx, 0x360
imul edx, edx, 0x1010101
mov dword [ebx + ecx], edx
mov ebx, dword [esp + 0x18]
mov dword [ebx + ecx], edx
lea ebx, [edi + edi*4]
mov dword [ebx + ecx], edx
mov dword [eax + ecx], edx
lea ebx, [edi + edi*2]
mov dword [ebx + ecx], edx
mov dword [ecx + edi*2], edx
mov dword [ecx + edi], edx
mov dword [ecx], edx
mov ecx, dword [esp + 0x60]
cmp byte [ecx], 0
jne 0x3022c1a2
mov edi, dword [esp + 0x54]
mov cl, byte [edi]
test cl, cl
mov edx, dword [esp + 0x1c]
jne 0x3022c16d
movsx ebx, word [edx]
inc ebx
cmp ebx, 2
ja 0x3022c16b
movsx ebx, word [edx + 2]
inc ebx
cmp ebx, 2
jbe 0x3022c18a
test cl, cl
jge 0x3022c1a2
mov cl, byte [edi + 0x10]
test cl, cl
jne 0x3022c1a2
movsx ecx, word [edx + 0x40]
inc ecx
cmp ecx, 2
ja 0x3022c1a2
movsx edx, word [edx + 0x42]
inc edx
cmp edx, 2
ja 0x3022c1a2
mov edx, dword [esp + 0x20]
xor ecx, ecx
cmp edx, ecx
jg 0x3022c198
mov dword [esp + 0x74], ecx
cmp dword [esp + 0x24], ecx
jg 0x3022c1a2
mov dword [esp + 0x78], ecx
mov ecx, dword [esi + 0x7674]
movd mm0, dword [esp + 0x74]
movq mm1, mm0
punpckldq mm1, mm0
movq mm0, mm1
movq qword [ecx], mm0
movq qword [ecx + 8], mm0
movq qword [ecx + eax], mm0
movq qword [ecx + eax + 8], mm0
movq qword [ecx + eax*2], mm0
movq qword [ecx + eax*2 + 8], mm0
lea edx, [ecx + eax*2]
movq qword [edx + eax], mm0
movq qword [edx + eax + 8], mm0
movq qword [ecx + eax*4], mm0
movq qword [ecx + eax*4 + 8], mm0
add edx, eax
lea edx, [ecx + eax*4]
movq qword [edx + eax], mm0
movq qword [edx + eax + 8], mm0
add edx, eax
lea edx, [eax + eax*2]
movq qword [ecx + edx*2], mm0
movq qword [ecx + edx*2 + 8], mm0
lea edx, [ecx + edx*2]
mov edx, eax
imul edx, edx, 7
movq qword [ecx + edx], mm0
movq qword [ecx + edx + 8], mm0
movd mm0, dword [esp + 0x78]
add ecx, edx
mov ecx, dword [esi + 0x7674]
add ecx, 0xd80
movq mm1, mm0
punpckldq mm1, mm0
movq mm0, mm1
movq qword [ecx], mm0
movq qword [ecx + 8], mm0
movq qword [ecx + eax], mm0
movq qword [ecx + eax + 8], mm0
movq qword [ecx + eax*2], mm0
movq qword [ecx + eax*2 + 8], mm0
lea edx, [ecx + eax*2]
movq qword [edx + eax], mm0
movq qword [edx + eax + 8], mm0
add edx, eax
movq qword [ecx + eax*4], mm0
movq qword [ecx + eax*4 + 8], mm0
lea edx, [ecx + eax*4]
add edx, eax
movq qword [edx], mm0
movq qword [edx + 8], mm0
lea edx, [eax + eax*2]
imul eax, eax, 7
lea edx, [ecx + edx*2]
movq qword [edx], mm0
add eax, ecx
movq qword [edx + 8], mm0
movq qword [eax], mm0
movq qword [eax + 8], mm0
jmp 0x3022ce9b
mov edx, dword [esp + 0x44]
mov ecx, 0x302ec738
sub edx, ecx
lea eax, [esi + 0xd8]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x18], eax
jmp 0x3022c2b0
mov ebx, dword [ecx]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x44]
mov ecx, dword [ecx + ebx]
mov ebx, dword [esp + 0x64]
test ebx, ebx
mov dword [esp + 0x10], ecx
je 0x3022c2d3
test byte [eax + 1], 1
je 0x3022c58d
mov bx, word [esp + 0x38]
mov word [eax], bx
lea ebx, [ecx*4]
mov ecx, dword [esi + 0x7674]
add ecx, ebx
lea eax, [edi*4]
mov dword [esp + 0x5c], ebx
lea ebx, [ecx + eax*2]
mov dword [eax + ebx], edx
mov dword [eax + ebx + 4], edx
mov dword [ecx + eax*2], edx
mov dword [ecx + eax*2 + 4], edx
mov dword [ecx + eax], edx
mov dword [ecx + eax + 4], edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov ecx, dword [esi + 0x7674]
mov edx, dword [esp + 0x10]
lea edx, [edx*4 + 0xd80]
add ecx, edx
lea ebx, [ecx + eax*2]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x78]
mov dword [eax + ebx], edx
mov dword [eax + ebx + 4], edx
mov dword [ecx + eax*2], edx
mov dword [ecx + eax*2 + 4], edx
mov dword [eax + ecx], edx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx + 4], edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
movzx edx, byte [esp + 0x20]
mov ecx, dword [esi + 0x766c]
imul edx, edx, 0x101
add ecx, ebx
lea ebx, [edi + edi*2]
mov word [ebx + ecx], dx
mov word [ecx + edi*2], dx
mov word [ecx + edi], dx
mov word [ecx], dx
mov ecx, dword [esi + 0x766c]
mov edx, dword [esp + 0x10]
lea edx, [ecx + edx + 0x360]
movzx ecx, byte [esp + 0x24]
imul ecx, ecx, 0x101
mov word [ebx + edx], cx
mov word [edx + edi*2], cx
mov word [edx + edi], cx
mov word [edx], cx
mov ecx, dword [esi + 0x88984]
test ecx, ecx
je 0x3022c420
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
imul ecx, ecx, 0x21
mov dword [esp + 0x34], ecx
add ecx, edx
movzx edx, byte [ecx + esi + 0x891b9]
mov ecx, dword [esi + 0x7670]
imul edx, edx, 0x101
add ecx, dword [esp + 0x10]
mov word [ecx + ebx], dx
mov word [ecx + edi*2], dx
mov word [ecx + edi], dx
mov word [ecx], dx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
add ecx, edx
movzx ecx, byte [ecx + esi + 0x891da]
mov edx, dword [esi + 0x7670]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x10]
lea edx, [edx + ecx + 0x360]
mov ecx, dword [esp + 0x2c]
imul ecx, ecx, 0x101
mov word [edx + ebx], cx
mov word [edx + edi*2], cx
mov word [edx + edi], cx
mov word [edx], cx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
cmp byte [ecx + edx], 0
jne 0x3022c589
mov ebx, dword [esp + 0x54]
mov dl, byte [ecx + ebx]
test dl, dl
je 0x3022c452
jge 0x3022c589
cmp byte [ecx + ebx + 0x10], 0
jne 0x3022c589
test dl, dl
jne 0x3022c458
mov ebx, dword [esp + 0x1c]
jmp 0x3022c45f
mov ebx, dword [esp + 0x1c]
add ebx, 0x40
test byte [esp + 0x38], 8
mov dword [esp + 0x30], ebx
je 0x3022c4fe
movsx edx, word [ebx + ecx*4]
inc edx
cmp edx, 2
ja 0x3022c589
movsx ecx, word [ebx + ecx*4 + 2]
inc ecx
cmp ecx, 2
ja 0x3022c589
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x3022c4be
mov ecx, dword [esi + 0x7674]
add ecx, dword [esp + 0x5c]
xor edx, edx
lea ebx, [ecx + eax*2]
mov dword [eax + ebx], edx
mov dword [eax + ebx + 4], edx
xor ebx, ebx
mov dword [ecx + eax*2], ebx
mov dword [ecx + eax*2 + 4], edx
mov dword [ecx + eax], ebx
mov dword [ecx + eax + 4], edx
mov dword [ecx], ebx
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x3022c589
mov ecx, dword [esi + 0x7674]
add ecx, dword [esp + 0x14]
xor edx, edx
lea ebx, [ecx + eax*2]
mov dword [eax + ebx], edx
mov dword [eax + ebx + 4], edx
mov ebx, edx
mov dword [ecx + eax*2], ebx
mov dword [ecx + eax*2 + 4], edx
mov dword [eax + ecx], ebx
mov dword [eax + ecx + 4], edx
mov dword [ecx], ebx
mov dword [esp + 0x6c], edx
mov dword [ecx + 4], edx
jmp 0x3022c589
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], 4
jmp 0x3022c514
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
mov edx, dword [edx + ecx]
mov ecx, dword [ecx]
lea ecx, [ebx + ecx*4]
movsx ebx, word [ecx]
inc ebx
cmp ebx, 2
ja 0x3022c573
movsx ecx, word [ecx + 2]
inc ecx
cmp ecx, 2
ja 0x3022c573
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x3022c551
mov ecx, dword [esi + 0x7674]
lea ecx, [ecx + edx*4]
mov dword [ecx + eax], 0
mov dword [ecx], 0
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x3022c573
mov ecx, dword [esi + 0x7674]
lea ecx, [ecx + edx*4 + 0xd80]
mov dword [ecx + eax], 0
mov dword [ecx], 0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
add ecx, 4
dec edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], edx
jne 0x3022c510
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
add ecx, 0x10
add eax, 2
cmp ecx, 0x302ec778
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], ecx
jl 0x3022c2b0
jmp 0x3022ce9b
test byte [esp + 0x3c], 8
je 0x3022ca19
mov eax, dword [esi + 0x766c]
mov ebx, edi
imul ebx, ebx, 7
add eax, 0x360
mov dword [eax + ebx], 0
lea ecx, [edi + edi*2]
shl ecx, 1
mov dword [eax + ecx], 0
mov dword [esp + 0x18], ecx
lea ecx, [edi + edi*4]
mov dword [eax + ecx], 0
mov dword [eax + edi*4], 0
lea ecx, [edi*4]
lea edx, [edi + edi*2]
mov dword [eax + edx], 0
mov dword [eax + edi*2], 0
mov dword [eax + edi], 0
mov dword [eax], 0
mov eax, dword [esi + 0x88984]
test eax, eax
mov dword [esp + 0x10], ebx
je 0x3022c66f
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x7670]
imul edx, edx, 0x21
movzx edx, byte [edx + esi + 0x891da]
add eax, 0x360
imul edx, edx, 0x1010101
mov dword [eax + ebx], edx
mov ebx, dword [esp + 0x18]
mov dword [eax + ebx], edx
lea ebx, [edi + edi*4]
mov dword [eax + ebx], edx
mov dword [eax + ecx], edx
lea ebx, [edi + edi*2]
mov dword [eax + ebx], edx
mov ebx, dword [esp + 0x10]
mov dword [eax + edi*2], edx
mov dword [eax + edi], edx
mov dword [eax], edx
mov eax, dword [esp + 0x60]
cmp byte [eax], 0
je 0x3022c7f3
mov eax, dword [esi + 0x7674]
xor edx, edx
movd mm1, edx
movq mm0, mm1
movq mm2, mm0
punpckldq mm2, mm0
movq mm0, mm2
movq qword [eax], mm0
movq qword [eax + 8], mm0
movq qword [eax + ecx], mm0
movq qword [eax + ecx + 8], mm0
movq qword [eax + ecx*2], mm0
movq qword [eax + ecx*2 + 8], mm0
lea edx, [eax + ecx*2]
movq qword [edx + ecx], mm0
movq qword [edx + ecx + 8], mm0
movq qword [eax + ecx*4], mm0
movq qword [eax + ecx*4 + 8], mm0
add edx, ecx
lea edx, [eax + ecx*4]
movq qword [edx + ecx], mm0
movq qword [edx + ecx + 8], mm0
add edx, ecx
lea edx, [ecx + ecx*2]
movq qword [eax + edx*2], mm0
movq qword [eax + edx*2 + 8], mm0
lea edx, [eax + edx*2]
mov edx, ecx
imul edx, edx, 7
movq qword [eax + edx], mm0
movq qword [eax + edx + 8], mm0
add eax, edx
mov eax, dword [esi + 0x7674]
add eax, 0xd80
movq mm0, mm1
punpckldq mm0, mm1
movq qword [eax], mm0
movq qword [eax + 8], mm0
movq qword [ecx + eax], mm0
movq qword [ecx + eax + 8], mm0
movq qword [eax + ecx*2], mm0
movq qword [eax + ecx*2 + 8], mm0
lea edx, [eax + ecx*2]
movq qword [edx + ecx], mm0
movq qword [edx + ecx + 8], mm0
add edx, ecx
movq qword [eax + ecx*4], mm0
movq qword [eax + ecx*4 + 8], mm0
lea edx, [eax + ecx*4]
movq qword [edx + ecx], mm0
movq qword [edx + ecx + 8], mm0
add edx, ecx
lea edx, [ecx + ecx*2]
movq qword [eax + edx*2], mm0
movq qword [eax + edx*2 + 8], mm0
lea edx, [eax + edx*2]
mov edx, ecx
imul edx, edx, 7
movq qword [eax + edx], mm0
add eax, edx
mov edx, dword [esp + 0x18]
movq qword [eax + 8], mm0
mov eax, dword [esi + 0x766c]
mov dword [ebx + eax], 0
mov dword [edx + eax], 0
lea edx, [edi + edi*4]
mov dword [edx + eax], 0
mov dword [ecx + eax], 0
lea edx, [edi + edi*2]
mov dword [edx + eax], 0
mov dword [eax + edi*2], 0
mov dword [eax + edi], 0
mov dword [eax], 0
mov eax, dword [esi + 0x88984]
test eax, eax
je 0x3022ce9b
mov eax, dword [esp + 0x40]
imul eax, eax, 0x21
movzx eax, byte [eax + esi + 0x891b9]
mov edx, dword [esi + 0x7670]
imul eax, eax, 0x1010101
mov dword [edx + ebx], eax
mov ebx, dword [esp + 0x18]
mov dword [edx + ebx], eax
lea ebx, [edi + edi*4]
mov dword [edx + ebx], eax
mov dword [edx + ecx], eax
lea ecx, [edi + edi*2]
mov dword [edx + ecx], eax
mov dword [edx + edi*2], eax
mov dword [edx + edi], eax
mov dword [edx], eax
jmp 0x3022ce9b
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
lea edx, [edx + eax*2]
add edx, eax
mov eax, dword [esp + 0x5c]
movsx eax, byte [eax]
shl edx, 7
add edx, eax
mov eax, dword [esp + 0x50]
lea eax, [eax + edx*2]
lea edx, [eax + eax*2]
shl edx, 5
lea eax, [edx + esi + 0x402f4]
mov edx, dword [esp + 0x54]
mov dl, byte [edx]
test dl, dl
mov byte [esp + 0x4f], dl
jl 0x3022c836
movsx edx, dl
mov al, byte [edx + eax]
jmp 0x3022c842
mov edx, dword [esp + 0x54]
movsx edx, byte [edx + 0x10]
mov al, byte [edx + eax + 0x20]
mov dl, byte [esp + 0x4f]
movsx eax, al
test dl, dl
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
jge 0x3022c858
add edx, 0x40
movzx eax, al
imul eax, eax, 0x1010101
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 0x766c]
mov dword [ebx + edx], eax
mov ebx, dword [esp + 0x18]
mov dword [ebx + edx], eax
lea ebx, [edi + edi*4]
mov dword [ebx + edx], eax
mov dword [ecx + edx], eax
lea ebx, [edi + edi*2]
mov dword [ebx + edx], eax
mov ebx, dword [esp + 0x30]
mov dword [edx + edi*2], eax
mov dword [edx + edi], eax
mov dword [edx], eax
mov eax, dword [esp + 0x58]
shl eax, 5
add eax, ebx
mov ebx, dword [esi + eax*4 + 0x642f4]
mov eax, dword [esp + 0x50]
cmp eax, 2
jne 0x3022c8ba
mov eax, dword [esp + 0x1c]
mov dx, word [eax + 2]
shl dx, 1
mov word [eax + 2], dx
jmp 0x3022c8d6
cmp eax, 1
mov eax, dword [esp + 0x1c]
jne 0x3022c8d6
movsx eax, word [eax + 2]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
mov word [edx + 2], ax
mov eax, edx
movsx edx, word [eax]
movsx eax, word [eax + 2]
imul edx, ebx
imul eax, ebx
add edx, 0x80
add eax, 0x80
sar edx, 8
mov word [esp + 0x14], dx
sar eax, 8
mov word [esp + 0x16], ax
mov eax, dword [esi + 0x7674]
movd mm0, dword [esp + 0x14]
movq mm1, mm0
punpckldq mm1, mm0
movq mm0, mm1
movq qword [eax], mm0
movq qword [eax + 8], mm0
movq qword [eax + ecx], mm0
movq qword [eax + ecx + 8], mm0
movq qword [eax + ecx*2], mm0
movq qword [eax + ecx*2 + 8], mm0
lea ebx, [eax + ecx*2]
movq qword [ebx + ecx], mm0
movq qword [ebx + ecx + 8], mm0
movq qword [eax + ecx*4], mm0
movq qword [eax + ecx*4 + 8], mm0
add ebx, ecx
lea ebx, [eax + ecx*4]
movq qword [ebx + ecx], mm0
movq qword [ebx + ecx + 8], mm0
add ebx, ecx
lea ebx, [ecx + ecx*2]
movq qword [eax + ebx*2], mm0
movq qword [eax + ebx*2 + 8], mm0
lea ebx, [eax + ebx*2]
mov ebx, ecx
imul ebx, ebx, 7
movq qword [eax + ebx], mm0
movq qword [eax + ebx + 8], mm0
add eax, ebx
mov eax, dword [esp + 0x1c]
sub dx, word [eax]
mov ax, word [eax + 2]
sub word [esp + 0x16], ax
mov eax, dword [esi + 0x7674]
add eax, 0xd80
mov word [esp + 0x14], dx
movd mm0, dword [esp + 0x14]
movq mm1, mm0
punpckldq mm1, mm0
movq mm0, mm1
movq qword [eax], mm0
movq qword [eax + 8], mm0
movq qword [ecx + eax], mm0
movq qword [ecx + eax + 8], mm0
movq qword [eax + ecx*2], mm0
movq qword [eax + ecx*2 + 8], mm0
lea edx, [eax + ecx*2]
movq qword [edx + ecx], mm0
movq qword [edx + ecx + 8], mm0
add edx, ecx
movq qword [eax + ecx*4], mm0
movq qword [eax + ecx*4 + 8], mm0
lea edx, [eax + ecx*4]
movq qword [edx + ecx], mm0
add edx, ecx
movq qword [edx + 8], mm0
lea edx, [ecx + ecx*2]
lea edx, [eax + edx*2]
movq qword [edx], mm0
movq qword [edx + 8], mm0
mov edx, ecx
imul edx, edx, 7
add eax, edx
movq qword [eax], mm0
movq qword [eax + 8], mm0
mov eax, dword [esi + 0x88984]
test eax, eax
je 0x3022ce9b
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
imul eax, eax, 0x21
mov ebx, dword [esp + 0x10]
add eax, edx
jmp 0x3022c7b9
lea ecx, [esi + 0xd8]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x44]
mov eax, 0x302ec738
sub ecx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], ecx
jmp 0x3022ca40
mov ecx, dword [esp + 0x44]
lea esp, [esp]
mov ebx, dword [ecx + eax]
mov ecx, dword [eax]
mov eax, dword [esp + 0x64]
test eax, eax
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
je 0x3022ca6b
mov eax, dword [esp + 0x34]
test byte [eax + 1], 1
je 0x3022ce7a
mov edx, dword [esi + 0x766c]
lea eax, [edx + ebx + 0x360]
lea edx, [edi + edi*2]
mov word [edx + eax], 0
mov word [eax + edi*2], 0
mov word [edi + eax], 0
mov word [eax], 0
mov eax, dword [esi + 0x88984]
test eax, eax
je 0x3022cad1
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x7670]
imul eax, eax, 0x21
movzx eax, byte [eax + esi + 0x891da]
imul eax, eax, 0x101
lea ecx, [ecx + ebx + 0x360]
mov word [edx + ecx], ax
mov word [ecx + edi*2], ax
mov word [ecx + edi], ax
mov word [ecx], ax
mov ecx, dword [esp + 0x18]
mov dx, word [esp + 0x38]
mov eax, dword [esp + 0x34]
mov word [eax], dx
mov edx, dword [esp + 0x60]
cmp byte [ecx + edx], 0
je 0x3022cbbd
mov ecx, dword [esi + 0x7674]
lea eax, [edi*4]
lea ecx, [ecx + ebx*4]
mov dword [esp + 0x28], ecx
lea ecx, [ecx + eax*2]
xor edx, edx
mov dword [eax + ecx], edx
mov edx, ecx
xor ecx, ecx
mov dword [eax + edx + 4], ecx
mov ecx, dword [esp + 0x28]
xor edx, edx
mov dword [ecx + eax*2], edx
mov dword [ecx + eax*2 + 4], edx
mov dword [ecx + eax], edx
mov dword [ecx + eax + 4], edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov edx, dword [esi + 0x7674]
lea ecx, [edx + ebx*4 + 0xd80]
mov dword [esp + 0x28], ecx
lea ecx, [ecx + eax*2]
xor edx, edx
mov dword [eax + ecx], edx
mov edx, ecx
xor ecx, ecx
mov dword [eax + edx + 4], ecx
mov ecx, dword [esp + 0x28]
xor edx, edx
mov dword [ecx + eax*2], edx
mov dword [ecx + eax*2 + 4], edx
mov dword [eax + ecx], edx
mov dword [eax + ecx + 4], edx
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [esi + 0x766c]
add eax, ebx
lea ecx, [edi + edi*2]
mov word [eax + ecx], dx
mov word [eax + edi*2], dx
mov word [eax + edi], dx
mov word [eax], dx
mov eax, dword [esi + 0x88984]
test eax, eax
je 0x3022ce7a
mov eax, dword [esp + 0x40]
imul eax, eax, 0x21
movzx edx, byte [eax + esi + 0x891b9]
mov eax, dword [esi + 0x7670]
add eax, ebx
imul edx, edx, 0x101
mov word [eax + ecx], dx
mov word [eax + edi*2], dx
mov word [eax + edi], dx
mov word [eax], dx
jmp 0x3022ce7a
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
lea edx, [edx + eax*2]
add edx, eax
mov eax, dword [esp + 0x5c]
movsx eax, byte [ecx + eax]
shl edx, 7
add edx, eax
mov eax, dword [esp + 0x50]
lea eax, [eax + edx*2]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x54]
movsx eax, byte [ecx + eax]
shl edx, 5
test eax, eax
lea edx, [edx + esi + 0x402f4]
jl 0x3022cbfd
movsx ecx, byte [eax + edx]
jmp 0x3022cc16
mov eax, dword [esp + 0x54]
movsx ecx, byte [ecx + eax + 0x10]
movsx ecx, byte [ecx + edx + 0x20]
mov edx, dword [esp + 0x1c]
add edx, 0x40
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x58]
shl eax, 5
add eax, ecx
mov eax, dword [esi + eax*4 + 0x642f4]
mov dword [esp + 0x28], ecx
movzx ecx, cl
imul ecx, ecx, 0x101
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x766c]
add eax, ebx
lea edx, [edi + edi*2]
mov word [edx + eax], cx
mov word [eax + edi*2], cx
mov word [eax + edi], cx
mov word [eax], cx
mov eax, dword [esi + 0x88984]
test eax, eax
je 0x3022cc8d
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
imul ecx, ecx, 0x21
add ecx, eax
movzx ecx, byte [ecx + esi + 0x891b9]
mov eax, dword [esi + 0x7670]
add eax, ebx
imul ecx, ecx, 0x101
mov word [edx + eax], cx
mov word [eax + edi*2], cx
mov word [eax + edi], cx
mov word [eax], cx
test byte [esp + 0x38], 8
je 0x3022cd9f
mov eax, dword [esp + 0x50]
cmp eax, 2
jne 0x3022ccba
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov cx, word [edx + eax*4 + 2]
lea eax, [edx + eax*4 + 2]
shl cx, 1
mov word [eax], cx
jmp 0x3022ccd6
cmp eax, 1
jne 0x3022ccd6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
lea ecx, [edx + eax*4 + 2]
movsx eax, word [ecx]
cdq
sub eax, edx
sar eax, 1
mov word [ecx], ax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + edx*4]
imul ecx, dword [esp + 0x48]
lea eax, [eax + edx*4 + 2]
mov edx, dword [esi + 0x7674]
mov dword [esp + 0x28], eax
movsx eax, word [eax]
imul eax, dword [esp + 0x48]
lea edx, [edx + ebx*4]
add ecx, 0x80
sar ecx, 8
add eax, 0x80
mov word [esp + 0x14], cx
sar eax, 8
mov dword [esp + 0x2c], edx
mov word [esp + 0x16], ax
mov ebx, dword [esp + 0x14]
lea eax, [edi*4]
lea edx, [edx + eax*2]
mov dword [eax + edx], ebx
mov dword [eax + edx + 4], ebx
mov edx, dword [esp + 0x2c]
mov dword [edx + eax*2], ebx
mov dword [edx + eax*2 + 4], ebx
mov dword [edx + eax], ebx
mov dword [edx + eax + 4], ebx
mov dword [edx], ebx
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
sub cx, word [edx + ebx*4]
mov word [esp + 0x14], cx
mov ecx, dword [esp + 0x28]
mov dx, word [ecx]
mov ecx, dword [esi + 0x7674]
sub word [esp + 0x16], dx
mov edx, dword [esp + 0x20]
lea ecx, [ecx + edx*4 + 0xd80]
mov edx, dword [esp + 0x14]
lea ebx, [ecx + eax*2]
mov dword [eax + ebx], edx
mov dword [eax + ebx + 4], edx
mov dword [ecx + eax*2], edx
mov dword [ecx + eax*2 + 4], edx
mov dword [eax + ecx], edx
mov dword [eax + ecx + 4], edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
jmp 0x3022ce7a
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], 4
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x48]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x50]
cmp eax, 2
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ecx
jne 0x3022cde1
mov dx, word [ecx + 2]
shl dx, 1
mov word [ecx + 2], dx
jmp 0x3022cdf3
cmp eax, 1
jne 0x3022cdf3
movsx eax, word [ecx + 2]
cdq
sub eax, edx
sar eax, 1
mov word [ecx + 2], ax
movsx eax, word [ecx]
movsx ecx, word [ecx + 2]
imul eax, ebx
mov edx, dword [esi + 0x7674]
imul ecx, ebx
mov ebx, dword [esp + 0x28]
add eax, 0x80
add ecx, 0x80
sar eax, 8
mov word [esp + 0x14], ax
sar ecx, 8
mov word [esp + 0x16], cx
lea edx, [edx + ebx*4]
mov ebx, dword [esp + 0x14]
mov dword [edx + edi*4], ebx
mov dword [edx], ebx
mov edx, dword [esp + 0x20]
sub ax, word [edx]
sub cx, word [edx + 2]
mov word [esp + 0x14], ax
mov eax, dword [esi + 0x7674]
mov word [esp + 0x16], cx
mov ecx, dword [esp + 0x28]
lea eax, [eax + ecx*4 + 0xd80]
mov ecx, dword [esp + 0x14]
mov dword [eax + edi*4], ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
add eax, 4
dec ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ecx
jne 0x3022cdaf
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
add eax, 0x10
add ebx, 2
cmp eax, 0x302ec778
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
jl 0x3022ca38
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x3022cead
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0xc4]
mov esi, dword [esi + 0x7668]
mov ecx, eax
imul ecx, ecx, 7
mov dword [ecx + esi], 0x1010101
lea edx, [eax + eax*2]
mov dword [esi + edx*2], 0x1010101
lea ecx, [esi + eax*4]
mov dword [eax + ecx], 0x1010101
mov dword [esi + eax*4], 0x1010101
lea edx, [esi + eax*2]
mov dword [eax + edx], 0x1010101
mov dword [esi + eax*2], 0x1010101
mov dword [esi + eax], 0x1010101
mov dword [esi], 0x1010101
mov ecx, dword [esp + 0x7c]
call fcn.3028e0e3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [esi + 0x11c], 1
je 0x3022cf23
mov edi, dword [esi + 0xf0]
lea edi, [edi + edi + 2]
jmp 0x3022cf25
xor edi, edi
mov edx, dword [ebx + 0xc]
or edx, 0x3008
push ebx
push esi
mov dword [ebx + 0xc], edx
call dword [esi + 0x6447c]
mov eax, dword [esi + 0x766c]
mov ebx, dword [esi + 0xc4]
mov ecx, eax
movsx eax, byte [eax - 1]
sub ecx, ebx
movsx ecx, byte [ecx]
add esp, 8
cmp ecx, 0xfffffffc
jle 0x3022cfa0
cmp eax, 0xfffffffc
jle 0x3022cfa0
test ecx, ecx
jne 0x3022cf75
mov ecx, dword [esi + 0x7674]
lea edx, [ebx*4]
sub ecx, edx
cmp dword [ecx], 0
je 0x3022cfa0
test eax, eax
jne 0x3022cf86
mov edx, dword [esi + 0x7674]
mov eax, dword [edx - 4]
test eax, eax
je 0x3022cfa0
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 4
push 0
mov eax, esi
call fcn.3022ae30
mov edx, dword [esp + 0x20]
jmp 0x3022cfa2
xor edx, edx
mov ecx, dword [esi + 0x7674]
imul edi, edi, 0x21
movd mm0, edx
lea eax, [ebx*4]
lea edx, [ecx + eax*2]
add edx, eax
movq mm1, mm0
punpckldq mm1, mm0
movq mm0, mm1
movq qword [ecx], mm0
movq qword [ecx + 8], mm0
movq qword [ecx + eax], mm0
movq qword [ecx + eax + 8], mm0
movq qword [ecx + eax*2], mm0
movq qword [ecx + eax*2 + 8], mm0
movq qword [edx], mm0
movq qword [edx + 8], mm0
movq qword [ecx + eax*4], mm0
movq qword [ecx + eax*4 + 8], mm0
lea edx, [ecx + eax*4]
movq qword [edx + eax], mm0
movq qword [edx + eax + 8], mm0
add edx, eax
lea edx, [eax + eax*2]
imul eax, eax, 7
movq qword [ecx + edx*2], mm0
movq qword [ecx + edx*2 + 8], mm0
movq qword [eax + ecx], mm0
lea edx, [ecx + edx*2]
movq qword [eax + ecx + 8], mm0
add eax, ecx
mov eax, dword [esi + 0xc4]
mov ecx, dword [esi + 0x766c]
mov edx, eax
imul edx, edx, 7
mov dword [edx + ecx], 0
lea edx, [eax + eax*2]
mov dword [ecx + edx*2], 0
lea edx, [ecx + eax*4]
mov dword [eax + edx], 0
mov dword [ecx + eax*4], 0
lea edx, [ecx + eax*2]
mov dword [eax + edx], 0
mov dword [ecx + eax*2], 0
mov dword [ecx + eax], 0
mov dword [ecx], 0
mov eax, dword [esi + 0xc4]
movzx ecx, byte [edi + esi + 0x891b9]
mov esi, dword [esi + 0x7670]
imul ecx, ecx, 0x1010101
mov edx, eax
imul edx, edx, 7
mov dword [edx + esi], ecx
lea edx, [eax + eax*2]
mov dword [esi + edx*2], ecx
lea edx, [esi + eax*4]
mov dword [eax + edx], ecx
mov dword [esi + eax*4], ecx
lea edx, [esi + eax*2]
mov dword [eax + edx], ecx
mov dword [esi + eax*2], ecx
mov dword [esi + eax], ecx
mov dword [esi], ecx
mov ecx, dword [esp + 0x7c]
call fcn.3028e0e3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret