Function at 0x1000d950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x101620c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x70], edx
push edi
mov dword [ebp - 0x78], esi
cmp dword [esi + 0x34], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
jne 0x1000d995
lea edx, [ebp - 0x48]
call fcn.10011700
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
jmp 0x1000d9a1
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x28]
cmp eax, 2
jb 0x1000ec91
mov ecx, 0x111
cmp eax, ecx
cmova eax, ecx
mov ecx, dword [esi]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0xc]
call eax
mov ecx, dword [ebp - 0x2c]
xor ebx, ebx
mov dword [ebp - 0x40], 0
lea edx, [eax - 1]
mov al, byte [edx]
mov dword [ebp - 0x50], edx
mov byte [ebp - 0x25], al
mov eax, dword [esi + ebx*4 + 0x38]
mov edi, edx
sub edi, eax
mov dword [ebp + ebx*4 - 0x14], eax
mov al, byte [ebp - 0x25]
cmp al, byte [edi]
jne 0x1000da32
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x1000da32
mov edx, 2
cmp ecx, edx
jbe 0x1000da1a
mov eax, dword [ebp - 0x50]
sub edi, eax
mov esi, dword [ebp - 0x2c]
lea ecx, [eax + 2]
mov al, byte [ecx]
cmp al, byte [edi + ecx]
jne 0x1000da14
inc edx
inc ecx
cmp edx, esi
jb 0x1000da07
mov esi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x40]
mov eax, ebx
mov dword [ebp + ebx*4 - 0x24], edx
cmp edx, dword [ebp + edi*4 - 0x24]
mov edx, dword [ebp - 0x50]
cmovbe eax, edi
mov dword [ebp - 0x40], eax
jmp 0x1000da3d
mov eax, dword [ebp - 0x40]
mov dword [ebp + ebx*4 - 0x24], 0
inc ebx
cmp ebx, 4
jb 0x1000d9d8
mov ebx, dword [ebp + eax*4 - 0x24]
mov ecx, dword [esi + 0x30]
cmp ebx, ecx
jb 0x1000da77
lea ecx, [ebx - 1]
mov dword [esi + 0x90], eax
add dword [esi + 0x34], ecx
lea edx, [ebx - 1]
mov ecx, dword [esi]
mov esi, dword [esi + 0x14]
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e0010
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x30]
lea eax, [esi + 0x948]
mov dword [ebp - 0x60], eax
cmp edi, ecx
jb 0x1000dabd
mov eax, dword [ebp - 0x38]
lea edx, [edi - 1]
mov ecx, dword [esi]
mov eax, dword [esi + eax*4 + 0x944]
add eax, 4
mov dword [esi + 0x90], eax
lea eax, [edi - 1]
add dword [esi + 0x34], eax
mov eax, dword [esi + 0x14]
call eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e0010
mov esp, ebp
pop ebp
ret
mov cl, byte [edx]
mov eax, edx
mov edx, dword [ebp - 0x14]
sub eax, edx
cmp ebx, dword [ebp - 0x30]
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x50]
cmova edi, ebx
mov al, byte [eax]
mov byte [ebp - 0x25], cl
mov byte [ebp - 0x26], al
mov dword [ebp - 0x34], edi
cmp edi, 2
jae 0x1000daea
cmp cl, al
jne 0x1000ec91
mov ax, word [esi + 0x2c]
mov word [esi + 0xbca8], ax
mov eax, dword [ebp - 0x70]
and eax, dword [esi + 0x4c]
movzx edx, byte [edx - 1]
mov ecx, dword [esi + 0x94]
mov ebx, dword [esi + 0x2c]
mov dword [ebp - 0x64], 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
lea ecx, [edx + edx*2]
lea ecx, [eax + ecx*2]
movzx eax, byte [ebp - 0x25]
mov dword [ebp - 0x48], eax
lea edx, [esi + 0x748]
push edx
cmp ebx, 7
jb 0x1000db43
movzx eax, byte [ebp - 0x26]
mov edx, dword [ebp - 0x48]
push eax
call fcn.1000f480
jmp 0x1000db4a
mov edx, eax
call fcn.1000f440
mov edx, eax
shl ebx, 4
add ebx, dword [ebp - 0x64]
movzx eax, word [esi + ebx*2 + 0x1e9c]
shr eax, 4
mov ebx, dword [esi + eax*4 + 0x748]
xor eax, eax
mov word [esi + 0xbcca], ax
add ebx, edx
mov dword [esi + 0xbcc4], ebx
mov dword [esi + 0xbcd0], 0xffffffff
mov edx, dword [esi + 0x2c]
mov eax, edx
shl eax, 4
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
movzx eax, word [esi + eax*2 + 0x1e9c]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [esi + eax*4 + 0x748]
movzx eax, word [esi + edx*2 + 0x1e3c]
xor eax, 0x7f0
mov dword [ebp - 0x68], ecx
shr eax, 4
mov eax, dword [esi + eax*4 + 0x748]
add eax, ecx
mov dword [ebp - 0x58], eax
mov al, byte [ebp - 0x25]
cmp byte [ebp - 0x26], al
jne 0x1000dc24
cmp dword [ebp - 0x24], 0
jne 0x1000dc24
mov eax, dword [ebp - 0x48]
movzx ecx, word [esi + edx*2 + 0x1e54]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x201c]
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x748]
add ecx, dword [esi + eax*4 + 0x748]
or eax, 0xffffffff
add ecx, dword [ebp - 0x58]
cmp ecx, ebx
jae 0x1000dc14
mov dword [esi + 0xbcc4], ecx
xor eax, eax
mov dword [esi + 0xbcd0], 0
cmp edi, 2
jae 0x1000dc24
mov dword [esi + 0x90], eax
jmp 0x1000ec9b
mov eax, dword [ebp - 0x6c]
xor ebx, ebx
mov dword [esi + 0xbccc], 1
mov dword [esi + 0xbcb4], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xbcb8], eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xbcbc], eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xbcc0], eax
mov dword [ebp - 0x2c], ebx
nop dword [eax]
mov edx, dword [ebp + ebx*4 - 0x24]
cmp edx, 2
jb 0x1000dd58
mov eax, dword [esi + 0x2c]
movzx ecx, word [esi + eax*2 + 0x1e54]
test ebx, ebx
jne 0x1000dca5
shl eax, 4
add eax, dword [ebp - 0x64]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x201c]
xor eax, 0x7f0
shr eax, 4
mov ebx, dword [esi + eax*4 + 0x748]
add ebx, dword [esi + ecx*4 + 0x748]
jmp 0x1000dd09
movzx edi, word [esi + eax*2 + 0x1e6c]
xor ecx, 0x7f0
shr ecx, 4
mov ecx, dword [esi + ecx*4 + 0x748]
mov dword [ebp - 0x5c], ecx
cmp ebx, 1
jne 0x1000dcd3
shr edi, 4
mov ebx, ecx
add ebx, dword [esi + edi*4 + 0x748]
jmp 0x1000dd09
movzx ecx, word [esi + eax*2 + 0x1e84]
xor edi, 0x7f0
mov eax, 2
shr ecx, 4
sub eax, ebx
shr edi, 4
mov ebx, dword [ebp - 0x5c]
shr eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [esi + ecx*4 + 0x748]
add eax, dword [esi + edi*4 + 0x748]
add ebx, eax
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x2c]
add eax, ebx
mov dword [ebp - 0x48], eax
imul eax, dword [ebp - 0x64], 0x110
add eax, 0x1e27
add eax, edx
lea ebx, [esi + eax*4]
mov eax, edx
shl eax, 5
add eax, 0xbcb0
add eax, esi
mov ecx, dword [ebx]
add ecx, dword [ebp - 0x48]
cmp ecx, dword [eax - 0xc]
jae 0x1000dd49
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov dword [eax - 4], edx
mov dword [eax], edi
mov word [eax - 6], cx
dec edx
sub ebx, 4
sub eax, 0x20
cmp edx, 2
jae 0x1000dd31
mov ebx, dword [ebp - 0x2c]
inc ebx
mov dword [ebp - 0x2c], ebx
cmp ebx, 4
jb 0x1000dc60
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x34]
inc ebx
cmp ebx, dword [ebp - 0x30]
ja 0x1000dec2
mov eax, dword [esi + 0x2c]
xor edx, edx
mov dword [ebp - 0x40], edx
movzx eax, word [esi + eax*2 + 0x1e3c]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x748]
add dword [ebp - 0x68], eax
cmp ebx, 2
jae 0x1000dd9c
lea ebx, [edx + 2]
jmp 0x1000ddb3
cmp ebx, dword [esi + 0x948]
jbe 0x1000ddb3
add edx, 2
cmp ebx, dword [esi + edx*4 + 0x948]
ja 0x1000dda4
mov dword [ebp - 0x40], edx
mov eax, ebx
mov ecx, ebx
shl eax, 7
add eax, 0x487
shl ecx, 5
mov dword [ebp - 0x48], eax
add ecx, 0xbcb0
imul eax, dword [ebp - 0x64], 0x110
add ecx, esi
mov edi, dword [ebp - 0x48]
add eax, 0xd26
add eax, ebx
lea eax, [esi + eax*4]
mov dword [ebp - 0x30], eax
mov eax, 0xffff4310
sub eax, esi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + edx*4 + 4]
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x54], ecx
mov eax, dword [eax]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
cmp ebx, 5
jae 0x1000de1b
mov eax, dword [ebp - 0x7c]
add eax, ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], eax
jmp 0x1000de29
mov dword [ebp - 0x58], 0x60
mov dword [ebp - 0x5c], 0x707
mov eax, dword [ebp - 0x2c]
cmp eax, 0x80
jae 0x1000de3e
and eax, 0x7f
add eax, dword [ebp - 0x5c]
mov eax, dword [esi + eax*4]
jmp 0x1000de79
cmp eax, 0x20000
sbb edx, edx
and edx, 0xfffffff6
add edx, 0x10
mov ecx, edx
shr eax, cl
movzx ecx, byte [eax + esi + 0x2c9c]
mov eax, dword [ebp - 0x58]
add eax, edx
mov edx, dword [ebp - 0x40]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [esi + eax*4 + 0x121c]
and ecx, 0xf
add eax, dword [esi + ecx*4 + 0x11dc]
mov ecx, dword [ebp - 0x54]
add eax, dword [ebp - 0x48]
cmp eax, dword [ecx - 0xc]
jae 0x1000de95
mov dword [ecx - 0xc], eax
mov eax, dword [ebp - 0x2c]
add eax, 4
mov dword [ecx - 4], ebx
mov dword [ecx], eax
xor eax, eax
mov word [ecx - 6], ax
cmp ebx, dword [esi + edx*4 + 0x948]
lea eax, [esi + 0x948]
jne 0x1000deaf
add edx, 2
mov dword [ebp - 0x40], edx
cmp edx, dword [ebp - 0x38]
je 0x1000debf
add dword [ebp - 0x30], 4
inc ebx
sub edi, 0xffffff80
add ecx, 0x20
jmp 0x1000ddf1
mov edi, dword [ebp - 0x34]
mov ebx, 1
mov dword [ebp - 0x3c], ebx
cmp edi, ebx
je 0x1000eb71
mov dword [ebp - 0x34], edi
nop word [eax + eax]
cmp ebx, 0x7c0
jae 0x1000eb0f
lea edx, [ebp - 0x5c]
mov ecx, esi
call fcn.10011700
mov ecx, eax
mov dword [ebp - 0x80], ecx
cmp ecx, dword [esi + 0x30]
jae 0x1000eb04
mov ecx, dword [ebp - 0x3c]
inc dword [ebp - 0x70]
shl ebx, 5
add ebx, esi
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebx + 0xbcac]
sub ecx, eax
cmp eax, 1
jne 0x1000df4d
shl ecx, 5
mov edx, 0x10129688
cmp dword [ebx + 0xbcb0], 0
mov eax, 0x10129664
cmove eax, edx
mov edx, dword [ebp - 0x6c]
movzx ecx, word [ecx + esi + 0xbca8]
movzx ecx, byte [ecx + eax]
mov dword [ebp - 0x44], ecx
jmp 0x1000e036
movzx eax, word [ebx + 0xbcaa]
mov edx, dword [ebx + 0xbcb0]
test ax, ax
je 0x1000df7e
sub ecx, eax
mov dword [ebp - 0x44], 8
cmp word [ebx + 0xbcaa], 1
jne 0x1000dfa3
cmp edx, 4
sbb eax, eax
neg eax
add eax, 7
jmp 0x1000dfa0
mov eax, ecx
shl eax, 5
movzx eax, word [eax + esi + 0xbca8]
cmp edx, 4
jae 0x1000df99
movzx eax, byte [eax + 0x1012967c]
jmp 0x1000dfa0
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_v]
mov dword [ebp - 0x44], eax
shl ecx, 5
lea eax, [ecx + 0xbca4]
mov ecx, dword [eax + esi + 0x10]
add eax, esi
mov dword [ebp - 0x74], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x50], ecx
cmp edx, 4
jae 0x1000e015
test edx, edx
jne 0x1000dfd8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x50], ecx
jmp 0x1000e027
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], ecx
cmp edx, 1
jne 0x1000dffa
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x50], ecx
jmp 0x1000e02d
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + edx*4 + 0x10]
xor edx, 1
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [eax + edx*4 + 0x10]
mov edx, ecx
jmp 0x1000e030
mov esi, dword [ebp - 0x74]
add edx, 0xfffffffd
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x74]
mov word [ebx + 0xbca8], cx
mov dword [ebx + 0xbcb4], edx
mov dword [ebx + 0xbcb8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0xbcbc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0xbcc0], eax
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
call eax
mov edx, dword [ebx + 0xbca4]
lea ecx, [eax - 1]
mov al, byte [ecx]
mov byte [ebp - 0x25], al
mov dword [ebp - 0x4c], ecx
sub ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x54], ecx
mov al, byte [ecx]
mov ecx, dword [ebp - 0x70]
and ecx, dword [esi + 0x4c]
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x44]
shl eax, 4
add eax, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x7c], eax
movzx ecx, word [esi + eax*2 + 0x1e9c]
mov eax, ecx
shr ecx, 4
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x748]
add eax, edx
mov dword [ebp - 0x68], eax
mov eax, dword [esi + ecx*4 + 0x748]
add eax, edx
xor edx, edx
mov dword [ebp - 0x38], edx
mov edx, dword [ebx + 0xbcc4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x58], edx
cmp edx, 0x40000000
jae 0x1000e0e0
mov cl, byte [ebp - 0x25]
cmp byte [ebp - 0x26], cl
je 0x1000e0e4
cmp eax, edx
jbe 0x1000e0f0
mov dword [ebp - 0x30], 0
jmp 0x1000e1ab
mov eax, dword [ebp - 0x4c]
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 - 0x44], 7
lea ecx, [edx + edx*2]
movzx edx, byte [ebp - 0x25]
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x60], ecx
jb 0x1000e133
lea eax, [esi + 0x748]
push eax
movzx eax, byte [ebp - 0x26]
push eax
call fcn.1000f480
jmp 0x1000e170
mov edi, dword [ebp - 0x60]
xor ebx, ebx
or edx, 0x100
nop
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
movzx eax, word [edi + edx*2]
and ecx, 0x7f
shr eax, 4
xor eax, ecx
add ebx, dword [esi + eax*4 + 0x748]
cmp edx, 2
jae 0x1000e140
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x58]
add ecx, eax
mov dword [ebp - 0x30], ecx
cmp ecx, edx
jae 0x1000e1ab
xor eax, eax
mov dword [ebx + 0xbcc4], ecx
mov dword [ebx + 0xbccc], 1
mov edx, ecx
mov dword [ebx + 0xbcd0], 0xffffffff
mov word [ebx + 0xbcca], ax
mov dword [ebp - 0x38], 1
mov ecx, dword [ebp - 0x44]
mov ebx, 0x7ff
sub ebx, dword [ebp - 0x3c]
lea eax, [ecx + 0xf1e]
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 + 0x748]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x28]
cmp eax, ebx
cmovbe ebx, eax
mov al, byte [ebp - 0x26]
mov ah, byte [ebp - 0x25]
mov dword [ebp - 0x64], ebx
mov ebx, dword [ebp - 0x2c]
cmp ecx, 7
jae 0x1000e28a
cmp al, ah
jne 0x1000e28a
cmp dword [ebp - 0x88], edx
jae 0x1000e28a
cmp dword [ebx + 0xbccc], 2
jb 0x1000e223
cmp dword [ebx + 0xbcd0], 0
je 0x1000e28a
mov eax, dword [ebp - 0x7c]
movzx ecx, word [esi + eax*2 + 0x201c]
mov eax, dword [ebp - 0x44]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x1e54]
mov ecx, dword [esi + ecx*4 + 0x748]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x748]
add ecx, dword [ebp - 0x88]
cmp ecx, edx
jae 0x1000e284
xor eax, eax
mov dword [ebx + 0xbcc4], ecx
mov word [ebx + 0xbcca], ax
xor edx, edx
mov al, byte [ebp - 0x26]
mov ah, byte [ebp - 0x25]
mov dword [ebx + 0xbccc], 1
mov dword [ebx + 0xbcd0], 0
jmp 0x1000e28d
mov al, byte [ebp - 0x26]
mov ah, byte [ebp - 0x25]
mov edx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x64]
cmp ebx, 2
jb 0x1000eaf0
mov ecx, dword [esi + 0x30]
cmp ebx, ecx
cmova ebx, ecx
mov dword [ebp - 0x58], ebx
test edx, edx
jne 0x1000e3f1
cmp dword [ebp - 0x30], edx
je 0x1000e3f1
cmp al, ah
je 0x1000e3f1
cmp dword [ebp - 0x64], 2
jbe 0x1000e3f1
mov edx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x54]
mov al, byte [edx + 1]
cmp al, byte [ebx + 1]
jne 0x1000e3f1
mov al, byte [edx + 2]
cmp al, byte [ebx + 2]
jne 0x1000e3f1
mov edi, dword [ebp - 0x64]
lea eax, [ecx + 1]
cmp eax, edi
mov edx, 3
mov dword [ebp - 0x38], edx
cmovbe edi, eax
cmp edi, edx
jbe 0x1000e315
lea ecx, [ebx + 3]
mov ebx, dword [ebp - 0x4c]
sub ebx, dword [ebp - 0x54]
mov al, byte [ebx + ecx]
cmp al, byte [ecx]
jne 0x1000e312
inc edx
inc ecx
cmp edx, edi
jb 0x1000e305
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x3c]
inc ebx
and ebx, dword [esi + 0x4c]
add ecx, edx
movzx edi, byte [eax + 0x10129664]
mov eax, ecx
cmp dword [ebp - 0x34], ecx
mov edx, edi
mov dword [ebp - 0x54], ecx
cmovae eax, dword [ebp - 0x34]
movzx ecx, word [esi + edi*2 + 0x1e3c]
mov dword [ebp - 0x34], eax
xor ecx, 0x7f0
shl edx, 4
add edx, ebx
dec dword [ebp - 0x38]
shr ecx, 4
movzx eax, word [esi + edx*2 + 0x201c]
mov ecx, dword [esi + ecx*4 + 0x748]
xor eax, 0x7f0
shr eax, 4
add ecx, dword [esi + eax*4 + 0x748]
movzx eax, word [esi + edx*2 + 0x1e9c]
mov edx, ecx
xor eax, 0x7f0
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x38]
shr eax, 4
add edx, dword [esi + eax*4 + 0x748]
movzx eax, word [esi + edi*2 + 0x1e54]
mov edi, dword [ebp - 0x34]
shr eax, 4
add edx, dword [esi + eax*4 + 0x748]
imul eax, ebx, 0x110
add eax, ecx
add edx, dword [esi + eax*4 + 0x789c]
mov eax, dword [ebp - 0x54]
add edx, dword [ebp - 0x30]
shl eax, 5
cmp edx, dword [eax + esi + 0xbca4]
jae 0x1000e3f1
mov dword [eax + esi + 0xbcac], ecx
mov ecx, 1
mov dword [eax + esi + 0xbca4], edx
mov dword [eax + esi + 0xbcb0], 0
mov word [eax + esi + 0xbcaa], cx
mov dword [ebp - 0x34], edi
xor ebx, ebx
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x38], ebx
nop dword [eax]
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp + ebx*4 - 0x14]
sub ecx, edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x60], ecx
mov al, byte [eax]
cmp al, byte [ecx]
jne 0x1000e74d
mov eax, dword [ebp - 0x4c]
mov al, byte [eax + 1]
cmp al, byte [ecx + 1]
jne 0x1000e74d
mov edi, 2
mov dword [ebp - 0x30], edi
cmp dword [ebp - 0x58], edi
jbe 0x1000e453
mov esi, dword [ebp - 0x58]
add ecx, edi
nop
mov al, byte [edx + ecx]
cmp al, byte [ecx]
jne 0x1000e44d
inc edi
inc ecx
cmp edi, esi
jb 0x1000e440
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x30], edi
mov ecx, dword [ebp - 0x3c]
mov edx, edi
add ecx, edi
cmp dword [ebp - 0x34], ecx
mov eax, ecx
mov dword [ebp - 0x8c], ecx
cmovae eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
movzx ecx, word [esi + eax*2 + 0x1e54]
test ebx, ebx
jne 0x1000e4a4
mov eax, dword [ebp - 0x7c]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x201c]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x748]
add eax, dword [esi + ecx*4 + 0x748]
jmp 0x1000e50c
xor ecx, 0x7f0
shr ecx, 4
cmp dword [ebp - 0x38], 1
mov eax, dword [esi + ecx*4 + 0x748]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
movzx ebx, word [esi + ecx*2 + 0x1e6c]
jne 0x1000e4d4
shr ebx, 4
add eax, dword [esi + ebx*4 + 0x748]
jmp 0x1000e50c
movzx ecx, word [esi + ecx*2 + 0x1e84]
mov eax, 2
sub eax, dword [ebp - 0x38]
xor ebx, 0x7f0
shr eax, 4
and eax, 0x7f
shr ecx, 4
xor ecx, eax
shr ebx, 4
mov eax, dword [esi + ecx*4 + 0x748]
add eax, dword [esi + ebx*4 + 0x748]
add dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x88]
mov dword [ebp - 0x40], eax
imul eax, dword [ebp - 0x48], 0x110
mov dword [ebp - 0x90], eax
add eax, 0x1e27
add eax, edi
mov edi, dword [ebp - 0x38]
lea ebx, [esi + eax*4]
mov eax, dword [ebp - 0x8c]
shl eax, 5
add eax, 0xbcb0
add eax, esi
nop
mov ecx, dword [ebx]
add ecx, dword [ebp - 0x40]
cmp ecx, dword [eax - 0xc]
jae 0x1000e558
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov dword [eax - 4], edx
mov dword [eax], edi
mov word [eax - 6], cx
dec edx
sub ebx, 4
sub eax, 0x20
cmp edx, 2
jae 0x1000e540
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x38]
lea ecx, [edi + 1]
test ebx, ebx
jne 0x1000e574
mov dword [ebp - 0x2c], ecx
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0x64]
add eax, ecx
cmp eax, edx
cmovbe edx, eax
add ecx, 2
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x8c], ecx
cmp ecx, edx
ja 0x1000e74a
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x34], eax
add edx, ecx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x94], edx
mov al, byte [ecx + eax - 2]
cmp al, byte [edx - 2]
jne 0x1000e74a
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x4c]
mov al, byte [eax + ecx - 1]
cmp al, byte [edx - 1]
jne 0x1000e74a
mov edx, dword [ebp - 0x30]
lea eax, [esi + 0x748]
mov ecx, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x4c]
add ecx, edi
push eax
mov eax, dword [ebp - 0x60]
mov edi, ecx
and edi, dword [esi + 0x4c]
shl ecx, 8
movzx eax, byte [edx + eax]
push eax
mov eax, edx
mov edx, dword [ebp - 0x4c]
movzx edx, byte [eax + edx]
movzx eax, byte [ebx + 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 ecx, [eax + ecx*2]
call fcn.1000f480
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
movzx ecx, byte [ecx + 0x1012967c]
shl ecx, 4
add ecx, edi
movzx ecx, word [esi + ecx*2 + 0x1e9c]
shr ecx, 4
add eax, dword [esi + ecx*4 + 0x748]
mov ecx, dword [ebp - 0x90]
add ecx, dword [ebp - 0x30]
add eax, dword [esi + ecx*4 + 0x789c]
add edx, eax
lea eax, [edi + 1]
and eax, dword [esi + 0x4c]
mov dword [ebp - 0x90], eax
mov edi, dword [ebp - 0x9c]
movzx ecx, word [esi + eax*2 + 0x20bc]
movzx eax, word [esi + eax*2 + 0x1f3c]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x748]
add ecx, dword [esi + eax*4 + 0x748]
movzx eax, word [esi + 0x1e46]
xor eax, 0x7f0
shr eax, 4
add ecx, dword [esi + eax*4 + 0x748]
movzx eax, word [esi + 0x1e5e]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x748]
add edx, ecx
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x8c]
cmp edx, edi
jae 0x1000e6e0
mov ecx, dword [ebp - 0x94]
mov ebx, dword [ebp - 0x98]
mov al, byte [ecx + ebx]
cmp al, byte [ecx]
jne 0x1000e6e0
inc edx
inc ecx
cmp edx, edi
jb 0x1000e6d3
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
add edi, edx
mov ecx, edi
cmp dword [ebp - 0x54], ecx
cmovae edi, dword [ebp - 0x54]
or eax, 0xffffffff
sub eax, ebx
shl ecx, 5
add edx, eax
mov dword [ebp - 0x34], edi
imul eax, dword [ebp - 0x90], 0x110
add eax, edx
mov eax, dword [esi + eax*4 + 0x789c]
add eax, dword [ebp - 0x40]
cmp eax, dword [ecx + esi + 0xbca4]
jae 0x1000e745
mov dword [ecx + esi + 0xbca4], eax
lea eax, [ebx + 1]
mov ebx, dword [ebp - 0x38]
mov dword [ecx + esi + 0xbcac], edx
mov word [ecx + esi + 0xbcaa], ax
mov dword [ecx + esi + 0xbcb0], ebx
mov dword [ebp - 0x34], edi
jmp 0x1000e74d
mov ebx, dword [ebp - 0x38]
jmp 0x1000e74d
mov edi, dword [ebp - 0x34]
inc ebx
mov dword [ebp - 0x38], ebx
cmp ebx, 4
jb 0x1000e400
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x80]
cmp edx, eax
jbe 0x1000e78d
mov edx, eax
xor ecx, ecx
xor eax, eax
cmp edx, dword [esi + 0x948]
jbe 0x1000e780
add eax, 2
mov ecx, eax
cmp edx, dword [esi + eax*4 + 0x948]
ja 0x1000e772
mov dword [esi + eax*4 + 0x948], edx
lea eax, [ecx + 2]
mov dword [ebp - 0x5c], eax
cmp edx, dword [ebp - 0x2c]
jb 0x1000eaf0
mov eax, dword [ebp - 0x84]
movzx eax, word [eax]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x748]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x3c]
add eax, edx
cmp edi, eax
cmovae eax, edi
mov edi, dword [ebp - 0x2c]
xor ebx, ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x58], ebx
cmp edi, dword [esi + 0x948]
jbe 0x1000e7df
nop
add ebx, 2
cmp edi, dword [esi + ebx*4 + 0x948]
ja 0x1000e7d0
mov dword [ebp - 0x58], ebx
lea eax, [ebx*4]
mov ebx, dword [ebp - 0x2c]
mov edx, dword [eax + esi + 0x94c]
cmp edx, 0x20000
mov dword [ebp - 0x68], eax
mov eax, edx
sbb ecx, ecx
mov dword [ebp - 0x7c], edx
and ecx, 0xfffffff6
add ecx, 0x10
shr eax, cl
movzx eax, byte [eax + esi + 0x2c9c]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
add eax, edi
add edi, 3
shl eax, 8
mov dword [ebp - 0x54], eax
imul eax, dword [ebp - 0x48], 0x110
add eax, 0xd26
add eax, ebx
add ebx, dword [ebp - 0x3c]
shl ebx, 5
add ebx, 0xbcb0
add ebx, esi
lea ecx, [esi + eax*4]
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffffd
mov dword [ebp - 0x98], eax
mov eax, dword [ecx]
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x2c], ecx
mov ecx, 3
mov dword [ebp - 0x80], eax
lea eax, [edi - 5]
cmp eax, ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], edi
cmovb ecx, eax
mov eax, edx
cmp edx, 0x80
jae 0x1000e88e
shl ecx, 7
and eax, 0x7f
add ecx, eax
mov ecx, dword [esi + ecx*4 + 0x161c]
jmp 0x1000e8a8
shl ecx, 6
and eax, 0xf
add ecx, dword [ebp - 0x88]
mov ecx, dword [esi + ecx*4 + 0x121c]
add ecx, dword [esi + eax*4 + 0x11dc]
mov eax, dword [ebp - 0x80]
add eax, ecx
mov dword [ebp - 0x94], eax
cmp eax, dword [ebx - 0xc]
jae 0x1000e8cc
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 - 0x60], ecx
cmp ecx, dword [eax + esi + 0x948]
jne 0x1000ead7
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x4c]
add eax, 0xfffffffe
mov ebx, dword [ebp - 0x64]
sub ecx, edx
add eax, edi
dec ecx
cmp eax, ebx
mov dword [ebp - 0x48], ecx
mov edx, edi
cmovbe ebx, eax
mov dword [ebp - 0x68], edx
cmp edi, ebx
ja 0x1000ea8f
mov eax, dword [ebp - 0x4c]
mov al, byte [edi + eax - 2]
cmp al, byte [edi + ecx - 2]
jne 0x1000ea8f
mov eax, dword [ebp - 0x4c]
mov al, byte [eax + edi - 1]
cmp al, byte [edi + ecx - 1]
jne 0x1000ea8f
cmp edi, ebx
jae 0x1000e953
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
add ecx, edi
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x80], eax
mov edi, eax
nop
mov al, byte [ecx]
cmp al, byte [edi + ecx]
jne 0x1000e94d
inc edx
inc ecx
cmp edx, ebx
jb 0x1000e940
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x30]
add eax, 0xfffffffd
add edi, eax
lea eax, [esi + 0x748]
push eax
mov eax, dword [ebp - 0x48]
and edi, dword [esi + 0x4c]
movzx eax, byte [ecx + eax - 3]
push eax
mov eax, dword [ebp - 0x98]
movzx edx, byte [eax + ecx]
mov eax, dword [ebp - 0x4c]
movzx eax, byte [ecx + eax - 4]
add eax, dword [ebp - 0x54]
and eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x94]
shl eax, cl
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x50]
lea ecx, [eax + ecx*2]
call fcn.1000f480
mov ecx, dword [ebp - 0x44]
lea edx, [edi + 1]
and edx, dword [esi + 0x4c]
mov ebx, dword [ebp - 0x68]
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
mov edi, dword [ebp - 0x3c]
add edi, ebx
movzx ecx, word [esi + ecx*2 + 0x1e9c]
shr ecx, 4
add eax, dword [esi + ecx*4 + 0x748]
add eax, dword [ebp - 0x94]
cmp dword [ebp - 0x34], edi
movzx ecx, word [esi + edx*2 + 0x209c]
mov dword [ebp - 0x80], eax
mov eax, edi
cmovae eax, dword [ebp - 0x34]
xor ecx, 0x7f0
mov dword [ebp - 0x34], eax
or eax, 0xffffffff
sub eax, dword [ebp - 0x60]
add ebx, eax
shr ecx, 4
movzx eax, word [esi + edx*2 + 0x1f1c]
xor eax, 0x7f0
shl edi, 5
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x748]
add ecx, dword [esi + eax*4 + 0x748]
movzx eax, word [esi + 0x1e44]
xor eax, 0x7f0
shr eax, 4
add ecx, dword [esi + eax*4 + 0x748]
movzx eax, word [esi + 0x1e5c]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x748]
imul eax, edx, 0x110
add eax, ebx
add ecx, dword [esi + eax*4 + 0x789c]
add ecx, dword [ebp - 0x80]
cmp ecx, dword [edi + esi + 0xbca4]
jae 0x1000ea8c
mov eax, dword [ebp - 0x60]
inc eax
mov dword [edi + esi + 0xbcac], ebx
mov ebx, dword [ebp - 0x34]
mov word [edi + esi + 0xbcaa], ax
mov eax, dword [ebp - 0x7c]
add eax, 4
mov dword [edi + esi + 0xbca4], ecx
mov dword [edi + esi + 0xbcb0], eax
mov dword [ebp - 0x34], ebx
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x58]
add ebx, 2
mov dword [ebp - 0x58], ebx
cmp ebx, dword [ebp - 0x5c]
je 0x1000eaed
lea eax, [ebx*4]
mov ebx, dword [ebp - 0x40]
mov edx, dword [eax + esi + 0x94c]
cmp edx, 0x20000
mov dword [ebp - 0x68], eax
mov eax, edx
sbb ecx, ecx
mov dword [ebp - 0x7c], edx
and ecx, 0xfffffff6
add ecx, 0x10
shr eax, cl
movzx eax, byte [eax + esi + 0x2c9c]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x2c]
add ebx, 0x20
add dword [ebp - 0x54], 0x100
add ecx, 4
inc edi
jmp 0x1000e852
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x3c]
inc ebx
mov dword [ebp - 0x3c], ebx
cmp ebx, edi
jne 0x1000dee0
jmp 0x1000eb71
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], ecx
jmp 0x1000eb71
mov ecx, dword [ebp - 0x3c]
mov eax, ebx
shl eax, 5
lea edx, [ecx + 1]
mov ebx, dword [eax + esi + 0xbca4]
mov eax, ecx
mov dword [ebp - 0x2c], eax
cmp edx, edi
ja 0x1000eb59
nop word [eax + eax]
mov eax, edx
shl eax, 5
mov ecx, dword [eax + esi + 0xbca4]
cmp ebx, ecx
mov eax, edx
cmovb eax, dword [ebp - 0x2c]
inc edx
cmp ebx, ecx
mov dword [ebp - 0x2c], eax
cmovb ecx, ebx
mov ebx, ecx
cmp edx, edi
jbe 0x1000eb30
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov edx, eax
sub edx, ecx
je 0x1000eb6c
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
add dword [esi + 0x34], edx
call eax
mov eax, dword [ebp - 0x2c]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
mov eax, edi
shl eax, 5
add eax, 0xbca4
add eax, esi
nop dword [eax]
mov dword [eax], 0x40000000
lea eax, [eax - 0x20]
sub edi, 1
jne 0x1000eb80
inc ebx
mov edi, ebx
mov dword [esi + 0x1c], ebx
shl edi, 5
lea ecx, [edi + 0xbcac]
lea edx, [edi + 0xbcb0]
add ecx, esi
add edx, esi
mov eax, dword [ebp - 0x3c]
shl eax, 5
mov dword [ebp - 0x50], ebx
mov ebx, dword [eax + esi + 0xbcb0]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [eax + esi + 0xbcac]
mov dword [ebp - 0x84], ebx
movzx ebx, word [eax + esi + 0xbcaa]
mov eax, dword [ebp - 0x84]
sub dword [ebp - 0x3c], eax
test ebx, ebx
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x50]
je 0x1000ec54
dec ebx
mov dword [ecx - 0x20], eax
mov eax, dword [ebp - 0x5c]
sub edi, 0x20
sub dword [ebp - 0x3c], eax
sub ecx, 0x20
mov dword [ebp - 0x50], ebx
sub edx, 0x20
lea ebx, [edi + 0xbcb0]
add ebx, esi
mov dword [ebp - 0x84], ebx
mov ebx, dword [ebp - 0x50]
cmp eax, 1
jne 0x1000ec2c
mov ebx, dword [ebp - 0x84]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebx], esi
mov esi, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x50]
jmp 0x1000ec54
lea eax, [esi + edi]
sub edx, 0x20
mov dword [eax + 0xbcb0], 0
dec ebx
mov eax, dword [ebp - 0x5c]
sub edi, 0x20
dec eax
mov dword [ecx - 0x20], 1
sub ecx, 0x20
mov dword [edx], 0xffffffff
cmp dword [ebp - 0x3c], 0
je 0x1000ec74
mov esi, dword [ebp - 0x2c]
sub edx, 0x20
dec ebx
mov dword [ecx - 0x20], eax
sub edi, 0x20
sub ecx, 0x20
mov dword [edx], esi
mov esi, dword [ebp - 0x78]
jmp 0x1000eba7
mov ecx, dword [ebp - 0x2c]
pop edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x90], ecx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e0010
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.100e0010
mov esp, ebp
pop ebp
ret