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

Disassembly:
sub esp, 0x88
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x40], edx
push edi
mov dword [esp + 0x28], esi
mov edi, dword [esi + 0x690]
cmp dword [esi + 0x68c], edi
je 0x10179e53
lea eax, [edi + edi*2]
mov ebx, ecx
mov ecx, dword [esp + 0x98]
add eax, eax
mov esi, dword [esi + eax*8 + 0x6b8]
mov edx, dword [ebx + eax*8 + 0x6bc]
mov dword [ebx + 0x690], esi
sub esi, edi
pop edi
mov eax, esi
mov dword [ecx], edx
pop esi
pop ebx
add esp, 0x88
ret
cmp dword [esi + 0x31938], 0
mov dword [esi + 0x68c], 0
mov dword [esi + 0x690], 0
jne 0x10179e83
lea edx, [esp + 0x1c]
call fcn.1017b330
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
jmp 0x10179e93
mov eax, dword [esi + 0x694]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x698]
mov ebx, dword [esi + 0x69c]
mov dword [esp + 0x30], eax
push ebp
cmp ebx, 2
jb 0x1017b112
push dword [esi + 0x18]
mov eax, 0x111
cmp ebx, eax
cmova ebx, eax
mov eax, dword [esi + 0xc]
call eax
add esp, 4
mov dword [esp + 0x18], 0
xor ebp, ebp
lea edx, [eax - 1]
mov al, byte [edx]
mov dword [esp + 0x40], edx
mov byte [esp + 0x12], al
mov eax, dword [esi + ebp*4 + 0x3193c]
mov ecx, edx
sub ecx, eax
mov dword [esp + ebp*4 + 0x64], eax
mov al, byte [esp + 0x12]
cmp al, byte [ecx - 1]
lea edi, [ecx - 1]
jne 0x10179f37
mov al, byte [edx + 1]
cmp al, byte [ecx]
jne 0x10179f37
mov edx, 2
cmp ebx, edx
jbe 0x10179f14
mov eax, dword [esp + 0x40]
sub edi, eax
lea ecx, [eax + 2]
mov al, byte [ecx]
cmp al, byte [edi + ecx]
jne 0x10179f14
inc edx
inc ecx
cmp edx, ebx
jb 0x10179f07
mov ecx, dword [esp + 0x18]
mov eax, ebp
mov dword [esp + ebp*4 + 0x88], edx
cmp edx, dword [esp + ecx*4 + 0x88]
mov edx, dword [esp + 0x40]
cmovbe eax, ecx
mov ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x10179f46
mov ecx, dword [esp + 0x18]
mov dword [esp + ebp*4 + 0x88], 0
inc ebp
cmp ebp, 4
jb 0x10179ed3
mov edi, dword [esp + ecx*4 + 0x88]
mov eax, dword [esi + 0x31934]
cmp edi, eax
jb 0x10179f8c
mov eax, dword [esp + 0x9c]
mov dword [eax], ecx
lea eax, [edi - 1]
test eax, eax
je 0x10179f7f
mov ecx, dword [esi + 0x14]
add dword [esi + 0x31938], eax
push eax
push dword [esi + 0x18]
call ecx
add esp, 8
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x88
ret
mov ebx, dword [esp + 0x28]
cmp ebx, eax
jb 0x10179fd1
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esi + ecx*4 + 0x3109c]
add ecx, 4
mov dword [eax], ecx
lea eax, [ebx - 1]
test eax, eax
je 0x10179fc4
add dword [esi + 0x31938], eax
push eax
push dword [esi + 0x18]
mov eax, dword [esi + 0x14]
call eax
add esp, 8
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x88
ret
mov cl, byte [edx]
mov eax, edx
sub eax, dword [esp + 0x64]
mov byte [esp + 0x12], cl
mov al, byte [eax - 1]
mov byte [esp + 0x13], al
cmp ebx, 2
jae 0x10179ff6
cmp cl, al
je 0x10179ff6
cmp edi, 2
jb 0x1017b112
mov eax, dword [esi + 0x3194c]
mov ecx, 8
mov dword [esi + 0x6a4], eax
sub cl, byte [esi + 0x32598]
movzx edx, byte [edx - 1]
mov ebp, dword [esi + 0x325a8]
mov eax, dword [esp + 0x48]
and ebp, eax
and eax, dword [esi + 0x325a4]
mov ebx, dword [esi + 0x3194c]
shr edx, cl
mov ecx, dword [esi + 0x32598]
shl eax, cl
add edx, eax
mov dword [esp + 0x3c], ebp
imul ecx, edx, 0x600
lea eax, [esi + 0x30ea0]
movzx edx, byte [esp + 0x12]
mov dword [esp + 0x7c], eax
lea eax, [esi + 0x30ea0]
push eax
add ecx, dword [esi + 0x325ac]
cmp ebx, 7
jb 0x1017a070
movzx eax, byte [esp + 0x17]
push eax
call fcn.1017b9f0
add esp, 8
jmp 0x1017a078
call fcn.1017ba50
add esp, 4
mov ecx, eax
shl ebx, 4
add ebx, ebp
or edx, 0xffffffff
movzx eax, word [esi + ebx*2 + 0x325b0]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30ea0]
add eax, ecx
mov dword [esi + 0x6ec], 0xffffffff
mov dword [esi + 0x6d0], eax
mov dword [esp + 0x20], eax
mov dword [esi + 0x6d8], 0
mov ebx, dword [esi + 0x3194c]
mov eax, ebx
shl eax, 4
add eax, ebp
movzx eax, word [esi + eax*2 + 0x325b0]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [esi + eax*4 + 0x30ea0]
movzx eax, word [esi + ebx*2 + 0x32730]
xor eax, 0x7f0
mov dword [esp + 0x1c], ecx
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30ea0]
add eax, ecx
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x12]
cmp byte [esp + 0x13], al
jne 0x1017a14d
mov eax, ebx
or edx, 0xffffffff
shl eax, 4
add eax, ebp
movzx ecx, word [esi + eax*2 + 0x32790]
movzx eax, word [esi + ebx*2 + 0x32748]
shr ecx, 4
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x30ea0]
add ecx, dword [esi + eax*4 + 0x30ea0]
add ecx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x20]
jae 0x1017a14d
mov dword [esi + 0x6d0], ecx
xor edx, edx
mov dword [esi + 0x6ec], 0
mov ecx, dword [esp + 0x28]
cmp ecx, edi
cmovb ecx, edi
mov dword [esp + 0x30], ecx
cmp ecx, 2
jae 0x1017a178
mov eax, dword [esp + 0x9c]
pop ebp
pop edi
pop esi
mov dword [eax], edx
mov eax, 1
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x64]
mov dword [esi + 0x6e8], 0
mov dword [esi + 0x6c0], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 0x6c4], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x6c8], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0x6cc], eax
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, 0x6a0
add eax, esi
nop word [eax + eax]
dec ecx
mov dword [eax], 0x40000000
lea eax, [eax - 0x30]
cmp ecx, 2
jae 0x1017a1c0
xor ebx, ebx
mov edi, dword [esp + ebx*4 + 0x88]
cmp edi, 2
jb 0x1017a243
push ebp
push dword [esi + 0x3194c]
mov edx, ebx
mov ecx, esi
call fcn.1017b240
imul ecx, dword [esp + 0x44], 0x110
mov ebp, eax
add ebp, dword [esp + 0x48]
lea eax, [esi + 0x6bc]
add esp, 8
add ecx, 0xde16
add ecx, edi
lea edx, [esi + ecx*4]
lea ecx, [edi + edi*2]
shl ecx, 4
add eax, ecx
mov ecx, dword [edx]
add ecx, ebp
cmp ecx, dword [eax - 0x1c]
jae 0x1017a233
mov dword [eax - 0x1c], ecx
mov dword [eax - 4], 0
mov dword [eax], ebx
mov dword [eax - 0x14], 0
dec edi
sub edx, 4
sub eax, 0x30
cmp edi, 2
jae 0x1017a217
mov ebp, dword [esp + 0x3c]
inc ebx
cmp ebx, 4
jb 0x1017a1d1
mov eax, dword [esi + 0x3194c]
mov ebx, dword [esp + 0x88]
movzx eax, word [esi + eax*2 + 0x32730]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30ea0]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
cmp ebx, 2
jb 0x1017a278
inc ebx
jmp 0x1017a27d
mov ebx, 2
cmp ebx, dword [esp + 0x28]
ja 0x1017a3b5
lea ecx, [esi + 0x310a0]
xor edi, edi
cmp ebx, dword [ecx]
jbe 0x1017a29b
add edi, 2
cmp ebx, dword [ecx + edi*4]
ja 0x1017a293
lea eax, [ebx - 2]
mov edx, ebx
shl eax, 7
mov dword [esp + 0x28], eax
imul eax, ebp, 0x110
lea ebp, [esi + 0x6bc]
shl edx, 5
add edx, 0x62ea
add eax, 0xcc04
add eax, ebx
lea eax, [esi + eax*4]
mov dword [esp + 0x18], eax
lea eax, [ebx + ebx*2]
shl eax, 4
add ebp, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
add eax, dword [esp + 0x20]
mov ecx, dword [ecx + edi*4 + 4]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], eax
cmp ebx, 5
jae 0x1017a2ff
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], edx
jmp 0x1017a30c
mov eax, 0x180
mov dword [esp + 0x40], 0x638a
cmp ecx, 0x80
jae 0x1017a31f
add eax, ecx
mov eax, dword [esi + eax*4 + 0x31d50]
jmp 0x1017a361
mov edx, 0x1ffff
mov eax, ecx
sub edx, ecx
shr edx, 0x1f
neg edx
and edx, 0xa
add edx, 6
mov ecx, edx
shr eax, cl
movzx ecx, byte [eax + esi + 0x306a0]
mov eax, dword [esp + 0x40]
add eax, edx
mov edx, dword [esp + 0x38]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + eax*4]
and ecx, 0xf
add eax, dword [esi + ecx*4 + 0x32550]
mov ecx, dword [esp + 0x3c]
add eax, dword [esp + 0x1c]
cmp eax, dword [ebp - 0x1c]
jae 0x1017a381
mov dword [ebp - 0x1c], eax
lea eax, [ecx + 4]
mov dword [ebp - 4], 0
mov dword [ebp], eax
mov dword [ebp - 0x14], 0
cmp ebx, dword [esi + edi*4 + 0x310a0]
lea ecx, [esi + 0x310a0]
jne 0x1017a399
add edi, 2
cmp edi, dword [esp + 0x34]
je 0x1017a3b5
mov eax, dword [esp + 0x18]
inc ebx
sub dword [esp + 0x28], 0xffffff80
add eax, 4
add edx, 0x20
mov dword [esp + 0x18], eax
add ebp, 0x30
jmp 0x1017a2d6
mov edx, 1
mov dword [esp + 0x14], edx
cmp dword [esp + 0x30], edx
je 0x1017b0c5
nop dword [eax + eax]
lea edx, [esp + 0x40]
mov ecx, esi
call fcn.1017b330
mov ecx, eax
mov dword [esp + 0x54], ecx
cmp ecx, dword [esi + 0x31934]
jae 0x1017b0e2
mov ebp, dword [esp + 0x14]
inc dword [esp + 0x48]
lea ebx, [ebp*2]
add ebx, ebp
shl ebx, 4
add ebx, esi
mov edx, dword [ebx + 0x6a8]
mov ecx, dword [ebx + 0x6b8]
test edx, edx
je 0x1017a46d
dec ecx
cmp dword [ebx + 0x6ac], 0
je 0x1017a458
mov eax, dword [ebx + 0x6b0]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [ebx + 0x6b4], 4
mov eax, dword [esi + eax*8 + 0x6a4]
jae 0x1017a448
mov edi, dword [eax*4 + 0x1025a6c0]
mov edi, dword [edi*4 + 0x1025a6f0]
jmp 0x1017a479
mov edi, dword [eax*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_t_t_t_t_t_t_t_v_v_v_v_v_b_b_b_b_b_b_b_v_v_v_v_v]
mov edi, dword [edi*4 + 0x1025a6f0]
jmp 0x1017a479
lea eax, [ecx + ecx*2]
add eax, eax
mov edi, dword [esi + eax*8 + 0x6a4]
mov edi, dword [edi*4 + 0x1025a6f0]
jmp 0x1017a479
lea eax, [ecx + ecx*2]
add eax, eax
mov edi, dword [esi + eax*8 + 0x6a4]
lea eax, [ebp - 1]
cmp ecx, eax
jne 0x1017a4a9
cmp dword [ebx + 0x6bc], 0
jne 0x1017a499
mov edi, dword [edi*4 + 0x1025a690]
mov dword [esp + 0x24], edi
jmp 0x1017a56a
mov edi, dword [edi*4 + 0x1025a6f0]
mov dword [esp + 0x24], edi
jmp 0x1017a56a
test edx, edx
je 0x1017a4cb
cmp dword [ebx + 0x6ac], 0
je 0x1017a4cb
mov ecx, dword [ebx + 0x6b0]
mov edx, dword [ebx + 0x6b4]
mov edi, dword [edi*4 + 0x1025a6c0]
jmp 0x1017a4e6
mov edx, dword [ebx + 0x6bc]
cmp edx, 4
jae 0x1017a4df
mov edi, dword [edi*4 + 0x1025a6c0]
jmp 0x1017a4e6
mov edi, dword [edi*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_t_t_t_t_t_t_t_v_v_v_v_v_b_b_b_b_b_b_b_v_v_v_v_v]
lea eax, [ecx + ecx*2]
mov dword [esp + 0x24], edi
shl eax, 4
lea ebp, [esi + 0x6a0]
add ebp, eax
cmp edx, 4
jae 0x1017a54e
mov eax, dword [ebp + edx*4 + 0x20]
mov dword [esp + 0x64], eax
mov eax, 1
cmp edx, eax
jb 0x1017a52b
lea eax, [edx + 1]
mov ecx, edx
lea esi, [ebp + 0x20]
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jb 0x1017a52b
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
jmp 0x1017a56a
lea esi, [eax*4 + 0x20]
mov ecx, 4
add esi, ebp
lea edi, [esp + 0x64]
lea edi, [edi + eax*4]
sub ecx, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
jmp 0x1017a56a
lea eax, [edx - 4]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x6a4], edi
mov dword [ebx + 0x6c0], eax
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x6c4], eax
mov eax, dword [esp + 0x6c]
mov dword [ebx + 0x6c8], eax
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x6cc], eax
mov ebp, dword [ebx + 0x6a0]
push dword [esi + 0x18]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x20], 0
call eax
mov edx, dword [esi + 0x325a8]
add esp, 4
and edx, dword [esp + 0x48]
mov dword [esp + 0x3c], edx
lea ecx, [eax - 1]
mov al, byte [ecx]
mov byte [esp + 0x12], al
mov eax, ecx
sub eax, dword [esp + 0x64]
dec eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x18], eax
mov al, byte [eax]
mov byte [esp + 0x13], al
mov eax, edi
shl eax, 4
add eax, edx
movzx edx, byte [ecx - 1]
mov dword [esp + 0x38], eax
movzx eax, word [esi + eax*2 + 0x325b0]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30ea0]
add eax, ebp
mov dword [esp + 0x20], eax
lea eax, [ecx - 1]
mov dword [esp + 0x80], eax
mov ecx, 8
sub cl, byte [esi + 0x32598]
mov eax, dword [esp + 0x48]
and eax, dword [esi + 0x325a4]
shr edx, cl
mov ecx, dword [esi + 0x32598]
shl eax, cl
add edx, eax
imul ebp, edx, 0x600
movzx edx, byte [esp + 0x12]
add ebp, dword [esi + 0x325ac]
cmp edi, 7
jb 0x1017a664
lea eax, [esi + 0x30ea0]
mov ecx, ebp
push eax
movzx eax, byte [esp + 0x17]
push eax
call fcn.1017b9f0
add esp, 8
mov edi, eax
jmp 0x1017a6a0
xor edi, edi
or edx, 0x100
nop dword [eax]
mov eax, edx
shr eax, 8
movzx ecx, word [ebp + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
add edi, dword [esi + ecx*4 + 0x30ea0]
cmp edx, 0x10000
jb 0x1017a670
mov ebp, dword [esp + 0x20]
mov edx, dword [ebx + 0x6d0]
add ebp, edi
cmp ebp, edx
jae 0x1017a6dd
mov ecx, dword [esp + 0x14]
mov edi, 1
mov dword [ebx + 0x6d0], ebp
mov edx, ebp
mov dword [ebx + 0x6e8], ecx
mov dword [ebx + 0x6ec], 0xffffffff
mov dword [ebx + 0x6d8], 0
jmp 0x1017a6e1
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
movzx eax, word [esi + eax*2 + 0x325b0]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [esi + eax*4 + 0x30ea0]
mov eax, dword [esp + 0x24]
add ecx, dword [esp + 0x50]
mov dword [esp + 0x78], ecx
movzx eax, word [esi + eax*2 + 0x32730]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30ea0]
add eax, ecx
mov cl, byte [esp + 0x13]
mov ch, byte [esp + 0x12]
mov dword [esp + 0x58], eax
cmp cl, ch
jne 0x1017a7ad
mov eax, dword [esp + 0x14]
cmp dword [ebx + 0x6e8], eax
jae 0x1017a746
cmp dword [ebx + 0x6ec], 0
je 0x1017a7ad
mov eax, dword [esp + 0x24]
movzx ecx, word [esi + eax*2 + 0x32748]
mov eax, dword [esp + 0x38]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x32790]
mov ecx, dword [esi + ecx*4 + 0x30ea0]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x30ea0]
add ecx, dword [esp + 0x58]
cmp ecx, edx
mov edx, dword [esp + 0x14]
ja 0x1017a7a3
mov dword [ebx + 0x6d0], ecx
mov edi, 1
mov dword [ebx + 0x6e8], edx
mov dword [ebx + 0x6ec], 0
mov dword [ebx + 0x6d8], 0
mov cl, byte [esp + 0x13]
mov ch, byte [esp + 0x12]
jmp 0x1017a7b1
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x69c]
mov ebx, 0xfff
sub ebx, edx
cmp ebx, eax
cmovae ebx, eax
mov dword [esp + 0x28], ebx
cmp ebx, 2
jb 0x1017b0b6
mov eax, dword [esi + 0x31934]
cmp ebx, eax
cmova ebx, eax
mov dword [esp + 0x38], ebx
test edi, edi
jne 0x1017a932
cmp cl, ch
je 0x1017a932
mov ecx, dword [esp + 0x28]
lea edx, [edi + 1]
inc eax
cmp eax, ecx
cmovbe ecx, eax
cmp ecx, edx
jbe 0x1017a815
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov al, byte [edx + ebx]
cmp al, byte [edi + edx]
jne 0x1017a815
inc edx
cmp edx, ecx
jb 0x1017a808
lea eax, [edx - 1]
mov dword [esp + 0x1c], eax
cmp eax, 2
jb 0x1017a92e
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x48]
add edx, dword [esp + 0x14]
inc ebx
and ebx, dword [esi + 0x325a8]
mov edi, dword [eax*4 + 0x1025a6f0]
mov eax, edi
shl eax, 4
add eax, ebx
mov dword [esp + 0x20], eax
movzx ecx, word [esi + eax*2 + 0x325b0]
movzx eax, word [esi + edi*2 + 0x32730]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov edi, dword [esi + ecx*4 + 0x30ea0]
add edi, dword [esi + eax*4 + 0x30ea0]
mov eax, dword [esp + 0x30]
add edi, ebp
cmp eax, edx
jae 0x1017a8af
lea eax, [eax + eax*2]
mov ecx, edx
shl eax, 4
add eax, 0x6a0
add eax, esi
sub ecx, dword [esp + 0x30]
mov dword [esp + 0x30], edx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x1017a8a0
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
movzx ecx, word [esi + eax*2 + 0x32790]
mov eax, dword [ebp*4 + 0x1025a6f0]
xor ecx, 0x7f0
shr ecx, 4
mov ebp, dword [esp + 0x14]
movzx eax, word [esi + eax*2 + 0x32748]
mov ecx, dword [esi + ecx*4 + 0x30ea0]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x30ea0]
imul eax, ebx, 0x110
add eax, dword [esp + 0x1c]
add ecx, dword [esi + eax*4 + 0x37858]
lea eax, [edx + edx*2]
shl eax, 4
lea edx, [esi + 0x6a0]
add edx, eax
add ecx, edi
cmp ecx, dword [edx]
jae 0x1017a92e
lea eax, [ebp + 1]
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 edx, dword [esp + 0x14]
mov edi, 2
xor ebp, ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x4c]
mov ecx, eax
sub ecx, dword [esp + ebp*4 + 0x64]
mov al, byte [eax]
lea ebx, [ecx - 1]
mov dword [esp + 0x50], ebx
cmp al, byte [ebx]
jne 0x1017ac77
mov eax, dword [esp + 0x4c]
mov al, byte [eax + 1]
cmp al, byte [ecx]
jne 0x1017ac77
mov edi, 2
cmp dword [esp + 0x38], edi
jbe 0x1017a994
mov edx, dword [esp + 0x4c]
lea ecx, [ebx + 2]
mov esi, dword [esp + 0x38]
sub edx, ebx
mov al, byte [ecx + edx]
cmp al, byte [ecx]
jne 0x1017a990
inc edi
inc ecx
cmp edi, esi
jb 0x1017a983
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
add ebx, edi
cmp edx, ebx
jae 0x1017a9cf
lea eax, [edx + edx*2]
mov dword [esp + 0x30], ebx
shl eax, 4
mov ecx, ebx
add eax, 0x6a0
add eax, esi
sub ecx, edx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x1017a9c0
push dword [esp + 0x3c]
mov edx, ebp
mov dword [esp + 0x48], edi
push dword [esp + 0x28]
mov ecx, esi
call fcn.1017b240
add eax, dword [esp + 0x60]
add esp, 8
mov dword [esp + 0x1c], eax
imul eax, dword [esp + 0x3c], 0x110
mov dword [esp + 0x5c], eax
lea ecx, [eax + 0xde16]
add ecx, edi
lea edx, [esi + ecx*4]
add esi, 0x6bc
lea ecx, [ebx + ebx*2]
mov ebx, dword [esp + 0x1c]
shl ecx, 4
add ecx, esi
mov esi, dword [esp + 0x14]
nop dword [eax]
mov eax, dword [edx]
add eax, ebx
cmp eax, dword [ecx - 0x1c]
jae 0x1017aa38
mov dword [ecx - 0x1c], eax
mov dword [ecx - 4], esi
mov dword [ecx], ebp
mov dword [ecx - 0x14], 0
dec edi
sub edx, 4
sub ecx, 0x30
cmp edi, 2
jae 0x1017aa20
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x2c]
inc ecx
mov edi, dword [esp + 0x28]
test ebp, ebp
mov eax, ecx
cmovne eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x31934]
add eax, ecx
cmp eax, edi
cmovbe edi, eax
cmp ecx, edi
jae 0x1017aa8d
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
sub ebx, eax
lea edx, [ecx + eax]
nop dword [eax]
mov al, byte [edx + ebx]
cmp al, byte [edx]
jne 0x1017aa8d
inc ecx
inc edx
cmp ecx, edi
jb 0x1017aa80
mov edi, dword [esp + 0x20]
mov eax, 0xffffffff
sub eax, dword [esp + 0x44]
mov dword [esp + 0x74], ecx
add ecx, eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x34], edi
cmp ecx, 2
jb 0x1017ac73
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
mov ebp, dword [esi + 0x325a8]
mov edi, dword [esp + 0x48]
mov ebx, dword [eax*4 + 0x1025a6c0]
add edi, ecx
lea eax, [esi + 0x30ea0]
push eax
mov eax, dword [esp + 0x54]
movzx eax, byte [ecx + eax]
push eax
mov eax, dword [esp + 0x54]
movzx esi, byte [eax + ecx - 1]
movzx edx, byte [ecx + eax]
mov ecx, 8
mov eax, dword [esp + 0x34]
sub cl, byte [eax + 0x32598]
mov eax, edi
shr esi, cl
mov ecx, dword [esp + 0x34]
and eax, dword [ecx + 0x325a4]
mov ecx, dword [ecx + 0x32598]
shl eax, cl
add esi, eax
imul ecx, esi, 0x600
mov esi, dword [esp + 0x34]
add ecx, dword [esi + 0x325ac]
call fcn.1017b9f0
and edi, ebp
mov ecx, ebx
shl ecx, 4
mov edx, eax
mov eax, dword [esp + 0x4c]
add edi, ecx
mov ebx, dword [ebx*4 + 0x1025a6f0]
add esp, 8
movzx ecx, word [esi + edi*2 + 0x325b0]
shr ecx, 4
mov edi, dword [esp + 0x74]
add edi, dword [esp + 0x14]
add edx, dword [esi + ecx*4 + 0x30ea0]
mov ecx, dword [esp + 0x5c]
add ecx, eax
mov dword [esp + 0x5c], ebx
inc eax
add edx, dword [esi + ecx*4 + 0x37858]
mov ecx, dword [esp + 0x48]
add edx, dword [esp + 0x1c]
add ecx, eax
movzx eax, word [esi + ebx*2 + 0x32730]
and ecx, ebp
mov ebp, ebx
mov dword [esp + 0x1c], ecx
shl ebp, 4
xor eax, 0x7f0
add ebp, ecx
shr eax, 4
movzx ecx, word [esi + ebp*2 + 0x325b0]
xor ecx, 0x7f0
shr ecx, 4
mov ebx, dword [esi + ecx*4 + 0x30ea0]
add ebx, dword [esi + eax*4 + 0x30ea0]
add ebx, edx
mov edx, dword [esp + 0x30]
cmp edx, edi
jae 0x1017abdf
lea eax, [edx + edx*2]
mov dword [esp + 0x30], edi
shl eax, 4
mov ecx, edi
add eax, 0x6a0
add eax, esi
sub ecx, edx
nop
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x1017abd0
movzx ecx, word [esi + ebp*2 + 0x32790]
mov eax, dword [esp + 0x5c]
xor ecx, 0x7f0
shr ecx, 4
mov ebp, dword [esp + 0x18]
movzx eax, word [esi + eax*2 + 0x32748]
mov edx, dword [esi + ecx*4 + 0x30ea0]
lea ecx, [esi + 0x6a0]
shr eax, 4
add edx, dword [esi + eax*4 + 0x30ea0]
imul eax, dword [esp + 0x1c], 0x110
add eax, dword [esp + 0x60]
add edx, dword [esi + eax*4 + 0x37858]
lea eax, [edi + edi*2]
shl eax, 4
add edx, ebx
mov ebx, dword [esp + 0x20]
add ecx, eax
mov edi, ebx
mov dword [esp + 0x34], edi
cmp edx, dword [ecx]
jae 0x1017ac73
mov eax, dword [esp + 0x44]
mov dword [ecx], edx
inc eax
mov edx, dword [esp + 0x14]
add eax, edx
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], ebp
mov dword [esp + 0x34], edi
jmp 0x1017ac77
mov edx, dword [esp + 0x14]
inc ebp
mov dword [esp + 0x18], ebp
cmp ebp, 4
jb 0x1017a941
mov eax, dword [esp + 0x38]
lea ebp, [esi + 0x310a0]
mov ebx, dword [esp + 0x54]
cmp ebx, eax
jbe 0x1017acb8
mov ebx, eax
xor ecx, ecx
xor eax, eax
cmp ebx, dword [ebp]
jbe 0x1017acad
add eax, 2
mov ecx, eax
cmp ebx, dword [ebp + eax*4]
ja 0x1017aca2
mov dword [ebp + eax*4], ebx
lea eax, [ecx + 2]
mov dword [esp + 0x40], eax
cmp ebx, edi
jb 0x1017b0b6
mov eax, dword [esp + 0x24]
add edx, ebx
mov ebx, dword [esp + 0x30]
movzx eax, word [esi + eax*2 + 0x32730]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30ea0]
add dword [esp + 0x78], eax
cmp ebx, edx
jae 0x1017ad0f
lea eax, [ebx + ebx*2]
mov dword [esp + 0x30], edx
shl eax, 4
mov ecx, edx
add eax, 0x6a0
add eax, esi
sub ecx, ebx
nop dword [eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x1017ad00
xor ebx, ebx
mov dword [esp + 0x44], ebx
cmp edi, dword [ebp]
jbe 0x1017ad2d
nop word [eax + eax]
add ebx, 2
cmp edi, dword [ebp + ebx*4]
ja 0x1017ad20
mov dword [esp + 0x44], ebx
mov edx, dword [ebp + ebx*4 + 4]
mov ecx, 0x1ffff
sub ecx, edx
mov dword [esp + 0x1c], edx
shr ecx, 0x1f
lea ebp, [edi + 1]
neg ecx
mov eax, edx
and ecx, 0xa
add ecx, 6
shr eax, cl
movzx eax, byte [eax + esi + 0x306a0]
lea eax, [eax + ecx*2]
mov ecx, edi
mov dword [esp + 0x50], eax
mov eax, edi
shl eax, 7
add eax, 0xc654
shl ecx, 6
mov dword [esp + 0x38], eax
add ecx, 0xc5d4
imul eax, dword [esp + 0x3c], 0x110
add eax, 0xcc04
add eax, edi
lea eax, [esi + eax*4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
add eax, edi
lea eax, [eax + eax*2]
shl eax, 4
add eax, 0x6bc
add eax, esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
add eax, dword [esp + 0x78]
mov dword [esp + 0x54], eax
lea eax, [ebp - 1]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x84], eax
cmp eax, 5
jae 0x1017add0
mov eax, dword [esp + 0x38]
mov edi, ecx
jmp 0x1017adda
mov eax, 0xc8d4
mov edi, 0xc714
cmp edx, 0x80
jae 0x1017ade9
add eax, edx
mov ecx, dword [esi + eax*4]
jmp 0x1017adfe
mov eax, dword [esp + 0x50]
mov ecx, edx
and ecx, 0xf
add eax, edi
mov ecx, dword [esi + ecx*4 + 0x32550]
add ecx, dword [esi + eax*4]
mov eax, dword [esp + 0x54]
add eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x54], eax
cmp eax, dword [ecx - 0x1c]
jae 0x1017ae27
mov dword [ecx - 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [ecx - 4], eax
lea eax, [edx + 4]
mov dword [ecx], eax
mov dword [ecx - 0x14], 0
lea eax, [ebp - 1]
cmp eax, dword [esi + ebx*4 + 0x310a0]
jne 0x1017b092
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi + 0x31934]
sub ecx, edx
mov edi, dword [esp + 0x28]
add eax, ebp
dec ecx
mov edx, ebp
cmp eax, edi
mov dword [esp + 0x20], ecx
cmovbe edi, eax
cmp ebp, edi
jae 0x1017ae74
mov ebx, dword [esp + 0x4c]
add ecx, ebp
sub ebx, dword [esp + 0x20]
mov al, byte [ecx + ebx]
cmp al, byte [ecx]
jne 0x1017ae70
inc edx
inc ecx
cmp edx, edi
jb 0x1017ae63
mov ebx, dword [esp + 0x44]
mov eax, 0xffffffff
mov dword [esp + 0x74], edx
lea ecx, [ebp - 1]
sub eax, ecx
add edx, eax
mov dword [esp + 0x5c], edx
cmp edx, 2
jb 0x1017b045
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esi + 0x325a8]
push dword [esp + 0x7c]
mov ebx, dword [eax*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_t_t_t_t_t_t_t_v_v_v_v_v_b_b_b_b_b_b_b_v_v_v_v_v]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
dec esi
mov dword [esp + 0x64], ebp
add esi, ecx
movzx eax, byte [ecx + eax - 1]
mov edi, esi
push eax
mov eax, dword [esp + 0x88]
and edi, ebp
mov ebp, dword [esp + 0x34]
movzx edx, byte [ecx + eax]
mov eax, dword [esp + 0x54]
movzx eax, byte [ecx + eax - 2]
mov ecx, 8
sub cl, byte [ebp + 0x32598]
shr eax, cl
mov ecx, ebp
and esi, dword [ecx + 0x325a4]
mov ecx, dword [ecx + 0x32598]
shl esi, cl
add eax, esi
mov esi, ebp
imul ecx, eax, 0x600
add ecx, dword [esi + 0x325ac]
call fcn.1017b9f0
mov ecx, ebx
mov edx, eax
mov ebx, dword [ebx*4 + 0x1025a6f0]
add esp, 8
shl ecx, 4
mov ebp, ebx
add ecx, edi
shl ebp, 4
movzx eax, word [esi + ebx*2 + 0x32730]
xor eax, 0x7f0
movzx ecx, word [esi + ecx*2 + 0x325b0]
shr ecx, 4
shr eax, 4
add edx, dword [esi + ecx*4 + 0x30ea0]
lea ecx, [edi + 1]
and ecx, dword [esp + 0x60]
add edx, dword [esp + 0x54]
add ebp, ecx
mov edi, dword [esp + 0x74]
add edi, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
movzx ecx, word [esi + ebp*2 + 0x325b0]
xor ecx, 0x7f0
mov dword [esp + 0x54], ebx
shr ecx, 4
mov ebx, dword [esi + ecx*4 + 0x30ea0]
add ebx, dword [esi + eax*4 + 0x30ea0]
add ebx, edx
mov edx, dword [esp + 0x30]
cmp edx, edi
jae 0x1017afb1
lea eax, [edx + edx*2]
mov dword [esp + 0x30], edi
shl eax, 4
mov ecx, edi
add eax, 0x6a0
add eax, esi
sub ecx, edx
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x1017afa2
movzx ecx, word [esi + ebp*2 + 0x32790]
mov eax, dword [esp + 0x54]
xor ecx, 0x7f0
shr ecx, 4
mov ebp, dword [esp + 0x18]
movzx eax, word [esi + eax*2 + 0x32748]
mov edx, dword [esi + ecx*4 + 0x30ea0]
lea ecx, [esi + 0x6a0]
shr eax, 4
add edx, dword [esi + eax*4 + 0x30ea0]
imul eax, dword [esp + 0x60], 0x110
add eax, dword [esp + 0x5c]
add edx, dword [esi + eax*4 + 0x37858]
lea eax, [edi + edi*2]
shl eax, 4
add edx, ebx
mov ebx, dword [esp + 0x44]
add ecx, eax
cmp edx, dword [ecx]
jae 0x1017b045
mov eax, dword [esp + 0x84]
inc eax
mov dword [ecx], edx
mov edx, dword [esp + 0x14]
add eax, edx
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
jmp 0x1017b049
mov edx, dword [esp + 0x14]
add ebx, 2
mov dword [esp + 0x44], ebx
cmp ebx, dword [esp + 0x40]
je 0x1017b0b6
mov edx, dword [esi + ebx*4 + 0x310a4]
mov dword [esp + 0x1c], edx
cmp edx, 0x80
jb 0x1017b08e
mov ecx, 0x1ffff
mov eax, edx
sub ecx, edx
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
shr eax, cl
movzx eax, byte [eax + esi + 0x306a0]
lea eax, [eax + ecx*2]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
add ecx, 0x30
sub dword [esp + 0x38], 0xffffff80
add eax, 4
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x58]
add ecx, 0x40
mov dword [esp + 0x3c], eax
inc ebp
jmp 0x1017ada7
inc edx
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x30]
jne 0x1017a3d0
push edx
mov edx, dword [esp + 0xa0]
mov ecx, esi
call fcn.1017b130
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x40]
push dword [esp + 0x14]
mov edx, dword [esp + 0xa0]
mov dword [esi + 0x694], ecx
mov ecx, esi
mov dword [esi + 0x698], eax
call fcn.1017b130
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x9c]
pop ebp
pop edi
pop esi
mov dword [eax], 0xffffffff
mov eax, 1
pop ebx
add esp, 0x88
ret