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

Disassembly:
sub esp, 0x84
push ebx
push esi
mov esi, dword [esp + 0x90]
cmp dword [esi + 0x34], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
jne 0x4a7a9b
lea eax, [esp + 0x28]
push eax
push esi
call fcn.004aac60
mov dword [esp + 0x44], eax
add esp, 8
mov eax, dword [esp + 0x28]
jmp 0x4a7aa5
mov eax, dword [esi + 0x20]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x28]
mov dword [esp + 0x1c], eax
cmp ebx, 2
jae 0x4a7ac9
mov dword [esi + 0x90], 0xffffffff
mov eax, 1
pop esi
pop ebx
add esp, 0x84
ret
cmp ebx, 0x111
jbe 0x4a7ad6
mov ebx, 0x111
push dword [esi]
mov eax, dword [esi + 0xc]
call eax
add esp, 4
xor ecx, ecx
mov dword [esp + 0x38], ecx
lea edx, [eax - 1]
xor eax, eax
mov dword [esp + 0x18], eax
mov al, byte [edx]
mov byte [esp + 0xb], al
lea eax, [esi + 0x38]
push ebp
mov dword [esp + 0x48], edx
xor esi, esi
mov dword [esp + 0x2c], eax
push edi
mov eax, dword [eax + ecx*4]
lea ebp, [ecx*4]
mov edi, edx
mov dword [esp + ebp + 0x54], eax
sub edi, eax
mov al, byte [esp + 0x13]
cmp al, byte [edi]
jne 0x4a7b6d
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x4a7b6d
mov edx, 2
cmp ebx, edx
jbe 0x4a7b49
mov eax, dword [esp + 0x4c]
sub edi, eax
lea ecx, [eax + 2]
mov al, byte [ecx]
cmp al, byte [edi + ecx]
jne 0x4a7b45
inc edx
inc ecx
cmp edx, ebx
jb 0x4a7b38
mov ecx, dword [esp + 0x40]
mov dword [esp + ebp + 0x84], edx
cmp edx, dword [esp + esi + 0x84]
jbe 0x4a7b5f
mov dword [esp + 0x20], ecx
mov esi, ebp
cmp edx, 0x111
je 0x4a7b8a
mov edx, dword [esp + 0x4c]
jmp 0x4a7b78
mov dword [esp + ebp + 0x84], 0
mov eax, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x40], ecx
cmp ecx, 4
jb 0x4a7b04
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x98]
mov ebp, dword [esp + eax*4 + 0x84]
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x28], ebp
cmp ebp, ecx
jb 0x4a7bce
lea ecx, [ebp - 1]
mov dword [esi + 0x90], eax
add dword [esi + 0x34], ecx
lea ecx, [ebp - 1]
push ecx
push dword [esi]
mov ecx, dword [esi + 0x14]
call ecx
add esp, 8
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x84
ret
mov ebx, dword [esp + 0x44]
cmp ebx, ecx
jb 0x4a7c0b
mov eax, dword [esp + 0x24]
mov eax, dword [esi + eax*4 + 0x744]
add eax, 4
mov dword [esi + 0x90], eax
lea eax, [ebx - 1]
add dword [esi + 0x34], eax
lea eax, [ebx - 1]
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
call eax
add esp, 8
mov eax, ebx
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x84
ret
mov ecx, dword [esp + 0x4c]
mov eax, ecx
mov edx, dword [esp + 0x54]
sub eax, edx
mov dword [esp + 0x48], edx
mov al, byte [eax]
mov byte [esp + 0x1b], al
cmp ebp, ebx
ja 0x4a7c2b
mov ebp, ebx
mov dword [esp + 0x28], ebx
cmp ebp, 2
jae 0x4a7c50
cmp byte [esp + 0x13], al
je 0x4a7c50
pop edi
pop ebp
mov dword [esi + 0x90], 0xffffffff
mov eax, 1
pop esi
pop ebx
add esp, 0x84
ret
mov ax, word [esi + 0x2c]
mov word [esi + 0xbaa4], ax
mov eax, dword [esi + 0x4c]
and eax, dword [esp + 0x9c]
movzx edx, byte [ecx - 1]
mov ecx, dword [esi + 0x94]
mov ebp, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
shl eax, 8
add edx, eax
mov eax, dword [esi + 0x50]
and edx, dword [esi + 0x48]
shl edx, cl
lea ecx, [edx + edx*2]
lea ebx, [eax + ecx*2]
cmp ebp, 7
jb 0x4a7cb5
lea eax, [esi + 0x548]
push eax
movzx eax, byte [esp + 0x1f]
push eax
movzx eax, byte [esp + 0x1b]
push eax
push ebx
call fcn.004a9450
add esp, 0x10
mov edi, eax
jmp 0x4a7ce6
movzx edx, byte [esp + 0x13]
xor edi, edi
or edx, 0x100
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
movzx eax, word [ebx + edx*2]
and ecx, 0x7f
shr eax, 4
xor eax, ecx
add edi, dword [esi + eax*4 + 0x548]
cmp edx, 2
jae 0x4a7cc2
shl ebp, 4
add ebp, dword [esp + 0x14]
movzx eax, word [esi + ebp*2 + 0x1c98]
mov ebp, dword [esp + 0x14]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x548]
add eax, edi
mov dword [esi + 0xbacc], 0xffffffff
mov dword [esi + 0xbac0], eax
xor eax, eax
mov word [esi + 0xbac6], ax
mov edx, dword [esi + 0x2c]
mov ecx, edx
shl ecx, 4
add ecx, ebp
movzx eax, word [esi + ecx*2 + 0x1c98]
xor eax, 0x7f0
shr eax, 4
mov edi, dword [esi + eax*4 + 0x548]
movzx eax, word [esi + edx*2 + 0x1c38]
xor eax, 0x7f0
mov dword [esp + 0x50], edi
shr eax, 4
mov ebx, dword [esi + eax*4 + 0x548]
mov al, byte [esp + 0x1b]
add ebx, edi
mov dword [esp + 0x30], ebx
cmp al, byte [esp + 0x13]
jne 0x4a7dde
cmp dword [esp + 0x84], 0
jne 0x4a7dde
movzx ecx, word [esi + ecx*2 + 0x1e18]
movzx eax, word [esi + edx*2 + 0x1c50]
shr ecx, 4
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x548]
add ecx, dword [esi + eax*4 + 0x548]
add ecx, ebx
cmp ecx, dword [esi + 0xbac0]
jae 0x4a7dbb
xor eax, eax
mov dword [esi + 0xbac0], ecx
mov dword [esi + 0xbacc], 0
mov word [esi + 0xbac6], ax
cmp dword [esp + 0x28], 2
jae 0x4a7dde
mov eax, dword [esi + 0xbacc]
pop edi
pop ebp
mov dword [esi + 0x90], eax
mov eax, 1
pop esi
pop ebx
add esp, 0x84
ret
mov eax, dword [esp + 0x58]
xor ebx, ebx
mov ecx, dword [esp + 0x48]
mov dword [esi + 0xbac8], 1
mov dword [esp + 0x4c], eax
mov dword [esi + 0xbab4], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0xbab8], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0xbab0], ecx
mov dword [esi + 0xbabc], eax
jmp 0x4a7e20
mov edx, dword [esp + ebx*4 + 0x84]
cmp edx, 2
jb 0x4a7f0c
mov eax, dword [esi + 0x2c]
movzx ecx, word [esi + eax*2 + 0x1c50]
test ebx, ebx
jne 0x4a7e67
shl eax, 4
add eax, ebp
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x1e18]
xor eax, 0x7f0
shr eax, 4
mov ebp, dword [esi + eax*4 + 0x548]
add ebp, dword [esi + ecx*4 + 0x548]
jmp 0x4a7ec3
movzx edi, word [esi + eax*2 + 0x1c68]
xor ecx, 0x7f0
shr ecx, 4
mov ebp, dword [esi + ecx*4 + 0x548]
cmp ebx, 1
jne 0x4a7e90
shr edi, 4
add ebp, dword [esi + edi*4 + 0x548]
jmp 0x4a7ec3
movzx ecx, word [esi + eax*2 + 0x1c80]
xor edi, 0x7f0
mov eax, 2
shr ecx, 4
sub eax, ebx
shr edi, 4
shr eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [esi + ecx*4 + 0x548]
add eax, dword [esi + edi*4 + 0x548]
add ebp, eax
imul eax, dword [esp + 0x14], 0x110
add ebp, dword [esp + 0x30]
add eax, 0x1da6
add eax, edx
lea edi, [esi + eax*4]
mov eax, edx
shl eax, 5
add eax, 0xbaac
add eax, esi
mov ecx, dword [edi]
add ecx, ebp
cmp ecx, dword [eax - 0xc]
jae 0x4a7efc
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov dword [eax - 4], edx
mov dword [eax], ebx
mov word [eax - 6], cx
dec edx
sub edi, 4
sub eax, 0x20
cmp edx, 2
jae 0x4a7ee5
mov ebp, dword [esp + 0x14]
inc ebx
cmp ebx, 4
jb 0x4a7e20
mov edi, dword [esp + 0x84]
inc edi
cmp edi, dword [esp + 0x44]
ja 0x4a8041
mov eax, dword [esi + 0x2c]
xor ebp, ebp
movzx eax, word [esi + eax*2 + 0x1c38]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x548]
add eax, dword [esp + 0x50]
mov dword [esp + 0x30], eax
cmp edi, 2
jae 0x4a7f51
lea edi, [ebp + 2]
jmp 0x4a7f6c
cmp edi, dword [esi + 0x748]
jbe 0x4a7f6c
lea esp, [esp]
add ebp, 2
cmp edi, dword [esi + ebp*4 + 0x748]
ja 0x4a7f60
imul eax, dword [esp + 0x14], 0x110
lea ecx, [esi + 0xbaac]
add eax, 0xca5
add eax, edi
lea edx, [esi + eax*4]
mov eax, edi
shl eax, 5
add ecx, eax
mov ebx, dword [edx]
add ebx, dword [esp + 0x30]
mov eax, dword [esi + ebp*4 + 0x74c]
mov dword [esp + 0x20], edx
lea edx, [edi - 2]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
cmp edi, 5
jb 0x4a7fb1
mov edx, 3
cmp eax, 0x80
jae 0x4a7fcd
shl edx, 7
and eax, 0x7f
add edx, eax
add ebx, dword [esi + edx*4 + 0x1418]
mov edx, dword [esp + 0x40]
jmp 0x4a8009
cmp eax, 0x20000
sbb ecx, ecx
shl edx, 5
and ecx, 0xfffffff6
add ecx, 0x10
shr eax, cl
add edx, ecx
movzx eax, byte [eax + esi + 0x2a98]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x40]
mov eax, dword [esi + eax*4 + 0x1018]
mov ecx, edx
and ecx, 0xf
add eax, dword [esi + ecx*4 + 0xfd8]
mov ecx, dword [esp + 0x3c]
add ebx, eax
cmp ebx, dword [ecx - 0xc]
jae 0x4a801f
lea eax, [edx + 4]
mov dword [ecx - 0xc], ebx
mov dword [ecx], eax
xor eax, eax
mov dword [ecx - 4], edi
mov word [ecx - 6], ax
cmp edi, dword [esi + ebp*4 + 0x748]
jne 0x4a8031
add ebp, 2
cmp ebp, dword [esp + 0x24]
je 0x4a8041
mov edx, dword [esp + 0x20]
inc edi
add edx, 4
add ecx, 0x20
jmp 0x4a7f8b
mov ebp, dword [esp + 0x28]
mov ebx, 1
mov dword [esp + 0x34], ebx
cmp ebp, ebx
je 0x4a8c5c
jmp 0x4a8060
cmp ebx, 0x7c0
jae 0x4a8c14
lea eax, [esp + 0x40]
push eax
push esi
call fcn.004aac60
mov ecx, eax
add esp, 8
mov dword [esp + 0x80], ecx
cmp ecx, dword [esi + 0x30]
jae 0x4a8c08
inc dword [esp + 0x9c]
lea edi, [ebx + 0x5d5]
shl edi, 5
mov edx, ebx
add edi, esi
sub edx, dword [edi + 8]
cmp dword [edi + 8], 1
jne 0x4a80ea
mov ebx, dword [esp + 0x5c]
shl edx, 5
cmp dword [edi + 0xc], 0
movzx eax, word [edx + esi + 0xbaa4]
mov edx, dword [esp + 0x48]
jne 0x4a80d6
movzx ebp, byte [eax + 0x51f1c4]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2c], ebp
jmp 0x4a81b0
movzx ebp, byte [eax + 0x51f1a0]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2c], ebp
jmp 0x4a81b0
movzx ebx, word [edi + 6]
mov ecx, dword [edi + 0xc]
test bx, bx
je 0x4a8112
sub edx, ebx
mov ebp, 8
mov dword [esp + 0x2c], ebp
cmp ebx, 1
jne 0x4a8138
cmp ecx, 4
sbb ebp, ebp
neg ebp
add ebp, 7
jmp 0x4a8134
mov eax, edx
shl eax, 5
movzx eax, word [eax + esi + 0xbaa4]
cmp ecx, 4
jae 0x4a812d
movzx ebp, byte [eax + 0x51f1b8]
jmp 0x4a8134
movzx ebp, byte [eax + 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 dword [esp + 0x2c], ebp
lea eax, [edx + 0x5d5]
shl eax, 5
add eax, esi
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x4c], ebx
cmp ecx, 4
jae 0x4a818f
test ecx, ecx
jne 0x4a8168
mov edx, ebx
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
jmp 0x4a81a0
mov edx, dword [eax + 0x14]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x48], edx
cmp ecx, 1
jne 0x4a8180
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
jmp 0x4a81a4
mov ebx, edx
mov edx, dword [eax + ecx*4 + 0x10]
xor ecx, 1
mov eax, dword [eax + ecx*4 + 0x10]
jmp 0x4a81a0
mov dword [esp + 0x4c], ebx
lea edx, [ecx - 3]
mov dword [esp + 0x58], ebx
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x48], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x4c]
mov word [edi + 4], bp
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], eax
push dword [esi]
mov eax, dword [esi + 0xc]
call eax
mov ecx, dword [esi + 0x4c]
add esp, 4
and ecx, dword [esp + 0x9c]
mov dword [esp + 0x30], ecx
lea ebp, [eax - 1]
mov eax, ebp
mov bl, byte [ebp]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x13], bl
mov bh, byte [eax]
mov eax, dword [esp + 0x2c]
shl eax, 4
add eax, ecx
mov byte [esp + 0x1b], bh
mov dword [esp + 0x68], eax
movzx ecx, word [esi + eax*2 + 0x1c98]
mov eax, ecx
shr ecx, 4
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x548]
add eax, dword [edi]
mov dword [esp + 0x50], eax
mov eax, dword [esi + ecx*4 + 0x548]
xor ecx, ecx
add eax, dword [edi]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], eax
lea edi, [edi + 0x5d6]
shl edi, 5
add edi, esi
mov ecx, dword [edi]
cmp ecx, 0x40000000
jae 0x4a8259
cmp bh, bl
je 0x4a825d
cmp eax, ecx
jbe 0x4a8264
xor ebp, ebp
jmp 0x4a830d
mov eax, dword [esp + 0x9c]
movzx edx, byte [ebp - 1]
mov ecx, dword [esi + 0x94]
shl eax, 8
add edx, eax
mov eax, dword [esi + 0x50]
and edx, dword [esi + 0x48]
shl edx, cl
cmp dword [esp + 0x2c], 7
lea ecx, [edx + edx*2]
lea ebp, [eax + ecx*2]
jb 0x4a82ab
lea eax, [esi + 0x548]
push eax
movzx eax, bh
push eax
movzx eax, bl
push eax
push ebp
call fcn.004a9450
add esp, 0x10
mov ebx, eax
jmp 0x4a82dd
movzx edx, byte [esp + 0x13]
xor ebx, ebx
or edx, 0x100
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
movzx eax, word [ebp + edx*2]
and ecx, 0x7f
shr eax, 4
xor eax, ecx
add ebx, dword [esi + eax*4 + 0x548]
cmp edx, 2
jae 0x4a82b8
mov ebp, dword [esp + 0x38]
add ebp, ebx
mov bl, byte [esp + 0x13]
mov bh, byte [esp + 0x1b]
cmp ebp, dword [edi]
jae 0x4a830d
xor eax, eax
mov dword [edi], ebp
mov dword [edi + 8], 1
mov dword [edi + 0xc], 0xffffffff
mov word [edi + 6], ax
mov dword [esp + 0x14], 1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x28]
mov dword [esp + 0x44], edx
lea eax, [ecx + 0xe1c]
lea eax, [esi + eax*2]
mov dword [esp + 0x74], eax
movzx eax, word [eax]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x548]
add eax, dword [esp + 0x50]
mov esi, dword [esp + 0x98]
mov dword [esp + 0x7c], eax
mov eax, 0x7ff
sub eax, dword [esp + 0x34]
cmp edx, eax
jbe 0x4a8357
mov dword [esp + 0x44], eax
cmp ecx, 7
jae 0x4a83bc
cmp bh, bl
jne 0x4a83bc
mov edx, dword [edi]
cmp dword [esp + 0x7c], edx
jae 0x4a83bc
cmp dword [edi + 8], 2
jb 0x4a8374
cmp dword [edi + 0xc], 0
je 0x4a83bc
movzx ecx, word [esi + ecx*2 + 0x1c50]
mov eax, dword [esp + 0x68]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x1e18]
mov ecx, dword [esi + ecx*4 + 0x548]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x548]
add ecx, dword [esp + 0x7c]
cmp ecx, edx
jae 0x4a83bc
xor eax, eax
mov dword [edi], ecx
mov dword [edi + 8], 1
mov dword [edi + 0xc], 0
mov word [edi + 6], ax
jmp 0x4a83c0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x44]
cmp edi, 2
jb 0x4a8bf1
mov edx, dword [esi + 0x30]
mov dword [esp + 0x3c], edi
cmp edi, edx
jbe 0x4a83dc
mov dword [esp + 0x3c], edx
test eax, eax
jne 0x4a850d
test ebp, ebp
je 0x4a850d
cmp bh, bl
je 0x4a850d
cmp edi, 2
mov edi, dword [esp + 0x1c]
jbe 0x4a8511
mov ecx, dword [esp + 0x20]
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x4a8511
mov al, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x4a8511
mov eax, dword [esp + 0x44]
inc edx
cmp edx, eax
jbe 0x4a8428
mov edx, eax
mov ebx, 3
cmp edx, ebx
jbe 0x4a8444
add ecx, ebx
sub edi, dword [esp + 0x20]
mov al, byte [edi + ecx]
cmp al, byte [ecx]
jne 0x4a8444
inc ebx
inc ecx
cmp ebx, edx
jb 0x4a8437
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x9c]
inc ecx
and ecx, dword [esi + 0x4c]
movzx edi, byte [eax + 0x51f1a0]
mov edx, edi
mov dword [esp + 0x38], ecx
shl edx, 4
add edx, ecx
movzx ecx, word [esi + edi*2 + 0x1c38]
xor ecx, 0x7f0
shr ecx, 4
movzx eax, word [esi + edx*2 + 0x1e18]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x548]
add ecx, dword [esi + eax*4 + 0x548]
movzx eax, word [esi + edx*2 + 0x1c98]
xor eax, 0x7f0
shr eax, 4
add ecx, dword [esi + eax*4 + 0x548]
movzx eax, word [esi + edi*2 + 0x1c50]
mov edi, dword [esp + 0x34]
shr eax, 4
add edi, ebx
add ecx, dword [esi + eax*4 + 0x548]
add ecx, ebp
cmp dword [esp + 0x28], edi
jae 0x4a84cf
mov dword [esp + 0x28], edi
imul eax, dword [esp + 0x38], 0x110
dec ebx
add eax, ebx
mov edx, dword [esi + eax*4 + 0x7698]
lea eax, [edi + 0x5d5]
mov edi, dword [esp + 0x1c]
add edx, ecx
shl eax, 5
add eax, esi
cmp edx, dword [eax]
jae 0x4a8511
mov ecx, 1
mov dword [eax], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], 0
mov word [eax + 6], cx
jmp 0x4a8511
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x20], 2
mov dword [esp + 0x14], ecx
nop
mov al, byte [edi]
mov ebx, edi
sub ebx, dword [esp + ecx*4 + 0x54]
mov dword [esp + 0x78], ebx
cmp al, byte [ebx]
jne 0x4a8842
mov al, byte [edi + 1]
cmp al, byte [ebx + 1]
jne 0x4a8842
mov ebp, dword [esp + 0x3c]
mov edx, 2
mov dword [esp + 0x6c], edx
cmp ebp, edx
jbe 0x4a8567
lea ecx, [ebx + 2]
sub edi, ebx
mov al, byte [edi + ecx]
cmp al, byte [ecx]
jne 0x4a8563
inc edx
inc ecx
cmp edx, ebp
jb 0x4a8556
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x34]
add eax, edx
mov dword [esp + 0x38], eax
cmp dword [esp + 0x28], eax
jae 0x4a857b
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov edi, edx
movzx ecx, word [esi + eax*2 + 0x1c50]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a85b8
mov eax, dword [esp + 0x68]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x1e18]
xor eax, 0x7f0
shr eax, 4
mov ebp, dword [esi + eax*4 + 0x548]
add ebp, dword [esi + ecx*4 + 0x548]
jmp 0x4a861a
xor ecx, 0x7f0
shr ecx, 4
mov ebp, dword [esi + ecx*4 + 0x548]
mov ecx, dword [esp + 0x2c]
movzx ebx, word [esi + ecx*2 + 0x1c68]
cmp eax, 1
jne 0x4a85e5
shr ebx, 4
add ebp, dword [esi + ebx*4 + 0x548]
jmp 0x4a861a
movzx ecx, word [esi + ecx*2 + 0x1c80]
mov eax, 2
sub eax, dword [esp + 0x14]
xor ebx, 0x7f0
shr eax, 4
and eax, 0x7f
shr ecx, 4
xor ecx, eax
shr ebx, 4
mov eax, dword [esi + ecx*4 + 0x548]
add eax, dword [esi + ebx*4 + 0x548]
add ebp, eax
imul eax, dword [esp + 0x30], 0x110
add ebp, dword [esp + 0x7c]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x64], eax
add eax, 0x1da6
add eax, edx
lea ebx, [esi + eax*4]
mov eax, dword [esp + 0x38]
shl eax, 5
add eax, 0xbaac
add eax, esi
mov esi, dword [esp + 0x14]
lea ebx, [ebx]
mov ecx, dword [ebx]
add ecx, ebp
cmp ecx, dword [eax - 0xc]
jae 0x4a8667
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov dword [eax - 4], edi
mov dword [eax], esi
mov word [eax - 6], cx
dec edi
sub ebx, 4
sub eax, 0x20
cmp edi, 2
jae 0x4a8650
test esi, esi
mov esi, dword [esp + 0x98]
jne 0x4a8685
lea eax, [edx + 1]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x30]
lea ebp, [edx + 1]
mov ecx, dword [esp + 0x44]
add eax, ebp
mov dword [esp + 0x38], eax
cmp eax, ecx
jbe 0x4a869f
mov eax, ecx
mov dword [esp + 0x38], ecx
mov edi, dword [esp + 0x1c]
add ebp, 2
cmp ebp, eax
ja 0x4a883e
mov ecx, dword [esp + 0x78]
mov al, byte [edi + ebp - 2]
add ecx, ebp
mov dword [esp + 0x70], ecx
cmp al, byte [ecx - 2]
jne 0x4a883e
mov al, byte [edi + ebp - 1]
cmp al, byte [ecx - 1]
jne 0x4a883e
mov ecx, dword [esp + 0x9c]
lea eax, [esi + 0x548]
push eax
mov eax, dword [esp + 0x7c]
add ecx, edx
mov edi, dword [esi + 0x4c]
and edi, ecx
shl ecx, 8
movzx eax, byte [edx + eax]
push eax
mov eax, dword [esp + 0x24]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [esp + 0x28]
movzx eax, byte [eax + edx - 1]
add eax, ecx
mov ecx, dword [esi + 0x94]
and eax, dword [esi + 0x48]
shl eax, cl
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x50]
lea eax, [eax + ecx*2]
push eax
call fcn.004a9450
mov ecx, dword [esp + 0x3c]
add esp, 0x10
mov edx, dword [esp + 0x6c]
movzx ecx, byte [ecx + 0x51f1b8]
shl ecx, 4
add ecx, edi
movzx ecx, word [esi + ecx*2 + 0x1c98]
shr ecx, 4
add eax, dword [esi + ecx*4 + 0x548]
mov ecx, dword [esp + 0x64]
add ecx, edx
add eax, dword [esi + ecx*4 + 0x7698]
add dword [esp + 0x24], eax
lea eax, [edi + 1]
and eax, dword [esi + 0x4c]
mov dword [esp + 0x64], eax
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
movzx ecx, word [esi + eax*2 + 0x1eb8]
movzx eax, word [esi + eax*2 + 0x1d38]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x548]
add ecx, dword [esi + eax*4 + 0x548]
movzx eax, word [esi + 0x1c42]
xor eax, 0x7f0
shr eax, 4
add ecx, dword [esi + eax*4 + 0x548]
movzx eax, word [esi + 0x1c5a]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x548]
add ebx, ecx
mov dword [esp + 0x24], ebx
cmp ebp, edi
jae 0x4a87f1
mov ebx, dword [esp + 0x1c]
sub ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
lea esp, [esp]
mov al, byte [ebx + ecx]
cmp al, byte [ecx]
jne 0x4a87ed
inc ebp
inc ecx
cmp ebp, edi
jb 0x4a87e0
mov ebx, dword [esp + 0x24]
sub ebp, edx
lea ecx, [edx + ebp]
add ecx, dword [esp + 0x34]
cmp dword [esp + 0x28], ecx
jae 0x4a8804
mov dword [esp + 0x28], ecx
imul eax, dword [esp + 0x64], 0x110
dec ebp
mov edi, dword [esp + 0x1c]
add ecx, 0x5d5
shl ecx, 5
add ecx, esi
add eax, ebp
mov eax, dword [esi + eax*4 + 0x7698]
add eax, ebx
cmp eax, dword [ecx]
jae 0x4a883e
mov dword [ecx], eax
lea eax, [edx + 1]
mov word [ecx + 6], ax
mov eax, dword [esp + 0x14]
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 4
jb 0x4a8520
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x80]
cmp edi, ecx
jbe 0x4a888c
xor eax, eax
mov edi, ecx
cmp ecx, dword [esi + 0x748]
jbe 0x4a887c
jmp 0x4a8870
add eax, 2
cmp ecx, dword [esi + eax*4 + 0x748]
ja 0x4a8870
mov dword [esi + eax*4 + 0x748], ecx
add eax, 2
mov dword [esp + 0x40], eax
jmp 0x4a8890
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
cmp edi, ebx
jb 0x4a8bf1
mov eax, dword [esp + 0x74]
movzx eax, word [eax]
shr eax, 4
mov edx, dword [esi + eax*4 + 0x548]
mov eax, dword [esp + 0x34]
add edx, dword [esp + 0x50]
add eax, edi
mov dword [esp + 0x64], edx
cmp dword [esp + 0x28], eax
jae 0x4a88c9
mov dword [esp + 0x28], eax
xor edi, edi
mov dword [esp + 0x24], edi
cmp ebx, dword [esi + 0x748]
jbe 0x4a88f0
jmp 0x4a88e0
add edi, 2
cmp ebx, dword [esi + edi*4 + 0x748]
ja 0x4a88e0
mov dword [esp + 0x24], edi
mov ebp, dword [esi + edi*4 + 0x74c]
cmp ebp, 0x20000
mov eax, ebp
mov edi, dword [esp + 0x24]
sbb ecx, ecx
mov dword [esp + 0x50], ebp
and ecx, 0xfffffff6
add ecx, 0x10
shr eax, cl
movzx eax, byte [eax + esi + 0x2a98]
lea eax, [eax + ecx*2]
mov dword [esp + 0x6c], eax
lea ecx, [ebx + 3]
mov eax, dword [esp + 0x9c]
add eax, ebx
add ebx, 0xca5
shl eax, 8
mov dword [esp + 0x3c], eax
imul eax, dword [esp + 0x30], 0x110
add eax, ebx
lea ebx, [esi + eax*4]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x34]
shl eax, 5
add eax, 0xbaac
add eax, esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffffd
mov dword [esp + 0x80], eax
mov dword [esp + 0x68], ebx
mov ebx, dword [ebx]
add ebx, edx
mov dword [esp + 0x14], ecx
lea edx, [ecx - 5]
cmp edx, 3
jb 0x4a8983
mov edx, 3
cmp ebp, 0x80
jae 0x4a899e
mov eax, ebp
shl edx, 7
and eax, 0x7f
add edx, eax
add ebx, dword [esi + edx*4 + 0x1418]
jmp 0x4a89be
shl edx, 6
mov ecx, ebp
add edx, dword [esp + 0x6c]
and ecx, 0xf
mov eax, dword [esi + edx*4 + 0x1018]
add eax, dword [esi + ecx*4 + 0xfd8]
mov ecx, dword [esp + 0x14]
add ebx, eax
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
cmp ebx, dword [edx - 0xc]
jae 0x4a89df
lea eax, [ecx - 3]
mov dword [edx - 0xc], ebx
mov dword [edx - 4], eax
lea eax, [ebp + 4]
mov dword [edx], eax
xor eax, eax
mov word [edx - 6], ax
lea eax, [ecx - 3]
mov dword [esp + 0x70], eax
cmp eax, dword [esi + edi*4 + 0x748]
jne 0x4a8bd1
mov edx, dword [esi + 0x30]
mov ebx, dword [esp + 0x1c]
add edx, 0xfffffffe
mov eax, dword [esp + 0x44]
sub ebx, ebp
dec ebx
add edx, ecx
mov dword [esp + 0x74], ebx
cmp edx, eax
jbe 0x4a8a10
mov edx, eax
mov ebp, ecx
cmp ecx, edx
ja 0x4a8b90
mov eax, dword [esp + 0x1c]
mov al, byte [eax + ecx - 2]
cmp al, byte [ebx + ecx - 2]
jne 0x4a8b90
mov eax, dword [esp + 0x1c]
mov al, byte [eax + ecx - 1]
cmp al, byte [ebx + ecx - 1]
jne 0x4a8b90
cmp ecx, edx
jae 0x4a8a61
add ecx, dword [esp + 0x1c]
mov edi, ebx
sub edi, dword [esp + 0x1c]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [ecx + edi]
jne 0x4a8a5d
inc ebp
inc ecx
cmp ebp, edx
jb 0x4a8a50
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x9c]
lea eax, [ecx - 3]
sub ebp, eax
add edi, 0xfffffffd
lea eax, [esi + 0x548]
add edi, ecx
push eax
mov eax, dword [esp + 0x78]
and edi, dword [esi + 0x4c]
movzx eax, byte [eax + ecx - 3]
push eax
mov eax, dword [esp + 0x88]
movzx eax, byte [eax + ecx]
push eax
mov eax, dword [esp + 0x28]
movzx eax, byte [eax + ecx - 4]
add eax, dword [esp + 0x48]
and eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x94]
shl eax, cl
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x50]
lea eax, [eax + ecx*2]
push eax
call fcn.004a9450
mov ecx, dword [esp + 0x3c]
add esp, 0x10
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x70]
movzx ecx, byte [ecx + 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_]
shl ecx, 4
add ecx, edi
inc edi
and edi, dword [esi + 0x4c]
movzx ecx, word [esi + ecx*2 + 0x1c98]
shr ecx, 4
add eax, dword [esi + ecx*4 + 0x548]
movzx ecx, word [esi + edi*2 + 0x1e98]
add edx, eax
movzx eax, word [esi + edi*2 + 0x1d18]
xor ecx, 0x7f0
shr ecx, 4
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x548]
add ecx, dword [esi + eax*4 + 0x548]
movzx eax, word [esi + 0x1c40]
xor eax, 0x7f0
shr eax, 4
add ecx, dword [esi + eax*4 + 0x548]
movzx eax, word [esi + 0x1c58]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x548]
add edx, ecx
lea ecx, [ebx + ebp]
add ecx, dword [esp + 0x34]
cmp dword [esp + 0x28], ecx
jae 0x4a8b55
mov dword [esp + 0x28], ecx
imul eax, edi, 0x110
dec ebp
mov edi, dword [esp + 0x24]
add ecx, 0x5d5
shl ecx, 5
add ecx, esi
add eax, ebp
mov eax, dword [esi + eax*4 + 0x7698]
add eax, edx
cmp eax, dword [ecx]
jae 0x4a8b90
mov dword [ecx], eax
lea eax, [ebx + 1]
mov word [ecx + 6], ax
mov eax, dword [esp + 0x50]
add eax, 4
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], eax
add edi, 2
mov dword [esp + 0x24], edi
cmp edi, dword [esp + 0x38]
je 0x4a8bf1
mov ebp, dword [esi + edi*4 + 0x74c]
cmp ebp, 0x20000
mov edx, dword [esp + 0x20]
mov eax, ebp
sbb ecx, ecx
mov dword [esp + 0x50], ebp
and ecx, 0xfffffff6
add ecx, 0x10
shr eax, cl
movzx eax, byte [eax + esi + 0x2a98]
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov ebx, dword [esp + 0x68]
add edx, 0x20
add dword [esp + 0x3c], 0x100
add ebx, 4
mov dword [esp + 0x20], edx
inc ecx
mov edx, dword [esp + 0x64]
jmp 0x4a896a
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x34], ebx
cmp ebx, ebp
jne 0x4a8060
jmp 0x4a8c5c
mov eax, dword [esp + 0x40]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], ecx
jmp 0x4a8c5c
lea eax, [ebx + 0x5d5]
shl eax, 5
mov edi, dword [eax + esi]
mov eax, dword [esp + 0x34]
inc eax
cmp eax, ebp
ja 0x4a8c46
lea ecx, [eax + 0x5d5]
shl ecx, 5
add ecx, esi
mov edx, dword [ecx]
cmp edi, edx
jb 0x4a8c3e
mov edi, edx
mov ebx, eax
inc eax
add ecx, 0x20
cmp eax, ebp
jbe 0x4a8c34
mov eax, ebx
sub eax, dword [esp + 0x34]
je 0x4a8c5c
add dword [esi + 0x34], eax
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
call eax
add esp, 8
lea eax, [ebp + 0x5d5]
shl eax, 5
add eax, esi
jmp 0x4a8c70
mov dword [eax], 0x40000000
lea eax, [eax - 0x20]
dec ebp
jne 0x4a8c70
push ebx
push esi
call fcn.004a7200
add esp, 8
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x84
ret