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

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
mov ecx, dword [ebp + 0x1c]
cmp dword [ebp + 0x18], ecx
je 0x47fa89
lea eax, [ecx + ecx*2]
add eax, eax
lea edx, [ebp + eax*8 + 0x740]
mov eax, dword [edx + 0x18]
sub eax, ecx
mov ecx, dword [edx + 0x1c]
mov dword [ebx], ecx
mov edx, dword [edx + 0x18]
mov dword [ebp + 0x1c], edx
pop ebp
pop ebx
add esp, 0x6c
ret 0xc
push esi
push edi
xor edi, edi
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], edi
cmp dword [ebp + 0x30], edi
jne 0x47faaa
lea eax, [esp + 0x1c]
push eax
mov esi, ebp
call fcn.0047f830
mov dword [esp + 0x20], eax
jmp 0x47fab8
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x28], eax
cmp eax, 2
jae 0x47fad9
pop edi
pop esi
pop ebp
mov dword [ebx], 0xffffffff
mov eax, 1
pop ebx
add esp, 0x6c
ret 0xc
cmp eax, 0x111
jbe 0x47fae8
mov dword [esp + 0x28], 0x111
mov ecx, dword [ebp]
mov eax, dword [ebp + 0xc]
call eax
mov dl, byte [eax - 1]
lea esi, [eax - 1]
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], edi
mov byte [esp + 0x80], dl
mov dword [esp + 0x38], edi
lea esp, [esp]
lea ebx, [edi*4]
mov eax, dword [ebx + ebp + 0x34]
mov ecx, esi
sub ecx, eax
dec ecx
mov dword [esp + ebx + 0x5c], eax
cmp dl, byte [ecx]
jne 0x47fb72
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x47fb72
mov eax, 2
cmp dword [esp + 0x28], eax
jbe 0x47fb5a
lea edi, [esi + 2]
sub ecx, esi
mov dl, byte [edi]
cmp dl, byte [ecx + edi]
jne 0x47fb4f
inc eax
inc edi
cmp eax, dword [esp + 0x28]
jb 0x47fb40
mov edi, dword [esp + 0x24]
mov dl, byte [esp + 0x80]
mov ecx, dword [esp + 0x38]
mov dword [esp + ebx + 0x6c], eax
cmp eax, dword [esp + ecx + 0x6c]
jbe 0x47fb7a
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
jmp 0x47fb7a
mov dword [esp + ebx + 0x6c], 0
inc edi
mov dword [esp + 0x24], edi
cmp edi, 4
jb 0x47fb10
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + ecx*4 + 0x6c]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x40], edi
cmp edi, eax
jb 0x47fbbe
mov edx, dword [esp + 0x88]
mov dword [edx], ecx
lea edx, [edi - 1]
test edx, edx
je 0x47fbb2
mov ecx, dword [ebp]
mov eax, dword [ebp + 0x14]
add dword [ebp + 0x30], edx
call eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0xc
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jb 0x47fbfd
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + edx*4 + 0x3113c]
mov edx, dword [esp + 0x88]
add eax, 4
mov dword [edx], eax
lea edx, [ecx - 1]
test edx, edx
je 0x47fbef
mov ecx, dword [ebp]
mov eax, dword [ebp + 0x14]
add dword [ebp + 0x30], edx
call eax
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0xc
mov eax, esi
sub eax, dword [esp + 0x5c]
mov al, byte [eax - 1]
mov byte [esp + 0x13], al
cmp ecx, 2
jae 0x47fc34
cmp dl, al
je 0x47fc34
cmp edi, 2
jae 0x47fc34
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword [ecx], 0xffffffff
mov eax, 1
pop ebx
add esp, 0x6c
ret 0xc
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x48]
mov edi, dword [ebp + 0x58]
and edi, dword [esp + 0x84]
mov dword [ebp + 0x744], ebx
movzx esi, byte [esi - 1]
mov ecx, 8
sub cl, al
shr esi, cl
mov ecx, dword [ebp + 0x54]
and ecx, dword [esp + 0x84]
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], ecx
mov ecx, eax
mov eax, dword [esp + 0x44]
shl eax, cl
movzx ecx, dl
add esi, eax
imul esi, esi, 0x600
add esi, dword [ebp + 0x60]
cmp ebx, 7
jb 0x47fc9b
movzx eax, byte [esp + 0x13]
lea edi, [ebp + 0x30f40]
push esi
call fcn.0047f350
mov edi, dword [esp + 0x28]
jmp 0x47fca6
lea edx, [ebp + 0x30f40]
call fcn.0047f310
mov edx, ebx
shl edx, 4
add edx, edi
lea ecx, [ebp + edx*2 + 0x32614]
movzx edx, word [ecx]
shr edx, 4
mov edx, dword [ebp + edx*4 + 0x30f40]
add edx, eax
mov dword [ebp + 0x770], edx
mov dl, byte [esp + 0x80]
mov dword [ebp + 0x78c], 0xffffffff
xor esi, esi
mov dword [ebp + 0x778], esi
movzx eax, word [ecx]
movzx ecx, word [ebp + ebx*2 + 0x32794]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
mov ecx, dword [ebp + ecx*4 + 0x30f40]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30f40]
add ecx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ecx
cmp byte [esp + 0x13], dl
jne 0x47fd63
mov eax, ebx
shl eax, 4
add eax, edi
movzx edx, word [ebp + eax*2 + 0x327f4]
movzx edi, word [ebp + ebx*2 + 0x327ac]
shr edx, 4
mov eax, dword [ebp + edx*4 + 0x30f40]
shr edi, 4
add eax, dword [ebp + edi*4 + 0x30f40]
add eax, ecx
cmp eax, dword [ebp + 0x770]
jae 0x47fd63
mov dword [ebp + 0x770], eax
mov dword [ebp + 0x78c], esi
mov dword [ebp + 0x778], esi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jb 0x47fd77
mov eax, ecx
mov dword [esp + 0x18], ecx
jmp 0x47fd7b
mov dword [esp + 0x18], eax
cmp eax, 2
jae 0x47fd9e
mov eax, dword [ebp + 0x78c]
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, 1
pop ebx
add esp, 0x6c
ret 0xc
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [ebp + 0x788], esi
mov dword [ebp + 0x760], edx
mov edx, dword [esp + 0x64]
mov dword [ebp + 0x768], edx
mov dword [ebp + 0x764], ecx
mov ecx, dword [esp + 0x68]
lea edx, [eax + eax*2]
add edx, edx
mov dword [ebp + 0x76c], ecx
lea ecx, [ebp + edx*8 + 0x740]
jmp 0x47fde0
mov dword [ecx], 0x40000000
dec eax
sub ecx, 0x30
cmp eax, 2
jae 0x47fde0
xor edi, edi
mov esi, dword [esp + edi*4 + 0x6c]
cmp esi, 2
jb 0x47fe52
mov ebx, dword [esp + 0x28]
mov edx, dword [ebp + 0x44]
push ebx
mov eax, edi
mov ecx, ebp
call fcn.0047f8c0
imul ebx, ebx, 0x110
add eax, dword [esp + 0x44]
add ebx, esi
lea ecx, [esi + esi*2]
add ecx, ecx
lea ebx, [ebp + ebx*4 + 0x378c0]
lea ecx, [ebp + ecx*8 + 0x75c]
lea ebx, [ebx]
mov edx, dword [ebx]
add edx, eax
cmp edx, dword [ecx - 0x1c]
jae 0x47fe46
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 ebx, 4
sub ecx, 0x30
cmp esi, 2
jae 0x47fe30
inc edi
cmp edi, 4
jb 0x47fdf1
mov edx, dword [ebp + 0x44]
movzx eax, word [ebp + edx*2 + 0x32794]
mov ebx, dword [esp + 0x6c]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30f40]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
cmp ebx, 2
jb 0x47fe81
inc ebx
jmp 0x47fe86
mov ebx, 2
cmp ebx, dword [esp + 0x20]
ja 0x47ff8f
xor edi, edi
mov dword [esp + 0x80], edi
cmp ebx, dword [ebp + 0x31140]
jbe 0x47feb4
add edi, 2
cmp ebx, dword [ebp + edi*4 + 0x31140]
ja 0x47fea1
mov dword [esp + 0x80], edi
mov ecx, dword [esp + 0x28]
imul ecx, ecx, 0x110
add ecx, ebx
lea ecx, [ebp + ecx*4 + 0x33078]
lea edx, [ebx + ebx*2]
add edx, edx
mov dword [esp + 0x28], ecx
lea ecx, [ebp + edx*8 + 0x75c]
mov edx, dword [esp + 0x28]
mov edx, dword [edx]
mov esi, dword [ebp + edi*4 + 0x31144]
add edx, eax
mov dword [esp + 0x38], ecx
lea eax, [ebx - 2]
cmp ebx, 5
jb 0x47fef7
mov eax, 3
cmp esi, 0x80
jae 0x47ff0d
shl eax, 7
add eax, esi
add edx, dword [ebp + eax*4 + 0x31dd4]
jmp 0x47ff4f
cmp esi, 0x20000
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
mov edi, esi
shr edi, cl
shl eax, 5
add eax, ecx
mov ecx, esi
movzx edi, byte [edi + ebp + 0x30740]
lea eax, [edi + eax*2]
mov eax, dword [ebp + eax*4 + 0x319d4]
mov edi, dword [esp + 0x80]
and ecx, 0xf
add eax, dword [ebp + ecx*4 + 0x325d4]
mov ecx, dword [esp + 0x38]
add edx, eax
cmp edx, dword [ecx - 0x1c]
jae 0x47ff64
xor eax, eax
add esi, 4
mov dword [ecx - 0x1c], edx
mov dword [ecx - 4], eax
mov dword [ecx], esi
mov dword [ecx - 0x14], eax
cmp ebx, dword [ebp + edi*4 + 0x31140]
jne 0x47ff7d
add edi, 2
mov dword [esp + 0x80], edi
cmp edi, dword [esp + 0x1c]
je 0x47ff8f
add dword [esp + 0x28], 4
mov eax, dword [esp + 0x44]
inc ebx
add ecx, 0x30
jmp 0x47fed7
mov eax, 1
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], eax
je 0x480c4a
lea ecx, [esp + 0x38]
push ecx
mov esi, ebp
call fcn.0047f830
mov dword [esp + 0x54], eax
cmp eax, dword [ebp + 0x2c]
jae 0x480c40
mov esi, dword [esp + 0x14]
inc dword [esp + 0x84]
lea ebx, [esi + esi*2]
shl ebx, 4
mov edi, dword [ebx + ebp + 0x748]
mov eax, dword [ebx + ebp + 0x758]
add ebx, ebp
test edi, edi
je 0x48003a
dec eax
cmp dword [ebx + 0x74c], 0
je 0x480025
mov ecx, dword [ebx + 0x750]
lea ecx, [ecx + ecx*2]
add ecx, ecx
cmp dword [ebx + 0x754], 4
mov ecx, dword [ebp + ecx*8 + 0x744]
jae 0x480015
mov ecx, dword [ecx*4 + 0x49c8a8]
mov edx, dword [ecx*4 + 0x49c848]
jmp 0x480046
mov ecx, dword [ecx*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 edx, dword [ecx*4 + 0x49c848]
jmp 0x480046
lea edx, [eax + eax*2]
add edx, edx
mov ecx, dword [ebp + edx*8 + 0x744]
mov edx, dword [ecx*4 + 0x49c848]
jmp 0x480046
lea ecx, [eax + eax*2]
add ecx, ecx
mov edx, dword [ebp + ecx*8 + 0x744]
dec esi
cmp eax, esi
jne 0x480074
cmp dword [ebx + 0x75c], 0
jne 0x480064
mov edx, dword [edx*4 + 0x49c8d8]
mov dword [esp + 0x1c], edx
jmp 0x48013c
mov eax, dword [edx*4 + 0x49c848]
mov dword [esp + 0x1c], eax
jmp 0x48013c
test edi, edi
je 0x48009d
cmp dword [ebx + 0x74c], 0
je 0x48009d
mov ecx, dword [ebx + 0x754]
mov eax, dword [ebx + 0x750]
mov edx, dword [edx*4 + 0x49c8a8]
mov dword [esp + 0x80], ecx
jmp 0x4800d1
mov ecx, dword [ebx + 0x75c]
mov dword [esp + 0x80], ecx
cmp ecx, 4
jae 0x4800c3
mov ecx, dword [edx*4 + 0x49c8a8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x80]
jmp 0x4800d5
mov edx, dword [edx*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 ecx, dword [esp + 0x80]
mov dword [esp + 0x1c], edx
lea eax, [eax + eax*2]
add eax, eax
lea edx, [ebp + eax*8 + 0x740]
cmp ecx, 4
jae 0x480120
mov eax, dword [edx + ecx*4 + 0x20]
mov dword [esp + 0x5c], eax
mov eax, 1
cmp ecx, eax
jb 0x48010d
mov eax, dword [esp + 0x80]
inc eax
lea esi, [edx + 0x20]
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jae 0x48013c
mov ecx, 4
lea edi, [esp + eax*4 + 0x5c]
lea esi, [edx + eax*4 + 0x20]
sub ecx, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x48013c
mov eax, dword [edx + 0x24]
add ecx, 0xfffffffc
mov dword [esp + 0x5c], ecx
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x60], ecx
mov ecx, dword [edx + 0x28]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x1c]
mov dword [ebx + 0x760], edx
mov edx, dword [esp + 0x68]
mov dword [ebx + 0x764], eax
mov eax, dword [ebx + 0x740]
mov dword [ebx + 0x744], esi
mov dword [ebx + 0x768], ecx
mov dword [ebx + 0x76c], edx
mov ecx, dword [ebp]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
call edx
lea edi, [eax - 1]
mov al, byte [edi]
mov byte [esp + 0x80], al
mov eax, edi
sub eax, dword [esp + 0x5c]
mov dl, byte [eax - 1]
dec eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x58]
mov byte [esp + 0x13], dl
mov edx, dword [esp + 0x84]
and eax, edx
mov dword [esp + 0x34], eax
mov ecx, esi
shl ecx, 4
add eax, ecx
mov dword [esp + 0x40], eax
movzx eax, word [ebp + eax*2 + 0x32614]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30f40]
add eax, dword [esp + 0x28]
mov dword [esp + 0x20], edi
movzx edi, byte [edi - 1]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x48]
mov ecx, 8
sub cl, al
shr edi, cl
mov ecx, dword [ebp + 0x54]
and ecx, edx
mov dword [esp + 0x44], ecx
mov ecx, eax
mov eax, dword [esp + 0x44]
shl eax, cl
add edi, eax
imul edi, edi, 0x600
add edi, dword [ebp + 0x60]
cmp esi, 7
jb 0x48022b
movzx eax, byte [esp + 0x13]
movzx ecx, byte [esp + 0x80]
push edi
lea edi, [ebp + 0x30f40]
call fcn.0047f350
jmp 0x480278
movzx eax, byte [esp + 0x80]
mov dword [esp + 0x30], 0
or eax, 0x100
mov ecx, eax
shr ecx, 8
movzx edx, word [edi + ecx*2]
mov ecx, eax
shr ecx, 7
and ecx, 1
neg ecx
sar ecx, 4
and ecx, 0x7f
shr edx, 4
xor edx, ecx
mov ecx, dword [esp + 0x30]
add ecx, dword [ebp + edx*4 + 0x30f40]
add eax, eax
mov dword [esp + 0x30], ecx
cmp eax, 0x10000
jb 0x480240
mov eax, ecx
mov edx, dword [esp + 0x2c]
add edx, eax
mov dword [esp + 0x2c], edx
cmp edx, dword [ebx + 0x770]
jae 0x4802b6
mov dword [ebx + 0x770], edx
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x788], edx
mov dword [ebx + 0x78c], 0xffffffff
mov dword [ebx + 0x778], 0
mov dword [esp + 0x24], 1
mov ecx, dword [esp + 0x40]
movzx eax, word [ebp + ecx*2 + 0x32614]
movzx edx, word [ebp + esi*2 + 0x32794]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30f40]
add eax, dword [esp + 0x28]
xor edx, 0x7f0
shr edx, 4
mov edi, dword [ebp + edx*4 + 0x30f40]
mov edx, dword [esp + 0x14]
add edi, eax
mov dword [esp + 0x58], eax
mov al, byte [esp + 0x80]
mov dword [esp + 0x48], edi
cmp byte [esp + 0x13], al
jne 0x480369
cmp dword [ebx + 0x788], edx
jae 0x480319
cmp dword [ebx + 0x78c], 0
je 0x480369
movzx eax, word [ebp + esi*2 + 0x327ac]
movzx ecx, word [ebp + ecx*2 + 0x327f4]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30f40]
shr ecx, 4
add eax, dword [ebp + ecx*4 + 0x30f40]
add eax, edi
cmp eax, dword [ebx + 0x770]
ja 0x480369
mov dword [ebx + 0x770], eax
xor eax, eax
mov dword [ebx + 0x788], edx
mov dword [ebx + 0x78c], eax
mov dword [ebx + 0x778], eax
mov dword [esp + 0x24], 1
mov ecx, dword [ebp + 0x28]
mov eax, 0xfff
sub eax, edx
mov dword [esp + 0x28], ecx
cmp eax, ecx
jae 0x480381
mov ecx, eax
mov dword [esp + 0x28], eax
cmp ecx, 2
jb 0x480c2b
mov esi, dword [ebp + 0x2c]
mov dword [esp + 0x30], ecx
cmp ecx, esi
jbe 0x480399
mov dword [esp + 0x30], esi
cmp dword [esp + 0x24], 0
jne 0x4804fe
mov dl, byte [esp + 0x80]
cmp byte [esp + 0x13], dl
je 0x4804fe
inc esi
cmp esi, ecx
jbe 0x4803bc
mov esi, ecx
mov ecx, 1
cmp esi, ecx
jbe 0x4803df
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
lea eax, [edx + 1]
sub edi, edx
mov dl, byte [eax]
cmp dl, byte [edi + eax]
jne 0x4803df
inc ecx
inc eax
cmp ecx, esi
jb 0x4803d2
lea eax, [ecx - 1]
mov dword [esp + 0x80], eax
cmp eax, 2
jb 0x4804fe
mov eax, dword [esp + 0x1c]
mov eax, dword [eax*4 + 0x49c848]
mov ecx, dword [esp + 0x84]
movzx esi, word [ebp + eax*2 + 0x32794]
mov edi, dword [esp + 0x14]
inc ecx
and ecx, dword [ebp + 0x58]
mov ebx, eax
shl ebx, 4
add ebx, ecx
movzx edx, word [ebp + ebx*2 + 0x32614]
xor edx, 0x7f0
shr edx, 4
mov edx, dword [ebp + edx*4 + 0x30f40]
xor esi, 0x7f0
shr esi, 4
add edx, dword [ebp + esi*4 + 0x30f40]
mov esi, dword [esp + 0x80]
add edx, dword [esp + 0x2c]
lea esi, [esi + edi + 1]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x40], ebx
cmp edi, esi
jae 0x480490
lea ebx, [edi + edi*2]
add ebx, ebx
lea ebx, [ebp + ebx*8 + 0x740]
mov dword [esp + 0x44], ebx
mov ebx, esi
sub ebx, edi
add edi, ebx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x44]
lea esp, [esp]
add edi, 0x30
dec ebx
mov dword [edi], 0x40000000
jne 0x480480
mov ebx, dword [esp + 0x40]
movzx edi, word [ebp + ebx*2 + 0x327f4]
imul ecx, ecx, 0x110
movzx ebx, word [ebp + eax*2 + 0x327ac]
add ecx, dword [esp + 0x80]
xor edi, 0x7f0
shr edi, 4
mov eax, dword [ebp + edi*4 + 0x30f40]
shr ebx, 4
add eax, dword [ebp + ebx*4 + 0x30f40]
add eax, dword [ebp + ecx*4 + 0x378c0]
lea ecx, [esi + esi*2]
add ecx, ecx
add eax, edx
cmp eax, dword [ebp + ecx*8 + 0x740]
lea ecx, [ebp + ecx*8 + 0x740]
jae 0x4804fe
mov edx, dword [esp + 0x14]
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 [esp + 0x40], 2
mov dword [esp + 0x80], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x80]
mov eax, ecx
sub eax, dword [esp + edx*4 + 0x5c]
mov cl, byte [ecx]
dec eax
mov dword [esp + 0x24], eax
cmp cl, byte [eax]
jne 0x480831
mov edx, dword [esp + 0x20]
mov al, byte [edx + 1]
mov ecx, dword [esp + 0x24]
cmp al, byte [ecx + 1]
jne 0x480831
mov edi, dword [esp + 0x30]
mov ebx, 2
cmp edi, ebx
jbe 0x48056d
mov esi, dword [esp + 0x24]
mov ecx, edx
lea eax, [ecx + 2]
sub esi, ecx
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [esi + eax]
jne 0x48056d
inc ebx
inc eax
cmp ebx, edi
jb 0x480560
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea edi, [ebx + eax]
cmp edx, edi
jae 0x48059e
lea ecx, [edx + edx*2]
mov eax, edi
add ecx, ecx
sub eax, edx
add edx, eax
lea ecx, [ebp + ecx*8 + 0x740]
mov dword [esp + 0x18], edx
add ecx, 0x30
dec eax
mov dword [ecx], 0x40000000
jne 0x480592
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x20]
mov ecx, ebp
mov esi, ebx
call fcn.0047f8c0
mov ecx, dword [esp + 0x34]
add eax, dword [esp + 0x48]
imul ecx, ecx, 0x110
mov dword [esp + 0x4c], ecx
add ecx, ebx
lea edx, [ebp + ecx*4 + 0x378c0]
lea ecx, [edi + edi*2]
add ecx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], edx
lea ecx, [ebp + ecx*8 + 0x75c]
mov edi, edx
mov edx, dword [edi]
add edx, eax
cmp edx, dword [ecx - 0x1c]
jae 0x48060b
mov dword [ecx - 0x1c], edx
mov edx, dword [esp + 0x14]
mov dword [ecx - 4], edx
mov edx, dword [esp + 0x80]
mov dword [ecx], edx
mov dword [ecx - 0x14], 0
dec ebx
sub edi, 4
sub ecx, 0x30
cmp ebx, 2
jae 0x4805e8
cmp dword [esp + 0x80], 0
jne 0x480628
lea eax, [esi + 1]
mov dword [esp + 0x40], eax
mov ecx, dword [ebp + 0x2c]
mov edx, dword [esp + 0x28]
lea eax, [esi + 1]
add ecx, eax
mov dword [esp + 0x2c], ecx
cmp ecx, edx
jbe 0x480642
mov ecx, edx
mov dword [esp + 0x2c], edx
cmp eax, ecx
mov ecx, dword [esp + 0x20]
jae 0x480662
mov edx, dword [esp + 0x24]
lea edi, [eax + ecx]
sub edx, ecx
mov bl, byte [edi]
cmp bl, byte [edi + edx]
jne 0x480662
inc eax
inc edi
cmp eax, dword [esp + 0x2c]
jb 0x480653
or edx, 0xffffffff
sub edx, esi
add eax, edx
mov dword [esp + 0x3c], eax
cmp eax, 2
jb 0x480831
movzx edi, byte [ecx + esi - 1]
movzx ebx, byte [esi + ecx]
mov edx, dword [ebp + 0x48]
mov eax, dword [esp + 0x84]
add eax, esi
mov ecx, 8
sub cl, dl
shr edi, cl
mov dword [esp + 0x2c], eax
mov ecx, eax
and ecx, dword [ebp + 0x54]
mov eax, dword [esp + 0x24]
movzx eax, byte [esi + eax]
mov dword [esp + 0x44], ecx
mov ecx, edx
mov edx, dword [esp + 0x44]
shl edx, cl
mov ecx, ebx
add edi, edx
imul edi, edi, 0x600
add edi, dword [ebp + 0x60]
push edi
lea edi, [ebp + 0x30f40]
call fcn.0047f350
mov edx, dword [esp + 0x1c]
mov edx, dword [edx*4 + 0x49c8a8]
mov ebx, dword [ebp + 0x58]
mov ecx, dword [esp + 0x2c]
and ecx, ebx
mov edi, edx
shl edi, 4
add ecx, edi
movzx ecx, word [ebp + ecx*2 + 0x32614]
mov edi, dword [edx*4 + 0x49c848]
mov edx, dword [esp + 0x84]
shr ecx, 4
add eax, dword [ebp + ecx*4 + 0x30f40]
mov ecx, dword [esp + 0x4c]
add ecx, esi
add eax, dword [ebp + ecx*4 + 0x378c0]
lea ecx, [esi + edx + 1]
add eax, dword [esp + 0x50]
and ecx, ebx
movzx ebx, word [ebp + edi*2 + 0x32794]
mov edx, edi
shl edx, 4
add edx, ecx
mov dword [esp + 0x44], edx
movzx edx, word [ebp + edx*2 + 0x32614]
xor edx, 0x7f0
xor ebx, 0x7f0
shr edx, 4
shr ebx, 4
mov dword [esp + 0x50], edx
mov edx, dword [ebp + ebx*4 + 0x30f40]
mov ebx, dword [esp + 0x50]
add edx, dword [ebp + ebx*4 + 0x30f40]
mov ebx, dword [esp + 0x14]
add edx, eax
mov eax, dword [esp + 0x3c]
add eax, esi
lea ebx, [eax + ebx + 1]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], ebx
cmp eax, ebx
jae 0x4807b0
lea eax, [eax + eax*2]
add eax, eax
lea eax, [ebp + eax*8 + 0x740]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
sub ebx, eax
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
jmp 0x4807a0
add eax, 0x30
dec ebx
mov dword [eax], 0x40000000
jne 0x4807a0
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
imul ecx, ecx, 0x110
movzx eax, word [ebp + eax*2 + 0x327f4]
movzx edi, word [ebp + edi*2 + 0x327ac]
add ecx, dword [esp + 0x3c]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30f40]
shr edi, 4
add eax, dword [ebp + edi*4 + 0x30f40]
add eax, dword [ebp + ecx*4 + 0x378c0]
lea ecx, [ebx + ebx*2]
add ecx, ecx
add eax, edx
cmp eax, dword [ebp + ecx*8 + 0x740]
lea ecx, [ebp + ecx*8 + 0x740]
jae 0x480831
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
lea edx, [esi + eax + 1]
mov dword [ecx + 0x18], edx
mov edx, 1
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x80]
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x80]
inc eax
mov dword [esp + 0x80], eax
cmp eax, 4
jb 0x480511
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
cmp eax, edx
jbe 0x48087b
xor ecx, ecx
mov eax, edx
cmp edx, dword [ebp + 0x31140]
jbe 0x48086d
add ecx, 2
cmp edx, dword [ebp + ecx*4 + 0x31140]
ja 0x480861
mov dword [ebp + ecx*4 + 0x31140], edx
add ecx, 2
mov dword [esp + 0x38], ecx
mov esi, dword [esp + 0x40]
cmp eax, esi
jb 0x480c2b
mov ecx, dword [esp + 0x1c]
movzx edx, word [ebp + ecx*2 + 0x32794]
add eax, dword [esp + 0x14]
shr edx, 4
mov ecx, dword [ebp + edx*4 + 0x30f40]
add ecx, dword [esp + 0x58]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jae 0x4808d1
lea edx, [ecx + ecx*2]
add edx, edx
sub eax, ecx
add ecx, eax
lea edx, [ebp + edx*8 + 0x740]
mov dword [esp + 0x18], ecx
add edx, 0x30
dec eax
mov dword [edx], 0x40000000
jne 0x4808c5
xor eax, eax
mov dword [esp + 0x80], eax
cmp esi, dword [ebp + 0x31140]
jbe 0x4808f5
add eax, 2
cmp esi, dword [ebp + eax*4 + 0x31140]
ja 0x4808e2
mov dword [esp + 0x80], eax
lea ebx, [eax*4]
mov eax, dword [ebx + ebp + 0x31144]
cmp eax, 0x20000
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
mov edx, eax
shr edx, cl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], eax
movzx edx, byte [edx + ebp + 0x30740]
lea ecx, [edx + ecx*2]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x34]
imul ecx, ecx, 0x110
add ecx, esi
lea ecx, [ebp + ecx*4 + 0x33078]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
add ecx, esi
lea ecx, [ecx + ecx*2]
add ecx, ecx
lea edx, [esi + 1]
lea edi, [ebp + ecx*8 + 0x75c]
mov ecx, dword [esp + 0x34]
mov esi, dword [ecx]
add esi, dword [esp + 0x58]
lea ecx, [edx - 1]
cmp ecx, 5
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], edx
lea ecx, [edx - 3]
jb 0x480979
mov ecx, 3
cmp eax, 0x80
jae 0x48098e
shl ecx, 7
add ecx, eax
add esi, dword [ebp + ecx*4 + 0x31dd4]
jmp 0x4809ae
shl ecx, 6
add ecx, dword [esp + 0x2c]
mov ebx, eax
mov ecx, dword [ebp + ecx*4 + 0x319d4]
and ebx, 0xf
add ecx, dword [ebp + ebx*4 + 0x325d4]
mov ebx, dword [esp + 0x3c]
add esi, ecx
mov dword [esp + 0x40], esi
cmp esi, dword [edi - 0x1c]
jae 0x4809cd
mov ecx, dword [esp + 0x14]
mov dword [edi - 4], ecx
lea ecx, [eax + 4]
mov dword [edi - 0x1c], esi
mov dword [edi], ecx
mov dword [edi - 0x14], 0
lea ecx, [edx - 1]
cmp ecx, dword [ebx + ebp + 0x31140]
jne 0x480c19
mov ebx, dword [esp + 0x20]
mov esi, dword [ebp + 0x2c]
mov ecx, ebx
sub ecx, eax
add esi, edx
dec ecx
mov edi, edx
cmp esi, dword [esp + 0x28]
jbe 0x4809f7
mov esi, dword [esp + 0x28]
cmp edx, esi
jae 0x480a17
sub ebx, ecx
lea eax, [ecx + edx]
mov dword [esp + 0x54], ebx
jmp 0x480a0a
mov ebx, dword [esp + 0x54]
mov bl, byte [ebx + eax]
cmp bl, byte [eax]
jne 0x480a17
inc edi
inc eax
cmp edi, esi
jb 0x480a06
or esi, 0xffffffff
lea eax, [edx - 1]
sub esi, eax
add edi, esi
mov dword [esp + 0x3c], edi
cmp edi, 2
jb 0x480bc5
mov esi, dword [esp + 0x84]
mov eax, dword [ebp + 0x58]
mov ebx, dword [ebp + 0x48]
lea esi, [esi + edx - 1]
and eax, esi
and esi, dword [ebp + 0x54]
mov dword [esp + 0x50], eax
movzx eax, byte [ecx + edx - 1]
mov ecx, dword [esp + 0x20]
movzx edi, byte [ecx + edx - 1]
movzx edx, byte [ecx + edx - 2]
mov ecx, 8
sub cl, bl
shr edx, cl
mov ecx, ebx
shl esi, cl
mov ecx, edi
lea edi, [ebp + 0x30f40]
add edx, esi
imul edx, edx, 0x600
add edx, dword [ebp + 0x60]
push edx
call fcn.0047f350
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx*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 edi, dword [edx*4 + 0x49c848]
mov ecx, dword [esp + 0x50]
movzx ebx, word [ebp + edi*2 + 0x32794]
mov esi, edx
shl esi, 4
add esi, ecx
movzx esi, word [ebp + esi*2 + 0x32614]
inc ecx
and ecx, dword [ebp + 0x58]
mov edx, edi
shl edx, 4
add edx, ecx
mov dword [esp + 0x4c], edx
movzx edx, word [ebp + edx*2 + 0x32614]
shr esi, 4
add eax, dword [ebp + esi*4 + 0x30f40]
xor edx, 0x7f0
add eax, dword [esp + 0x40]
xor ebx, 0x7f0
shr edx, 4
mov esi, dword [ebp + edx*4 + 0x30f40]
mov edx, dword [esp + 0x44]
shr ebx, 4
add esi, dword [ebp + ebx*4 + 0x30f40]
mov ebx, dword [esp + 0x14]
add esi, eax
mov eax, dword [esp + 0x3c]
lea eax, [eax + edx - 1]
lea ebx, [eax + ebx + 1]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], ebx
cmp eax, ebx
jae 0x480b45
lea eax, [eax + eax*2]
add eax, eax
lea eax, [ebp + eax*8 + 0x740]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
sub ebx, eax
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
add eax, 0x30
dec ebx
mov dword [eax], 0x40000000
jne 0x480b35
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
imul ecx, ecx, 0x110
movzx eax, word [ebp + eax*2 + 0x327f4]
movzx edi, word [ebp + edi*2 + 0x327ac]
add ecx, dword [esp + 0x3c]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30f40]
shr edi, 4
add eax, dword [ebp + edi*4 + 0x30f40]
add eax, dword [ebp + ecx*4 + 0x378c0]
lea ecx, [ebx + ebx*2]
add ecx, ecx
add eax, esi
cmp eax, dword [ebp + ecx*8 + 0x740]
lea ecx, [ebp + ecx*8 + 0x740]
jae 0x480bc5
mov esi, dword [esp + 0x14]
mov dword [ecx], eax
lea eax, [edx + esi]
mov dword [ecx + 0x18], eax
mov eax, 1
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x30]
add eax, 4
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x80]
add eax, 2
mov dword [esp + 0x80], eax
cmp eax, dword [esp + 0x38]
je 0x480c2b
lea ebx, [eax*4]
mov eax, dword [ebx + ebp + 0x31144]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], eax
cmp eax, 0x80
jb 0x480c19
cmp eax, 0x20000
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
mov esi, eax
shr esi, cl
movzx esi, byte [esi + ebp + 0x30740]
lea ecx, [esi + ecx*2]
mov dword [esp + 0x2c], ecx
mov edi, dword [esp + 0x24]
add dword [esp + 0x34], 4
add edi, 0x30
inc edx
jmp 0x480957
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x18]
jne 0x47ffa2
jmp 0x480c4a
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x20], eax
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x14]
push edx
mov ecx, ebp
call fcn.0047f980
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0xc