Function at 0x10145bc0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x88
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], edi
mov ebx, dword [edi + 0x490]
cmp dword [edi + 0x48c], ebx
je 0x10145c11
mov ecx, dword [esp + 0x98]
lea eax, [ebx + ebx*2]
add eax, eax
mov esi, dword [edi + eax*8 + 0x4b8]
mov edx, dword [edi + eax*8 + 0x4bc]
mov dword [edi + 0x490], esi
sub esi, ebx
pop edi
mov eax, esi
mov dword [ecx], edx
pop esi
pop ebx
add esp, 0x88
ret
cmp dword [edi + 0x31738], 0
mov dword [edi + 0x48c], 0
mov dword [edi + 0x490], 0
jne 0x10145c41
lea edx, [esp + 0x58]
call fcn.10145960
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
jmp 0x10145c51
mov eax, dword [edi + 0x494]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x498]
mov ebx, dword [edi + 0x49c]
mov dword [esp + 0x1c], eax
push ebp
cmp ebx, 2
jb 0x10146eb5
push dword [edi + 0x18]
mov eax, 0x111
cmp ebx, eax
cmova ebx, eax
mov eax, dword [edi + 0xc]
call eax
add esp, 4
mov dword [esp + 0x18], 0
xor ebp, ebp
lea edx, [eax - 1]
mov al, byte [edx]
mov dword [esp + 0x34], edx
mov byte [esp + 0x12], al
mov eax, dword [edi + ebp*4 + 0x3173c]
mov ecx, edx
sub ecx, eax
mov dword [esp + ebp*4 + 0x60], eax
mov al, byte [esp + 0x12]
cmp al, byte [ecx - 1]
lea esi, [ecx - 1]
jne 0x10145cf5
mov al, byte [edx + 1]
cmp al, byte [ecx]
jne 0x10145cf5
mov edx, 2
cmp ebx, edx
jbe 0x10145cd2
mov eax, dword [esp + 0x34]
sub esi, eax
lea ecx, [eax + 2]
mov al, byte [ecx]
cmp al, byte [esi + ecx]
jne 0x10145cd2
inc edx
inc ecx
cmp edx, ebx
jb 0x10145cc5
mov ecx, dword [esp + 0x18]
mov eax, ebp
mov dword [esp + ebp*4 + 0x88], edx
cmp edx, dword [esp + ecx*4 + 0x88]
mov edx, dword [esp + 0x34]
cmovbe eax, ecx
mov ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x10145d04
mov ecx, dword [esp + 0x18]
mov dword [esp + ebp*4 + 0x88], 0
inc ebp
cmp ebp, 4
jb 0x10145c91
mov esi, dword [esp + ecx*4 + 0x88]
mov eax, dword [edi + 0x31734]
cmp esi, eax
jb 0x10145d4a
mov eax, dword [esp + 0x9c]
mov dword [eax], ecx
lea eax, [esi - 1]
test eax, eax
je 0x10145d3d
mov ecx, dword [edi + 0x14]
add dword [edi + 0x31738], eax
push eax
push dword [edi + 0x18]
call ecx
add esp, 8
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x88
ret
mov ebx, dword [esp + 0x1c]
cmp ebx, eax
jb 0x10145d8f
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x9c]
mov ecx, dword [edi + ecx*4 + 0x30e9c]
add ecx, 4
mov dword [eax], ecx
lea eax, [ebx - 1]
test eax, eax
je 0x10145d82
add dword [edi + 0x31738], eax
push eax
push dword [edi + 0x18]
mov eax, dword [edi + 0x14]
call eax
add esp, 8
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x88
ret
mov cl, byte [edx]
mov eax, edx
sub eax, dword [esp + 0x60]
mov byte [esp + 0x12], cl
mov al, byte [eax - 1]
mov byte [esp + 0x13], al
cmp ebx, 2
jae 0x10145db4
cmp cl, al
je 0x10145db4
cmp esi, 2
jb 0x10146eb5
mov eax, dword [edi + 0x3174c]
mov ecx, 8
mov dword [edi + 0x4a4], eax
sub cl, byte [edi + 0x32398]
movzx edx, byte [edx - 1]
mov ebp, dword [edi + 0x323a8]
mov eax, dword [esp + 0x40]
and ebp, eax
and eax, dword [edi + 0x323a4]
mov ebx, dword [edi + 0x3174c]
shr edx, cl
mov ecx, dword [edi + 0x32398]
shl eax, cl
add edx, eax
mov dword [esp + 0x4c], ebp
imul ecx, edx, 0x600
lea eax, [edi + 0x30ca0]
movzx edx, byte [esp + 0x12]
mov dword [esp + 0x5c], eax
lea eax, [edi + 0x30ca0]
push eax
add ecx, dword [edi + 0x323ac]
cmp ebx, 7
jb 0x10145e2e
movzx eax, byte [esp + 0x17]
push eax
call fcn.10145450
add esp, 8
jmp 0x10145e36
call fcn.10145400
add esp, 4
mov ecx, eax
shl ebx, 4
add ebx, ebp
or edx, 0xffffffff
movzx eax, word [edi + ebx*2 + 0x323b0]
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30ca0]
add eax, ecx
mov dword [edi + 0x4ec], 0xffffffff
mov dword [edi + 0x4d0], eax
mov dword [esp + 0x30], eax
mov dword [edi + 0x4d8], 0
mov ebx, dword [edi + 0x3174c]
mov eax, ebx
shl eax, 4
add eax, ebp
movzx eax, word [edi + eax*2 + 0x323b0]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [edi + eax*4 + 0x30ca0]
movzx eax, word [edi + ebx*2 + 0x32530]
xor eax, 0x7f0
mov dword [esp + 0x38], ecx
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30ca0]
add eax, ecx
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x12]
cmp byte [esp + 0x13], al
jne 0x10145f0b
mov eax, ebx
or edx, 0xffffffff
shl eax, 4
add eax, ebp
movzx ecx, word [edi + eax*2 + 0x32590]
movzx eax, word [edi + ebx*2 + 0x32548]
shr ecx, 4
shr eax, 4
mov ecx, dword [edi + ecx*4 + 0x30ca0]
add ecx, dword [edi + eax*4 + 0x30ca0]
add ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x30]
jae 0x10145f0b
mov dword [edi + 0x4d0], ecx
xor edx, edx
mov dword [edi + 0x4ec], 0
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
cmovb ecx, esi
mov dword [esp + 0x2c], ecx
cmp ecx, 2
jae 0x10145f36
mov eax, dword [esp + 0x9c]
pop ebp
pop edi
pop esi
mov dword [eax], edx
mov eax, 1
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x60]
mov dword [edi + 0x4e8], 0
mov dword [edi + 0x4c0], eax
mov eax, dword [esp + 0x64]
mov dword [edi + 0x4c4], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 0x4c8], eax
mov eax, dword [esp + 0x6c]
mov dword [edi + 0x4cc], eax
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, 0x4a0
add eax, edi
dec ecx
mov dword [eax], 0x40000000
lea eax, [eax - 0x30]
cmp ecx, 2
jae 0x10145f75
xor ebx, ebx
nop word [eax + eax]
mov esi, dword [esp + ebx*4 + 0x88]
cmp esi, 2
jb 0x10146002
push ebp
push dword [edi + 0x3174c]
mov edx, ebx
mov ecx, edi
call fcn.10145a10
imul ecx, dword [esp + 0x54], 0x110
mov ebp, eax
add ebp, dword [esp + 0x3c]
lea eax, [edi + 0x4bc]
add esp, 8
add ecx, 0xdd96
add ecx, esi
lea edx, [edi + ecx*4]
lea ecx, [esi + esi*2]
shl ecx, 4
add eax, ecx
mov ecx, dword [edx]
add ecx, ebp
cmp ecx, dword [eax - 0x1c]
jae 0x10145ff2
mov dword [eax - 0x1c], ecx
mov dword [eax - 4], 0
mov dword [eax], ebx
mov dword [eax - 0x14], 0
dec esi
sub edx, 4
sub eax, 0x30
cmp esi, 2
jae 0x10145fd6
mov ebp, dword [esp + 0x4c]
inc ebx
cmp ebx, 4
jb 0x10145f90
mov eax, dword [edi + 0x3174c]
mov ebx, dword [esp + 0x88]
movzx eax, word [edi + eax*2 + 0x32530]
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30ca0]
add eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
cmp ebx, 2
jb 0x10146037
inc ebx
jmp 0x1014603c
mov ebx, 2
cmp ebx, dword [esp + 0x1c]
ja 0x10146174
lea ecx, [edi + 0x30ea0]
xor esi, esi
cmp ebx, dword [ecx]
jbe 0x1014605a
add esi, 2
cmp ebx, dword [ecx + esi*4]
ja 0x10146052
lea eax, [ebx - 2]
mov edx, ebx
shl eax, 7
mov dword [esp + 0x1c], eax
imul eax, ebp, 0x110
lea ebp, [edi + 0x4bc]
shl edx, 5
add edx, 0x62aa
add eax, 0xcb84
add eax, ebx
lea eax, [edi + eax*4]
mov dword [esp + 0x18], eax
lea eax, [ebx + ebx*2]
shl eax, 4
add ebp, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
add eax, dword [esp + 0x30]
mov ecx, dword [ecx + esi*4 + 4]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], eax
cmp ebx, 5
jae 0x101460be
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], edx
jmp 0x101460cb
mov eax, 0x180
mov dword [esp + 0x34], 0x634a
cmp ecx, 0x80
jae 0x101460de
add eax, ecx
mov eax, dword [edi + eax*4 + 0x31b50]
jmp 0x10146120
mov edx, 0x1ffff
mov eax, ecx
sub edx, ecx
shr edx, 0x1f
neg edx
and edx, 0xa
add edx, 6
mov ecx, edx
shr eax, cl
movzx ecx, byte [eax + edi + 0x304a0]
mov eax, dword [esp + 0x34]
add eax, edx
mov edx, dword [esp + 0x3c]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x4c]
mov eax, dword [edi + eax*4]
and ecx, 0xf
add eax, dword [edi + ecx*4 + 0x32350]
mov ecx, dword [esp + 0x4c]
add eax, dword [esp + 0x38]
cmp eax, dword [ebp - 0x1c]
jae 0x10146140
mov dword [ebp - 0x1c], eax
lea eax, [ecx + 4]
mov dword [ebp - 4], 0
mov dword [ebp], eax
mov dword [ebp - 0x14], 0
cmp ebx, dword [edi + esi*4 + 0x30ea0]
lea ecx, [edi + 0x30ea0]
jne 0x10146158
add esi, 2
cmp esi, dword [esp + 0x20]
je 0x10146174
mov eax, dword [esp + 0x18]
inc ebx
sub dword [esp + 0x1c], 0xffffff80
add eax, 4
add edx, 0x20
mov dword [esp + 0x18], eax
add ebp, 0x30
jmp 0x10146095
mov ebx, 1
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x2c], ebx
je 0x10146e98
nop word [eax + eax]
lea edx, [esp + 0x34]
mov ecx, edi
call fcn.10145960
mov ecx, eax
mov dword [esp + 0x54], ecx
cmp ecx, dword [edi + 0x31734]
jae 0x10146e88
inc dword [esp + 0x40]
lea ebx, [ebx + ebx*2]
shl ebx, 4
add ebx, edi
mov edx, dword [ebx + 0x4a8]
mov ecx, dword [ebx + 0x4b8]
test edx, edx
je 0x10146223
dec ecx
cmp dword [ebx + 0x4ac], 0
je 0x1014620e
mov eax, dword [ebx + 0x4b0]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [ebx + 0x4b4], 4
mov eax, dword [edi + eax*8 + 0x4a4]
jae 0x101461fe
mov esi, dword [eax*4 + 0x1021b338]
mov esi, dword [esi*4 + 0x1021b368]
jmp 0x1014622f
mov esi, dword [eax*4 + 0x1021b2d8]
mov esi, dword [esi*4 + 0x1021b368]
jmp 0x1014622f
lea eax, [ecx + ecx*2]
add eax, eax
mov esi, dword [edi + eax*8 + 0x4a4]
mov esi, dword [esi*4 + 0x1021b368]
jmp 0x1014622f
lea eax, [ecx + ecx*2]
add eax, eax
mov esi, dword [edi + eax*8 + 0x4a4]
mov eax, dword [esp + 0x14]
dec eax
cmp ecx, eax
jne 0x10146261
cmp dword [ebx + 0x4bc], 0
jne 0x10146251
mov esi, dword [esi*4 + 0x1021b308]
mov dword [esp + 0x24], esi
jmp 0x10146322
mov esi, dword [esi*4 + 0x1021b368]
mov dword [esp + 0x24], esi
jmp 0x10146322
test edx, edx
je 0x10146283
cmp dword [ebx + 0x4ac], 0
je 0x10146283
mov ecx, dword [ebx + 0x4b0]
mov edx, dword [ebx + 0x4b4]
mov esi, dword [esi*4 + 0x1021b338]
jmp 0x1014629e
mov edx, dword [ebx + 0x4bc]
cmp edx, 4
jae 0x10146297
mov esi, dword [esi*4 + 0x1021b338]
jmp 0x1014629e
mov esi, dword [esi*4 + 0x1021b2d8]
lea eax, [ecx + ecx*2]
mov dword [esp + 0x24], esi
shl eax, 4
lea ebp, [edi + 0x4a0]
add ebp, eax
cmp edx, 4
jae 0x10146306
mov eax, dword [ebp + edx*4 + 0x20]
mov dword [esp + 0x60], eax
mov eax, 1
cmp edx, eax
jb 0x101462e3
lea eax, [edx + 1]
mov ecx, edx
lea esi, [ebp + 0x20]
lea edi, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jb 0x101462e3
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x10146322
lea esi, [eax*4 + 0x20]
mov ecx, 4
add esi, ebp
lea edi, [esp + 0x60]
lea edi, [edi + eax*4]
sub ecx, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x10146322
lea eax, [edx - 4]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
mov dword [ebx + 0x4a4], esi
mov dword [ebx + 0x4c0], eax
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x4c4], eax
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x4c8], eax
mov eax, dword [esp + 0x6c]
mov dword [ebx + 0x4cc], eax
mov ebp, dword [ebx + 0x4a0]
push dword [edi + 0x18]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x34], 0
call eax
mov edx, dword [edi + 0x323a8]
add esp, 4
and edx, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
lea ecx, [eax - 1]
mov al, byte [ecx]
mov byte [esp + 0x12], al
mov eax, ecx
sub eax, dword [esp + 0x60]
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov al, byte [eax]
mov byte [esp + 0x13], al
mov eax, esi
shl eax, 4
add eax, edx
movzx edx, byte [ecx - 1]
mov dword [esp + 0x38], eax
movzx eax, word [edi + eax*2 + 0x323b0]
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30ca0]
add eax, ebp
mov dword [esp + 0x18], eax
lea eax, [ecx - 1]
mov dword [esp + 0x80], eax
mov ecx, 8
sub cl, byte [edi + 0x32398]
mov eax, dword [esp + 0x40]
and eax, dword [edi + 0x323a4]
shr edx, cl
mov ecx, dword [edi + 0x32398]
shl eax, cl
add edx, eax
imul ebp, edx, 0x600
movzx edx, byte [esp + 0x12]
add ebp, dword [edi + 0x323ac]
cmp esi, 7
jb 0x1014641c
lea eax, [edi + 0x30ca0]
mov ecx, ebp
push eax
movzx eax, byte [esp + 0x17]
push eax
call fcn.10145450
add esp, 8
mov esi, eax
jmp 0x10146454
xor esi, esi
or edx, 0x100
mov eax, edx
shr eax, 8
movzx ecx, word [ebp + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
add esi, dword [edi + ecx*4 + 0x30ca0]
cmp edx, 0x10000
jb 0x10146424
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0x4d0]
add eax, esi
mov dword [esp + 0x18], eax
cmp eax, edx
jae 0x10146495
mov ecx, dword [esp + 0x14]
mov ebp, 1
mov dword [ebx + 0x4d0], eax
mov edx, eax
mov dword [ebx + 0x4e8], ecx
mov dword [ebx + 0x4ec], 0xffffffff
mov dword [ebx + 0x4d8], 0
jmp 0x10146499
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
movzx eax, word [edi + esi*2 + 0x323b0]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [edi + eax*4 + 0x30ca0]
mov eax, dword [esp + 0x24]
add ecx, dword [esp + 0x50]
mov dword [esp + 0x7c], ecx
movzx eax, word [edi + eax*2 + 0x32530]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30ca0]
add eax, ecx
mov cl, byte [esp + 0x13]
mov ch, byte [esp + 0x12]
mov dword [esp + 0x58], eax
cmp cl, ch
jne 0x1014655f
mov eax, dword [esp + 0x14]
cmp dword [ebx + 0x4e8], eax
jae 0x101464fe
cmp dword [ebx + 0x4ec], 0
je 0x1014655f
mov eax, dword [esp + 0x24]
movzx ecx, word [edi + eax*2 + 0x32548]
movzx eax, word [edi + esi*2 + 0x32590]
shr ecx, 4
shr eax, 4
mov ecx, dword [edi + ecx*4 + 0x30ca0]
add ecx, dword [edi + eax*4 + 0x30ca0]
add ecx, dword [esp + 0x58]
cmp ecx, edx
ja 0x10146557
mov eax, dword [esp + 0x14]
mov ebp, 1
mov dword [ebx + 0x4d0], ecx
mov dword [ebx + 0x4e8], eax
mov dword [ebx + 0x4ec], 0
mov dword [ebx + 0x4d8], 0
mov ch, byte [esp + 0x12]
mov cl, byte [esp + 0x13]
mov ebx, dword [esp + 0x14]
mov esi, 0xfff
mov eax, dword [edi + 0x49c]
sub esi, ebx
cmp esi, eax
cmovae esi, eax
mov dword [esp + 0x4c], esi
cmp esi, 2
jb 0x10146e5c
mov eax, dword [edi + 0x31734]
mov edx, esi
cmp esi, eax
cmova edx, eax
mov dword [esp + 0x20], edx
test ebp, ebp
jne 0x101466e5
cmp cl, ch
je 0x101466e5
inc eax
lea edx, [ebp + 1]
cmp eax, esi
mov ecx, esi
cmovbe ecx, eax
cmp ecx, edx
jbe 0x101465cd
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
nop word [eax + eax]
mov al, byte [edx + ebx]
cmp al, byte [edx + esi]
jne 0x101465cd
inc edx
cmp edx, ecx
jb 0x101465c0
lea eax, [edx - 1]
mov dword [esp + 0x30], eax
cmp eax, 2
jb 0x101466e1
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
inc ebp
and ebp, dword [edi + 0x323a8]
add esi, edx
mov ebx, dword [eax*4 + 0x1021b368]
mov eax, ebx
mov edx, dword [esp + 0x2c]
shl eax, 4
add eax, ebp
movzx ecx, word [edi + eax*2 + 0x323b0]
movzx eax, word [edi + ebx*2 + 0x32530]
xor ecx, 0x7f0
shr ecx, 4
xor eax, 0x7f0
shr eax, 4
mov ebx, dword [edi + ecx*4 + 0x30ca0]
add ebx, dword [edi + eax*4 + 0x30ca0]
add ebx, dword [esp + 0x18]
cmp edx, esi
jae 0x1014665f
lea eax, [edx + edx*2]
mov dword [esp + 0x2c], esi
shl eax, 4
mov ecx, esi
add eax, 0x4a0
add eax, edi
sub ecx, edx
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x10146650
mov eax, dword [esp + 0x24]
xor edx, edx
push ebp
mov ecx, edi
push dword [eax*4 + 0x1021b368]
call fcn.10145a10
mov edx, dword [esp + 0x28]
add esp, 8
imul ecx, ebp, 0x110
add ecx, dword [esp + 0x30]
add eax, dword [edi + ecx*4 + 0x37658]
lea ecx, [esi + esi*2]
add ecx, ecx
add eax, ebx
cmp eax, dword [edi + ecx*8 + 0x4a0]
jae 0x101466e5
mov dword [edi + ecx*8 + 0x4a0], eax
mov esi, 2
mov eax, dword [esp + 0x14]
inc eax
mov dword [edi + ecx*8 + 0x4bc], 0
xor ebp, ebp
mov dword [edi + ecx*8 + 0x4b8], eax
mov dword [edi + ecx*8 + 0x4a8], 1
mov dword [edi + ecx*8 + 0x4ac], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x48], ebp
jmp 0x101466fa
mov edx, dword [esp + 0x20]
mov esi, 2
xor ebp, ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x48], ebp
jmp 0x101466fa
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
mov ecx, eax
sub ecx, dword [esp + ebp*4 + 0x60]
mov al, byte [eax]
lea ebx, [ecx - 1]
mov dword [esp + 0x50], ebx
cmp al, byte [ebx]
jne 0x10146a1a
mov eax, dword [esp + 0x44]
mov al, byte [eax + 1]
cmp al, byte [ecx]
jne 0x10146a1a
mov esi, 2
cmp edx, esi
jbe 0x1014674d
mov edx, dword [esp + 0x44]
lea ecx, [ebx + 2]
sub edx, ebx
mov ebx, dword [esp + 0x20]
nop word [eax + eax]
mov al, byte [ecx + edx]
cmp al, byte [ecx]
jne 0x1014674d
inc esi
inc ecx
cmp esi, ebx
jb 0x10146740
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
add ebx, esi
cmp edx, ebx
jae 0x1014677f
lea eax, [edx + edx*2]
mov dword [esp + 0x2c], ebx
shl eax, 4
mov ecx, ebx
add eax, 0x4a0
add eax, edi
sub ecx, edx
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x10146770
push dword [esp + 0x3c]
mov edx, ebp
mov dword [esp + 0x20], esi
push dword [esp + 0x28]
mov ecx, edi
call fcn.10145a10
add eax, dword [esp + 0x60]
add esp, 8
mov dword [esp + 0x38], eax
imul eax, dword [esp + 0x3c], 0x110
mov dword [esp + 0x70], eax
lea ecx, [eax + 0xdd96]
add ecx, esi
lea edx, [edi + ecx*4]
add edi, 0x4bc
lea ecx, [ebx + ebx*2]
mov ebx, dword [esp + 0x38]
shl ecx, 4
add ecx, edi
mov edi, dword [esp + 0x14]
nop dword [eax]
mov eax, dword [edx]
add eax, ebx
cmp eax, dword [ecx - 0x1c]
jae 0x101467e8
mov dword [ecx - 0x1c], eax
mov dword [ecx - 4], edi
mov dword [ecx], ebp
mov dword [ecx - 0x14], 0
dec esi
sub edx, 4
sub ecx, 0x30
cmp esi, 2
jae 0x101467d0
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
inc ecx
mov esi, dword [esp + 0x4c]
test ebp, ebp
mov eax, ecx
cmovne eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x31734]
add eax, ecx
cmp eax, esi
cmovbe esi, eax
cmp ecx, esi
jae 0x1014683d
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x44]
sub ebx, eax
lea edx, [ecx + eax]
nop dword [eax]
mov al, byte [edx + ebx]
cmp al, byte [edx]
jne 0x1014683d
inc ecx
inc edx
cmp ecx, esi
jb 0x10146830
mov esi, dword [esp + 0x30]
mov eax, 0xffffffff
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
add ecx, eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x18], esi
cmp ecx, 2
jb 0x10146a1a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x5c]
mov edi, dword [esp + 0x44]
mov ebx, dword [eax*4 + 0x1021b338]
add edi, ecx
mov eax, dword [esp + 0x2c]
mov ebp, dword [eax + 0x323a8]
mov eax, dword [esp + 0x54]
movzx eax, byte [ecx + eax]
push eax
mov eax, dword [esp + 0x4c]
movzx esi, byte [ecx + eax - 1]
movzx edx, byte [ecx + eax]
mov ecx, 8
mov eax, dword [esp + 0x30]
sub cl, byte [eax + 0x32398]
mov eax, edi
shr esi, cl
mov ecx, dword [esp + 0x30]
and eax, dword [ecx + 0x323a4]
mov ecx, dword [ecx + 0x32398]
shl eax, cl
add esi, eax
mov eax, dword [esp + 0x30]
imul ecx, esi, 0x600
add ecx, dword [eax + 0x323ac]
call fcn.10145450
mov edx, ebp
mov ecx, ebx
shl ecx, 4
and edx, edi
mov edi, dword [esp + 0x30]
add edx, ecx
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x1c]
movzx ecx, word [edi + edx*2 + 0x323b0]
mov edx, dword [ebx*4 + 0x1021b368]
mov ebx, dword [esp + 0x40]
shr ecx, 4
add esi, dword [edi + ecx*4 + 0x30ca0]
mov ecx, dword [esp + 0x70]
add ecx, eax
inc eax
add ebx, eax
mov eax, edx
shl eax, 4
and ebx, ebp
add eax, ebx
add esi, dword [edi + ecx*4 + 0x37658]
add esi, dword [esp + 0x38]
movzx ecx, word [edi + eax*2 + 0x323b0]
movzx eax, word [edi + edx*2 + 0x32530]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov ebp, dword [edi + ecx*4 + 0x30ca0]
add ebp, dword [edi + eax*4 + 0x30ca0]
mov eax, dword [esp + 0x2c]
add ebp, esi
mov esi, dword [esp + 0x74]
add esi, dword [esp + 0x14]
cmp eax, esi
jae 0x1014698f
lea eax, [eax + eax*2]
mov ecx, esi
shl eax, 4
add eax, 0x4a0
add eax, edi
sub ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], esi
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x10146980
push ebx
push edx
xor edx, edx
mov ecx, edi
call fcn.10145a10
mov edx, dword [esp + 0x38]
add esp, 8
imul ecx, ebx, 0x110
mov ebx, dword [esp + 0x14]
add ecx, dword [esp + 0x78]
add eax, dword [edi + ecx*4 + 0x37658]
lea ecx, [esi + esi*2]
add ecx, ecx
add eax, ebp
mov ebp, dword [esp + 0x48]
mov esi, edx
mov dword [esp + 0x18], esi
cmp eax, dword [edi + ecx*8 + 0x4a0]
jae 0x10146a1e
mov dword [edi + ecx*8 + 0x4a0], eax
mov eax, dword [esp + 0x1c]
inc eax
mov dword [edi + ecx*8 + 0x4bc], 0
add eax, ebx
mov dword [edi + ecx*8 + 0x4a8], 1
mov dword [edi + ecx*8 + 0x4b8], eax
mov dword [edi + ecx*8 + 0x4ac], 1
mov dword [edi + ecx*8 + 0x4b0], ebx
mov dword [edi + ecx*8 + 0x4b4], ebp
mov dword [esp + 0x18], esi
jmp 0x10146a1e
mov ebx, dword [esp + 0x14]
inc ebp
mov dword [esp + 0x48], ebp
cmp ebp, 4
jb 0x101466f6
mov eax, dword [esp + 0x20]
lea ebp, [edi + 0x30ea0]
mov edx, dword [esp + 0x54]
cmp edx, eax
jbe 0x10146a66
mov edx, eax
xor ecx, ecx
xor eax, eax
cmp edx, dword [ebp]
jbe 0x10146a5b
nop dword [eax]
add eax, 2
mov ecx, eax
cmp edx, dword [ebp + eax*4]
ja 0x10146a50
mov dword [ebp + eax*4], edx
lea eax, [ecx + 2]
mov dword [esp + 0x34], eax
cmp edx, esi
jb 0x10146e5c
mov eax, dword [esp + 0x24]
add edx, ebx
mov ebx, dword [esp + 0x2c]
movzx eax, word [edi + eax*2 + 0x32530]
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30ca0]
add dword [esp + 0x7c], eax
cmp ebx, edx
jae 0x10146abf
lea eax, [ebx + ebx*2]
mov dword [esp + 0x2c], edx
shl eax, 4
mov ecx, edx
add eax, 0x4a0
add eax, edi
sub ecx, ebx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x10146ab0
xor ebx, ebx
mov dword [esp + 0x1c], ebx
cmp esi, dword [ebp]
jbe 0x10146add
nop word [eax + eax]
add ebx, 2
cmp esi, dword [ebp + ebx*4]
ja 0x10146ad0
mov dword [esp + 0x1c], ebx
mov edx, dword [ebp + ebx*4 + 4]
mov ecx, 0x1ffff
sub ecx, edx
mov dword [esp + 0x38], edx
shr ecx, 0x1f
lea ebp, [esi + 1]
neg ecx
mov eax, edx
and ecx, 0xa
add ecx, 6
shr eax, cl
movzx eax, byte [eax + edi + 0x304a0]
lea eax, [eax + ecx*2]
mov ecx, esi
mov dword [esp + 0x50], eax
mov eax, esi
shl eax, 7
add eax, 0xc5d4
shl ecx, 6
mov dword [esp + 0x48], eax
add ecx, 0xc554
imul eax, dword [esp + 0x3c], 0x110
add eax, 0xcb84
add eax, esi
lea eax, [edi + eax*4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
add eax, esi
lea eax, [eax + eax*2]
shl eax, 4
add eax, 0x4bc
add eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
add eax, dword [esp + 0x7c]
mov dword [esp + 0x54], eax
lea eax, [ebp - 1]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x84], eax
cmp eax, 5
jae 0x10146b80
mov eax, dword [esp + 0x48]
mov esi, ecx
jmp 0x10146b8a
mov eax, 0xc854
mov esi, 0xc694
cmp edx, 0x80
jae 0x10146b99
add eax, edx
mov ecx, dword [edi + eax*4]
jmp 0x10146bae
mov eax, dword [esp + 0x50]
mov ecx, edx
and ecx, 0xf
add eax, esi
mov ecx, dword [edi + ecx*4 + 0x32350]
add ecx, dword [edi + eax*4]
mov eax, dword [esp + 0x54]
add eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
cmp eax, dword [ecx - 0x1c]
jae 0x10146bd7
mov dword [ecx - 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [ecx - 4], eax
lea eax, [edx + 4]
mov dword [ecx], eax
mov dword [ecx - 0x14], 0
lea eax, [ebp - 1]
cmp eax, dword [edi + ebx*4 + 0x30ea0]
jne 0x10146e34
mov ecx, dword [esp + 0x44]
mov eax, dword [edi + 0x31734]
sub ecx, edx
mov esi, dword [esp + 0x4c]
add eax, ebp
dec ecx
mov edx, ebp
cmp eax, esi
mov dword [esp + 0x30], ecx
cmovbe esi, eax
cmp ebp, esi
jae 0x10146c24
mov ebx, dword [esp + 0x44]
add ecx, ebp
sub ebx, dword [esp + 0x30]
mov al, byte [ecx + ebx]
cmp al, byte [ecx]
jne 0x10146c20
inc edx
inc ecx
cmp edx, esi
jb 0x10146c13
mov ebx, dword [esp + 0x1c]
mov eax, 0xffffffff
mov dword [esp + 0x74], edx
lea ecx, [ebp - 1]
sub eax, ecx
add edx, eax
mov dword [esp + 0x70], edx
cmp edx, 2
jb 0x10146deb
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push dword [esp + 0x5c]
mov esi, dword [esp + 0x44]
mov ebx, dword [eax*4 + 0x1021b2d8]
dec esi
mov eax, dword [esp + 0x34]
add esi, ecx
mov ebp, dword [edi + 0x323a8]
mov edi, esi
mov dword [esp + 0x7c], ebp
and edi, ebp
mov ebp, dword [esp + 0x2c]
movzx eax, byte [ecx + eax - 1]
push eax
mov eax, dword [esp + 0x88]
movzx edx, byte [ecx + eax]
mov eax, dword [esp + 0x4c]
movzx eax, byte [eax + ecx - 2]
mov ecx, 8
sub cl, byte [ebp + 0x32398]
shr eax, cl
mov ecx, ebp
and esi, dword [ecx + 0x323a4]
mov ecx, dword [ecx + 0x32398]
shl esi, cl
add eax, esi
mov esi, ebp
imul ecx, eax, 0x600
add ecx, dword [esi + 0x323ac]
call fcn.10145450
mov ecx, ebx
mov edx, eax
shl ecx, 4
add esp, 8
add ecx, edi
movzx ecx, word [esi + ecx*2 + 0x323b0]
shr ecx, 4
add edx, dword [esi + ecx*4 + 0x30ca0]
mov esi, dword [ebx*4 + 0x1021b368]
lea ebx, [edi + 1]
and ebx, dword [esp + 0x78]
mov eax, esi
add edx, dword [esp + 0x54]
mov edi, ebp
shl eax, 4
add eax, ebx
mov dword [esp + 0x54], esi
movzx ecx, word [edi + eax*2 + 0x323b0]
movzx eax, word [edi + esi*2 + 0x32530]
xor ecx, 0x7f0
mov esi, dword [esp + 0x74]
xor eax, 0x7f0
add esi, dword [esp + 0x14]
shr ecx, 4
shr eax, 4
mov ebp, dword [edi + ecx*4 + 0x30ca0]
add ebp, dword [edi + eax*4 + 0x30ca0]
add ebp, edx
mov edx, dword [esp + 0x2c]
cmp edx, esi
jae 0x10146d5f
lea eax, [edx + edx*2]
mov dword [esp + 0x2c], esi
shl eax, 4
mov ecx, esi
add eax, 0x4a0
add eax, edi
sub ecx, edx
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x10146d50
push ebx
push dword [esp + 0x58]
xor edx, edx
mov ecx, edi
call fcn.10145a10
imul ecx, ebx, 0x110
add esp, 8
mov ebx, dword [esp + 0x1c]
add ecx, dword [esp + 0x70]
add eax, dword [edi + ecx*4 + 0x37658]
lea ecx, [esi + esi*2]
add ecx, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
cmp eax, dword [edi + ecx*8 + 0x4a0]
jae 0x10146deb
mov edx, dword [esp + 0x14]
mov dword [edi + ecx*8 + 0x4a0], eax
mov eax, dword [esp + 0x84]
inc eax
mov dword [edi + ecx*8 + 0x4bc], 0
add eax, edx
mov dword [edi + ecx*8 + 0x4a8], 1
mov dword [edi + ecx*8 + 0x4b8], eax
mov eax, dword [esp + 0x38]
add eax, 4
mov dword [edi + ecx*8 + 0x4ac], 1
mov dword [edi + ecx*8 + 0x4b0], edx
mov dword [edi + ecx*8 + 0x4b4], eax
add ebx, 2
mov dword [esp + 0x1c], ebx
cmp ebx, dword [esp + 0x34]
je 0x10146e58
mov edx, dword [edi + ebx*4 + 0x30ea4]
mov dword [esp + 0x38], edx
cmp edx, 0x80
jb 0x10146e30
mov ecx, 0x1ffff
mov eax, edx
sub ecx, edx
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
shr eax, cl
movzx eax, byte [eax + edi + 0x304a0]
lea eax, [eax + ecx*2]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
add ecx, 0x30
sub dword [esp + 0x48], 0xffffff80
add eax, 4
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x58]
add ecx, 0x40
mov dword [esp + 0x3c], eax
inc ebp
jmp 0x10146b57
mov ebx, dword [esp + 0x14]
inc ebx
mov dword [esp + 0x14], ebx
cmp ebx, dword [esp + 0x2c]
jne 0x10146190
mov edx, dword [esp + 0x9c]
mov ecx, edi
push ebx
call fcn.10145ad0
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x34]
mov dword [edi + 0x498], eax
mov dword [edi + 0x494], ecx
mov edx, dword [esp + 0x9c]
mov ecx, edi
push ebx
call fcn.10145ad0
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x9c]
pop ebp
pop edi
pop esi
mov dword [eax], 0xffffffff
mov eax, 1
pop ebx
add esp, 0x88
ret