Function at 0x100222b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
jmp 0x1002255a
add edx, dword [ebp - 0x38]
cmp edx, dword [ecx - 0x1c]
jae 0x100222d7
mov dword [ecx - 0x1c], edx
xor edx, edx
mov dword [ecx - 4], edx
mov dword [ecx], edi
mov dword [ecx - 0x14], edx
dec esi
sub eax, 4
sub ecx, 0x30
cmp esi, 2
jae 0x10022e11
inc edi
cmp edi, 4
jb 0x100230b9
mov edx, dword [ebx + 0x44]
movzx eax, word [ebx + edx*2 + 0x32588]
mov ecx, dword [ebp - 0x24]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30d34]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x38], eax
cmp ecx, 2
jb 0x1002231e
inc ecx
jmp 0x10022323
mov ecx, 2
mov dword [ebp - 0x5c], ecx
cmp ecx, dword [ebp - 0x2c]
ja 0x10022cbf
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp ecx, dword [ebx + 0x30f34]
jbe 0x10022355
mov edi, edi
add eax, 2
cmp ecx, dword [ebx + eax*4 + 0x30f34]
ja 0x10022342
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
imul eax, eax, 0x110
add eax, ecx
lea edx, [ebx + eax*4 + 0x32e6c]
lea eax, [ecx + ecx*2]
add eax, eax
mov dword [ebp - 0x50], edx
lea edi, [ebx + eax*8 + 0x550]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x50]
mov esi, dword [ebx + edx*4 + 0x30f38]
mov edx, dword [eax]
add edx, dword [ebp - 0x38]
mov dword [ebp - 0x68], edi
lea eax, [ecx - 2]
cmp ecx, 5
jb 0x1002239c
mov eax, 3
cmp esi, 0x80
jae 0x100223b9
shl eax, 7
add eax, esi
add edx, dword [ebx + eax*4 + 0x31bc8]
jmp 0x100223f6
cmp esi, 0x20000
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
mov edi, esi
shr edi, cl
shl eax, 5
add eax, ecx
movzx edi, byte [edi + ebx + 0x30534]
lea ecx, [edi + eax*2 + 0xc5f2]
mov ecx, dword [ebx + ecx*4]
mov edi, dword [ebp - 0x68]
mov eax, esi
and eax, 0xf
add ecx, dword [ebx + eax*4 + 0x323c8]
add edx, ecx
mov ecx, dword [ebp - 0x5c]
cmp edx, dword [edi - 0x1c]
jae 0x10022c40
xor eax, eax
add esi, 4
mov dword [edi - 0x1c], edx
jmp 0x10022c38
test eax, eax
je 0x10022423
add dword [ebx + 0x30], eax
mov ecx, dword [ebx + 0x14]
push eax
mov eax, dword [ebx]
push eax
call ecx
add esp, 8
pop esi
mov eax, edi
jmp 0x100234fc
mov esi, dword [ebp - 0x78]
shr ecx, 4
add eax, dword [ebx + ecx*4 + 0x30d34]
jmp 0x10023513
mov dword [ecx + 0x18], edx
mov edx, 1
add eax, 4
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x48]
add eax, 2
mov dword [ebp - 0x48], eax
cmp eax, dword [ebp - 0x68]
je 0x100224b2
mov eax, dword [ebx + eax*4 + 0x30f38]
mov dword [ebp - 0x60], eax
cmp eax, 0x80
jb 0x100224a4
cmp eax, 0x20000
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
mov edx, eax
shr edx, cl
mov dword [ebp - 0x64], ecx
movzx ecx, byte [edx + ebx + 0x30534]
mov edx, dword [ebp - 0x64]
lea ecx, [ecx + edx*2]
mov dword [ebp - 0x34], ecx
add dword [ebp - 0x54], 4
add dword [ebp - 0x74], 0x30
inc esi
jmp 0x1002381d
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov edi, eax
cmp eax, dword [ebp - 0x4c]
jne 0x10022cd0
jmp 0x10022b22
mov ecx, dword [ebp - 0x68]
jmp 0x10022b1c
sub ecx, eax
jmp 0x1002362a
add eax, dword [ebx + edi*4 + 0x30d34]
mov edi, dword [ebp - 0x5c]
add eax, dword [ebx + ecx*4 + 0x376b4]
mov ecx, dword [ebp - 0x80]
lea ecx, [ecx + ecx*2]
add ecx, ecx
add eax, edx
cmp eax, dword [ebx + ecx*8 + 0x534]
lea ecx, [ebx + ecx*8 + 0x534]
jae 0x10022458
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
lea edx, [esi + eax]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x60]
jmp 0x1002243d
push edx
call fcn.10021730
add esp, 8
jmp 0x10022f72
mov eax, dword [edx + 0x24]
add ecx, 0xfffffffc
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0x20]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edx + 0x28]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
jmp 0x1002387a
movzx eax, byte [ebp - 0x25]
or eax, 0x100
mov dword [ebp - 0x3c], 0
jmp 0x10022f2f
mov eax, dword [0x3f67864]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x7c], edi
cmp dword [ebx + 0x18], ecx
je 0x100225ab
lea edx, [ecx + ecx*2]
add edx, edx
mov eax, dword [ebx + edx*8 + 0x54c]
lea edx, [ebx + edx*8 + 0x534]
sub eax, ecx
mov ecx, dword [edx + 0x1c]
mov dword [edi], ecx
mov edx, dword [edx + 0x18]
mov dword [ebx + 0x1c], edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10063daf
mov esp, ebp
pop ebp
ret
xor eax, eax
push esi
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
cmp dword [ebx + 0x30], eax
jne 0x100225d3
lea eax, [ebp - 0x48]
push eax
mov esi, ebx
call fcn.10021f50
add esp, 4
mov dword [ebp - 0x2c], eax
jmp 0x100233ad
mov ecx, dword [ebx + 0x20]
jmp 0x100233a4
xor edi, 0x7f0
add esi, ecx
mov dword [ebp - 0x70], esi
movzx esi, word [ebx + esi*2 + 0x32408]
xor esi, 0x7f0
shr esi, 4
mov dword [ebp - 0x78], edx
mov edx, dword [ebx + esi*4 + 0x30d34]
mov esi, dword [ebp - 0x38]
shr edi, 4
add edx, dword [ebx + edi*4 + 0x30d34]
mov edi, dword [ebp - 0x44]
add edx, eax
jmp 0x10023014
mov dword [edi], 0x40000000
jne 0x10023a3b
jmp 0x10022b03
mov edx, esi
sub edx, dword [ebp - 0x14]
mov cl, byte [edx - 1]
jmp 0x100228f9
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10063daf
mov esp, ebp
pop ebp
ret
cmp eax, 0x111
jbe 0x10022657
mov dword [ebp - 0x5c], 0x111
mov eax, dword [ebx]
mov ecx, dword [ebx + 0xc]
push eax
call ecx
lea esi, [eax - 1]
mov al, byte [esi]
xor edi, edi
add esp, 4
xor edx, edx
jmp 0x100232d9
mov dword [ebp - 0x70], ecx
lea ecx, [ebx + edx*4 + 0x376b4]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x38]
lea edx, [ecx + ecx*2]
add esp, 4
add edx, edx
mov dword [ebp - 0x64], eax
lea ecx, [ebx + edx*8 + 0x550]
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx]
add edx, eax
cmp edx, dword [ecx - 0x1c]
jae 0x100226b7
mov dword [ecx - 0x1c], edx
mov edx, dword [ebp - 0x44]
mov dword [ecx - 4], edx
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov dword [ecx - 0x14], 0
dec dword [ebp - 0x34]
sub dword [ebp - 0x3c], 4
sub ecx, 0x30
cmp dword [ebp - 0x34], 2
jae 0x10022692
cmp dword [ebp - 0x2c], 0
jne 0x100226db
lea eax, [esi + 1]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebp - 0x50]
lea eax, [esi + 1]
add ecx, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ecx
cmp ecx, edx
jbe 0x100226f9
mov ecx, edx
mov dword [ebp - 0x3c], edx
cmp eax, ecx
jae 0x10022725
mov edx, dword [ebp - 0x60]
lea ecx, [eax + edi]
sub edx, edi
mov al, byte [ecx]
cmp al, byte [ecx + edx]
mov eax, dword [ebp - 0x34]
jne 0x10022725
inc eax
inc ecx
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x3c]
jb 0x10022709
or ecx, 0xffffffff
sub ecx, esi
add eax, ecx
mov dword [ebp - 0x34], eax
cmp eax, 2
jb 0x10022dd5
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebx + 0x48]
add eax, esi
mov dword [ebp - 0x3c], eax
lea eax, [ebx + 0x30d34]
push eax
movzx eax, byte [esi + ecx]
movzx ecx, byte [esi + edi]
movzx esi, byte [esi + edi - 1]
mov edi, dword [ebp - 0x3c]
and edi, dword [ebx + 0x54]
mov dword [ebp - 0x38], ecx
mov ecx, 8
sub cl, dl
shr esi, cl
mov ecx, edx
shl edi, cl
mov ecx, dword [ebp - 0x38]
add esi, edi
imul esi, esi, 0x600
add esi, dword [ebx + 0x60]
push esi
call fcn.10021730
mov edx, dword [ebp - 0x58]
mov edx, dword [edx*4 + 0x3f5d658]
mov edi, dword [ebx + 0x58]
mov ecx, dword [ebp - 0x3c]
and ecx, edi
mov esi, edx
jmp 0x10022809
add esp, 4
mov dword [ebp - 0x38], ecx
mov ecx, eax
mov eax, dword [ebp - 0x38]
shl eax, cl
mov dword [ebp - 0x5c], edi
add edx, eax
imul edx, edx, 0x600
add edx, dword [ebx + 0x60]
cmp dword [ebp - 0x58], 7
jb 0x10022545
movzx ecx, byte [ebp - 0x25]
lea eax, [ebx + 0x30d34]
push eax
movzx eax, byte [ebp - 0x2d]
jmp 0x1002251a
movzx edi, word [ebx + edi*2 + 0x325a0]
add ecx, dword [ebp - 0x34]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30d34]
shr edi, 4
add eax, dword [ebx + edi*4 + 0x30d34]
mov edi, dword [ebp - 0x5c]
add eax, dword [ebx + ecx*4 + 0x376b4]
jmp 0x10022d90
mov edx, dword [edx*4 + 0x3f5d5f8]
shl esi, 4
add ecx, esi
movzx ecx, word [ebx + ecx*2 + 0x32408]
jmp 0x1002242b
movzx edx, word [ebx + edx*2 + 0x32408]
xor edx, 0x7f0
xor eax, 0x7f0
shr edx, 4
shr eax, 4
mov dword [ebp - 0x38], edx
mov edx, dword [ebx + eax*4 + 0x30d34]
mov eax, dword [ebp - 0x38]
add edx, dword [ebx + eax*4 + 0x30d34]
mov eax, dword [ebp - 0x44]
add edx, dword [ebp - 0x60]
lea esi, [esi + eax + 1]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], esi
cmp eax, esi
jae 0x10022ba3
lea esi, [eax + eax*2]
add esi, esi
jmp 0x10022b7a
mov dword [esi + 0x558], ecx
mov ecx, dword [esi + 0x534]
mov dword [esi + 0x55c], edx
mov dword [esi + 0x560], eax
mov edx, dword [ebx]
mov eax, dword [ebx + 0xc]
push edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], 0
call eax
mov cl, byte [eax - 1]
lea edi, [eax - 1]
mov eax, edi
sub eax, dword [ebp - 0x14]
mov byte [ebp - 0x25], cl
mov ecx, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x34], eax
mov al, byte [eax]
mov byte [ebp - 0x2d], al
mov eax, dword [ebx + 0x58]
and eax, dword [ebp - 0x6c]
shl ecx, 4
mov dword [ebp - 0x54], eax
add eax, ecx
movzx edx, word [ebx + eax*2 + 0x32408]
shr edx, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + edx*4 + 0x30d34]
add eax, dword [ebp - 0x48]
movzx edx, byte [edi - 1]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x48]
mov ecx, 8
sub cl, al
shr edx, cl
mov ecx, dword [ebp - 0x6c]
and ecx, dword [ebx + 0x54]
jmp 0x1002279d
mov byte [ebp - 0x2d], cl
cmp eax, 2
jae 0x100236b7
jmp 0x10023a13
shr esi, 4
add eax, dword [ebx + esi*4 + 0x30d34]
mov esi, edx
add eax, dword [ebp - 0x40]
shl esi, 4
inc ecx
and ecx, dword [ebx + 0x58]
jmp 0x100225db
cmp eax, ecx
jb 0x10022629
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebx + edx*4 + 0x30f30]
mov edx, dword [ebp - 0x7c]
add ecx, 4
mov dword [edx], ecx
lea ecx, [eax - 1]
test ecx, ecx
je 0x10022b32
mov eax, dword [ebx]
add dword [ebx + 0x30], ecx
lea esp, [esp - 4]
lea esp, [esp - 0x18]
pushfd
push eax
das
push ebx
push ecx
or bx, cx
neg ax
aas
push edx
lea ebx, [edx + 0x3325]
not dx
push eax
inc bx
bts dx, 5
cwd
or ch, 0x53
not edx
inc bx
neg bh
das
aam 0xa
pop ebx
cbw
lea edx, [ebx + ecx + 0x7b1]
xchg dx, dx
inc edx
and dx, 0x20cc
not ecx
mov eax, dword [esp]
mov dword [esp + 0x28], eax
pop eax
mov bx, 0xc1e2
btc ax, 5
xchg cx, ax
cbw
dec bx
mov ebx, dword [esp + 4]
inc dx
sub ax, cx
mov eax, dword [esp + 8]
neg ecx
mov ecx, dword [esp]
bt edx, 6
mov edx, dword [esp + 0xc]
push edx
popfd
mov edx, dword [esp + 0x24]
lea esp, [esp + 0x28]
mov dword [esp], ecx
mov ecx, dword [ebx + 0x14]
push eax
push 0x3f02a9c
pushfd
push edx
or dx, 0xd0
nop
push ebx
dec bx
cmc
stc
push eax
aas
push ecx
bswap ecx
bt eax, 1
cdq
xor bx, 0xb6
rol ecx, 3
inc ah
xor dx, dx
mov ax, 0x3ec4
mov cx, 0x21a1
div cx
inc cl
sar dl, 0
stc
aaa
shl cx, 5
mov ecx, dword [esp]
inc eax
inc bl
add dh, bh
mov ebx, dword [esp + 8]
and edx, eax
test bx, 0x2e
aas
clc
bts dx, 6
mov eax, dword [esp + 0x10]
push eax
popfd
mov edx, dword [esp + 0xc]
lahf
mov eax, dword [esp + 4]
lea esp, [esp + 0x14]
push ecx
pushfd
push edx
dec edx
push ecx
lea edx, [edx + ecx + 0x64ef]
cmp ch, 0xb2
push eax
aad 0xa
not dl
nop
nop
push ebx
sar bh, 2
cdq
shl edx, 3
and dx, 0x8a
mov ax, 0xcf
mov cx, 0x37
mul cx
mov ecx, dword [esp + 8]
shl al, 1
dec al
cmc
aaa
rol dx, 4
lahf
cdq
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
neg ebx
mov ebx, dword [esp + 0x10]
push ebx
popfd
mov ebx, dword [esp]
lea esp, [esp + 0x14]
ret
add ecx, eax
mov dword [ebp - 0x54], eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x68], ecx
cmp byte [ebp - 0x2d], al
jne 0x10023246
mov eax, edi
shl eax, 4
add eax, esi
movzx eax, word [ebx + eax*2 + 0x325e8]
movzx esi, word [ebx + edi*2 + 0x325a0]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30d34]
shr esi, 4
add eax, dword [ebx + esi*4 + 0x30d34]
add eax, ecx
cmp eax, dword [ebx + 0x564]
jmp 0x1002322e
mov eax, dword [ebp - 0x70]
imul ecx, ecx, 0x110
movzx eax, word [ebx + eax*2 + 0x325e8]
mov edi, dword [ebp - 0x78]
jmp 0x100227d6
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x20], eax
mov edx, dword [ebp - 0x7c]
push edx
mov eax, edi
mov ecx, ebx
call fcn.100220d0
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop edi
call fcn.10063daf
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x540], 0
je 0x10023b91
mov ecx, dword [esi + 0x544]
lea ecx, [ecx + ecx*2]
add ecx, ecx
cmp dword [esi + 0x548], 4
mov ecx, dword [ebx + ecx*8 + 0x538]
jae 0x10023b0a
mov ecx, dword [ecx*4 + 0x3f5d658]
jmp 0x10023afe
lea esi, [ebx + esi*8 + 0x534]
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x3c]
sub esi, eax
add eax, esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
mov edi, edi
add eax, 0x30
dec esi
mov dword [eax], 0x40000000
jne 0x10022b93
mov eax, dword [ebp - 0x40]
imul ecx, ecx, 0x110
movzx eax, word [ebx + eax*2 + 0x325e8]
mov esi, dword [ebp - 0x2c]
movzx esi, word [ebx + esi*2 + 0x325a0]
add ecx, dword [ebp - 0x34]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30d34]
shr esi, 4
add eax, dword [ebx + esi*4 + 0x30d34]
add eax, dword [ebx + ecx*4 + 0x376b4]
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx + ecx*2]
add ecx, ecx
add eax, edx
cmp eax, dword [ebx + ecx*8 + 0x534]
lea ecx, [ebx + ecx*8 + 0x534]
jae 0x10022c18
mov edx, dword [ebp - 0x44]
inc edx
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], eax
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x2c], 0
jmp 0x10022c2e
mov ecx, dword [ebp - 0x2c]
mov dl, byte [edi]
jmp 0x10023a44
mov dword [edi - 4], eax
mov dword [edi], esi
mov dword [edi - 0x14], eax
mov eax, dword [ebp - 0x2c]
cmp ecx, dword [ebx + eax*4 + 0x30f34]
jne 0x10022c5f
add eax, 2
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x48]
je 0x10022cbf
add dword [ebp - 0x50], 4
inc ecx
mov dword [ebp - 0x5c], ecx
add edi, 0x30
jns 0x10022376
pushfd
push ebx
neg bx
push eax
das
push edx
cdq
ror ax, 0
push ecx
rol al, 0
neg ebx
shl eax, 3
push ecx
neg cx
bswap edx
inc edx
xadd ebx, edx
mov edx, dword [esp + 8]
push eax
not ch
shl bx, 4
aaa
dec al
mov eax, dword [esp + 0x10]
inc bx
mov ebx, dword [esp + 0x14]
neg cx
mov ecx, dword [esp + 0x18]
push ecx
popfd
mov ecx, dword [esp + 4]
lea esp, [esp + 0x1c]
js 0x10022376
mov edi, 1
mov dword [ebp - 0x44], edi
cmp dword [ebp - 0x4c], edi
je 0x10022b22
lea edx, [ebp - 0x68]
push edx
mov esi, ebx
call fcn.10021f50
add esp, 4
mov dword [ebp - 0x74], eax
cmp eax, dword [ebx + 0x2c]
jae 0x100224c9
inc dword [ebp - 0x6c]
lea esi, [edi + edi*2]
shl esi, 4
mov ecx, dword [esi + ebx + 0x53c]
mov eax, dword [esi + ebx + 0x54c]
add esi, ebx
mov dword [ebp - 0x54], esi
test ecx, ecx
je 0x10023ba9
dec eax
js 0x10022b42
lea esp, [esp - 0x20]
pushfd
push eax
aaa
aaa
push edx
cwd
aaa
nop
push ebx
xor bx, 0x9b
bswap eax
cwd
ror eax, 4
push edx
shr eax, 4
daa
bswap eax
xadd ebx, ebx
shl bx, 2
mov ebx, dword [esp + 4]
lahf
clc
mov dword [esp + 0x30], ecx
pop ecx
sar al, 6
neg ah
das
bt edx, 1
mov eax, 0x4a09
mov ecx, 0x395f
mul ecx
btc edx, 5
aam 0xa
test cx, bx
push edx
aas
sub dx, 0x54
mov edx, dword [esp + 8]
shl ax, 4
pop ecx
mov ecx, dword [esp + 0x2c]
aad 0xa
mov eax, dword [esp + 0xc]
push eax
popfd
mov eax, dword [esp + 8]
lea esp, [esp + 0x30]
jns 0x10022b42
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx + ecx*2]
add ecx, ecx
add eax, edx
cmp eax, dword [ebx + ecx*8 + 0x534]
lea ecx, [ebx + ecx*8 + 0x534]
jae 0x10022dd5
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
lea edx, [esi + eax + 1]
mov dword [ecx + 0x18], edx
mov edx, 1
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 4
jb 0x10022c2e
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x48]
cmp edx, ecx
jbe 0x10023192
mov edx, ecx
xor eax, eax
jmp 0x1002315b
add eax, esi
add esp, 4
add ecx, ecx
lea eax, [ebx + eax*4 + 0x376b4]
lea ecx, [ebx + ecx*8 + 0x550]
mov edx, dword [eax]
jno 0x100222be
push ebx
lea ebx, [ebx - 0x573f]
push eax
push edx
cdq
nop
pushfd
not ebx
push edx
push edx
bswap eax
dec bx
rol dh, 3
neg ebx
mov ah, 0xdf
bts edx, 4
neg ax
nop
neg al
daa
shl ebx, 5
mov dx, 0xbe
push ecx
bsf ecx, eax
ror ecx, 2
xor dx, dx
mov ax, 0x6516
mov cx, 0x3263
div cx
mov edx, dword [esp + 0x10]
shl ch, 2
mov ecx, dword [esp]
aad 0xa
not eax
xadd eax, eax
xadd ebx, ebx
bsf eax, ebx
mov eax, dword [esp + 0xc]
push eax
popfd
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
lea esp, [esp + 0x1c]
jo 0x100222be
mov edi, dword [ebp - 0x4c]
add esp, 8
mov dword [ebp - 0x80], eax
cmp edi, eax
jae 0x10022ed2
lea edi, [edi + edi*2]
add edi, edi
lea edi, [ebx + edi*8 + 0x534]
mov dword [ebp - 0x64], edi
mov edi, dword [ebp - 0x4c]
sub eax, edi
add edi, eax
mov dword [ebp - 0x4c], edi
mov edi, dword [ebp - 0x64]
jmp 0x10022ec2
add edi, 0x30
dec eax
mov dword [edi], 0x40000000
jne 0x10022ec2
mov eax, dword [ebp - 0x70]
imul ecx, ecx, 0x110
movzx eax, word [ebx + eax*2 + 0x325e8]
mov edi, dword [ebp - 0x78]
jmp 0x10023024
jmp 0x10022efd
mov edx, dword [edx*4 + 0x3f5d628]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x58], edx
lea eax, [eax + eax*2]
add eax, eax
lea edx, [ebx + eax*8 + 0x534]
cmp ecx, 4
jae 0x10022528
mov eax, dword [edx + ecx*4 + 0x20]
mov dword [ebp - 0x14], eax
mov eax, 1
cmp ecx, eax
jb 0x10023866
mov eax, dword [ebp - 0x2c]
inc eax
jmp 0x10023855
mov dword [ebp - 0x50], eax
mov ecx, eax
shr eax, 7
and eax, 1
shr ecx, 8
movzx ecx, word [edx + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ecx, 4
xor ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebx + eax*4 + 0x30d34]
mov eax, dword [ebp - 0x50]
add eax, eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x50], eax
cmp eax, 0x10000
jb 0x10022f32
mov eax, ecx
mov edx, dword [ebp - 0x60]
add edx, eax
mov dword [ebp - 0x60], edx
cmp edx, dword [esi + 0x564]
jae 0x10022fb0
mov dword [esi + 0x564], edx
mov edx, dword [ebp - 0x44]
mov dword [esi + 0x57c], edx
mov dword [esi + 0x580], 0xffffffff
mov dword [esi + 0x56c], 0
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x2c]
movzx ecx, word [ebx + eax*2 + 0x32408]
mov edx, dword [ebp - 0x58]
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [ebx + ecx*4 + 0x30d34]
movzx ecx, word [ebx + edx*2 + 0x32588]
add eax, dword [ebp - 0x48]
mov dl, byte [ebp - 0x2d]
xor ecx, 0x7f0
shr ecx, 4
mov ecx, dword [ebx + ecx*4 + 0x30d34]
add ecx, eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], ecx
cmp dl, byte [ebp - 0x25]
jne 0x100234b3
mov eax, dword [esi + 0x57c]
cmp eax, dword [ebp - 0x44]
jae 0x10023457
jmp 0x1002344a
mov eax, dword [ebp - 0x2c]
lea eax, [eax + esi - 1]
lea eax, [eax + edi + 1]
jmp 0x10022e8a
movzx edi, word [ebx + edi*2 + 0x325a0]
add ecx, dword [ebp - 0x2c]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30d34]
shr edi, 4
jmp 0x100224d8
mov ecx, dword [ebx + 0x580]
mov edx, dword [ebp - 0x7c]
pop esi
mov dword [edx], ecx
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10063daf
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x57c], edx
mov dword [ebx + 0x554], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x558], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x55c], ecx
mov ecx, dword [ebp - 8]
mov dword [ebx + 0x560], ecx
lea ecx, [eax + eax*2]
add ecx, ecx
lea ecx, [ebx + ecx*8 + 0x534]
jmp 0x100230a4
mov dword [ecx], 0x40000000
dec eax
sub ecx, 0x30
cmp eax, 2
jae 0x100230a4
xor edi, edi
mov esi, dword [ebp + edi*4 - 0x24]
cmp esi, 2
jb 0x100222e7
mov edx, dword [ebp - 0x34]
lea esp, [esp - 4]
push eax
lahf
push ebx
push ecx
mov bx, cx
pushfd
dec ecx
push edx
not dh
neg bx
sub ch, bl
add dl, 0xb2
aas
inc bx
aas
cmp edx, ebx
and ecx, 0x14
bt ecx, 1
xor ecx, eax
aas
or dh, 0xa
inc cl
not ax
lea edx, [ecx - 0x5e1a]
xchg cx, cx
xadd ebx, ecx
neg ebx
mov ebx, dword [esp + 0xc]
dec dx
bsr cx, ax
bsf dx, ax
push eax
bswap ecx
xor dl, ch
mov edx, dword [esp + 4]
inc cl
mov eax, dword [esp + 8]
push eax
popfd
mov ecx, dword [esp + 0xc]
cbw
mov eax, dword [esp + 0x14]
push ebx
lea esp, [esp + 0x1c]
mov dword [esp], edx
mov edx, dword [ebx + 0x44]
mov eax, edi
mov ecx, ebx
call fcn.10022010
add eax, dword [ebp - 0x68]
lea ecx, [esi + esi*2]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
imul eax, eax, 0x110
jmp 0x10022dfc
mov dword [ebp - 0x74], edx
cmp ecx, dword [ebx + 0x30f34]
jbe 0x10023185
jmp 0x10023175
add eax, 2
cmp ecx, dword [ebx + eax*4 + 0x30f34]
ja 0x10023175
mov dword [ebx + eax*4 + 0x30f34], ecx
add eax, 2
mov dword [ebp - 0x68], eax
cmp edx, dword [ebp - 0x40]
jb 0x100224b2
mov ecx, dword [ebp - 0x58]
jmp 0x1002395f
jae 0x100231ae
mov ecx, eax
mov dword [ebp - 0x50], eax
cmp ecx, 2
jb 0x100224b2
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebx + 0x2c]
mov dword [ebp - 0x48], ecx
cmp ecx, esi
jbe 0x100231cb
mov dword [ebp - 0x48], esi
cmp dword [ebp - 0x40], 0
jne 0x10022c18
mov dl, byte [ebp - 0x25]
cmp byte [ebp - 0x2d], dl
je 0x10022c18
lea eax, [esi + 1]
mov dword [ebp - 0x3c], eax
cmp eax, ecx
jbe 0x100231f4
mov eax, ecx
mov dword [ebp - 0x3c], ecx
mov esi, 1
cmp eax, esi
jbe 0x10023225
mov ecx, dword [ebp - 0x34]
lea eax, [edi + 1]
sub ecx, edi
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx + eax]
jne 0x10023225
inc esi
inc eax
cmp esi, dword [ebp - 0x3c]
jb 0x1002320f
dec esi
mov dword [ebp - 0x34], esi
jmp 0x100234c8
jae 0x10023246
mov dword [ebx + 0x564], eax
mov dword [ebx + 0x580], edx
mov dword [ebx + 0x56c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
cmp eax, ecx
jb 0x100232c6
mov dword [ebp - 0x4c], eax
jae 0x100232cb
pushfd
push ecx
neg ch
clc
push eax
and al, ah
shl ecx, 6
push edx
cdq
nop
bswap ecx
and edx, eax
push ebx
neg bh
dec bx
mov ebx, dword [esp]
rol dx, 2
sub dx, cx
bsr ax, dx
dec dx
clc
mov ax, 0xcb
mov cx, 0xab
mul cx
bt ecx, 6
inc ch
cmc
not dx
mov edx, dword [esp + 4]
aad 0xa
inc cx
clc
and ch, 0xea
push eax
btc cx, 3
mov eax, dword [esp + 0x14]
push eax
popfd
pop eax
mov eax, dword [esp + 8]
pop ecx
mov ecx, dword [esp + 8]
lea esp, [esp + 0x10]
jb 0x100232cb
mov dword [ebp - 0x4c], ecx
mov eax, ecx
cmp eax, 2
jae 0x10023066
jmp 0x10023046
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x40], edx
mov byte [ebp - 0x25], al
mov dword [ebp - 0x68], edi
jmp 0x100232f1
lea edi, [edx*4]
mov eax, dword [edi + ebx + 0x34]
mov ecx, esi
sub ecx, eax
mov dword [ebp + edi - 0x14], eax
mov al, byte [ebp - 0x25]
dec ecx
cmp al, byte [ecx]
jne 0x1002336d
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1002336d
mov eax, 2
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x5c], eax
jbe 0x10023351
lea edx, [esi + 2]
sub ecx, esi
mov al, byte [edx]
cmp al, byte [ecx + edx]
mov eax, dword [ebp - 0x50]
jne 0x1002334e
inc eax
inc edx
mov dword [ebp - 0x50], eax
cmp eax, dword [ebp - 0x5c]
jb 0x10023332
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x68]
mov dword [ebp + edi - 0x24], eax
cmp eax, dword [ebp + ecx - 0x24]
jbe 0x10023375
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x68], edi
jmp 0x10023375
mov dword [ebp + edi - 0x24], 0
inc edx
mov dword [ebp - 0x40], edx
cmp edx, 4
jb 0x100232f1
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp + eax*4 - 0x24]
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x38], edi
cmp edi, ecx
jb 0x1002350b
mov edx, dword [ebp - 0x7c]
mov dword [edx], eax
lea eax, [edi - 1]
jmp 0x1002240c
mov edx, dword [ebx + 0x24]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x48], edx
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x5c], eax
cmp eax, 2
jae 0x10022645
mov esi, dword [esp]
pushfd
push ebx
inc bl
push eax
das
push edx
bt edx, 5
bsr dx, dx
push ecx
not ch
cwd
dec dx
aad 0xa
cwd
xadd ecx, eax
aad 0xa
cmp ecx, 0xffffd46f
sub edx, 0x3641
mov eax, 0xc1ba
mov ecx, 0x2fbb
mul ecx
dec ecx
or edx, ebx
cmc
cmc
bswap ecx
and eax, ebx
not ax
xchg bx, ax
aas
cbw
xor eax, 0x4cd2
dec dx
bsf eax, ebx
mov ebx, dword [esp + 0xc]
inc cl
daa
mov eax, dword [esp + 8]
push edx
not dx
mov edx, dword [esp + 8]
shl cx, 5
mov ecx, dword [esp + 0x14]
push ecx
popfd
mov ecx, dword [esp + 4]
lea esp, [esp + 0x18]
lea esp, [esp + 4]
mov dword [edi], 0xffffffff
mov eax, 1
jmp 0x10022636
cmp dword [esi + 0x580], 0
je 0x100234b3
mov edx, dword [ebp - 0x58]
movzx eax, word [ebx + edx*2 + 0x325a0]
mov edx, dword [ebp - 0x2c]
movzx edx, word [ebx + edx*2 + 0x325e8]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30d34]
shr edx, 4
add eax, dword [ebx + edx*4 + 0x30d34]
add eax, ecx
cmp eax, dword [esi + 0x564]
ja 0x100234b3
mov dword [esi + 0x564], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x57c], eax
xor eax, eax
mov dword [esi + 0x580], eax
mov dword [esi + 0x56c], eax
mov dword [ebp - 0x40], 1
mov ecx, dword [ebx + 0x28]
mov eax, 0xfff
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], ecx
cmp eax, ecx
jmp 0x100231a3
cmp esi, 2
jb 0x10022c18
mov eax, dword [ebp - 0x58]
mov eax, dword [eax*4 + 0x3f5d5f8]
mov ecx, dword [ebp - 0x6c]
mov edx, eax
shl edx, 4
inc ecx
and ecx, dword [ebx + 0x58]
mov dword [ebp - 0x2c], eax
movzx eax, word [ebx + eax*2 + 0x32588]
add edx, ecx
mov dword [ebp - 0x40], edx
jmp 0x10022822
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10063daf
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2c]
jmp 0x10022925
mov ecx, dword [ebp - 0x70]
add ecx, esi
add eax, dword [ebx + ecx*4 + 0x376b4]
mov ecx, dword [ebp - 0x6c]
add eax, dword [ebp - 0x64]
lea ecx, [ecx + esi + 1]
and ecx, edi
mov edi, edx
shl edi, 4
add edi, ecx
mov dword [ebp - 0x78], edx
movzx edx, word [ebx + edx*2 + 0x32588]
mov dword [ebp - 0x70], edi
movzx edi, word [ebx + edi*2 + 0x32408]
xor edx, 0x7f0
shr edx, 4
mov edx, dword [ebx + edx*4 + 0x30d34]
xor edi, 0x7f0
shr edi, 4
add edx, dword [ebx + edi*4 + 0x30d34]
mov edi, dword [ebp - 0x44]
add edx, eax
mov eax, dword [ebp - 0x34]
add eax, esi
lea eax, [eax + edi + 1]
mov edi, dword [ebp - 0x4c]
add esp, 8
mov dword [ebp - 0x38], eax
cmp edi, eax
jae 0x10022b03
lea edi, [edi + edi*2]
add edi, edi
lea edi, [ebx + edi*8 + 0x534]
mov dword [ebp - 0x64], edi
mov edi, dword [ebp - 0x4c]
sub eax, edi
add edi, eax
mov dword [ebp - 0x4c], edi
jmp 0x10023a34
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x58]
lea edx, [edx + esi - 1]
and eax, edx
mov dword [ebp - 0x78], eax
lea eax, [ebx + 0x30d34]
push eax
movzx eax, byte [ecx + esi - 1]
movzx ecx, byte [esi + edi - 1]
movzx edi, byte [edi + esi - 2]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x64], edx
mov edx, dword [ebx + 0x48]
mov esi, dword [ebp - 0x64]
and esi, dword [ebx + 0x54]
mov ecx, 8
sub cl, dl
shr edi, cl
mov ecx, edx
shl esi, cl
mov ecx, dword [ebp - 0x70]
add edi, esi
imul edi, edi, 0x600
add edi, dword [ebx + 0x60]
push edi
call fcn.10021730
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx*4 + 0x3f5d628]
mov ecx, dword [ebp - 0x78]
mov esi, edx
mov edx, dword [edx*4 + 0x3f5d5f8]
movzx edi, word [ebx + edx*2 + 0x32588]
shl esi, 4
add esi, ecx
movzx esi, word [ebx + esi*2 + 0x32408]
jmp 0x1002290a
mov eax, dword [ebx + 0x2c]
add eax, esi
dec ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], eax
cmp eax, edx
jbe 0x10023643
mov eax, edx
mov dword [ebp - 0x3c], edx
cmp esi, eax
jae 0x10023685
mov edx, edi
sub edx, ecx
lea eax, [ecx + esi]
mov dword [ebp - 0x64], edx
jmp 0x10023666
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x70]
mov dl, byte [edx + eax]
cmp dl, byte [eax]
jne 0x10023685
mov edx, dword [ebp - 0x2c]
inc edx
inc eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x70], eax
cmp edx, dword [ebp - 0x3c]
jb 0x10023660
or edx, 0xffffffff
lea eax, [esi - 1]
sub edx, eax
mov eax, dword [ebp - 0x2c]
add eax, edx
mov dword [ebp - 0x2c], eax
cmp eax, 2
jb 0x10022458
jmp 0x100235a5
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10063daf
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x58]
mov edi, dword [ebx + 0x44]
and eax, edx
and edx, dword [ebx + 0x54]
mov dword [ebx + 0x538], edi
movzx esi, byte [esi - 1]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x48]
mov ecx, 8
sub cl, al
shr esi, cl
mov ecx, eax
shl edx, cl
movzx ecx, byte [ebp - 0x25]
add esi, edx
imul esi, esi, 0x600
add esi, dword [ebx + 0x60]
cmp edi, 7
jb 0x10023713
lea eax, [ebx + 0x30d34]
push eax
movzx eax, byte [ebp - 0x2d]
push esi
call fcn.10021730
add esp, 8
jmp 0x1002371e
lea edx, [ebx + 0x30d34]
call fcn.10021670
mov esi, dword [ebp - 0x34]
mov ecx, edi
shl ecx, 4
add ecx, esi
movzx edx, word [ebx + ecx*2 + 0x32408]
lea ecx, [ebx + ecx*2 + 0x32408]
shr edx, 4
mov edx, dword [ebx + edx*4 + 0x30d34]
add edx, eax
mov dword [ebx + 0x564], edx
mov dword [ebx + 0x580], 0xffffffff
xor edx, edx
mov dword [ebx + 0x56c], edx
movzx eax, word [ecx]
movzx ecx, word [ebx + edi*2 + 0x32588]
xor eax, 0x7f0
xor ecx, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30d34]
shr ecx, 4
mov ecx, dword [ebx + ecx*4 + 0x30d34]
je 0x10022ab7
push edx
bswap edx
pushfd
push ecx
bts cx, 4
bts dx, 1
not ecx
inc ecx
btc dx, 0
push ebx
push eax
aas
cwd
aad 0xa
push ebx
dec bx
aad 0xa
shl cl, 1
bts edx, 0
lahf
clc
inc bh
dec ebx
mov ebx, dword [esp]
xor edx, edx
mov eax, 0x5236
mov ecx, 0x5588
div ecx
bsr cx, dx
mov ecx, dword [esp + 0xc]
nop
cdq
ror dx, 6
mov edx, dword [esp + 0x14]
dec al
aad 0xa
mov eax, dword [esp + 4]
cmp dx, 0x7d
push ecx
mov ecx, dword [esp + 0x14]
push ecx
popfd
pop ecx
lea esp, [esp + 0x18]
jne 0x10022ab7
add ecx, edx
lea ecx, [ebx + ecx*4 + 0x32e6c]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x44]
add ecx, edx
lea esi, [edx + 1]
lea edx, [ecx + ecx*2]
add edx, edx
lea ecx, [ebx + edx*8 + 0x550]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x54]
mov edx, dword [edx]
add edx, dword [ebp - 0x84]
lea ecx, [esi - 1]
cmp ecx, 5
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], edx
lea ecx, [esi - 3]
jb 0x10023842
mov ecx, 3
cmp eax, 0x80
jae 0x100238a8
shl ecx, 7
jmp 0x1002389a
lea esi, [edx + 0x20]
lea edi, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jae 0x10023877
mov ecx, 4
lea edi, [ebp + eax*4 - 0x14]
lea esi, [edx + eax*4 + 0x20]
sub ecx, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x538], edx
mov edx, dword [ebp - 0xc]
mov dword [esi + 0x554], eax
mov eax, dword [ebp - 8]
jmp 0x10022871
add ecx, eax
add edx, dword [ebx + ecx*4 + 0x31bc8]
jmp 0x100238c6
shl ecx, 6
add ecx, dword [ebp - 0x34]
mov edx, eax
mov ecx, dword [ebx + ecx*4 + 0x317c8]
and edx, 0xf
add ecx, dword [ebx + edx*4 + 0x323c8]
mov edx, dword [ebp - 0x40]
add edx, ecx
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x40], edx
cmp edx, dword [ecx - 0x1c]
jae 0x100238ea
mov dword [ecx - 0x1c], edx
mov edx, dword [ebp - 0x44]
mov dword [ecx - 4], edx
lea edx, [eax + 4]
mov dword [ecx], edx
mov dword [ecx - 0x14], 0
mov edx, dword [ebp - 0x48]
lea ecx, [esi - 1]
cmp ecx, dword [ebx + edx*4 + 0x30f34]
jne 0x100224a4
mov edx, dword [ebp - 0x50]
mov ecx, edi
jno 0x100224d1
push eax
mov eax, 0x3549
push ecx
mov ecx, 0x1a03
pushfd
push edx
mul ecx
stc
push ebx
inc bl
cmc
sahf
bsr cx, bx
bt ebx, 5
aam 0xa
lahf
neg cx
das
cbw
push edx
cdq
mov edx, dword [esp + 8]
aas
inc al
pop eax
ror bh, 2
mov ebx, dword [esp]
cmp cx, 0xa2
neg cl
mov ecx, dword [esp + 0xc]
dec eax
mov eax, dword [esp + 8]
push eax
popfd
mov eax, dword [esp + 0x10]
lea esp, [esp + 0x14]
jo 0x100224d1
movzx edx, word [ebx + ecx*2 + 0x32588]
shr edx, 4
mov eax, dword [ebx + edx*4 + 0x30d34]
add eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x44]
cmp edx, eax
jae 0x100239b1
lea ecx, [edx + edx*2]
add ecx, ecx
sub eax, edx
add edx, eax
lea ecx, [ebx + ecx*8 + 0x534]
mov dword [ebp - 0x4c], edx
add ecx, 0x30
dec eax
mov dword [ecx], 0x40000000
jne 0x100239a1
mov ecx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x48], eax
cmp ecx, dword [ebx + 0x30f34]
jbe 0x100239d9
nop
add eax, 2
cmp ecx, dword [ebx + eax*4 + 0x30f34]
ja 0x100239c6
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + eax*4 + 0x30f38]
cmp eax, 0x20000
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
mov edx, eax
shr edx, cl
mov dword [ebp - 0x60], eax
movzx edx, byte [edx + ebx + 0x30534]
lea ecx, [edx + ecx*2]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x54]
imul ecx, ecx, 0x110
jmp 0x100237fa
cmp byte [ebp - 0x25], cl
je 0x100236b7
cmp edi, 2
jae 0x100236b7
mov eax, dword [ebp - 0x7c]
pop esi
mov dword [eax], 0xffffffff
jmp 0x100236a3
mov edi, dword [ebp - 0x64]
lea esp, [esp]
add edi, 0x30
dec eax
jmp 0x10022618
mov eax, edi
sub eax, dword [ebp + ecx*4 - 0x14]
dec eax
mov dword [ebp - 0x60], eax
cmp dl, byte [eax]
jne 0x10022dd5
mov al, byte [edi + 1]
mov ecx, dword [ebp - 0x60]
cmp al, byte [ecx + 1]
jne 0x10022dd5
mov esi, 2
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x48], esi
jbe 0x10023a94
lea eax, [edi + 2]
sub ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx + eax]
jne 0x10023a91
inc esi
inc eax
cmp esi, dword [ebp - 0x48]
jb 0x10023a7b
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
add eax, esi
mov dword [ebp - 0x38], eax
cmp edx, eax
jae 0x10023ad2
lea ecx, [edx + edx*2]
add ecx, ecx
sub eax, edx
add edx, eax
lea ecx, [ebx + ecx*8 + 0x534]
mov dword [ebp - 0x4c], edx
jmp 0x10023ac2
add ecx, 0x30
dec eax
mov dword [ecx], 0x40000000
jne 0x10023ac2
mov edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x58]
mov ecx, ebx
mov dword [ebp - 0x78], esi
call fcn.10022010
mov ecx, dword [ebp - 0x54]
add eax, dword [ebp - 0x80]
imul ecx, ecx, 0x110
mov edx, esi
add edx, ecx
jmp 0x10022670
mov edx, dword [ecx*4 + 0x3f5d5f8]
jmp 0x10023bb5
mov ecx, dword [ecx*4 + 0x3f5d628]
mov edx, dword [ecx*4 + 0x3f5d5f8]
jle 0x10023bb5
pushfd
push eax
push edx
and eax, edx
push ecx
dec ecx
add cx, cx
neg ax
shl cl, 1
aaa
push ebx
lea ebx, [eax + 0x677b]
bswap eax
shr ebx, 2
push edx
bsf edx, edx
aam 0xa
dec cx
bswap eax
inc bh
clc
xadd eax, ebx
aas
bsf dx, dx
lea eax, [eax + eax - 0x14e3]
lea ebx, [edx + 0x7206]
not ebx
bts ebx, 2
pop eax
xchg dl, cl
mov ecx, dword [esp + 4]
clc
cdq
push edx
aas
push ecx
stc
aaa
inc ax
inc bh
mov eax, dword [esp + 0x18]
push eax
popfd
mov ebx, dword [esp + 8]
cdq
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea esp, [esp + 0x1c]
jg 0x10023bb5
lea edx, [eax + eax*2]
add edx, edx
mov ecx, dword [ebx + edx*8 + 0x538]
mov edx, dword [ecx*4 + 0x3f5d5f8]
jmp 0x10023bb5
lea ecx, [eax + eax*2]
add ecx, ecx
mov edx, dword [ebx + ecx*8 + 0x538]
dec edi
cmp eax, edi
jne 0x10023be9
cmp dword [esi + 0x550], 0
jne 0x10023bda
mov edx, dword [edx*4 + 0x3f5d688]
mov dword [ebp - 0x58], edx
jmp 0x1002387a
mov eax, dword [edx*4 + 0x3f5d5f8]
mov dword [ebp - 0x58], eax
jmp 0x1002387a
mov ecx, dword [esi + 0x53c]
test ecx, ecx
je 0x10023c1f
cmp dword [esi + 0x540], 0
je 0x10023c1f
mov ecx, dword [esi + 0x548]
mov eax, dword [esi + 0x544]
mov edx, dword [edx*4 + 0x3f5d658]
mov dword [ebp - 0x2c], ecx
jmp 0x10022efa
mov ecx, dword [esi + 0x550]
mov dword [ebp - 0x2c], ecx
cmp ecx, 4
jae 0x10022ef0
mov ecx, dword [edx*4 + 0x3f5d658]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0x2c]
jmp 0x10022eeb