Function at 0x409140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x70], eax
cmp dword [esi + 0x34], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
jne 0x40918b
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.0040c2e0
mov dword [ebp - 0x44], eax
add esp, 8
mov eax, dword [ebp - 0x5c]
jmp 0x409194
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x28]
mov dword [ebp - 0x40], eax
cmp ebx, 2
jb 0x40a526
push dword [esi]
mov eax, 0x111
cmp ebx, eax
cmova ebx, eax
mov eax, dword [esi + 0xc]
call eax
add esp, 4
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
lea edx, [eax - 1]
mov al, byte [edx]
mov dword [ebp - 0x34], edx
mov byte [ebp - 0x25], al
mov edi, edi
mov eax, dword [esi + ecx*4 + 0x38]
mov edi, edx
sub edi, eax
mov dword [ebp + ecx*4 - 0x14], eax
mov al, byte [ebp - 0x25]
cmp al, byte [edi]
jne 0x409230
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x409230
mov edx, 2
cmp ebx, edx
jbe 0x409210
mov eax, dword [ebp - 0x34]
sub edi, eax
lea ecx, [eax + 2]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edi + ecx]
jne 0x40920d
inc edx
inc ecx
cmp edx, ebx
jb 0x409200
mov ecx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x30]
mov eax, ecx
mov dword [ebp + ecx*4 - 0x24], edx
cmp edx, dword [ebp + edi*4 - 0x24]
cmovbe eax, edi
cmp edx, 0x111
je 0x409244
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
jmp 0x40923b
mov eax, dword [ebp - 0x30]
mov dword [ebp + ecx*4 - 0x24], 0
inc ecx
mov dword [ebp - 0x50], ecx
cmp ecx, 4
jb 0x4091d0
mov edi, dword [ebp + eax*4 - 0x24]
mov ecx, dword [esi + 0x30]
cmp edi, ecx
jb 0x40927c
lea ecx, [edi - 1]
mov dword [esi + 0x90], eax
add dword [esi + 0x34], ecx
lea ecx, [edi - 1]
push ecx
push dword [esi]
mov ecx, dword [esi + 0x14]
call ecx
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x44]
lea edx, [esi + 0x960]
mov dword [ebp - 0x68], edx
cmp ebx, ecx
jb 0x4092c3
mov eax, dword [ebp - 0x40]
mov eax, dword [edx + eax*4 - 4]
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 esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x34]
mov eax, ecx
mov dl, byte [ecx]
mov ecx, dword [ebp - 0x14]
sub eax, ecx
cmp edi, dword [ebp - 0x44]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x34]
cmova ebx, edi
mov al, byte [eax]
mov byte [ebp - 0x25], dl
mov byte [ebp - 0x26], al
mov dword [ebp - 0x2c], ebx
cmp ebx, 2
jae 0x4092f3
cmp dl, al
jne 0x40a526
mov ax, word [esi + 0x2c]
mov word [esi + 0xbcbc], ax
mov eax, dword [ebp - 0x70]
and eax, dword [esi + 0x4c]
movzx edx, byte [ecx - 1]
mov ecx, dword [esi + 0x94]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x70]
shl eax, 8
add edx, eax
mov eax, dword [esi + 0x50]
and edx, dword [esi + 0x48]
shl edx, cl
cmp dword [esi + 0x2c], 7
lea ecx, [edx + edx*2]
movzx edx, byte [ebp - 0x25]
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x5c], ecx
jb 0x40934e
lea eax, [esi + 0x760]
push eax
movzx eax, byte [ebp - 0x26]
push eax
push edx
push ecx
call fcn.0040ab50
add esp, 0x10
mov edi, eax
jmp 0x409387
mov ebx, dword [ebp - 0x5c]
xor edi, edi
or edx, 0x100
lea esp, [esp]
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 + 0x760]
cmp edx, 2
jae 0x409360
mov ebx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x2c]
mov edx, eax
mov ecx, dword [ebp - 0x34]
shl eax, 4
add eax, ecx
movzx eax, word [esi + eax*2 + 0x1eb0]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x760]
add edi, eax
xor eax, eax
mov dword [esi + 0xbcd8], edi
mov word [esi + 0xbcde], ax
mov eax, edx
shl eax, 4
add ecx, eax
mov dword [esi + 0xbce4], 0xffffffff
movzx eax, word [esi + ecx*2 + 0x1eb0]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x760]
mov dword [ebp - 0x58], eax
movzx eax, word [esi + edx*2 + 0x1e50]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x760]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov al, byte [ebp - 0x25]
cmp byte [ebp - 0x26], al
jne 0x40945d
cmp dword [ebp - 0x24], 0
jne 0x40945d
movzx ecx, word [esi + ecx*2 + 0x2030]
movzx eax, word [esi + edx*2 + 0x1e68]
shr ecx, 4
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x760]
add ecx, dword [esi + eax*4 + 0x760]
or eax, 0xffffffff
add ecx, dword [ebp - 0x60]
cmp ecx, edi
jae 0x40944d
mov dword [esi + 0xbcd8], ecx
xor eax, eax
mov dword [esi + 0xbce4], 0
cmp ebx, 2
jae 0x40945d
mov dword [esi + 0x90], eax
jmp 0x40a530
mov eax, dword [ebp - 0x74]
xor edi, edi
mov dword [esi + 0xbcc8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x6c], eax
mov dword [esi + 0xbccc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x88], eax
mov dword [esi + 0xbcd0], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xbce0], 1
mov dword [esi + 0xbcd4], eax
mov dword [ebp - 0x30], edi
lea esp, [esp]
mov edx, dword [ebp + edi*4 - 0x24]
cmp edx, 2
jb 0x40959a
mov eax, dword [esi + 0x2c]
movzx ecx, word [esi + eax*2 + 0x1e68]
test edi, edi
jne 0x4094e5
shl eax, 4
add eax, dword [ebp - 0x34]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x2030]
xor eax, 0x7f0
shr eax, 4
mov edi, dword [esi + eax*4 + 0x760]
add edi, dword [esi + ecx*4 + 0x760]
jmp 0x409549
movzx ebx, word [esi + eax*2 + 0x1e80]
xor ecx, 0x7f0
shr ecx, 4
mov ecx, dword [esi + ecx*4 + 0x760]
mov dword [ebp - 0x50], ecx
cmp edi, 1
jne 0x409513
shr ebx, 4
mov edi, ecx
add edi, dword [esi + ebx*4 + 0x760]
jmp 0x409549
movzx ecx, word [esi + eax*2 + 0x1e98]
xor ebx, 0x7f0
mov eax, 2
shr ecx, 4
sub eax, edi
shr ebx, 4
mov edi, dword [ebp - 0x50]
shr eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [esi + ecx*4 + 0x760]
add eax, dword [esi + ebx*4 + 0x760]
add edi, eax
mov eax, dword [ebp - 0x60]
lea ecx, [esi + 0xbcc4]
mov ebx, dword [ebp - 0x30]
add eax, edi
imul edi, dword [ebp - 0x34], 0x110
mov dword [ebp - 0x5c], eax
mov eax, edx
shl eax, 5
add ecx, eax
add edi, 0x1e2c
add edi, edx
lea edi, [esi + edi*4]
mov eax, dword [edi]
add eax, dword [ebp - 0x5c]
cmp eax, dword [ecx - 0xc]
jae 0x40958b
mov dword [ecx - 0xc], eax
xor eax, eax
mov dword [ecx - 4], edx
mov dword [ecx], ebx
mov word [ecx - 6], ax
dec edx
sub edi, 4
sub ecx, 0x20
cmp edx, 2
jae 0x409573
mov edi, dword [ebp - 0x30]
inc edi
mov dword [ebp - 0x30], edi
cmp edi, 4
jb 0x4094a0
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x2c]
inc edi
cmp edi, dword [ebp - 0x44]
ja 0x40970a
mov eax, dword [esi + 0x2c]
xor edx, edx
mov dword [ebp - 0x4c], edx
movzx eax, word [esi + eax*2 + 0x1e50]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x760]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
cmp edi, 2
jae 0x4095e1
lea edi, [edx + 2]
jmp 0x4095ff
cmp edi, dword [esi + 0x960]
jbe 0x4095ff
lea esp, [esp]
add edx, 2
cmp edi, dword [esi + edx*4 + 0x960]
ja 0x4095f0
mov dword [ebp - 0x4c], edx
mov eax, edi
lea ecx, [esi + 0xbcc4]
shl eax, 7
add eax, 0x48c
mov dword [ebp - 0x5c], eax
mov eax, edi
mov ebx, dword [ebp - 0x5c]
shl eax, 5
add ecx, eax
imul eax, dword [ebp - 0x34], 0x110
add eax, 0xd2b
add eax, edi
lea eax, [esi + eax*4]
mov dword [ebp - 0x34], eax
mov eax, 0xffff4542
sub eax, esi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + edx*4 + 4]
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x58], ecx
mov eax, dword [eax]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
cmp edi, 5
jae 0x409667
mov eax, dword [ebp - 0x7c]
add eax, ecx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x60], eax
jmp 0x409675
mov dword [ebp - 0x50], 0x70c
mov dword [ebp - 0x60], 0x2a6
mov eax, dword [ebp - 0x30]
cmp eax, 0x80
jae 0x40968a
and eax, 0x7f
add eax, dword [ebp - 0x50]
mov eax, dword [esi + eax*4]
jmp 0x4096c1
cmp eax, 0x20000
sbb edx, edx
and edx, 0xfffffff6
add edx, 0x10
mov ecx, edx
shr eax, cl
movzx ecx, byte [eax + esi + 0x2cb0]
mov eax, dword [ebp - 0x60]
add eax, edx
mov edx, dword [ebp - 0x4c]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi + eax*4]
and ecx, 0xf
add eax, dword [esi + ecx*4 + 0x11f0]
mov ecx, dword [ebp - 0x58]
add eax, dword [ebp - 0x5c]
cmp eax, dword [ecx - 0xc]
jae 0x4096dd
mov dword [ecx - 0xc], eax
mov eax, dword [ebp - 0x30]
add eax, 4
mov dword [ecx - 4], edi
mov dword [ecx], eax
xor eax, eax
mov word [ecx - 6], ax
cmp edi, dword [esi + edx*4 + 0x960]
lea eax, [esi + 0x960]
jne 0x4096f7
add edx, 2
mov dword [ebp - 0x4c], edx
cmp edx, dword [ebp - 0x40]
je 0x409707
add dword [ebp - 0x34], 4
inc edi
sub ebx, 0xffffff80
add ecx, 0x20
jmp 0x40963d
mov ebx, dword [ebp - 0x2c]
mov ecx, 1
mov dword [ebp - 0x3c], ecx
cmp ebx, ecx
je 0x40a403
mov dword [ebp - 0x2c], ebx
lea ecx, [ecx]
cmp ecx, 0x7c0
jae 0x40a39f
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.0040c2e0
mov ecx, eax
add esp, 8
mov dword [ebp - 0x60], ecx
cmp ecx, dword [esi + 0x30]
jae 0x40a391
mov edx, dword [ebp - 0x3c]
mov edi, edx
inc dword [ebp - 0x70]
shl edi, 5
add edi, esi
mov dword [ebp - 0x4c], edi
mov eax, dword [edi + 0xbcc0]
sub edx, eax
cmp eax, 1
jne 0x409795
cmp dword [edi + 0xbcc4], 0
mov eax, 0x5b2548
mov ecx, 0x5b2524
cmove ecx, eax
shl edx, 5
movzx eax, word [edx + esi + 0xbcbc]
mov edx, dword [ebp - 0x88]
movzx ecx, byte [ecx + eax]
mov dword [ebp - 0x48], ecx
jmp 0x4098b9
movzx eax, word [edi + 0xbcbe]
mov ecx, dword [edi + 0xbcc4]
test ax, ax
je 0x4097ed
sub edx, eax
mov dword [ebp - 0x48], 8
cmp word [edi + 0xbcbe], 1
jne 0x4097c7
cmp ecx, 4
sbb eax, eax
neg eax
add eax, 7
mov dword [ebp - 0x48], eax
shl edx, 5
lea eax, [edx + 0xbcb8]
mov edx, dword [eax + esi + 0x10]
add eax, esi
mov dword [ebp - 0x6c], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x88], edx
cmp ecx, 4
jae 0x40989b
jmp 0x40981e
mov eax, edx
shl edx, 5
shl eax, 5
movzx eax, word [eax + esi + 0xbcbc]
cmp ecx, 4
jae 0x409879
movzx eax, byte [eax + 0x5b253c]
mov dword [ebp - 0x48], eax
lea eax, [edx + 0xbcb8]
mov edx, dword [eax + esi + 0x10]
add eax, esi
mov dword [ebp - 0x6c], edx
mov edx, dword [eax + 0x14]
test ecx, ecx
jne 0x40983b
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x14], ecx
mov ecx, edx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x88], edx
jmp 0x4098aa
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x74], edx
cmp ecx, 1
jne 0x40985d
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x88], edx
jmp 0x4098b0
mov edi, dword [eax + ecx*4 + 0x10]
xor ecx, 1
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x4c]
mov eax, dword [eax + ecx*4 + 0x10]
mov dword [ebp - 0x88], edx
jmp 0x4098b0
movzx eax, 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_vL_]
mov dword [ebp - 0x48], eax
lea eax, [edx + 0xbcb8]
mov edx, dword [eax + esi + 0x10]
add eax, esi
mov dword [ebp - 0x6c], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x88], edx
mov eax, dword [eax + 0x18]
add ecx, 0xfffffffd
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x74]
mov dword [edi + 0xbcc8], eax
mov eax, dword [ebp - 0x6c]
mov dword [edi + 0xbccc], eax
mov eax, dword [ebp - 8]
mov word [edi + 0xbcbc], cx
mov dword [edi + 0xbcd0], edx
mov dword [edi + 0xbcd4], eax
push dword [esi]
mov eax, dword [esi + 0xc]
call eax
mov edx, dword [edi + 0xbcb8]
add esp, 4
lea ecx, [eax - 1]
mov al, byte [ecx]
mov byte [ebp - 0x25], al
mov dword [ebp - 0x38], ecx
sub ecx, dword [ebp - 0x74]
mov dword [ebp - 0x64], ecx
mov al, byte [ecx]
mov ecx, dword [ebp - 0x70]
and ecx, dword [esi + 0x4c]
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x48]
shl eax, 4
add eax, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x7c], eax
movzx ecx, word [esi + eax*2 + 0x1eb0]
mov eax, ecx
shr ecx, 4
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x760]
add eax, edx
mov dword [ebp - 0x68], eax
mov eax, dword [esi + ecx*4 + 0x760]
add eax, edx
xor edx, edx
mov dword [ebp - 0x40], edx
mov edx, dword [edi + 0xbcd8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x58], edx
cmp edx, 0x40000000
jae 0x409966
mov cl, byte [ebp - 0x25]
cmp byte [ebp - 0x26], cl
je 0x40996a
cmp eax, edx
jbe 0x409976
mov dword [ebp - 0x34], 0
jmp 0x409a3b
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0x94]
movzx edx, byte [eax - 1]
mov eax, dword [ebp - 0x70]
shl eax, 8
add edx, eax
mov eax, dword [esi + 0x50]
and edx, dword [esi + 0x48]
shl edx, cl
cmp dword [ebp - 0x48], 7
lea ecx, [edx + edx*2]
movzx edx, byte [ebp - 0x25]
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x54], ecx
jb 0x4099be
lea eax, [esi + 0x760]
push eax
movzx eax, byte [ebp - 0x26]
push eax
push edx
push ecx
call fcn.0040ab50
add esp, 0x10
jmp 0x409a00
mov ebx, dword [ebp - 0x54]
xor edi, edi
or edx, 0x100
lea esp, [esp]
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 + 0x760]
cmp edx, 2
jae 0x4099d0
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x54], edi
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x58]
add ecx, eax
mov dword [ebp - 0x34], ecx
cmp ecx, edx
jae 0x409a3b
xor eax, eax
mov dword [edi + 0xbcd8], ecx
mov dword [edi + 0xbce0], 1
mov edx, ecx
mov dword [edi + 0xbce4], 0xffffffff
mov word [edi + 0xbcde], ax
mov dword [ebp - 0x40], 1
mov ecx, dword [ebp - 0x48]
mov edi, 0x7ff
sub edi, dword [ebp - 0x3c]
lea eax, [ecx + 0xf28]
lea eax, [esi + eax*2]
mov dword [ebp - 0x84], eax
movzx eax, word [eax]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x760]
add eax, dword [ebp - 0x68]
cmp dword [esi + 0x28], edi
mov dword [ebp - 0x8c], eax
cmovbe edi, dword [esi + 0x28]
cmp ecx, 7
mov al, byte [ebp - 0x26]
mov cl, byte [ebp - 0x25]
mov dword [ebp - 0x44], edi
mov edi, dword [ebp - 0x4c]
jae 0x409b15
cmp al, cl
jne 0x409b15
cmp dword [ebp - 0x8c], edx
jae 0x409b15
cmp dword [edi + 0xbce0], 2
jb 0x409aae
cmp dword [edi + 0xbce4], 0
je 0x409b15
mov eax, dword [ebp - 0x7c]
movzx ecx, word [esi + eax*2 + 0x2030]
mov eax, dword [ebp - 0x48]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x1e68]
mov ecx, dword [esi + ecx*4 + 0x760]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x760]
add ecx, dword [ebp - 0x8c]
cmp ecx, edx
jae 0x409b0f
xor eax, eax
mov dword [edi + 0xbcd8], ecx
mov cl, byte [ebp - 0x25]
xor edx, edx
mov word [edi + 0xbcde], ax
mov al, byte [ebp - 0x26]
mov dword [edi + 0xbce0], 1
mov dword [edi + 0xbce4], 0
jmp 0x409b18
mov al, byte [ebp - 0x26]
mov cl, byte [ebp - 0x25]
mov edx, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 2
jb 0x40a380
mov edi, dword [esi + 0x30]
mov ebx, edi
cmp dword [ebp - 0x44], edi
cmovbe ebx, dword [ebp - 0x44]
mov dword [ebp - 0x58], ebx
test edx, edx
jne 0x409c81
cmp dword [ebp - 0x34], edx
je 0x409c81
mov edx, dword [ebp - 0x38]
cmp al, cl
je 0x409c7c
mov ebx, dword [ebp - 0x44]
cmp ebx, 2
jbe 0x409c7c
mov ecx, dword [ebp - 0x64]
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x409c7c
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x409c7c
inc edi
mov edx, 3
cmp edi, ebx
cmova edi, ebx
cmp edi, edx
jbe 0x409b9d
mov ebx, dword [ebp - 0x38]
add ecx, edx
sub ebx, dword [ebp - 0x64]
jmp 0x409b90
mov al, byte [ebx + ecx]
cmp al, byte [ecx]
jne 0x409b9d
inc edx
inc ecx
cmp edx, edi
jb 0x409b90
mov eax, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x3c]
inc ebx
and ebx, dword [esi + 0x4c]
add ecx, edx
movzx edi, byte [eax + 0x5b2524]
mov eax, ecx
cmp dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
cmovae eax, dword [ebp - 0x2c]
dec edx
movzx ecx, word [esi + edi*2 + 0x1e50]
mov dword [ebp - 0x64], edx
xor ecx, 0x7f0
mov dword [ebp - 0x2c], eax
mov edx, edi
shl edx, 4
add edx, ebx
shr ecx, 4
movzx eax, word [esi + edx*2 + 0x2030]
mov ecx, dword [esi + ecx*4 + 0x760]
xor eax, 0x7f0
shr eax, 4
add ecx, dword [esi + eax*4 + 0x760]
movzx eax, word [esi + edx*2 + 0x1eb0]
mov edx, ecx
xor eax, 0x7f0
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x64]
shr eax, 4
add edx, dword [esi + eax*4 + 0x760]
movzx eax, word [esi + edi*2 + 0x1e68]
mov edi, dword [ebp - 0x2c]
shr eax, 4
add edx, dword [esi + eax*4 + 0x760]
imul eax, ebx, 0x110
add eax, ecx
add edx, dword [esi + eax*4 + 0x78b0]
mov eax, dword [ebp - 0x30]
add edx, dword [ebp - 0x34]
shl eax, 5
cmp edx, dword [eax + esi + 0xbcb8]
jae 0x409c84
mov dword [eax + esi + 0xbcc0], ecx
mov ecx, 1
mov dword [eax + esi + 0xbcb8], edx
mov dword [eax + esi + 0xbcc4], 0
mov word [eax + esi + 0xbcbe], cx
mov dword [ebp - 0x2c], edi
jmp 0x409c84
mov edi, dword [ebp - 0x2c]
jmp 0x409c87
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x38]
xor ebx, ebx
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + ebx*4 - 0x14]
mov ecx, edx
sub ecx, eax
mov dword [ebp - 0x80], eax
mov al, byte [edx]
mov dword [ebp - 0x54], ecx
cmp al, byte [ecx]
jne 0x409fd1
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x409fd1
mov edx, 2
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x58], edx
jbe 0x409ce6
mov esi, dword [ebp + ebx*4 - 0x14]
add ecx, edx
mov edi, dword [ebp - 0x58]
lea ecx, [ecx]
mov al, byte [ecx + esi]
cmp al, byte [ecx]
jne 0x409cdd
inc edx
inc ecx
cmp edx, edi
jb 0x409cd0
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0x3c]
add ecx, edx
cmp edi, ecx
mov dword [ebp - 0x90], ecx
mov eax, ecx
cmovae eax, edi
mov edi, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
movzx ecx, word [esi + eax*2 + 0x1e68]
test ebx, ebx
jne 0x409d35
mov eax, dword [ebp - 0x7c]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x2030]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x760]
add eax, dword [esi + ecx*4 + 0x760]
jmp 0x409d9d
xor ecx, 0x7f0
shr ecx, 4
cmp dword [ebp - 0x40], 1
mov eax, dword [esi + ecx*4 + 0x760]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
movzx ebx, word [esi + ecx*2 + 0x1e80]
jne 0x409d65
shr ebx, 4
add eax, dword [esi + ebx*4 + 0x760]
jmp 0x409d9d
movzx ecx, word [esi + ecx*2 + 0x1e98]
mov eax, 2
sub eax, dword [ebp - 0x40]
xor ebx, 0x7f0
shr eax, 4
and eax, 0x7f
shr ecx, 4
xor ecx, eax
shr ebx, 4
mov eax, dword [esi + ecx*4 + 0x760]
add eax, dword [esi + ebx*4 + 0x760]
add dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x8c]
mov dword [ebp - 0x4c], eax
imul eax, dword [ebp - 0x5c], 0x110
add eax, 0x1e2c
add eax, edx
mov edx, dword [ebp - 0x40]
lea eax, [esi + eax*4]
mov dword [ebp - 0x94], eax
mov ebx, eax
mov eax, dword [ebp - 0x90]
shl eax, 5
add eax, 0xbcc4
add eax, esi
mov ecx, dword [ebx]
add ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax - 0xc]
jae 0x409dea
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov dword [eax - 4], edi
mov dword [eax], edx
mov word [eax - 6], cx
dec edi
sub ebx, 4
sub eax, 0x20
cmp edi, 2
jae 0x409dd2
test edx, edx
mov edx, dword [ebp - 0x64]
lea eax, [edx + 1]
jne 0x409e03
mov dword [ebp - 0x30], eax
mov ecx, dword [esi + 0x30]
add ecx, eax
cmp ecx, dword [ebp - 0x44]
cmova ecx, dword [ebp - 0x44]
add eax, 2
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x90], eax
cmp eax, ecx
ja 0x409fc8
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x54]
add ebx, eax
mov edi, dword [ebp - 0x34]
add ecx, eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x2c], edi
mov al, byte [ebx - 2]
cmp al, byte [ecx - 2]
jne 0x40a113
mov al, byte [ebx - 1]
mov dword [ebp - 0x2c], edi
cmp al, byte [ecx - 1]
jne 0x40a113
mov ecx, dword [ebp - 0x70]
lea eax, [esi + 0x760]
push eax
mov eax, dword [ebp - 0x54]
add ecx, edx
mov edi, ecx
shl ecx, 8
and edi, dword [esi + 0x4c]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [edx + eax - 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.0040ab50
mov ecx, dword [ebp - 0x48]
add esp, 0x10
mov edx, dword [ebp - 0x4c]
movzx ecx, byte [ecx + 0x5b253c]
shl ecx, 4
add ecx, edi
movzx ecx, word [esi + ecx*2 + 0x1eb0]
shr ecx, 4
add eax, dword [esi + ecx*4 + 0x760]
mov ecx, dword [ebp - 0x94]
add eax, dword [ecx]
add edx, eax
lea eax, [edi + 1]
and eax, dword [esi + 0x4c]
mov dword [ebp - 0x94], eax
mov edi, dword [ebp - 0x9c]
movzx ecx, word [esi + eax*2 + 0x20d0]
movzx eax, word [esi + eax*2 + 0x1f50]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x760]
add ecx, dword [esi + eax*4 + 0x760]
movzx eax, word [esi + 0x1e5a]
xor eax, 0x7f0
shr eax, 4
add ecx, dword [esi + eax*4 + 0x760]
movzx eax, word [esi + 0x1e72]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x760]
add edx, ecx
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x90]
cmp edx, edi
jae 0x409f60
mov ecx, dword [ebp - 0x98]
mov esi, dword [ebp - 0x80]
mov al, byte [ecx + esi]
cmp al, byte [ecx]
jne 0x409f5d
inc edx
inc ecx
cmp edx, edi
jb 0x409f50
mov esi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x64]
add eax, edx
mov ecx, eax
mov ebx, dword [ebp - 0x40]
cmp dword [ebp - 0x34], ecx
cmovae eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
or eax, 0xffffffff
sub eax, edi
shl ecx, 5
add edx, eax
imul eax, dword [ebp - 0x94], 0x110
add eax, edx
mov eax, dword [esi + eax*4 + 0x78b0]
add eax, dword [ebp - 0x4c]
cmp eax, dword [ecx + esi + 0xbcb8]
jae 0x409fcb
mov dword [ecx + esi + 0xbcb8], eax
lea eax, [edi + 1]
mov edi, dword [ebp - 0x2c]
mov dword [ecx + esi + 0xbcc0], edx
mov word [ecx + esi + 0xbcbe], ax
mov dword [ecx + esi + 0xbcc4], ebx
mov dword [ebp - 0x2c], edi
jmp 0x409fce
mov ebx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x38]
inc ebx
mov dword [ebp - 0x40], ebx
cmp ebx, 4
jb 0x409c93
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x60]
cmp ecx, edx
jbe 0x40a01e
xor eax, eax
mov dword [ebp - 0x60], edx
xor ecx, ecx
cmp edx, dword [esi + 0x960]
jbe 0x40a00e
jmp 0x40a000
add eax, 2
mov ecx, eax
cmp edx, dword [esi + eax*4 + 0x960]
ja 0x40a000
mov dword [esi + eax*4 + 0x960], edx
lea eax, [ecx + 2]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x50], eax
cmp ecx, dword [ebp - 0x30]
jb 0x40a37d
mov eax, dword [ebp - 0x84]
movzx eax, word [eax]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x760]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x3c]
add eax, ecx
cmp edi, eax
cmovae eax, edi
mov edi, dword [ebp - 0x30]
xor ebx, ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x60], ebx
cmp edi, dword [esi + 0x960]
jbe 0x40a06f
add ebx, 2
cmp edi, dword [esi + ebx*4 + 0x960]
ja 0x40a060
mov dword [ebp - 0x60], ebx
lea eax, [ebx*4]
mov ebx, dword [ebp - 0x30]
mov edx, dword [eax + esi + 0x964]
cmp edx, 0x20000
mov dword [ebp - 0x68], eax
mov eax, edx
sbb ecx, ecx
mov dword [ebp - 0x64], edx
and ecx, 0xfffffff6
add ecx, 0x10
shr eax, cl
movzx eax, byte [eax + esi + 0x2cb0]
lea eax, [eax + ecx*2]
imul ecx, dword [ebp - 0x5c], 0x110
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x70]
add eax, edi
add edi, 3
shl eax, 8
add ecx, 0xd2b
mov dword [ebp - 0x58], eax
add ecx, ebx
add ebx, dword [ebp - 0x3c]
shl ebx, 5
add ebx, 0xbcc4
add ebx, esi
lea ecx, [esi + ecx*4]
mov eax, dword [ecx]
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], ecx
mov ecx, 3
mov dword [ebp - 0x80], eax
lea eax, [edi - 5]
cmp eax, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
cmovb ecx, eax
mov eax, edx
cmp edx, 0x80
jae 0x40a11b
shl ecx, 7
and eax, 0x7f
add ecx, eax
mov ecx, dword [esi + ecx*4 + 0x1630]
jmp 0x40a132
mov ebx, dword [ebp - 0x40]
jmp 0x409fce
shl ecx, 6
and eax, 0xf
add ecx, dword [ebp - 0x54]
mov ecx, dword [esi + ecx*4 + 0x1230]
add ecx, dword [esi + eax*4 + 0x11f0]
mov eax, dword [ebp - 0x80]
add eax, ecx
mov dword [ebp - 0x98], eax
cmp eax, dword [ebx - 0xc]
jae 0x40a156
mov dword [ebx - 0xc], eax
lea eax, [edi - 3]
mov dword [ebx - 4], eax
lea eax, [edx + 4]
mov dword [ebx], eax
xor eax, eax
mov word [ebx - 6], ax
mov eax, dword [ebp - 0x68]
lea ecx, [edi - 3]
mov dword [ebp - 0x7c], ecx
cmp ecx, dword [eax + esi + 0x960]
jne 0x40a364
mov ecx, dword [ebp - 0x38]
lea ebx, [edi - 2]
add ebx, dword [esi + 0x30]
sub ecx, edx
dec ecx
mov edx, edi
cmp ebx, dword [ebp - 0x44]
mov dword [ebp - 0x68], ecx
cmova ebx, dword [ebp - 0x44]
mov dword [ebp - 0x54], edx
cmp edi, ebx
ja 0x40a31f
lea eax, [edi + ecx]
mov ecx, dword [ebp - 0x38]
add ecx, edi
mov dword [ebp - 0x5c], eax
mov esi, eax
mov al, byte [ecx - 2]
cmp al, byte [esi - 2]
mov esi, dword [ebp - 0x78]
jne 0x40a31f
mov esi, dword [ebp - 0x5c]
mov al, byte [ecx - 1]
cmp al, byte [esi - 1]
mov esi, dword [ebp - 0x78]
jne 0x40a31f
cmp edi, ebx
jae 0x40a1e3
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x80], eax
mov edi, eax
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edi + ecx]
jne 0x40a1dd
inc edx
inc ecx
cmp edx, ebx
jb 0x40a1d0
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x34]
add eax, 0xfffffffd
mov edx, dword [ebp - 0x38]
add edi, eax
lea eax, [esi + 0x760]
and edi, dword [esi + 0x4c]
push eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [ecx + eax - 3]
push eax
movzx eax, byte [edx + ecx - 3]
push eax
movzx eax, byte [edx + ecx - 4]
add eax, dword [ebp - 0x58]
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.0040ab50
mov ecx, dword [ebp - 0x48]
lea edx, [edi + 1]
and edx, dword [esi + 0x4c]
add esp, 0x10
mov ebx, dword [ebp - 0x54]
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_vL_]
shl ecx, 4
add ecx, edi
mov edi, dword [ebp - 0x3c]
add edi, ebx
movzx ecx, word [esi + ecx*2 + 0x1eb0]
shr ecx, 4
add eax, dword [esi + ecx*4 + 0x760]
add eax, dword [ebp - 0x98]
cmp dword [ebp - 0x2c], edi
movzx ecx, word [esi + edx*2 + 0x20b0]
mov dword [ebp - 0x80], eax
mov eax, edi
cmovae eax, dword [ebp - 0x2c]
xor ecx, 0x7f0
mov dword [ebp - 0x2c], eax
or eax, 0xffffffff
sub eax, dword [ebp - 0x7c]
add ebx, eax
shr ecx, 4
movzx eax, word [esi + edx*2 + 0x1f30]
xor eax, 0x7f0
shl edi, 5
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x760]
add ecx, dword [esi + eax*4 + 0x760]
movzx eax, word [esi + 0x1e58]
xor eax, 0x7f0
shr eax, 4
add ecx, dword [esi + eax*4 + 0x760]
movzx eax, word [esi + 0x1e70]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x760]
imul eax, edx, 0x110
add eax, ebx
add ecx, dword [esi + eax*4 + 0x78b0]
add ecx, dword [ebp - 0x80]
cmp ecx, dword [edi + esi + 0xbcb8]
jae 0x40a31c
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [edi + esi + 0xbcb8], ecx
mov word [edi + esi + 0xbcbe], ax
mov eax, dword [ebp - 0x64]
add eax, 4
mov dword [edi + esi + 0xbcc0], ebx
mov dword [edi + esi + 0xbcc4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x60]
add ebx, 2
mov dword [ebp - 0x60], ebx
cmp ebx, dword [ebp - 0x50]
je 0x40a37d
lea eax, [ebx*4]
mov ebx, dword [ebp - 0x30]
mov edx, dword [eax + esi + 0x964]
cmp edx, 0x20000
mov dword [ebp - 0x68], eax
mov eax, edx
sbb ecx, ecx
mov dword [ebp - 0x64], edx
and ecx, 0xfffffff6
add ecx, 0x10
shr eax, cl
movzx eax, byte [eax + esi + 0x2cb0]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x8c]
add ebx, 0x20
add dword [ebp - 0x58], 0x100
add ecx, 4
inc edi
jmp 0x40a0d4
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x3c], ecx
cmp ecx, ebx
jne 0x409720
jmp 0x40a403
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [esi + 0x24], eax
jmp 0x40a403
mov eax, ecx
lea edx, [ecx + 1]
shl eax, 5
mov edi, dword [eax + esi + 0xbcb8]
mov eax, ecx
mov dword [ebp - 0x30], eax
cmp edx, ebx
ja 0x40a3e6
jmp 0x40a3c0
mov eax, edx
shl eax, 5
mov ecx, dword [eax + esi + 0xbcb8]
cmp edi, ecx
mov eax, edx
cmovb eax, dword [ebp - 0x30]
inc edx
cmp edi, ecx
mov dword [ebp - 0x30], eax
cmovb ecx, edi
mov edi, ecx
cmp edx, ebx
jbe 0x40a3c0
mov dword [ebp - 0x30], eax
mov ecx, eax
sub ecx, dword [ebp - 0x3c]
je 0x40a3fe
mov eax, dword [esi + 0x14]
add dword [esi + 0x34], ecx
push ecx
push dword [esi]
call eax
mov eax, dword [ebp - 0x30]
add esp, 8
mov ecx, eax
mov dword [ebp - 0x3c], ecx
mov eax, ebx
shl eax, 5
add eax, 0xbcb8
add eax, esi
nop
mov dword [eax], 0x40000000
lea eax, [eax - 0x20]
sub ebx, 1
jne 0x40a410
lea edx, [ecx + 1]
mov ebx, edx
mov dword [ebp - 0x44], edx
mov dword [esi + 0x1c], edx
add edx, 0x5e6
shl ebx, 5
shl edx, 5
add edx, esi
lea edi, [ebx + 0xbcc4]
add edi, esi
nop
shl ecx, 5
mov eax, dword [ecx + esi + 0xbcc4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
add eax, 0x5e6
shl eax, 5
mov eax, dword [eax + esi]
mov dword [ebp - 0x84], eax
movzx eax, word [ecx + esi + 0xbcbe]
mov ecx, dword [ebp - 0x84]
sub dword [ebp - 0x3c], ecx
mov dword [ebp - 0x50], eax
test eax, eax
je 0x40a4b7
dec dword [ebp - 0x44]
sub edx, 0x20
sub ebx, 0x20
sub edi, 0x20
mov dword [edx], ecx
mov ecx, eax
sub dword [ebp - 0x3c], ecx
lea eax, [esi + 0xbcc4]
add eax, ebx
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x44]
cmp ecx, 1
jne 0x40a4dd
mov eax, dword [ebp - 0x84]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x30], 0xffffffff
mov dword [eax], esi
mov esi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x3c], 0
je 0x40a507
dec eax
mov dword [edx - 0x20], ecx
mov ecx, dword [ebp - 0x3c]
sub edi, 0x20
sub ebx, 0x20
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
sub edx, 0x20
mov dword [edi], eax
jmp 0x40a440
lea ecx, [ebx + esi]
sub edi, 0x20
mov dword [ecx + 0xbcc4], 0
dec eax
mov ecx, dword [ebp - 0x50]
sub ebx, 0x20
dec ecx
mov dword [edx - 0x20], 1
sub edx, 0x20
mov dword [edi], 0xffffffff
jmp 0x40a4ba
mov edx, dword [ebp - 0x30]
pop edi
mov dword [esi + 0x18], eax
mov eax, ecx
mov dword [esi + 0x90], edx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00557e89
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x90], 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00557e89
mov esp, ebp
pop ebp
ret