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

Disassembly:
sub esp, 0x78
push ebp
mov ebp, dword [esp + 0x80]
push esi
mov ecx, dword [ebp + 0x490]
cmp dword [ebp + 0x48c], ecx
je 0x45071b
lea esi, [ecx + ecx*2]
add esi, esi
mov eax, dword [ebp + esi*8 + 0x4b8]
mov edx, dword [ebp + esi*8 + 0x4bc]
sub eax, ecx
mov ecx, dword [esp + 0x8c]
mov dword [ecx], edx
mov ecx, dword [ebp + esi*8 + 0x4b8]
pop esi
mov dword [ebp + 0x490], ecx
pop ebp
add esp, 0x78
ret
cmp dword [ebp + 0x31738], 0
mov dword [ebp + 0x48c], 0
mov dword [ebp + 0x490], 0
jne 0x450750
lea eax, [esp + 0x44]
push eax
push ebp
call fcn.00453d60
mov dword [esp + 0x24], eax
add esp, 8
mov eax, dword [esp + 0x44]
jmp 0x450760
mov eax, dword [ebp + 0x494]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x498]
push edi
mov edi, dword [ebp + 0x49c]
mov dword [esp + 0x1c], eax
cmp edi, 2
jae 0x450789
mov eax, dword [esp + 0x90]
pop edi
pop esi
pop ebp
mov dword [eax], 0xffffffff
mov eax, 1
add esp, 0x78
ret
cmp edi, 0x111
jbe 0x450796
mov edi, 0x111
push dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
call eax
add esp, 4
mov dword [esp + 0x24], 0
xor ecx, ecx
mov dword [esp + 0x34], ecx
lea edx, [eax - 1]
mov al, byte [edx]
mov byte [esp + 0xe], al
lea eax, [ebp + 0x3173c]
mov dword [esp + 0x28], edx
xor ebp, ebp
mov dword [esp + 0x48], eax
push ebx
lea esp, [esp]
lea ebx, [ecx*4]
mov esi, edx
mov eax, dword [ebx + eax]
sub esi, eax
dec esi
mov dword [esp + ebx + 0x68], eax
mov al, byte [esp + 0x12]
cmp al, byte [esi]
jne 0x45082e
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x45082e
mov edx, 2
cmp edi, edx
jbe 0x450816
mov eax, dword [esp + 0x2c]
sub esi, eax
lea ecx, [eax + 2]
mov al, byte [ecx]
cmp al, byte [esi + ecx]
jne 0x450812
inc edx
inc ecx
cmp edx, edi
jb 0x450805
mov ecx, dword [esp + 0x38]
mov dword [esp + ebx + 0x78], edx
cmp edx, dword [esp + ebp + 0x78]
mov edx, dword [esp + 0x2c]
jbe 0x450836
mov esi, ecx
mov ebp, ebx
mov dword [esp + 0x28], esi
jmp 0x45083a
mov dword [esp + ebx + 0x78], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0x38], ecx
cmp ecx, 4
jb 0x4507d0
mov ebp, dword [esp + 0x8c]
mov ebx, dword [esp + esi*4 + 0x78]
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 0x31734]
cmp ebx, eax
jb 0x45088d
mov eax, dword [esp + 0x94]
lea ecx, [ebx - 1]
mov dword [eax], esi
test ecx, ecx
je 0x450883
add dword [ebp + 0x31738], ecx
push ecx
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
call ecx
add esp, 8
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x78
ret
mov edi, dword [esp + 0x24]
cmp edi, eax
jb 0x4508cf
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x94]
mov ecx, dword [ebp + ecx*4 + 0x30e9c]
add ecx, 4
mov dword [eax], ecx
lea eax, [edi - 1]
test eax, eax
je 0x4508c5
add dword [ebp + 0x31738], eax
push eax
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
call eax
add esp, 8
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x78
ret
mov eax, edx
sub eax, dword [esp + 0x68]
mov al, byte [eax - 1]
mov byte [esp + 0x13], al
cmp edi, 2
jae 0x450906
cmp byte [esp + 0x12], al
je 0x450906
cmp ebx, 2
jae 0x450906
mov eax, dword [esp + 0x94]
pop ebx
pop edi
pop esi
mov dword [eax], 0xffffffff
mov eax, 1
pop ebp
add esp, 0x78
ret
mov eax, dword [ebp + 0x3174c]
mov ecx, 8
mov dword [ebp + 0x4a4], eax
sub cl, byte [ebp + 0x32398]
mov ebx, dword [ebp + 0x323a8]
mov eax, dword [esp + 0x90]
and ebx, eax
movzx edx, byte [edx - 1]
and eax, dword [ebp + 0x323a4]
mov esi, dword [ebp + 0x3174c]
shr edx, cl
mov ecx, dword [ebp + 0x32398]
shl eax, cl
add edx, eax
mov dword [esp + 0x2c], ebx
imul ecx, edx, 0x600
lea eax, [ebp + 0x30ca0]
push eax
add ecx, dword [ebp + 0x323ac]
cmp esi, 7
jb 0x45097b
movzx eax, byte [esp + 0x17]
push eax
movzx eax, byte [esp + 0x1a]
push eax
push ecx
call fcn.004523a0
add esp, 0x10
jmp 0x45098a
movzx eax, byte [esp + 0x16]
push eax
push ecx
call fcn.00452350
add esp, 0xc
mov ecx, eax
shl esi, 4
add esi, ebx
movzx eax, word [ebp + esi*2 + 0x323b0]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30ca0]
add eax, ecx
mov dword [ebp + 0x4ec], 0xffffffff
mov dword [ebp + 0x4d0], eax
mov dword [ebp + 0x4d8], 0
mov edx, dword [ebp + 0x3174c]
mov eax, edx
shl eax, 4
add eax, ebx
movzx eax, word [ebp + eax*2 + 0x323b0]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [ebp + eax*4 + 0x30ca0]
movzx eax, word [ebp + edx*2 + 0x32530]
xor eax, 0x7f0
mov dword [esp + 0x48], ecx
shr eax, 4
mov esi, dword [ebp + eax*4 + 0x30ca0]
mov al, byte [esp + 0x13]
add esi, ecx
mov dword [esp + 0x4c], esi
cmp al, byte [esp + 0x12]
jne 0x450a5d
mov eax, edx
shl eax, 4
add eax, ebx
movzx ecx, word [ebp + eax*2 + 0x32590]
movzx eax, word [ebp + edx*2 + 0x32548]
shr ecx, 4
shr eax, 4
mov ecx, dword [ebp + ecx*4 + 0x30ca0]
add ecx, dword [ebp + eax*4 + 0x30ca0]
add ecx, esi
cmp ecx, dword [ebp + 0x4d0]
jae 0x450a5d
mov dword [ebp + 0x4d0], ecx
mov dword [ebp + 0x4ec], 0
mov dword [ebp + 0x4d8], 0
mov edx, dword [esp + 0x18]
cmp edi, edx
jb 0x450a6b
mov edx, edi
mov dword [esp + 0x18], edx
cmp edx, 2
jae 0x450a8c
mov eax, dword [esp + 0x94]
mov ecx, dword [ebp + 0x4ec]
pop ebx
pop edi
pop esi
mov dword [eax], ecx
mov eax, 1
pop ebp
add esp, 0x78
ret
mov eax, dword [esp + 0x68]
mov ecx, edx
mov dword [ebp + 0x4e8], 0
mov dword [ebp + 0x4c0], eax
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0x4c4], eax
mov eax, dword [esp + 0x70]
mov dword [ebp + 0x4c8], eax
mov eax, dword [esp + 0x74]
mov dword [ebp + 0x4cc], eax
lea eax, [edx + edx*2]
shl eax, 4
add eax, 0x4a0
add eax, ebp
lea ecx, [ecx]
dec ecx
mov dword [eax], 0x40000000
lea eax, [eax - 0x30]
cmp ecx, 2
jae 0x450ad0
xor edi, edi
mov esi, dword [esp + edi*4 + 0x78]
cmp esi, 2
jb 0x450b4e
push ebx
push dword [ebp + 0x3174c]
push edi
push ebp
call fcn.00451d00
imul ecx, dword [esp + 0x3c], 0x110
lea edx, [ebp + 0x37658]
mov ebx, eax
add esp, 0x10
add ebx, dword [esp + 0x4c]
lea eax, [ebp + 0x4bc]
add ecx, esi
lea edx, [edx + ecx*4]
lea ecx, [esi + esi*2]
shl ecx, 4
add eax, ecx
mov ecx, dword [edx]
add ecx, ebx
cmp ecx, dword [eax - 0x1c]
jae 0x450b3e
mov dword [eax - 0x1c], ecx
mov dword [eax - 4], 0
mov dword [eax], edi
mov dword [eax - 0x14], 0
dec esi
sub edx, 4
sub eax, 0x30
cmp esi, 2
jae 0x450b22
mov ebx, dword [esp + 0x2c]
inc edi
cmp edi, 4
jb 0x450ae1
mov eax, dword [ebp + 0x3174c]
mov edi, dword [esp + 0x78]
movzx eax, word [ebp + eax*2 + 0x32530]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30ca0]
add eax, dword [esp + 0x48]
mov dword [esp + 0x4c], eax
cmp edi, 2
jb 0x450b80
inc edi
jmp 0x450b85
mov edi, 2
cmp edi, dword [esp + 0x24]
ja 0x450c88
xor ebx, ebx
cmp edi, dword [ebp + 0x30ea0]
jbe 0x450bac
lea esp, [esp]
add ebx, 2
cmp edi, dword [ebp + ebx*4 + 0x30ea0]
ja 0x450ba0
imul eax, dword [esp + 0x2c], 0x110
lea edx, [ebp + 0x32e10]
lea ecx, [ebp + 0x4bc]
add eax, edi
lea edx, [edx + eax*4]
lea eax, [edi + edi*2]
shl eax, 4
add ecx, eax
mov esi, dword [edx]
add esi, dword [esp + 0x4c]
mov eax, dword [ebp + ebx*4 + 0x30ea4]
mov dword [esp + 0x34], edx
lea edx, [edi - 2]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
cmp edi, 5
jb 0x450bf3
mov edx, 3
cmp eax, 0x80
jae 0x450c08
shl edx, 7
add edx, eax
add esi, dword [ebp + edx*4 + 0x31b50]
jmp 0x450c4b
mov ecx, 0x1ffff
shl edx, 5
sub ecx, eax
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
shr eax, cl
add edx, ecx
mov ecx, dword [esp + 0x38]
and ecx, 0xf
movzx eax, byte [eax + ebp + 0x304a0]
lea eax, [eax + edx*2]
mov eax, dword [ebp + eax*4 + 0x31750]
add eax, dword [ebp + ecx*4 + 0x32350]
mov ecx, dword [esp + 0x30]
add esi, eax
mov eax, dword [esp + 0x38]
cmp esi, dword [ecx - 0x1c]
jae 0x450c66
add eax, 4
mov dword [ecx - 0x1c], esi
mov dword [ecx - 4], 0
mov dword [ecx], eax
mov dword [ecx - 0x14], 0
cmp edi, dword [ebp + ebx*4 + 0x30ea0]
jne 0x450c78
add ebx, 2
cmp ebx, dword [esp + 0x20]
je 0x450c88
mov edx, dword [esp + 0x34]
inc edi
add edx, 4
add ecx, 0x30
jmp 0x450bcd
mov edi, 1
mov dword [esp + 0x14], edi
cmp dword [esp + 0x18], edi
je 0x451989
jmp 0x450ca0
lea eax, [esp + 0x38]
push eax
push ebp
call fcn.00453d60
mov ecx, eax
add esp, 8
mov dword [esp + 0x58], ecx
cmp ecx, dword [ebp + 0x31734]
jae 0x451979
inc dword [esp + 0x90]
lea ebx, [edi + edi*2]
shl ebx, 4
add ebx, ebp
mov edx, dword [ebx + 0x4a8]
mov ecx, dword [ebx + 0x4b8]
test edx, edx
je 0x450d39
dec ecx
cmp dword [ebx + 0x4ac], 0
je 0x450d24
mov eax, dword [ebx + 0x4b0]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [ebx + 0x4b4], 4
mov esi, dword [ebp + eax*8 + 0x4a4]
jae 0x450d14
mov esi, dword [esi*4 + 0x4cd6d8]
mov esi, dword [esi*4 + 0x4cd678]
jmp 0x450d45
mov esi, dword [esi*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
mov esi, dword [esi*4 + 0x4cd678]
jmp 0x450d45
lea eax, [ecx + ecx*2]
add eax, eax
mov esi, dword [ebp + eax*8 + 0x4a4]
mov esi, dword [esi*4 + 0x4cd678]
jmp 0x450d45
lea eax, [ecx + ecx*2]
add eax, eax
mov esi, dword [ebp + eax*8 + 0x4a4]
lea eax, [edi - 1]
cmp ecx, eax
jne 0x450d75
cmp dword [ebx + 0x4bc], 0
jne 0x450d65
mov edi, dword [esi*4 + 0x4cd708]
mov dword [esp + 0x1c], edi
jmp 0x450e33
mov edi, dword [esi*4 + 0x4cd678]
mov dword [esp + 0x1c], edi
jmp 0x450e33
test edx, edx
je 0x450d97
cmp dword [ebx + 0x4ac], 0
je 0x450d97
mov ecx, dword [ebx + 0x4b0]
mov edx, dword [ebx + 0x4b4]
mov edi, dword [esi*4 + 0x4cd6d8]
jmp 0x450db2
mov edx, dword [ebx + 0x4bc]
cmp edx, 4
jae 0x450dab
mov edi, dword [esi*4 + 0x4cd6d8]
jmp 0x450db2
mov edi, dword [esi*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
lea eax, [ecx + ecx*2]
mov dword [esp + 0x1c], edi
shl eax, 4
lea ecx, [ebp + 0x4a0]
add ecx, eax
mov dword [esp + 0x4c], ecx
cmp edx, 4
jae 0x450e17
mov eax, dword [ecx + edx*4 + 0x20]
mov dword [esp + 0x68], eax
mov eax, 1
cmp edx, eax
jb 0x450dfb
lea esi, [ecx + 0x20]
mov ecx, edx
lea eax, [edx + 1]
lea edi, [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jb 0x450df7
mov edi, dword [esp + 0x1c]
jmp 0x450e33
mov ecx, dword [esp + 0x4c]
lea esi, [ecx + 0x20]
mov ecx, 4
lea edi, [esp + 0x68]
sub ecx, eax
lea edi, [edi + eax*4]
lea esi, [esi + eax*4]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1c]
jmp 0x450e33
lea eax, [edx - 4]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x4a4], edi
mov dword [ebx + 0x4c0], eax
mov eax, dword [esp + 0x6c]
mov dword [ebx + 0x4c4], eax
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x4c8], eax
mov eax, dword [esp + 0x74]
mov dword [ebx + 0x4cc], eax
mov esi, dword [ebx + 0x4a0]
push dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], 0
call eax
add esp, 4
lea edx, [eax - 1]
mov al, byte [edx]
mov ecx, edx
sub ecx, dword [esp + 0x68]
mov byte [esp + 0x12], al
dec ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
mov al, byte [ecx]
mov ecx, dword [ebp + 0x323a8]
and ecx, dword [esp + 0x90]
mov byte [esp + 0x13], al
mov eax, edi
shl eax, 4
add eax, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], eax
mov ecx, 8
sub cl, byte [ebp + 0x32398]
movzx eax, word [ebp + eax*2 + 0x323b0]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30ca0]
add eax, esi
mov dword [esp + 0x2c], eax
lea eax, [edx - 1]
movzx edx, byte [eax]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x90]
and eax, dword [ebp + 0x323a4]
shr edx, cl
mov ecx, dword [ebp + 0x32398]
shl eax, cl
add edx, eax
imul edi, edx, 0x600
add edi, dword [ebp + 0x323ac]
cmp dword [esp + 0x1c], 7
jb 0x450f31
lea eax, [ebp + 0x30ca0]
push eax
movzx eax, byte [esp + 0x17]
push eax
movzx eax, byte [esp + 0x1a]
push eax
push edi
call fcn.004523a0
add esp, 0x10
mov esi, eax
jmp 0x450f6f
movzx edx, byte [esp + 0x12]
xor esi, esi
or edx, 0x100
mov edi, edi
mov eax, edx
shr eax, 8
movzx ecx, word [edi + 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 [ebp + ecx*4 + 0x30ca0]
cmp edx, 0x10000
jb 0x450f40
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
add eax, esi
mov dword [esp + 0x2c], eax
cmp eax, dword [ebx + 0x4d0]
jae 0x450fac
mov dword [ebx + 0x4d0], eax
mov edx, 1
mov dword [ebx + 0x4e8], edi
mov dword [ebx + 0x4ec], 0xffffffff
mov dword [ebx + 0x4d8], 0
jmp 0x450fb0
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
movzx eax, word [ebp + esi*2 + 0x323b0]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [ebp + eax*4 + 0x30ca0]
mov eax, dword [esp + 0x1c]
add ecx, dword [esp + 0x3c]
mov dword [esp + 0x5c], ecx
movzx eax, word [ebp + eax*2 + 0x32530]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30ca0]
add eax, ecx
mov cl, byte [esp + 0x12]
mov ch, byte [esp + 0x13]
mov dword [esp + 0x3c], eax
cmp ch, cl
jne 0x451072
cmp dword [ebx + 0x4e8], edi
jae 0x451011
cmp dword [ebx + 0x4ec], 0
je 0x451072
mov eax, dword [esp + 0x1c]
movzx ecx, word [ebp + eax*2 + 0x32548]
movzx eax, word [ebp + esi*2 + 0x32590]
shr ecx, 4
shr eax, 4
mov ecx, dword [ebp + ecx*4 + 0x30ca0]
add ecx, dword [ebp + eax*4 + 0x30ca0]
add ecx, dword [esp + 0x3c]
cmp ecx, dword [ebx + 0x4d0]
ja 0x45106a
mov dword [ebx + 0x4d0], ecx
mov edx, 1
mov dword [ebx + 0x4e8], edi
mov dword [ebx + 0x4ec], 0
mov dword [ebx + 0x4d8], 0
mov ch, byte [esp + 0x13]
mov cl, byte [esp + 0x12]
mov ebx, dword [ebp + 0x49c]
mov eax, 0xfff
sub eax, edi
mov dword [esp + 0x34], ebx
cmp eax, ebx
jae 0x45108d
mov ebx, eax
mov dword [esp + 0x34], eax
cmp ebx, 2
jb 0x451968
mov esi, dword [ebp + 0x31734]
mov dword [esp + 0x30], ebx
cmp ebx, esi
jbe 0x4510a8
mov dword [esp + 0x30], esi
test edx, edx
jne 0x4511fa
cmp ch, cl
je 0x4511fa
inc esi
cmp esi, ebx
jbe 0x4510bf
mov esi, ebx
mov edx, 1
cmp esi, edx
jbe 0x4510e2
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
sub ebx, eax
lea ecx, [eax + 1]
mov al, byte [ecx]
cmp al, byte [ebx + ecx]
jne 0x4510e2
inc edx
inc ecx
cmp edx, esi
jb 0x4510d5
lea ebx, [edx - 1]
cmp ebx, 2
jb 0x4511fa
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x14]
inc edi
and edi, dword [ebp + 0x323a8]
inc esi
mov edx, dword [eax*4 + 0x4cd678]
add esi, ebx
mov eax, edx
mov dword [esp + 0x40], edi
shl eax, 4
add eax, edi
mov dword [esp + 0x44], eax
movzx ecx, word [ebp + eax*2 + 0x323b0]
movzx eax, word [ebp + edx*2 + 0x32530]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov edx, dword [ebp + ecx*4 + 0x30ca0]
add edx, dword [ebp + eax*4 + 0x30ca0]
add edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
cmp eax, esi
jae 0x45117d
lea eax, [eax + eax*2]
mov ecx, esi
sub ecx, dword [esp + 0x18]
shl eax, 4
add eax, 0x4a0
add eax, ebp
add dword [esp + 0x18], ecx
nop
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
dec ecx
jne 0x451170
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x1c]
movzx ecx, word [ebp + eax*2 + 0x32590]
mov eax, dword [edi*4 + 0x4cd678]
xor ecx, 0x7f0
shr ecx, 4
movzx eax, word [ebp + eax*2 + 0x32548]
mov ecx, dword [ebp + ecx*4 + 0x30ca0]
shr eax, 4
add ecx, dword [ebp + eax*4 + 0x30ca0]
imul eax, dword [esp + 0x40], 0x110
add eax, ebx
add ecx, dword [ebp + eax*4 + 0x37658]
lea eax, [esi + esi*2]
add ecx, edx
shl eax, 4
lea edx, [ebp + 0x4a0]
add edx, eax
cmp ecx, dword [edx]
jae 0x4511fa
mov eax, dword [esp + 0x14]
inc eax
mov dword [edx], ecx
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], 0
mov dword [edx + 8], 1
mov dword [edx + 0xc], 0
mov ecx, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x2c], 2
mov dword [esp + 0x24], edx
lea esp, [esp]
mov al, byte [ecx]
mov ebx, ecx
sub ebx, dword [esp + edx*4 + 0x68]
dec ebx
mov dword [esp + 0x40], ebx
cmp al, byte [ebx]
jne 0x45152d
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x45152d
mov edi, dword [esp + 0x30]
mov esi, 2
cmp edi, esi
jbe 0x451258
mov edx, dword [esp + 0x20]
lea ecx, [ebx + 2]
sub edx, ebx
mov al, byte [edx + ecx]
cmp al, byte [ecx]
jne 0x451254
inc esi
inc ecx
cmp esi, edi
jb 0x451247
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add edi, esi
cmp eax, edi
jae 0x45128d
lea eax, [eax + eax*2]
mov ecx, edi
sub ecx, dword [esp + 0x18]
shl eax, 4
add eax, 0x4a0
add eax, ebp
add dword [esp + 0x18], ecx
lea ecx, [ecx]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
dec ecx
jne 0x451280
mov ebx, dword [esp + 0x48]
push ebx
push dword [esp + 0x20]
mov dword [esp + 0x30], esi
push edx
push ebp
call fcn.00451d00
add eax, dword [esp + 0x4c]
add esp, 0x10
mov dword [esp + 0x44], eax
imul eax, ebx, 0x110
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
lea ecx, [eax + 0xdd96]
add ecx, esi
lea edx, [ecx*4]
lea ecx, [edi + edi*2]
add edx, ebp
mov edi, dword [esp + 0x24]
shl ecx, 4
add ecx, 0x4bc
add ecx, ebp
lea ecx, [ecx]
mov eax, dword [edx]
add eax, dword [esp + 0x44]
cmp eax, dword [ecx - 0x1c]
jae 0x4512fa
mov dword [ecx - 0x1c], eax
mov dword [ecx - 4], ebx
mov dword [ecx], edi
mov dword [ecx - 0x14], 0
dec esi
sub edx, 4
sub ecx, 0x30
cmp esi, 2
jae 0x4512e0
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
test edx, edx
jne 0x45131d
lea ecx, [eax + 1]
mov dword [esp + 0x2c], ecx
mov esi, dword [ebp + 0x31734]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x34]
add esi, ecx
cmp esi, eax
jbe 0x451332
mov esi, eax
cmp ecx, esi
jae 0x451351
mov edi, dword [esp + 0x20]
lea edx, [ecx + ebx]
sub edi, ebx
nop
mov al, byte [edi + edx]
cmp al, byte [edx]
jne 0x45134d
inc ecx
inc edx
cmp ecx, esi
jb 0x451340
mov edx, dword [esp + 0x24]
or eax, 0xffffffff
sub eax, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x54], ecx
cmp ecx, 2
jb 0x451529
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x90]
mov ebx, dword [ebp + 0x323a8]
add esi, ecx
mov edi, dword [eax*4 + 0x4cd6d8]
lea eax, [ebp + 0x30ca0]
push eax
mov eax, dword [esp + 0x44]
movzx eax, byte [ecx + eax]
push eax
mov eax, dword [esp + 0x28]
movzx eax, byte [ecx + eax]
push eax
mov eax, dword [esp + 0x58]
movzx edx, byte [eax + ecx]
mov ecx, 8
sub cl, byte [ebp + 0x32398]
mov eax, esi
and eax, dword [ebp + 0x323a4]
shr edx, cl
mov ecx, dword [ebp + 0x32398]
shl eax, cl
add edx, eax
imul eax, edx, 0x600
add eax, dword [ebp + 0x323ac]
push eax
call fcn.004523a0
and esi, ebx
mov ecx, edi
shl ecx, 4
mov edx, eax
add esi, ecx
mov edi, dword [edi*4 + 0x4cd678]
mov eax, edi
add esp, 0x10
shl eax, 4
movzx ecx, word [ebp + esi*2 + 0x323b0]
mov esi, dword [esp + 0x28]
shr ecx, 4
add edx, dword [ebp + ecx*4 + 0x30ca0]
mov ecx, dword [esp + 0x50]
add ecx, esi
add edx, dword [ebp + ecx*4 + 0x37658]
mov ecx, dword [esp + 0x90]
add edx, dword [esp + 0x44]
inc ecx
add ecx, esi
mov dword [esp + 0x44], edi
and ecx, ebx
add eax, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], eax
movzx ecx, word [ebp + eax*2 + 0x323b0]
movzx eax, word [ebp + edi*2 + 0x32530]
xor ecx, 0x7f0
mov edi, dword [esp + 0x14]
xor eax, 0x7f0
shr ecx, 4
inc edi
shr eax, 4
mov ebx, dword [ebp + ecx*4 + 0x30ca0]
add ebx, dword [ebp + eax*4 + 0x30ca0]
add ebx, edx
mov edx, dword [esp + 0x54]
lea eax, [edx + esi]
mov esi, dword [esp + 0x18]
add edi, eax
cmp esi, edi
jae 0x45149d
lea eax, [esi + esi*2]
mov ecx, edi
shl eax, 4
sub ecx, esi
add eax, 0x4a0
add eax, ebp
add esi, ecx
mov dword [esp + 0x18], esi
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
dec ecx
jne 0x451490
mov eax, dword [esp + 0x50]
movzx ecx, word [ebp + eax*2 + 0x32590]
mov eax, dword [esp + 0x44]
xor ecx, 0x7f0
shr ecx, 4
movzx eax, word [ebp + eax*2 + 0x32548]
mov esi, dword [ebp + ecx*4 + 0x30ca0]
lea ecx, [ebp + 0x4a0]
shr eax, 4
add esi, dword [ebp + eax*4 + 0x30ca0]
imul eax, dword [esp + 0x40], 0x110
add eax, edx
mov edx, dword [esp + 0x24]
add esi, dword [ebp + eax*4 + 0x37658]
lea eax, [edi + edi*2]
shl eax, 4
add esi, ebx
mov ebx, dword [esp + 0x14]
add ecx, eax
cmp esi, dword [ecx]
jae 0x451523
mov eax, dword [esp + 0x28]
inc eax
mov dword [ecx], esi
add eax, ebx
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], edx
mov ecx, dword [esp + 0x20]
jmp 0x451531
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
inc edx
mov dword [esp + 0x24], edx
cmp edx, 4
jb 0x451210
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
cmp ecx, edi
jbe 0x45157c
xor eax, eax
mov ecx, edi
cmp edi, dword [ebp + 0x30ea0]
jbe 0x45156c
jmp 0x451560
add eax, 2
cmp edi, dword [ebp + eax*4 + 0x30ea0]
ja 0x451560
mov dword [ebp + eax*4 + 0x30ea0], edi
add eax, 2
mov dword [esp + 0x38], eax
jmp 0x451580
mov eax, dword [esp + 0x38]
mov dword [esp + 0x44], eax
cmp ecx, dword [esp + 0x2c]
jb 0x451964
mov eax, dword [esp + 0x1c]
add ecx, ebx
mov edx, dword [esp + 0x18]
movzx eax, word [ebp + eax*2 + 0x32530]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30ca0]
add dword [esp + 0x5c], eax
cmp edx, ecx
jae 0x4515dd
lea eax, [edx + edx*2]
sub ecx, edx
shl eax, 4
add eax, 0x4a0
add eax, ebp
add edx, ecx
mov dword [esp + 0x18], edx
jmp 0x4515d0
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
dec ecx
jne 0x4515d0
mov edx, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x30], esi
cmp edx, dword [ebp + 0x30ea0]
jbe 0x451600
nop
add esi, 2
cmp edx, dword [ebp + esi*4 + 0x30ea0]
ja 0x4515f0
mov dword [esp + 0x30], esi
lea edi, [esi*4]
mov ecx, 0x1ffff
mov ebx, dword [edi + ebp + 0x30ea4]
lea esi, [ebp + 0x4bc]
sub ecx, ebx
mov dword [esp + 0x40], ebx
shr ecx, 0x1f
mov eax, ebx
neg ecx
and ecx, 0xa
add ecx, 6
shr eax, cl
movzx eax, byte [eax + ebp + 0x304a0]
lea eax, [eax + ecx*2]
mov dword [esp + 0x3c], eax
lea ecx, [edx + 1]
imul eax, dword [esp + 0x48], 0x110
add eax, edx
lea edx, [eax*4 + 0x32e10]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x2c]
add edx, ebp
lea eax, [eax + eax*2]
shl eax, 4
add esi, eax
mov dword [esp + 0x24], edx
lea eax, [ecx - 1]
mov edx, dword [edx]
add edx, dword [esp + 0x5c]
cmp eax, 5
mov dword [esp + 0x50], eax
lea eax, [ecx - 3]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ecx
jb 0x451689
mov eax, 3
cmp ebx, 0x80
jae 0x45169f
shl eax, 7
add eax, ebx
add edx, dword [ebp + eax*4 + 0x31b50]
jmp 0x4516bf
shl eax, 6
mov ecx, ebx
add eax, dword [esp + 0x3c]
and ecx, 0xf
mov eax, dword [ebp + eax*4 + 0x31750]
add eax, dword [ebp + ecx*4 + 0x32350]
mov ecx, dword [esp + 0x28]
add edx, eax
mov dword [esp + 0x48], edx
cmp edx, dword [esi - 0x1c]
jae 0x4516de
mov eax, dword [esp + 0x14]
mov dword [esi - 4], eax
lea eax, [ebx + 4]
mov dword [esi - 0x1c], edx
mov dword [esi], eax
mov dword [esi - 0x14], 0
lea eax, [ecx - 1]
cmp eax, dword [edi + ebp + 0x30ea0]
jne 0x451954
mov edi, dword [esp + 0x20]
mov edx, ecx
mov esi, dword [ebp + 0x31734]
mov eax, edi
sub eax, ebx
add esi, ecx
mov ebx, dword [esp + 0x34]
dec eax
mov dword [esp + 0x58], eax
cmp esi, ebx
jbe 0x45170f
mov esi, ebx
cmp ecx, esi
jae 0x451728
add ecx, eax
sub edi, eax
mov al, byte [edi + ecx]
cmp al, byte [ecx]
jne 0x451724
inc edx
inc ecx
cmp edx, esi
jb 0x451717
mov ecx, dword [esp + 0x28]
or eax, 0xffffffff
lea esi, [ecx - 1]
sub eax, esi
add edx, eax
mov dword [esp + 0x54], edx
cmp edx, 2
jb 0x4518f8
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x90]
mov ebx, dword [ebp + 0x323a8]
dec edx
add edx, ecx
mov esi, ebx
mov edi, dword [eax*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
and esi, edx
and edx, dword [ebp + 0x323a4]
lea eax, [ebp + 0x30ca0]
push eax
mov eax, dword [esp + 0x5c]
movzx eax, byte [eax + ecx - 1]
push eax
mov eax, dword [esp + 0x54]
movzx eax, byte [eax + ecx]
push eax
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax + ecx - 2]
mov ecx, 8
sub cl, byte [ebp + 0x32398]
shr eax, cl
mov ecx, dword [ebp + 0x32398]
shl edx, cl
add eax, edx
imul eax, eax, 0x600
add eax, dword [ebp + 0x323ac]
push eax
call fcn.004523a0
mov ecx, edi
mov edx, eax
mov edi, dword [edi*4 + 0x4cd678]
add esp, 0x10
shl ecx, 4
mov eax, edi
add ecx, esi
shl eax, 4
movzx ecx, word [ebp + ecx*2 + 0x323b0]
shr ecx, 4
add edx, dword [ebp + ecx*4 + 0x30ca0]
lea ecx, [esi + 1]
add edx, dword [esp + 0x48]
and ecx, ebx
mov ebx, dword [esp + 0x50]
add eax, ecx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x60], ecx
movzx ecx, word [ebp + edi*2 + 0x32530]
mov dword [esp + 0x58], eax
xor ecx, 0x7f0
movzx eax, word [ebp + eax*2 + 0x323b0]
shr ecx, 4
xor eax, 0x7f0
shr eax, 4
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + ecx*4 + 0x30ca0]
inc edi
add ecx, dword [ebp + eax*4 + 0x30ca0]
add ecx, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x64], ecx
lea eax, [edx + ebx]
add edi, eax
cmp esi, edi
jae 0x45186d
lea eax, [esi + esi*2]
mov ecx, edi
shl eax, 4
sub ecx, esi
add eax, 0x4a0
add eax, ebp
add esi, ecx
mov dword [esp + 0x18], esi
jmp 0x451860
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
dec ecx
jne 0x451860
mov eax, dword [esp + 0x58]
movzx ecx, word [ebp + eax*2 + 0x32590]
mov eax, dword [esp + 0x48]
xor ecx, 0x7f0
shr ecx, 4
movzx eax, word [ebp + eax*2 + 0x32548]
mov esi, dword [ebp + ecx*4 + 0x30ca0]
lea ecx, [ebp + 0x4a0]
shr eax, 4
add esi, dword [ebp + eax*4 + 0x30ca0]
imul eax, dword [esp + 0x60], 0x110
add eax, edx
add esi, dword [ebp + eax*4 + 0x37658]
lea eax, [edi + edi*2]
add esi, dword [esp + 0x64]
mov edi, dword [esp + 0x14]
shl eax, 4
add ecx, eax
cmp esi, dword [ecx]
jae 0x4518fc
lea eax, [edi + 1]
mov dword [ecx], esi
add eax, ebx
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x40]
add eax, 4
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], eax
jmp 0x4518fc
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
add esi, 2
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x44]
je 0x451968
lea edi, [esi*4]
mov esi, dword [esp + 0x2c]
mov ebx, dword [edi + ebp + 0x30ea4]
mov dword [esp + 0x40], ebx
cmp ebx, 0x80
jb 0x451950
mov ecx, 0x1ffff
mov eax, ebx
sub ecx, ebx
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
shr eax, cl
movzx eax, byte [eax + ebp + 0x304a0]
lea eax, [eax + ecx*2]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
add esi, 0x30
add edx, 4
inc ecx
jmp 0x451663
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x18]
jne 0x450ca0
jmp 0x451989
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x498], eax
mov dword [ebp + 0x494], ecx
push edi
push dword [esp + 0x98]
push ebp
call fcn.00450230
add esp, 0xc
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x78
ret