Function at 0x10022eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
jmp 0x1002315a
add edx, dword [ebp - 0x38]
cmp edx, dword [ecx - 0x1c]
jae 0x10022ed7
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 0x10023a11
inc edi
cmp edi, 4
jb 0x10023cb9
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 0x10022f1e
inc ecx
jmp 0x10022f23
mov ecx, 2
mov dword [ebp - 0x5c], ecx
cmp ecx, dword [ebp - 0x2c]
ja 0x100238bf
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp ecx, dword [ebx + 0x30f34]
jbe 0x10022f55
mov edi, edi
add eax, 2
cmp ecx, dword [ebx + eax*4 + 0x30f34]
ja 0x10022f42
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 0x10022f9c
mov eax, 3
cmp esi, 0x80
jae 0x10022fb9
shl eax, 7
add eax, esi
add edx, dword [ebx + eax*4 + 0x31bc8]
jmp 0x10022ff6
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 0x10023840
xor eax, eax
add esi, 4
mov dword [edi - 0x1c], edx
jmp 0x10023838
test eax, eax
je 0x10023023
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 0x100240fc
mov esi, dword [ebp - 0x78]
shr ecx, 4
add eax, dword [ebx + ecx*4 + 0x30d34]
jmp 0x10024113
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 0x100230b2
mov eax, dword [ebx + eax*4 + 0x30f38]
mov dword [ebp - 0x60], eax
cmp eax, 0x80
jb 0x100230a4
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 0x1002441d
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov edi, eax
cmp eax, dword [ebp - 0x4c]
jne 0x100238d0
jmp 0x10023722
mov ecx, dword [ebp - 0x68]
jmp 0x1002371c
sub ecx, eax
jmp 0x1002422a
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 0x10023058
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
lea edx, [esi + eax]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x60]
jmp 0x1002303d
push edx
call fcn.10022330
add esp, 8
jmp 0x10023b72
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 0x1002447a
movzx eax, byte [ebp - 0x25]
or eax, 0x100
mov dword [ebp - 0x3c], 0
jmp 0x10023b2f
mov eax, dword [0x3027864]
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 0x100231ab
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.100649af
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 0x100231d3
lea eax, [ebp - 0x48]
push eax
mov esi, ebx
call fcn.10022b50
add esp, 4
mov dword [ebp - 0x2c], eax
jmp 0x10023fad
mov ecx, dword [ebx + 0x20]
jmp 0x10023fa4
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 0x10023c14
mov dword [edi], 0x40000000
jne 0x1002463b
jmp 0x10023703
mov edx, esi
sub edx, dword [ebp - 0x14]
mov cl, byte [edx - 1]
jmp 0x100234f9
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100649af
mov esp, ebp
pop ebp
ret
cmp eax, 0x111
jbe 0x10023257
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 0x10023ed9
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 0x100232b7
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 0x10023292
cmp dword [ebp - 0x2c], 0
jne 0x100232db
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 0x100232f9
mov ecx, edx
mov dword [ebp - 0x3c], edx
cmp eax, ecx
jae 0x10023325
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 0x10023325
inc eax
inc ecx
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x3c]
jb 0x10023309
or ecx, 0xffffffff
sub ecx, esi
add eax, ecx
mov dword [ebp - 0x34], eax
cmp eax, 2
jb 0x100239d5
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.10022330
mov edx, dword [ebp - 0x58]
mov edx, dword [edx*4 + 0x301d658]
mov edi, dword [ebx + 0x58]
mov ecx, dword [ebp - 0x3c]
and ecx, edi
mov esi, edx
jmp 0x10023409
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 0x10023145
movzx ecx, byte [ebp - 0x25]
lea eax, [ebx + 0x30d34]
push eax
movzx eax, byte [ebp - 0x2d]
jmp 0x1002311a
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 0x10023990
mov edx, dword [edx*4 + 0x301d5f8]
shl esi, 4
add ecx, esi
movzx ecx, word [ebx + ecx*2 + 0x32408]
jmp 0x1002302b
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 0x100237a3
lea esi, [eax + eax*2]
add esi, esi
jmp 0x1002377a
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 0x1002339d
mov byte [ebp - 0x2d], cl
cmp eax, 2
jae 0x100242b7
jmp 0x10024613
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 0x100231db
cmp eax, ecx
jb 0x10023229
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 0x10023732
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 0x2fc2a9c
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 0x10023e46
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 0x10023e2e
mov eax, dword [ebp - 0x70]
imul ecx, ecx, 0x110
movzx eax, word [ebx + eax*2 + 0x325e8]
mov edi, dword [ebp - 0x78]
jmp 0x100233d6
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.10022cd0
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop edi
call fcn.100649af
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x540], 0
je 0x10024791
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 0x1002470a
mov ecx, dword [ecx*4 + 0x301d658]
jmp 0x100246fe
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 0x10023793
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 0x10023818
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 0x1002382e
mov ecx, dword [ebp - 0x2c]
mov dl, byte [edi]
jmp 0x10024644
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 0x1002385f
add eax, 2
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x48]
je 0x100238bf
add dword [ebp - 0x50], 4
inc ecx
mov dword [ebp - 0x5c], ecx
add edi, 0x30
jns 0x10022f76
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 0x10022f76
mov edi, 1
mov dword [ebp - 0x44], edi
cmp dword [ebp - 0x4c], edi
je 0x10023722
lea edx, [ebp - 0x68]
push edx
mov esi, ebx
call fcn.10022b50
add esp, 4
mov dword [ebp - 0x74], eax
cmp eax, dword [ebx + 0x2c]
jae 0x100230c9
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 0x100247a9
dec eax
js 0x10023742
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 0x10023742
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 0x100239d5
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 0x1002382e
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x48]
cmp edx, ecx
jbe 0x10023d92
mov edx, ecx
xor eax, eax
jmp 0x10023d5b
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 0x10022ebe
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 0x10022ebe
mov edi, dword [ebp - 0x4c]
add esp, 8
mov dword [ebp - 0x80], eax
cmp edi, eax
jae 0x10023ad2
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 0x10023ac2
add edi, 0x30
dec eax
mov dword [edi], 0x40000000
jne 0x10023ac2
mov eax, dword [ebp - 0x70]
imul ecx, ecx, 0x110
movzx eax, word [ebx + eax*2 + 0x325e8]
mov edi, dword [ebp - 0x78]
jmp 0x10023c24
jmp 0x10023afd
mov edx, dword [edx*4 + 0x301d628]
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 0x10023128
mov eax, dword [edx + ecx*4 + 0x20]
mov dword [ebp - 0x14], eax
mov eax, 1
cmp ecx, eax
jb 0x10024466
mov eax, dword [ebp - 0x2c]
inc eax
jmp 0x10024455
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 0x10023b32
mov eax, ecx
mov edx, dword [ebp - 0x60]
add edx, eax
mov dword [ebp - 0x60], edx
cmp edx, dword [esi + 0x564]
jae 0x10023bb0
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 0x100240b3
mov eax, dword [esi + 0x57c]
cmp eax, dword [ebp - 0x44]
jae 0x10024057
jmp 0x1002404a
mov eax, dword [ebp - 0x2c]
lea eax, [eax + esi - 1]
lea eax, [eax + edi + 1]
jmp 0x10023a8a
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 0x100230d8
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.100649af
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 0x10023ca4
mov dword [ecx], 0x40000000
dec eax
sub ecx, 0x30
cmp eax, 2
jae 0x10023ca4
xor edi, edi
mov esi, dword [ebp + edi*4 - 0x24]
cmp esi, 2
jb 0x10022ee7
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.10022c10
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 0x100239fc
mov dword [ebp - 0x74], edx
cmp ecx, dword [ebx + 0x30f34]
jbe 0x10023d85
jmp 0x10023d75
add eax, 2
cmp ecx, dword [ebx + eax*4 + 0x30f34]
ja 0x10023d75
mov dword [ebx + eax*4 + 0x30f34], ecx
add eax, 2
mov dword [ebp - 0x68], eax
cmp edx, dword [ebp - 0x40]
jb 0x100230b2
mov ecx, dword [ebp - 0x58]
jmp 0x1002455f
jae 0x10023dae
mov ecx, eax
mov dword [ebp - 0x50], eax
cmp ecx, 2
jb 0x100230b2
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebx + 0x2c]
mov dword [ebp - 0x48], ecx
cmp ecx, esi
jbe 0x10023dcb
mov dword [ebp - 0x48], esi
cmp dword [ebp - 0x40], 0
jne 0x10023818
mov dl, byte [ebp - 0x25]
cmp byte [ebp - 0x2d], dl
je 0x10023818
lea eax, [esi + 1]
mov dword [ebp - 0x3c], eax
cmp eax, ecx
jbe 0x10023df4
mov eax, ecx
mov dword [ebp - 0x3c], ecx
mov esi, 1
cmp eax, esi
jbe 0x10023e25
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 0x10023e25
inc esi
inc eax
cmp esi, dword [ebp - 0x3c]
jb 0x10023e0f
dec esi
mov dword [ebp - 0x34], esi
jmp 0x100240c8
jae 0x10023e46
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 0x10023ec6
mov dword [ebp - 0x4c], eax
jae 0x10023ecb
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 0x10023ecb
mov dword [ebp - 0x4c], ecx
mov eax, ecx
cmp eax, 2
jae 0x10023c66
jmp 0x10023c46
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x40], edx
mov byte [ebp - 0x25], al
mov dword [ebp - 0x68], edi
jmp 0x10023ef1
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 0x10023f6d
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x10023f6d
mov eax, 2
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x5c], eax
jbe 0x10023f51
lea edx, [esi + 2]
sub ecx, esi
mov al, byte [edx]
cmp al, byte [ecx + edx]
mov eax, dword [ebp - 0x50]
jne 0x10023f4e
inc eax
inc edx
mov dword [ebp - 0x50], eax
cmp eax, dword [ebp - 0x5c]
jb 0x10023f32
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x68]
mov dword [ebp + edi - 0x24], eax
cmp eax, dword [ebp + ecx - 0x24]
jbe 0x10023f75
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x68], edi
jmp 0x10023f75
mov dword [ebp + edi - 0x24], 0
inc edx
mov dword [ebp - 0x40], edx
cmp edx, 4
jb 0x10023ef1
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 0x1002410b
mov edx, dword [ebp - 0x7c]
mov dword [edx], eax
lea eax, [edi - 1]
jmp 0x1002300c
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 0x10023245
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 0x10023236
cmp dword [esi + 0x580], 0
je 0x100240b3
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 0x100240b3
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 0x10023da3
cmp esi, 2
jb 0x10023818
mov eax, dword [ebp - 0x58]
mov eax, dword [eax*4 + 0x301d5f8]
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 0x10023422
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100649af
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2c]
jmp 0x10023525
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 0x10023703
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 0x10024634
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.10022330
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx*4 + 0x301d628]
mov ecx, dword [ebp - 0x78]
mov esi, edx
mov edx, dword [edx*4 + 0x301d5f8]
movzx edi, word [ebx + edx*2 + 0x32588]
shl esi, 4
add esi, ecx
movzx esi, word [ebx + esi*2 + 0x32408]
jmp 0x1002350a
mov eax, dword [ebx + 0x2c]
add eax, esi
dec ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], eax
cmp eax, edx
jbe 0x10024243
mov eax, edx
mov dword [ebp - 0x3c], edx
cmp esi, eax
jae 0x10024285
mov edx, edi
sub edx, ecx
lea eax, [ecx + esi]
mov dword [ebp - 0x64], edx
jmp 0x10024266
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x70]
mov dl, byte [edx + eax]
cmp dl, byte [eax]
jne 0x10024285
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 0x10024260
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 0x10023058
jmp 0x100241a5
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100649af
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 0x10024313
lea eax, [ebx + 0x30d34]
push eax
movzx eax, byte [ebp - 0x2d]
push esi
call fcn.10022330
add esp, 8
jmp 0x1002431e
lea edx, [ebx + 0x30d34]
call fcn.10022270
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 0x100236b7
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 0x100236b7
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 0x10024442
mov ecx, 3
cmp eax, 0x80
jae 0x100244a8
shl ecx, 7
jmp 0x1002449a
lea esi, [edx + 0x20]
lea edi, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jae 0x10024477
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 0x10023471
add ecx, eax
add edx, dword [ebx + ecx*4 + 0x31bc8]
jmp 0x100244c6
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 0x100244ea
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 0x100230a4
mov edx, dword [ebp - 0x50]
mov ecx, edi
jno 0x100230d1
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 0x100230d1
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 0x100245b1
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 0x100245a1
mov ecx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x48], eax
cmp ecx, dword [ebx + 0x30f34]
jbe 0x100245d9
nop
add eax, 2
cmp ecx, dword [ebx + eax*4 + 0x30f34]
ja 0x100245c6
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 0x100243fa
cmp byte [ebp - 0x25], cl
je 0x100242b7
cmp edi, 2
jae 0x100242b7
mov eax, dword [ebp - 0x7c]
pop esi
mov dword [eax], 0xffffffff
jmp 0x100242a3
mov edi, dword [ebp - 0x64]
lea esp, [esp]
add edi, 0x30
dec eax
jmp 0x10023218
mov eax, edi
sub eax, dword [ebp + ecx*4 - 0x14]
dec eax
mov dword [ebp - 0x60], eax
cmp dl, byte [eax]
jne 0x100239d5
mov al, byte [edi + 1]
mov ecx, dword [ebp - 0x60]
cmp al, byte [ecx + 1]
jne 0x100239d5
mov esi, 2
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x48], esi
jbe 0x10024694
lea eax, [edi + 2]
sub ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx + eax]
jne 0x10024691
inc esi
inc eax
cmp esi, dword [ebp - 0x48]
jb 0x1002467b
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 0x100246d2
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 0x100246c2
add ecx, 0x30
dec eax
mov dword [ecx], 0x40000000
jne 0x100246c2
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.10022c10
mov ecx, dword [ebp - 0x54]
add eax, dword [ebp - 0x80]
imul ecx, ecx, 0x110
mov edx, esi
add edx, ecx
jmp 0x10023270
mov edx, dword [ecx*4 + 0x301d5f8]
jmp 0x100247b5
mov ecx, dword [ecx*4 + 0x301d628]
mov edx, dword [ecx*4 + 0x301d5f8]
jle 0x100247b5
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 0x100247b5
lea edx, [eax + eax*2]
add edx, edx
mov ecx, dword [ebx + edx*8 + 0x538]
mov edx, dword [ecx*4 + 0x301d5f8]
jmp 0x100247b5
lea ecx, [eax + eax*2]
add ecx, ecx
mov edx, dword [ebx + ecx*8 + 0x538]
dec edi
cmp eax, edi
jne 0x100247e9
cmp dword [esi + 0x550], 0
jne 0x100247da
mov edx, dword [edx*4 + 0x301d688]
mov dword [ebp - 0x58], edx
jmp 0x1002447a
mov eax, dword [edx*4 + 0x301d5f8]
mov dword [ebp - 0x58], eax
jmp 0x1002447a
mov ecx, dword [esi + 0x53c]
test ecx, ecx
je 0x1002481f
cmp dword [esi + 0x540], 0
je 0x1002481f
mov ecx, dword [esi + 0x548]
mov eax, dword [esi + 0x544]
mov edx, dword [edx*4 + 0x301d658]
mov dword [ebp - 0x2c], ecx
jmp 0x10023afa
mov ecx, dword [esi + 0x550]
mov dword [ebp - 0x2c], ecx
cmp ecx, 4
jae 0x10023af0
mov ecx, dword [edx*4 + 0x301d658]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0x2c]
jmp 0x10023aeb