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

Disassembly:
sub esp, 0x84
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x1c], edi
mov ebx, dword [edi + 0x490]
cmp dword [edi + 0x48c], ebx
je 0x450311
mov ecx, dword [esp + 0x94]
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, 0x84
ret
cmp dword [edi + 0x31738], 0
mov dword [edi + 0x48c], 0
mov dword [edi + 0x490], 0
jne 0x450341
lea edx, [esp + 0x20]
call fcn.00450060
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
jmp 0x450351
mov eax, dword [edi + 0x494]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x498]
mov ebx, dword [edi + 0x49c]
mov dword [esp + 0x2c], eax
push ebp
cmp ebx, 2
jb 0x4515f5
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 + 0x14], 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 + 0x5c], eax
mov al, byte [esp + 0x12]
cmp al, byte [ecx - 1]
lea esi, [ecx - 1]
jne 0x4503f5
mov al, byte [edx + 1]
cmp al, byte [ecx]
jne 0x4503f5
mov edx, 2
cmp ebx, edx
jbe 0x4503d2
mov eax, dword [esp + 0x34]
sub esi, eax
lea ecx, [eax + 2]
mov al, byte [ecx]
cmp al, byte [esi + ecx]
jne 0x4503d2
inc edx
inc ecx
cmp edx, ebx
jb 0x4503c5
mov ecx, dword [esp + 0x14]
mov eax, ebp
mov dword [esp + ebp*4 + 0x84], edx
cmp edx, dword [esp + ecx*4 + 0x84]
mov edx, dword [esp + 0x34]
cmovbe eax, ecx
mov ecx, eax
mov dword [esp + 0x14], ecx
jmp 0x450404
mov ecx, dword [esp + 0x14]
mov dword [esp + ebp*4 + 0x84], 0
inc ebp
cmp ebp, 4
jb 0x450391
mov ebx, dword [esp + ecx*4 + 0x84]
mov eax, dword [edi + 0x31734]
cmp ebx, eax
jb 0x45044a
mov eax, dword [esp + 0x98]
mov dword [eax], ecx
lea eax, [ebx - 1]
test eax, eax
je 0x45043d
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
pop esi
mov eax, ebx
pop ebx
add esp, 0x84
ret
mov ebp, dword [esp + 0x1c]
cmp ebp, eax
jb 0x45048f
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x98]
mov ecx, dword [edi + ecx*4 + 0x30e9c]
add ecx, 4
mov dword [eax], ecx
lea eax, [ebp - 1]
test eax, eax
je 0x450482
add dword [edi + 0x31738], eax
push eax
push dword [edi + 0x18]
mov eax, dword [edi + 0x14]
call eax
add esp, 8
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x84
ret
mov cl, byte [edx]
mov eax, edx
sub eax, dword [esp + 0x5c]
mov byte [esp + 0x12], cl
mov al, byte [eax - 1]
mov byte [esp + 0x13], al
cmp ebp, 2
jae 0x4504b4
cmp cl, al
je 0x4504b4
cmp ebx, 2
jb 0x4515f5
mov eax, dword [edi + 0x3174c]
mov ecx, 8
mov dword [edi + 0x4a4], eax
mov eax, dword [edi + 0x323a8]
and eax, dword [esp + 0x40]
movzx edx, byte [edx - 1]
sub cl, byte [edi + 0x32398]
mov dword [esp + 0x14], eax
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 dword [edi + 0x3174c], 7
jb 0x450528
lea eax, [edi + 0x30ca0]
mov ecx, ebp
push eax
movzx eax, byte [esp + 0x17]
push eax
call fcn.0044fba0
add esp, 8
mov esi, eax
jmp 0x450560
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 0x450530
mov eax, dword [edi + 0x3174c]
or edx, 0xffffffff
mov ebp, dword [esp + 0x14]
shl eax, 4
add eax, ebp
movzx eax, word [edi + eax*2 + 0x323b0]
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30ca0]
add eax, esi
mov dword [edi + 0x4ec], 0xffffffff
mov dword [edi + 0x4d0], eax
mov dword [esp + 0x24], eax
mov dword [edi + 0x4d8], 0
mov esi, dword [edi + 0x3174c]
mov eax, esi
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 + esi*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 0x45063d
mov eax, esi
or edx, 0xffffffff
shl eax, 4
add eax, ebp
movzx ecx, word [edi + eax*2 + 0x32590]
movzx eax, word [edi + esi*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 + 0x24]
jae 0x45063d
mov dword [edi + 0x4d0], ecx
xor edx, edx
mov dword [edi + 0x4ec], 0
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
cmovb ecx, ebx
mov dword [esp + 0x2c], ecx
cmp ecx, 2
jae 0x450668
mov eax, dword [esp + 0x98]
pop ebp
pop edi
pop esi
mov dword [eax], edx
mov eax, 1
pop ebx
add esp, 0x84
ret
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x4e8], 0
mov dword [edi + 0x4c0], eax
mov eax, dword [esp + 0x60]
mov dword [edi + 0x4c4], eax
mov eax, dword [esp + 0x64]
mov dword [edi + 0x4c8], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 0x4cc], eax
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, 0x4a0
add eax, edi
nop word [eax + eax]
dec ecx
mov dword [eax], 0x40000000
lea eax, [eax - 0x30]
cmp ecx, 2
jae 0x4506b0
xor ebx, ebx
mov esi, dword [esp + ebx*4 + 0x84]
cmp esi, 2
jb 0x450733
push ebp
push dword [edi + 0x3174c]
mov edx, ebx
mov ecx, edi
call fcn.00450110
imul ecx, dword [esp + 0x1c], 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 0x450723
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 0x450707
mov ebp, dword [esp + 0x14]
inc ebx
cmp ebx, 4
jb 0x4506c1
mov eax, dword [edi + 0x3174c]
mov ebx, dword [esp + 0x84]
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 + 0x24], eax
cmp ebx, 2
jb 0x450768
inc ebx
jmp 0x45076d
mov ebx, 2
cmp ebx, dword [esp + 0x1c]
ja 0x4508a5
lea ecx, [edi + 0x30ea0]
xor esi, esi
cmp ebx, dword [ecx]
jbe 0x45078b
add esi, 2
cmp ebx, dword [ecx + esi*4]
ja 0x450783
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 + 0x14], eax
lea eax, [ebx + ebx*2]
shl eax, 4
add ebp, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
add eax, dword [esp + 0x24]
mov ecx, dword [ecx + esi*4 + 4]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x38], eax
cmp ebx, 5
jae 0x4507ef
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], edx
jmp 0x4507fc
mov eax, 0x180
mov dword [esp + 0x34], 0x634a
cmp ecx, 0x80
jae 0x45080f
add eax, ecx
mov eax, dword [edi + eax*4 + 0x31b50]
jmp 0x450851
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 + 0x58]
mov eax, dword [edi + eax*4]
and ecx, 0xf
add eax, dword [edi + ecx*4 + 0x32350]
mov ecx, dword [esp + 0x58]
add eax, dword [esp + 0x38]
cmp eax, dword [ebp - 0x1c]
jae 0x450871
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 0x450889
add esi, 2
cmp esi, dword [esp + 0x30]
je 0x4508a5
mov eax, dword [esp + 0x14]
inc ebx
sub dword [esp + 0x1c], 0xffffff80
add eax, 4
add edx, 0x20
mov dword [esp + 0x14], eax
add ebp, 0x30
jmp 0x4507c6
mov ebx, 1
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x2c], ebx
je 0x4515d8
nop dword [eax + eax]
lea edx, [esp + 0x34]
mov ecx, edi
call fcn.00450060
mov ecx, eax
mov dword [esp + 0x54], ecx
cmp ecx, dword [edi + 0x31734]
jae 0x4515c8
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 0x450953
dec ecx
cmp dword [ebx + 0x4ac], 0
je 0x45093e
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 0x45092e
mov esi, dword [eax*4 + 0x470770]
mov esi, dword [esi*4 + 0x4706e0]
jmp 0x45095f
mov esi, dword [eax*4 + 0x470740]
mov esi, dword [esi*4 + 0x4706e0]
jmp 0x45095f
lea eax, [ecx + ecx*2]
add eax, eax
mov esi, dword [edi + eax*8 + 0x4a4]
mov esi, dword [esi*4 + 0x4706e0]
jmp 0x45095f
lea eax, [ecx + ecx*2]
add eax, eax
mov esi, dword [edi + eax*8 + 0x4a4]
mov eax, dword [esp + 0x18]
dec eax
cmp ecx, eax
jne 0x450991
cmp dword [ebx + 0x4bc], 0
jne 0x450981
mov esi, dword [esi*4 + str._t_t_t_t_t_t_t_v_v_v_v_v_a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v]
mov dword [esp + 0x28], esi
jmp 0x450a52
mov esi, dword [esi*4 + 0x4706e0]
mov dword [esp + 0x28], esi
jmp 0x450a52
test edx, edx
je 0x4509b3
cmp dword [ebx + 0x4ac], 0
je 0x4509b3
mov ecx, dword [ebx + 0x4b0]
mov edx, dword [ebx + 0x4b4]
mov esi, dword [esi*4 + 0x470770]
jmp 0x4509ce
mov edx, dword [ebx + 0x4bc]
cmp edx, 4
jae 0x4509c7
mov esi, dword [esi*4 + 0x470770]
jmp 0x4509ce
mov esi, dword [esi*4 + 0x470740]
lea eax, [ecx + ecx*2]
mov dword [esp + 0x28], esi
shl eax, 4
lea ebp, [edi + 0x4a0]
add ebp, eax
cmp edx, 4
jae 0x450a36
mov eax, dword [ebp + edx*4 + 0x20]
mov dword [esp + 0x5c], eax
mov eax, 1
cmp edx, eax
jb 0x450a13
lea eax, [edx + 1]
mov ecx, edx
lea esi, [ebp + 0x20]
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jb 0x450a13
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
jmp 0x450a52
lea esi, [eax*4 + 0x20]
mov ecx, 4
add esi, ebp
lea edi, [esp + 0x5c]
lea edi, [edi + eax*4]
sub ecx, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
jmp 0x450a52
lea eax, [edx - 4]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x4a4], esi
mov dword [ebx + 0x4c0], eax
mov eax, dword [esp + 0x60]
mov dword [ebx + 0x4c4], eax
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x4c8], eax
mov eax, dword [esp + 0x68]
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 + 0x28], 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 + 0x5c]
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 + 0x14], eax
lea eax, [ecx - 1]
mov dword [esp + 0x7c], 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 0x450b49
lea eax, [edi + 0x30ca0]
mov ecx, ebp
push eax
movzx eax, byte [esp + 0x17]
push eax
call fcn.0044fba0
add esp, 8
mov esi, eax
jmp 0x450b81
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 0x450b51
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0x4d0]
add eax, esi
mov dword [esp + 0x14], eax
cmp eax, edx
jae 0x450bc2
mov ecx, dword [esp + 0x18]
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 0x450bc6
mov ebp, dword [esp + 0x24]
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 + 0x28]
add ecx, dword [esp + 0x50]
mov dword [esp + 0x78], 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 + 0x50], eax
cmp cl, ch
jne 0x450c90
mov eax, dword [esp + 0x18]
cmp dword [ebx + 0x4e8], eax
jae 0x450c2f
cmp dword [ebx + 0x4ec], 0
je 0x450c90
mov eax, dword [esp + 0x28]
movzx ecx, word [edi + esi*2 + 0x32590]
shr ecx, 4
movzx eax, word [edi + eax*2 + 0x32548]
shr eax, 4
mov ecx, dword [edi + ecx*4 + 0x30ca0]
add ecx, dword [edi + eax*4 + 0x30ca0]
add ecx, dword [esp + 0x50]
cmp ecx, edx
ja 0x450c88
mov eax, dword [esp + 0x18]
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 + 0x18]
mov esi, 0xfff
mov eax, dword [edi + 0x49c]
sub esi, ebx
cmp esi, eax
cmovae esi, eax
mov dword [esp + 0x58], esi
cmp esi, 2
jb 0x45159c
mov eax, dword [edi + 0x31734]
mov edx, esi
cmp esi, eax
cmova edx, eax
mov dword [esp + 0x4c], edx
test ebp, ebp
jne 0x450e0e
cmp cl, ch
je 0x450e0e
inc eax
lea edx, [ebp + 1]
cmp eax, esi
mov ecx, esi
cmovbe ecx, eax
cmp ecx, edx
jbe 0x450d01
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
nop dword [eax + eax]
mov al, byte [edx + ebx]
cmp al, byte [edx + esi]
jne 0x450cfd
inc edx
cmp edx, ecx
jb 0x450cf0
mov ebx, dword [esp + 0x18]
lea eax, [edx - 1]
mov dword [esp + 0x24], eax
cmp eax, 2
jb 0x450e0e
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
inc ebp
and ebp, dword [edi + 0x323a8]
add esi, edx
mov ebx, dword [eax*4 + 0x4706e0]
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 + 0x14]
cmp edx, esi
jae 0x450d9f
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
nop dword [eax]
nop dword [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x450d90
mov eax, dword [esp + 0x28]
xor edx, edx
push ebp
mov ecx, edi
push dword [eax*4 + 0x4706e0]
call fcn.00450110
imul ecx, ebp, 0x110
add esp, 8
add ecx, dword [esp + 0x24]
add eax, dword [edi + ecx*4 + 0x37658]
lea ecx, [esi + esi*2]
add ecx, ecx
add eax, ebx
mov ebx, dword [esp + 0x18]
cmp eax, dword [edi + ecx*8 + 0x4a0]
jae 0x450e0e
mov dword [edi + ecx*8 + 0x4a0], eax
lea eax, [ebx + 1]
mov dword [edi + ecx*8 + 0x4b8], eax
mov dword [edi + ecx*8 + 0x4bc], 0
mov dword [edi + ecx*8 + 0x4a8], 1
mov dword [edi + ecx*8 + 0x4ac], 0
mov esi, 2
xor ebp, ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], ebp
nop dword [eax]
mov eax, dword [esp + 0x44]
mov ecx, eax
sub ecx, dword [esp + ebp*4 + 0x5c]
mov al, byte [eax]
lea edx, [ecx - 1]
mov dword [esp + 0x48], edx
cmp al, byte [edx]
jne 0x451150
mov eax, dword [esp + 0x44]
mov al, byte [eax + 1]
cmp al, byte [ecx]
jne 0x451150
mov esi, 2
cmp dword [esp + 0x4c], esi
jbe 0x450e75
mov ebp, dword [esp + 0x4c]
lea ecx, [edx + 2]
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x48]
mov al, byte [ecx + edx]
cmp al, byte [ecx]
jne 0x450e71
inc esi
inc ecx
cmp esi, ebp
jb 0x450e64
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
add ebx, esi
cmp edx, ebx
jae 0x450eaf
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
nop dword [eax]
nop dword [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x450ea0
push dword [esp + 0x3c]
mov edx, ebp
mov dword [esp + 0x20], esi
push dword [esp + 0x2c]
mov ecx, edi
call fcn.00450110
add eax, dword [esp + 0x58]
add esp, 8
mov dword [esp + 0x38], eax
imul eax, dword [esp + 0x3c], 0x110
mov dword [esp + 0x6c], 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 + 0x18]
nop dword [eax]
mov eax, dword [edx]
add eax, ebx
cmp eax, dword [ecx - 0x1c]
jae 0x450f18
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 0x450f00
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
inc ecx
mov esi, dword [esp + 0x58]
test ebp, ebp
mov eax, ecx
cmovne eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x31734]
add eax, ecx
cmp eax, esi
cmovbe esi, eax
cmp ecx, esi
jae 0x450f6d
mov eax, dword [esp + 0x48]
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 0x450f6d
inc ecx
inc edx
cmp ecx, esi
jb 0x450f60
mov esi, dword [esp + 0x24]
mov eax, 0xffffffff
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
add ecx, eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x30], esi
cmp ecx, 2
jb 0x45114c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x40]
add edi, ecx
mov ebx, dword [eax*4 + 0x470770]
mov eax, dword [esp + 0x20]
mov ebp, dword [eax + 0x323a8]
add eax, 0x30ca0
push eax
mov eax, dword [esp + 0x4c]
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 + 0x28]
sub cl, byte [eax + 0x32398]
mov eax, edi
shr esi, cl
mov ecx, dword [esp + 0x28]
and eax, dword [ecx + 0x323a4]
mov ecx, dword [ecx + 0x32398]
shl eax, cl
add esi, eax
mov eax, dword [esp + 0x28]
imul ecx, esi, 0x600
add ecx, dword [eax + 0x323ac]
call fcn.0044fba0
mov edx, ebp
mov ecx, ebx
shl ecx, 4
and edx, edi
mov edi, dword [esp + 0x28]
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 + 0x4706e0]
mov ebx, dword [esp + 0x40]
shr ecx, 4
add esi, dword [edi + ecx*4 + 0x30ca0]
mov ecx, dword [esp + 0x6c]
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 + 0x70]
add esi, dword [esp + 0x18]
cmp eax, esi
jae 0x4510c1
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 0x4510b2
push ebx
push edx
xor edx, edx
mov ecx, edi
call fcn.00450110
mov edx, dword [esp + 0x2c]
add esp, 8
imul ecx, ebx, 0x110
mov ebx, dword [esp + 0x18]
add ecx, dword [esp + 0x74]
add eax, dword [edi + ecx*4 + 0x37658]
lea ecx, [esi + esi*2]
add ecx, ecx
add eax, ebp
mov ebp, dword [esp + 0x14]
mov esi, edx
mov dword [esp + 0x30], esi
cmp eax, dword [edi + ecx*8 + 0x4a0]
jae 0x451150
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 + 0x30], esi
jmp 0x451150
mov ebx, dword [esp + 0x18]
inc ebp
mov dword [esp + 0x14], ebp
cmp ebp, 4
jb 0x450e20
mov eax, dword [esp + 0x4c]
lea ebp, [edi + 0x30ea0]
mov edx, dword [esp + 0x54]
cmp edx, eax
jbe 0x451196
mov edx, eax
xor ecx, ecx
xor eax, eax
cmp edx, dword [ebp]
jbe 0x45118b
nop dword [eax + eax]
add eax, 2
mov ecx, eax
cmp edx, dword [ebp + eax*4]
ja 0x451180
mov dword [ebp + eax*4], edx
lea eax, [ecx + 2]
mov dword [esp + 0x34], eax
cmp edx, esi
jb 0x45159c
mov eax, dword [esp + 0x28]
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 + 0x78], eax
cmp ebx, edx
jae 0x4511ef
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 0x4511e0
xor ebx, ebx
mov dword [esp + 0x1c], ebx
cmp esi, dword [ebp]
jbe 0x45120d
nop word [eax + eax]
add ebx, 2
cmp esi, dword [ebp + ebx*4]
ja 0x451200
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 + 0x4c], 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 + 0x18]
add eax, esi
lea eax, [eax + eax*2]
shl eax, 4
add eax, 0x4bc
add eax, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
add eax, dword [esp + 0x78]
mov dword [esp + 0x54], eax
lea eax, [ebp - 1]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x80], eax
cmp eax, 5
jae 0x4512b0
mov eax, dword [esp + 0x4c]
mov esi, ecx
jmp 0x4512ba
mov eax, 0xc854
mov esi, 0xc694
cmp edx, 0x80
jae 0x4512c9
add eax, edx
mov ecx, dword [edi + eax*4]
jmp 0x4512de
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 + 0x14]
mov dword [esp + 0x54], eax
cmp eax, dword [ecx - 0x1c]
jae 0x451307
mov dword [ecx - 0x1c], eax
mov eax, dword [esp + 0x18]
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 0x451574
mov ecx, dword [esp + 0x44]
mov eax, dword [edi + 0x31734]
sub ecx, edx
mov esi, dword [esp + 0x58]
add eax, ebp
dec ecx
mov edx, ebp
cmp eax, esi
mov dword [esp + 0x24], ecx
cmovbe esi, eax
cmp ebp, esi
jae 0x451354
mov ebx, dword [esp + 0x44]
add ecx, ebp
sub ebx, dword [esp + 0x24]
mov al, byte [ecx + ebx]
cmp al, byte [ecx]
jne 0x451350
inc edx
inc ecx
cmp edx, esi
jb 0x451343
mov ebx, dword [esp + 0x1c]
mov eax, 0xffffffff
mov dword [esp + 0x70], edx
lea ecx, [ebp - 1]
sub eax, ecx
add edx, eax
mov dword [esp + 0x6c], edx
cmp edx, 2
jb 0x45152b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov ebp, dword [edi + 0x323a8]
mov edi, ebp
mov esi, dword [esp + 0x40]
mov ebx, dword [eax*4 + 0x470740]
dec esi
mov eax, dword [esp + 0x20]
add esi, ecx
add eax, 0x30ca0
mov dword [esp + 0x74], ebp
mov ebp, dword [esp + 0x20]
and edi, esi
push eax
mov eax, dword [esp + 0x28]
movzx eax, byte [ecx + eax - 1]
push eax
mov eax, dword [esp + 0x84]
movzx edx, byte [ecx + eax]
mov eax, dword [esp + 0x4c]
movzx eax, byte [ecx + eax - 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.0044fba0
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 + 0x4706e0]
lea ebx, [edi + 1]
and ebx, dword [esp + 0x74]
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 + 0x70]
xor eax, 0x7f0
add esi, dword [esp + 0x18]
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 0x45149f
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
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x451490
push ebx
push dword [esp + 0x58]
xor edx, edx
mov ecx, edi
call fcn.00450110
imul ecx, ebx, 0x110
add esp, 8
mov ebx, dword [esp + 0x1c]
add ecx, dword [esp + 0x6c]
add eax, dword [edi + ecx*4 + 0x37658]
lea ecx, [esi + esi*2]
add ecx, ecx
add eax, ebp
mov ebp, dword [esp + 0x30]
cmp eax, dword [edi + ecx*8 + 0x4a0]
jae 0x45152b
mov edx, dword [esp + 0x18]
mov dword [edi + ecx*8 + 0x4a0], eax
mov eax, dword [esp + 0x80]
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 0x451598
mov edx, dword [edi + ebx*4 + 0x30ea4]
mov dword [esp + 0x38], edx
cmp edx, 0x80
jb 0x451570
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 + 0x14]
mov eax, dword [esp + 0x3c]
add ecx, 0x30
sub dword [esp + 0x4c], 0xffffff80
add eax, 4
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x48]
add ecx, 0x40
mov dword [esp + 0x3c], eax
inc ebp
jmp 0x451287
mov ebx, dword [esp + 0x18]
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, dword [esp + 0x2c]
jne 0x4508c0
mov edx, dword [esp + 0x98]
mov ecx, edi
push ebx
call fcn.004501d0
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x84
ret
mov eax, dword [esp + 0x34]
mov dword [edi + 0x498], eax
mov dword [edi + 0x494], ecx
mov edx, dword [esp + 0x98]
mov ecx, edi
push ebx
call fcn.004501d0
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x84
ret
mov eax, dword [esp + 0x98]
pop ebp
pop edi
pop esi
mov dword [eax], 0xffffffff
mov eax, 1
pop ebx
add esp, 0x84
ret