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

Disassembly:
sub esp, 0x64
push ebp
mov ebp, dword [esp + 0x6c]
mov ecx, dword [ebp + 0x68c]
push esi
cmp dword [ebp + 0x688], ecx
je 0x1001ea34
lea eax, [ecx + ecx*2]
shl eax, 4
mov esi, dword [eax + ebp + 0x6b4]
lea edx, [eax + ebp + 0x69c]
mov eax, esi
sub eax, ecx
mov ecx, dword [edx + 0x1c]
mov edx, dword [esp + 0x78]
mov dword [ebp + 0x68c], esi
pop esi
mov dword [edx], ecx
pop ebp
add esp, 0x64
ret
push edi
xor edi, edi
mov dword [ebp + 0x688], edi
mov dword [ebp + 0x68c], edi
cmp dword [ebp + 0x31934], edi
jne 0x1001ea60
lea eax, [esp + 0x10]
push eax
mov esi, ebp
call fcn.1001e7d0
add esp, 4
mov dword [esp + 0x1c], eax
jmp 0x1001ea74
mov ecx, dword [ebp + 0x690]
mov edx, dword [ebp + 0x694]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0x698]
mov dword [esp + 0x20], eax
cmp eax, 2
jae 0x1001ea99
mov eax, dword [esp + 0x7c]
pop edi
pop esi
mov dword [eax], 0xffffffff
mov eax, 1
pop ebp
add esp, 0x64
ret
cmp eax, 0x111
jbe 0x1001eaa8
mov dword [esp + 0x20], 0x111
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push ecx
call edx
mov esi, eax
mov al, byte [esi - 1]
dec esi
add esp, 4
lea ecx, [ebp + 0x31938]
mov byte [esp + 0x74], al
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], edi
xor eax, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x18], ecx
push ebx
jmp 0x1001eae0
mov edx, dword [esp + 0x1c]
mov ebx, dword [edx]
mov dl, byte [esp + 0x78]
mov ecx, esi
sub ecx, ebx
dec ecx
mov dword [esp + eax + 0x54], ebx
cmp dl, byte [ecx]
jne 0x1001eb3b
mov dl, byte [esi + 1]
cmp dl, byte [ecx + 1]
jne 0x1001eb3b
mov ebx, 2
cmp dword [esp + 0x24], ebx
jbe 0x1001eb1f
lea edi, [esi + 2]
sub ecx, esi
nop
mov dl, byte [edi]
cmp dl, byte [ecx + edi]
jne 0x1001eb1f
inc ebx
inc edi
cmp ebx, dword [esp + 0x24]
jb 0x1001eb10
mov ecx, dword [esp + 0x38]
mov dword [esp + eax + 0x64], ebx
cmp ebx, dword [esp + ecx + 0x64]
jbe 0x1001eb43
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
jmp 0x1001eb43
mov dword [esp + eax + 0x64], 0
inc dword [esp + 0x28]
add dword [esp + 0x1c], 4
add eax, 4
cmp eax, 0x10
jb 0x1001eae0
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + ecx*4 + 0x64]
mov eax, dword [ebp + 0x31930]
mov dword [esp + 0x40], ebx
cmp ebx, eax
jb 0x1001eb97
mov eax, dword [esp + 0x80]
mov dword [eax], ecx
lea eax, [ebx - 1]
test eax, eax
je 0x1001eb8d
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
add dword [ebp + 0x31934], eax
push eax
push ecx
call edx
add esp, 8
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x64
ret
mov edi, dword [esp + 0x20]
cmp edi, eax
jb 0x1001ebda
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + eax*4 + 0x31098]
mov edx, dword [esp + 0x80]
add ecx, 4
lea eax, [edi - 1]
mov dword [edx], ecx
test eax, eax
je 0x1001ebd0
add dword [ebp + 0x31934], eax
mov ecx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
call ecx
add esp, 8
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x64
ret
mov edx, esi
sub edx, dword [esp + 0x54]
mov dl, byte [edx - 1]
mov byte [esp + 0x13], dl
cmp edi, 2
jae 0x1001ec11
cmp byte [esp + 0x78], dl
je 0x1001ec11
cmp ebx, 2
jae 0x1001ec11
mov eax, dword [esp + 0x80]
pop ebx
pop edi
pop esi
mov dword [eax], 0xffffffff
mov eax, 1
pop ebp
add esp, 0x64
ret
mov ebx, dword [ebp + 0x31948]
mov eax, dword [ebp + 0x32594]
mov edi, dword [esp + 0x7c]
and edi, dword [ebp + 0x325a4]
mov dword [ebp + 0x6a0], ebx
movzx esi, byte [esi - 1]
mov ecx, 8
sub cl, al
shr esi, cl
mov ecx, dword [ebp + 0x325a0]
and ecx, dword [esp + 0x7c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], ecx
mov ecx, eax
mov eax, dword [esp + 0x44]
shl eax, cl
movzx ecx, byte [esp + 0x78]
add esi, eax
imul esi, esi, 0x600
add esi, dword [ebp + 0x325a8]
cmp ebx, 7
jb 0x1001ec84
movzx eax, dl
lea edi, [ebp + 0x30e9c]
push esi
call fcn.1001e2f0
mov edi, dword [esp + 0x2c]
add esp, 4
jmp 0x1001ec8f
lea edx, [ebp + 0x30e9c]
call fcn.1001e2b0
mov ecx, ebx
shl ecx, 4
add ecx, edi
movzx edx, word [ebp + ecx*2 + 0x325ac]
lea ecx, [ebp + ecx*2 + 0x325ac]
shr edx, 4
mov edx, dword [ebp + edx*4 + 0x30e9c]
add edx, eax
mov dword [ebp + 0x6cc], edx
mov dl, byte [esp + 0x78]
mov dword [ebp + 0x6e8], 0xffffffff
xor esi, esi
mov dword [ebp + 0x6d4], esi
movzx eax, word [ecx]
movzx ecx, word [ebp + ebx*2 + 0x3272c]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
mov ecx, dword [ebp + ecx*4 + 0x30e9c]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30e9c]
add ecx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ecx
cmp byte [esp + 0x13], dl
jne 0x1001ed4e
mov eax, ebx
shl eax, 4
add eax, edi
movzx edx, word [ebp + eax*2 + 0x3278c]
movzx edi, word [ebp + ebx*2 + 0x32744]
shr edx, 4
mov eax, dword [ebp + edx*4 + 0x30e9c]
shr edi, 4
add eax, dword [ebp + edi*4 + 0x30e9c]
add eax, ecx
cmp eax, dword [ebp + 0x6cc]
jae 0x1001ed4e
mov dword [ebp + 0x6cc], eax
mov dword [ebp + 0x6e8], esi
mov dword [ebp + 0x6d4], esi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jb 0x1001ed62
mov eax, ecx
mov dword [esp + 0x18], ecx
jmp 0x1001ed66
mov dword [esp + 0x18], eax
cmp eax, 2
jae 0x1001ed87
mov eax, dword [ebp + 0x6e8]
mov ecx, dword [esp + 0x80]
pop ebx
pop edi
pop esi
mov dword [ecx], eax
mov eax, 1
pop ebp
add esp, 0x64
ret
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [ebp + 0x6e4], esi
mov dword [ebp + 0x6bc], edx
mov edx, dword [esp + 0x5c]
mov dword [ebp + 0x6c4], edx
mov dword [ebp + 0x6c0], ecx
mov ecx, dword [esp + 0x60]
lea edx, [eax + eax*2]
shl edx, 4
mov dword [ebp + 0x6c8], ecx
lea ecx, [edx + ebp + 0x69c]
mov dword [ecx], 0x40000000
dec eax
sub ecx, 0x30
cmp eax, 2
jae 0x1001edc2
xor edi, edi
mov esi, dword [esp + edi*4 + 0x64]
cmp esi, 2
jb 0x1001ee35
mov ebx, dword [esp + 0x28]
mov edx, dword [ebp + 0x31948]
push ebx
mov eax, edi
mov ecx, ebp
call fcn.1001e860
imul ebx, ebx, 0x110
add eax, dword [esp + 0x48]
add ebx, esi
lea ecx, [esi + esi*2]
add esp, 4
shl ecx, 4
lea ebx, [ebp + ebx*4 + 0x37854]
lea ecx, [ecx + ebp + 0x6b8]
mov edx, dword [ebx]
add edx, eax
cmp edx, dword [ecx - 0x1c]
jae 0x1001ee29
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 0x1001ee13
inc edi
cmp edi, 4
jb 0x1001edd3
mov edx, dword [ebp + 0x31948]
movzx eax, word [ebp + edx*2 + 0x3272c]
mov ebx, dword [esp + 0x64]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30e9c]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
cmp ebx, 2
jb 0x1001ee67
inc ebx
jmp 0x1001ee6c
mov ebx, 2
cmp ebx, dword [esp + 0x20]
ja 0x1001ef6e
xor edi, edi
mov dword [esp + 0x78], edi
cmp ebx, dword [ebp + 0x3109c]
jbe 0x1001ee94
add edi, 2
cmp ebx, dword [ebp + edi*4 + 0x3109c]
ja 0x1001ee84
mov dword [esp + 0x78], edi
mov ecx, dword [esp + 0x28]
imul ecx, ecx, 0x110
add ecx, ebx
lea ecx, [ebp + ecx*4 + 0x3300c]
lea edx, [ebx + ebx*2]
shl edx, 4
mov dword [esp + 0x28], ecx
lea ecx, [edx + ebp + 0x6b8]
mov edx, dword [esp + 0x28]
mov edx, dword [edx]
mov esi, dword [ebp + edi*4 + 0x310a0]
add edx, eax
mov dword [esp + 0x38], ecx
lea eax, [ebx - 2]
cmp ebx, 5
jb 0x1001eed8
mov eax, 3
cmp esi, 0x80
jae 0x1001eeee
shl eax, 7
add eax, esi
add edx, dword [ebp + eax*4 + 0x31d4c]
jmp 0x1001ef31
mov ecx, 0x1ffff
sub ecx, esi
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
mov edi, esi
shr edi, cl
shl eax, 5
add eax, ecx
mov ecx, esi
movzx edi, byte [edi + ebp + 0x3069c]
lea eax, [edi + eax*2]
mov eax, dword [ebp + eax*4 + 0x3194c]
mov edi, dword [esp + 0x78]
and ecx, 0xf
add eax, dword [ebp + ecx*4 + 0x3254c]
mov ecx, dword [esp + 0x38]
add edx, eax
cmp edx, dword [ecx - 0x1c]
jae 0x1001ef46
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 + 0x3109c]
jne 0x1001ef5c
add edi, 2
mov dword [esp + 0x78], edi
cmp edi, dword [esp + 0x14]
je 0x1001ef6e
add dword [esp + 0x28], 4
mov eax, dword [esp + 0x44]
inc ebx
add ecx, 0x30
jmp 0x1001eeb8
mov eax, 1
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], eax
je 0x1001fc62
lea ecx, [esp + 0x38]
push ecx
mov esi, ebp
call fcn.1001e7d0
add esp, 4
mov dword [esp + 0x4c], eax
cmp eax, dword [ebp + 0x31930]
jae 0x1001fc52
mov esi, dword [esp + 0x14]
inc dword [esp + 0x7c]
lea edx, [esi + esi*2]
shl edx, 4
mov edi, dword [edx + ebp + 0x6a4]
mov eax, dword [edx + ebp + 0x6b4]
lea ebx, [edx + ebp]
test edi, edi
je 0x1001f01f
dec eax
cmp dword [ebx + 0x6a8], 0
je 0x1001f009
mov ecx, dword [ebx + 0x6ac]
lea ecx, [ecx + ecx*2]
shl ecx, 4
cmp dword [ebx + 0x6b0], 4
mov ecx, dword [ecx + ebp + 0x6a0]
jae 0x1001eff9
mov ecx, dword [ecx*4 + 0x1006b478]
mov edx, dword [ecx*4 + 0x1006b418]
jmp 0x1001f02c
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 + 0x1006b418]
jmp 0x1001f02c
lea edx, [eax + eax*2]
shl edx, 4
mov ecx, dword [edx + ebp + 0x6a0]
mov edx, dword [ecx*4 + 0x1006b418]
jmp 0x1001f02c
lea ecx, [eax + eax*2]
shl ecx, 4
mov edx, dword [ecx + ebp + 0x6a0]
dec esi
cmp eax, esi
jne 0x1001f05a
cmp dword [ebx + 0x6b8], 0
jne 0x1001f04a
mov edx, dword [edx*4 + 0x1006b4a8]
mov dword [esp + 0x1c], edx
jmp 0x1001f116
mov eax, dword [edx*4 + 0x1006b418]
mov dword [esp + 0x1c], eax
jmp 0x1001f116
test edi, edi
je 0x1001f080
cmp dword [ebx + 0x6a8], 0
je 0x1001f080
mov ecx, dword [ebx + 0x6b0]
mov eax, dword [ebx + 0x6ac]
mov edx, dword [edx*4 + 0x1006b478]
mov dword [esp + 0x78], ecx
jmp 0x1001f0ab
mov ecx, dword [ebx + 0x6b8]
mov dword [esp + 0x78], ecx
cmp ecx, 4
jae 0x1001f0a0
mov ecx, dword [edx*4 + 0x1006b478]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x78]
jmp 0x1001f0af
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 + 0x78]
mov dword [esp + 0x1c], edx
lea eax, [eax + eax*2]
shl eax, 4
lea edx, [eax + ebp + 0x69c]
cmp ecx, 4
jae 0x1001f0fa
mov eax, dword [edx + ecx*4 + 0x20]
mov dword [esp + 0x54], eax
mov eax, 1
cmp ecx, eax
jb 0x1001f0e5
mov eax, dword [esp + 0x78]
inc eax
lea esi, [edx + 0x20]
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jae 0x1001f116
lea edx, [edx + eax*4 + 0x20]
mov ecx, 4
lea edi, [esp + eax*4 + 0x54]
sub ecx, eax
mov esi, edx
rep movsd dword es:[edi], dword [esi]
jmp 0x1001f116
mov eax, dword [edx + 0x24]
add ecx, 0xfffffffc
mov dword [esp + 0x54], ecx
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x58], ecx
mov ecx, dword [edx + 0x28]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x1c]
mov dword [ebx + 0x6bc], edx
mov edx, dword [esp + 0x60]
mov dword [ebx + 0x6c0], eax
mov eax, dword [ebx + 0x69c]
mov dword [ebx + 0x6a0], esi
mov dword [ebx + 0x6c4], ecx
mov dword [ebx + 0x6c8], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
call edx
mov edi, eax
mov al, byte [edi - 1]
dec edi
mov byte [esp + 0x7c], al
mov ecx, edi
sub ecx, dword [esp + 0x58]
mov dl, byte [ecx - 1]
lea eax, [ecx - 1]
mov dword [esp + 0x40], eax
mov byte [esp + 0x17], dl
mov edx, dword [esp + 0x80]
mov eax, edx
and eax, dword [ebp + 0x325a4]
mov ecx, esi
mov dword [esp + 0x34], eax
shl ecx, 4
add eax, ecx
mov dword [esp + 0x44], eax
movzx eax, word [ebp + eax*2 + 0x325ac]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30e9c]
add eax, dword [esp + 0x28]
mov dword [esp + 0x24], edi
movzx edi, byte [edi - 1]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x32594]
mov ecx, 8
sub cl, al
shr edi, cl
mov ecx, dword [ebp + 0x325a0]
and ecx, edx
mov dword [esp + 0x48], ecx
mov ecx, eax
mov eax, dword [esp + 0x48]
shl eax, cl
add esp, 4
add edi, eax
imul edi, edi, 0x600
add edi, dword [ebp + 0x325a8]
cmp esi, 7
jb 0x1001f215
movzx eax, byte [esp + 0x13]
movzx ecx, byte [esp + 0x78]
push edi
lea edi, [ebp + 0x30e9c]
call fcn.1001e2f0
add esp, 4
jmp 0x1001f25f
movzx eax, byte [esp + 0x78]
mov dword [esp + 0x34], 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 + 0x34]
add ecx, dword [ebp + edx*4 + 0x30e9c]
add eax, eax
mov dword [esp + 0x34], ecx
cmp eax, 0x10000
jb 0x1001f227
mov eax, ecx
mov edx, dword [esp + 0x2c]
add edx, eax
mov dword [esp + 0x2c], edx
cmp edx, dword [ebx + 0x6cc]
jae 0x1001f29d
mov dword [ebx + 0x6cc], edx
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x6e4], edx
mov dword [ebx + 0x6e8], 0xffffffff
mov dword [ebx + 0x6d4], 0
mov dword [esp + 0x28], 1
mov ecx, dword [esp + 0x40]
movzx eax, word [ebp + ecx*2 + 0x325ac]
movzx edx, word [ebp + esi*2 + 0x3272c]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30e9c]
add eax, dword [esp + 0x24]
xor edx, 0x7f0
shr edx, 4
mov edi, dword [ebp + edx*4 + 0x30e9c]
mov edx, dword [esp + 0x14]
add edi, eax
mov dword [esp + 0x50], eax
mov al, byte [esp + 0x78]
mov dword [esp + 0x48], edi
cmp byte [esp + 0x13], al
jne 0x1001f34d
cmp dword [ebx + 0x6e4], edx
jae 0x1001f2fd
cmp dword [ebx + 0x6e8], 0
je 0x1001f34d
movzx eax, word [ebp + esi*2 + 0x32744]
movzx ecx, word [ebp + ecx*2 + 0x3278c]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30e9c]
shr ecx, 4
add eax, dword [ebp + ecx*4 + 0x30e9c]
add eax, edi
cmp eax, dword [ebx + 0x6cc]
ja 0x1001f34d
mov dword [ebx + 0x6cc], eax
xor eax, eax
mov dword [ebx + 0x6e4], edx
mov dword [ebx + 0x6e8], eax
mov dword [ebx + 0x6d4], eax
mov dword [esp + 0x28], 1
mov ecx, dword [ebp + 0x698]
mov eax, 0xfff
sub eax, edx
mov dword [esp + 0x34], ecx
cmp eax, ecx
jae 0x1001f368
mov ecx, eax
mov dword [esp + 0x34], eax
cmp ecx, 2
jb 0x1001fc3d
mov esi, dword [ebp + 0x31930]
mov dword [esp + 0x24], ecx
cmp ecx, esi
jbe 0x1001f383
mov dword [esp + 0x24], esi
cmp dword [esp + 0x28], 0
jne 0x1001f4ee
mov dl, byte [esp + 0x78]
cmp byte [esp + 0x13], dl
je 0x1001f4ee
inc esi
cmp esi, ecx
jbe 0x1001f3a3
mov esi, ecx
mov ecx, 1
cmp esi, ecx
jbe 0x1001f3cd
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
lea eax, [edx + 1]
sub edi, edx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [edi + eax]
jne 0x1001f3cd
inc ecx
inc eax
cmp ecx, esi
jb 0x1001f3c0
lea eax, [ecx - 1]
mov dword [esp + 0x78], eax
cmp eax, 2
jb 0x1001f4ee
mov eax, dword [esp + 0x1c]
mov eax, dword [eax*4 + 0x1006b418]
mov ecx, dword [esp + 0x7c]
movzx esi, word [ebp + eax*2 + 0x3272c]
mov edi, dword [esp + 0x14]
inc ecx
and ecx, dword [ebp + 0x325a4]
mov edx, eax
shl edx, 4
lea ebx, [edx + ecx]
movzx edx, word [ebp + ebx*2 + 0x325ac]
xor edx, 0x7f0
shr edx, 4
mov edx, dword [ebp + edx*4 + 0x30e9c]
xor esi, 0x7f0
shr esi, 4
add edx, dword [ebp + esi*4 + 0x30e9c]
mov esi, dword [esp + 0x78]
add edx, dword [esp + 0x2c]
lea esi, [esi + edi + 1]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x40], ebx
cmp edi, esi
jae 0x1001f482
lea ebx, [edi + edi*2]
shl ebx, 4
lea ebx, [ebx + ebp + 0x69c]
mov dword [esp + 0x44], ebx
mov ebx, esi
sub ebx, edi
add edi, ebx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x44]
jmp 0x1001f470
add edi, 0x30
sub ebx, 1
mov dword [edi], 0x40000000
jne 0x1001f470
mov ebx, dword [esp + 0x40]
movzx edi, word [ebp + ebx*2 + 0x3278c]
imul ecx, ecx, 0x110
movzx ebx, word [ebp + eax*2 + 0x32744]
add ecx, dword [esp + 0x78]
xor edi, 0x7f0
shr edi, 4
mov eax, dword [ebp + edi*4 + 0x30e9c]
shr ebx, 4
add eax, dword [ebp + ebx*4 + 0x30e9c]
add eax, dword [ebp + ecx*4 + 0x37854]
lea ecx, [esi + esi*2]
shl ecx, 4
add eax, edx
cmp eax, dword [ecx + ebp + 0x69c]
lea ecx, [ecx + ebp + 0x69c]
jae 0x1001f4ee
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 + 0x3c], 2
mov dword [esp + 0x78], 0
mov edi, edi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
mov eax, ecx
sub eax, dword [esp + edx*4 + 0x54]
mov cl, byte [ecx]
dec eax
mov dword [esp + 0x28], eax
cmp cl, byte [eax]
jne 0x1001f825
mov edx, dword [esp + 0x20]
mov al, byte [edx + 1]
mov ecx, dword [esp + 0x28]
cmp al, byte [ecx + 1]
jne 0x1001f825
mov esi, dword [esp + 0x24]
mov edi, 2
cmp esi, edi
jbe 0x1001f550
lea eax, [edx + 2]
sub ecx, edx
mov dl, byte [eax]
cmp dl, byte [ecx + eax]
jne 0x1001f550
inc edi
inc eax
cmp edi, esi
jb 0x1001f543
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ebx, [edi + eax]
cmp edx, ebx
jae 0x1001f58e
lea ecx, [edx + edx*2]
mov eax, ebx
shl ecx, 4
sub eax, edx
add edx, eax
lea ecx, [ecx + ebp + 0x69c]
mov dword [esp + 0x18], edx
jmp 0x1001f580
add ecx, 0x30
sub eax, 1
mov dword [ecx], 0x40000000
jne 0x1001f580
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x20]
mov ecx, ebp
mov esi, edi
call fcn.1001e860
mov ecx, dword [esp + 0x34]
add eax, dword [esp + 0x4c]
imul ecx, ecx, 0x110
mov dword [esp + 0x48], ecx
add ecx, edi
lea edx, [ebp + ecx*4 + 0x37854]
lea ecx, [ebx + ebx*2]
add esp, 4
shl ecx, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], edx
lea ecx, [ecx + ebp + 0x6b8]
mov ebx, edx
lea esp, [esp]
mov edx, dword [ebx]
add edx, eax
cmp edx, dword [ecx - 0x1c]
jae 0x1001f600
mov dword [ecx - 0x1c], edx
mov edx, dword [esp + 0x14]
mov dword [ecx - 4], edx
mov edx, dword [esp + 0x78]
mov dword [ecx], edx
mov dword [ecx - 0x14], 0
dec edi
sub ebx, 4
sub ecx, 0x30
cmp edi, 2
jae 0x1001f5e0
cmp dword [esp + 0x78], 0
jne 0x1001f61a
lea eax, [esi + 1]
mov dword [esp + 0x3c], eax
mov ecx, dword [ebp + 0x31930]
mov edx, dword [esp + 0x34]
lea eax, [esi + 1]
add ecx, eax
mov dword [esp + 0x2c], ecx
cmp ecx, edx
jbe 0x1001f637
mov ecx, edx
mov dword [esp + 0x2c], edx
cmp eax, ecx
mov ecx, dword [esp + 0x20]
jae 0x1001f657
mov edx, dword [esp + 0x28]
lea edi, [eax + ecx]
sub edx, ecx
mov bl, byte [edi]
cmp bl, byte [edi + edx]
jne 0x1001f657
inc eax
inc edi
cmp eax, dword [esp + 0x2c]
jb 0x1001f648
or edx, 0xffffffff
sub edx, esi
add eax, edx
mov dword [esp + 0x2c], eax
cmp eax, 2
jb 0x1001f825
movzx edi, byte [esi + ecx - 1]
movzx ebx, byte [esi + ecx]
mov edx, dword [ebp + 0x32594]
mov eax, dword [esp + 0x28]
mov ecx, 8
sub cl, dl
mov edx, dword [ebp + 0x325a0]
shr edi, cl
mov ecx, dword [esp + 0x7c]
movzx eax, byte [esi + eax]
add ecx, esi
and edx, ecx
mov ecx, dword [ebp + 0x32594]
shl edx, cl
mov ecx, ebx
add edi, edx
imul edi, edi, 0x600
add edi, dword [ebp + 0x325a8]
push edi
lea edi, [ebp + 0x30e9c]
call fcn.1001e2f0
mov edx, dword [ebp + 0x325a4]
mov ecx, dword [esp + 0x80]
mov edi, edx
add ecx, esi
and edi, ecx
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx*4 + 0x1006b478]
mov ebx, ecx
shl ebx, 4
add edi, ebx
movzx edi, word [ebp + edi*2 + 0x325ac]
shr edi, 4
add eax, dword [ebp + edi*4 + 0x30e9c]
mov edi, dword [esp + 0x48]
add edi, esi
add eax, dword [ebp + edi*4 + 0x37854]
mov edi, dword [ecx*4 + 0x1006b418]
mov ecx, dword [esp + 0x80]
movzx ebx, word [ebp + edi*2 + 0x3272c]
add eax, dword [esp + 0x44]
lea ecx, [esi + ecx + 1]
and ecx, edx
mov edx, edi
shl edx, 4
add edx, ecx
mov dword [esp + 0x2c], edx
movzx edx, word [ebp + edx*2 + 0x325ac]
xor edx, 0x7f0
shr edx, 4
mov edx, dword [ebp + edx*4 + 0x30e9c]
xor ebx, 0x7f0
shr ebx, 4
add edx, dword [ebp + ebx*4 + 0x30e9c]
mov ebx, dword [esp + 0x18]
add edx, eax
mov eax, dword [esp + 0x30]
add eax, esi
lea ebx, [eax + ebx + 1]
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x40], ebx
cmp eax, ebx
jae 0x1001f7a6
lea eax, [eax + eax*2]
shl eax, 4
lea eax, [eax + ebp + 0x69c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
sub ebx, eax
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
add eax, 0x30
sub ebx, 1
mov dword [eax], 0x40000000
jne 0x1001f794
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
imul ecx, ecx, 0x110
movzx eax, word [ebp + eax*2 + 0x3278c]
movzx edi, word [ebp + edi*2 + 0x32744]
add ecx, dword [esp + 0x2c]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30e9c]
shr edi, 4
add eax, dword [ebp + edi*4 + 0x30e9c]
add eax, dword [ebp + ecx*4 + 0x37854]
lea ecx, [ebx + ebx*2]
shl ecx, 4
add eax, edx
cmp eax, dword [ecx + ebp + 0x69c]
lea ecx, [ecx + ebp + 0x69c]
jae 0x1001f825
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 + 0x78]
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x78]
inc eax
mov dword [esp + 0x78], eax
cmp eax, 4
jb 0x1001f500
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
cmp esi, eax
jbe 0x1001f86a
xor ecx, ecx
mov esi, eax
cmp eax, dword [ebp + 0x3109c]
jbe 0x1001f85c
nop
add ecx, 2
cmp eax, dword [ebp + ecx*4 + 0x3109c]
ja 0x1001f850
mov dword [ebp + ecx*4 + 0x3109c], eax
add ecx, 2
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x3c]
cmp esi, edx
jb 0x1001fc3d
mov ecx, dword [esp + 0x1c]
movzx eax, word [ebp + ecx*2 + 0x3272c]
mov ecx, dword [esp + 0x14]
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30e9c]
add eax, dword [esp + 0x50]
mov dword [esp + 0x50], eax
lea eax, [esi + ecx]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jae 0x1001f8ce
lea esi, [ecx + ecx*2]
shl esi, 4
sub eax, ecx
add ecx, eax
lea esi, [esi + ebp + 0x69c]
mov dword [esp + 0x18], ecx
jmp 0x1001f8c0
add esi, 0x30
sub eax, 1
mov dword [esi], 0x40000000
jne 0x1001f8c0
xor eax, eax
mov dword [esp + 0x78], eax
cmp edx, dword [ebp + 0x3109c]
jbe 0x1001f8f0
lea esp, [esp]
add eax, 2
cmp edx, dword [ebp + eax*4 + 0x3109c]
ja 0x1001f8e0
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
mov eax, dword [ebp + eax*4 + 0x310a0]
mov ecx, 0x1ffff
sub ecx, eax
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
mov esi, eax
shr esi, cl
lea edi, [edx + 1]
mov dword [esp + 0x28], eax
movzx esi, byte [esi + ebp + 0x3069c]
lea ecx, [esi + ecx*2]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x30]
imul ecx, ecx, 0x110
add ecx, edx
lea ecx, [ebp + ecx*4 + 0x3300c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
add ecx, edx
lea edx, [ecx + ecx*2]
shl edx, 4
lea ebx, [edx + ebp + 0x6b8]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
add edx, dword [esp + 0x50]
lea ecx, [edi - 1]
cmp ecx, 5
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], edi
lea ecx, [edi - 3]
jb 0x1001f973
mov ecx, 3
cmp eax, 0x80
jae 0x1001f988
shl ecx, 7
add ecx, eax
add edx, dword [ebp + ecx*4 + 0x31d4c]
jmp 0x1001f9a4
shl ecx, 6
add ecx, dword [esp + 0x40]
mov esi, eax
mov ecx, dword [ebp + ecx*4 + 0x3194c]
and esi, 0xf
add ecx, dword [ebp + esi*4 + 0x3254c]
add edx, ecx
mov dword [esp + 0x3c], edx
cmp edx, dword [ebx - 0x1c]
jae 0x1001f9c3
mov dword [ebx - 0x1c], edx
mov edx, dword [esp + 0x14]
lea ecx, [eax + 4]
mov dword [ebx - 4], edx
mov dword [ebx], ecx
mov dword [ebx - 0x14], 0
mov edx, dword [esp + 0x78]
lea ecx, [edi - 1]
cmp ecx, dword [ebp + edx*4 + 0x3109c]
jne 0x1001fc2f
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
sub ecx, eax
mov eax, dword [ebp + 0x31930]
add eax, edi
dec ecx
mov esi, edi
cmp eax, edx
jbe 0x1001f9f2
mov eax, edx
cmp edi, eax
jae 0x1001fa1a
mov ebx, dword [esp + 0x20]
sub ebx, ecx
lea edx, [ecx + edi]
mov dword [esp + 0x4c], ebx
jmp 0x1001fa09
mov ebx, dword [esp + 0x4c]
mov bl, byte [edx + ebx]
cmp bl, byte [edx]
jne 0x1001fa16
inc esi
inc edx
cmp esi, eax
jb 0x1001fa05
mov ebx, dword [esp + 0x24]
or edx, 0xffffffff
lea eax, [edi - 1]
sub edx, eax
add esi, edx
mov dword [esp + 0x2c], esi
cmp esi, 2
jb 0x1001fbe7
mov eax, dword [esp + 0x7c]
mov esi, dword [ebp + 0x325a4]
mov edx, dword [ebp + 0x32594]
lea eax, [eax + edi - 1]
mov dword [esp + 0x4c], eax
and esi, eax
movzx eax, byte [ecx + edi - 1]
mov ecx, dword [esp + 0x20]
movzx ebx, byte [edi + ecx - 1]
movzx edi, byte [ecx + edi - 2]
mov ecx, 8
sub cl, dl
mov edx, dword [ebp + 0x325a0]
and edx, dword [esp + 0x4c]
shr edi, cl
mov ecx, dword [ebp + 0x32594]
shl edx, cl
mov ecx, ebx
add edi, edx
imul edi, edi, 0x600
add edi, dword [ebp + 0x325a8]
push edi
lea edi, [ebp + 0x30e9c]
call fcn.1001e2f0
mov ecx, dword [esp + 0x20]
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 ebx, dword [ecx*4 + 0x1006b418]
mov edx, ecx
shl edx, 4
add edx, esi
movzx edx, word [ebp + edx*2 + 0x325ac]
shr edx, 4
add eax, dword [ebp + edx*4 + 0x30e9c]
mov edi, dword [esp + 0x48]
add eax, dword [esp + 0x40]
lea ecx, [esi + 1]
and ecx, dword [ebp + 0x325a4]
movzx esi, word [ebp + ebx*2 + 0x3272c]
mov edx, ebx
shl edx, 4
add edx, ecx
mov dword [esp + 0x40], edx
movzx edx, word [ebp + edx*2 + 0x325ac]
xor edx, 0x7f0
shr edx, 4
mov edx, dword [ebp + edx*4 + 0x30e9c]
xor esi, 0x7f0
shr esi, 4
add edx, dword [ebp + esi*4 + 0x30e9c]
mov esi, dword [esp + 0x18]
add edx, eax
mov eax, dword [esp + 0x30]
lea eax, [eax + edi - 1]
lea esi, [eax + esi + 1]
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x48], esi
cmp eax, esi
jae 0x1001fb62
lea eax, [eax + eax*2]
shl eax, 4
lea eax, [eax + ebp + 0x69c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
sub esi, eax
add eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
mov edi, edi
add eax, 0x30
sub esi, 1
mov dword [eax], 0x40000000
jne 0x1001fb50
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
imul ecx, ecx, 0x110
movzx eax, word [ebp + eax*2 + 0x3278c]
movzx ebx, word [ebp + ebx*2 + 0x32744]
add ecx, dword [esp + 0x2c]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebp + eax*4 + 0x30e9c]
shr ebx, 4
add eax, dword [ebp + ebx*4 + 0x30e9c]
mov ebx, dword [esp + 0x24]
add eax, dword [ebp + ecx*4 + 0x37854]
lea ecx, [esi + esi*2]
shl ecx, 4
add eax, edx
cmp eax, dword [ecx + ebp + 0x69c]
lea ecx, [ecx + ebp + 0x69c]
jae 0x1001fbe7
mov edx, dword [esp + 0x14]
mov dword [ecx], eax
lea eax, [edi + edx]
mov dword [ecx + 0x10], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 0x18], eax
mov eax, 1
add edx, 4
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x14], edx
mov eax, dword [esp + 0x78]
add eax, 2
mov dword [esp + 0x78], eax
cmp eax, dword [esp + 0x38]
je 0x1001fc3d
mov eax, dword [ebp + eax*4 + 0x310a0]
mov dword [esp + 0x28], eax
cmp eax, 0x80
jb 0x1001fc2f
mov ecx, 0x1ffff
sub ecx, eax
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
mov edx, eax
shr edx, cl
movzx edx, byte [edx + ebp + 0x3069c]
lea ecx, [edx + ecx*2]
mov dword [esp + 0x40], ecx
add dword [esp + 0x30], 4
add ebx, 0x30
inc edi
jmp 0x1001f951
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x18]
jne 0x1001ef81
jmp 0x1001fc62
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x694], ecx
mov dword [ebp + 0x690], eax
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x14]
push edx
mov ecx, ebp
call fcn.1001e910
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x64
ret