Function at 0x1027b60
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov ecx, dword [ebp + 0xc]
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0xffffffff
cmp ecx, 0x400
jae 0x1027bb9
lea eax, [esi + 8]
push eax
add ecx, ecx
mov eax, 0xaaaaaaab
mul ecx
mov eax, dword [esi + 0xe8]
mov ecx, dword [eax + 0x2715c]
shr edx, 1
push edx
mov edx, dword [ebp + 0x20]
push edx
push ecx
call fcn.01022990
jmp 0x102941c
mov eax, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x20]
cmp eax, 4
jne 0x1027bd6
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 1
jmp 0x1027fb7
cmp eax, 5
je 0x102880d
cmp eax, 1
jne 0x102868e
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
push ecx
push edi
push ebx
push edx
push eax
push esi
call fcn.01027280
push esi
push edi
push ebx
call fcn.01026120
test eax, eax
jne 0x1028331
lea ecx, [ebx + 0x100]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x1c]
lea edx, [edi - 0x20]
mov dword [ebp - 8], edi
cmp ecx, edx
jae 0x1027fab
cmp byte [ecx + ebx + 5], 0xc3
jne 0x1027ddc
mov eax, dword [esi + 0xe8]
mov eax, dword [eax + 0x2715c]
mov cl, byte [ebx]
xor edx, edx
xor edi, edi
mov edi, edi
cmp cl, byte [edi + ebx]
jne 0x1027c91
inc edi
cmp edi, 2
jl 0x1027c50
cmp cl, byte [ebx + 1]
je 0x1027c65
mov edx, 1
cmp cl, byte [ebx + 2]
je 0x1027c6b
inc edx
cmp cl, byte [ebx + 3]
je 0x1027c71
inc edx
cmp cl, byte [ebx + 4]
je 0x1027c77
inc edx
cmp cl, byte [ebx + 5]
je 0x1027c7d
inc edx
cmp cl, byte [ebx + 6]
je 0x1027c83
inc edx
cmp cl, byte [ebx + 7]
je 0x1027c89
inc edx
test edx, edx
jl 0x1027dd6
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov ebx, edx
shld edx, ecx, 8
shr ebx, 0x18
movzx edi, bl
mov ebx, dword [ebp + 0x20]
movzx ebx, byte [ebx]
xor edi, ebx
xor edx, dword [eax + edi*8 + 4]
mov ebx, dword [ebp + 0x20]
shl ecx, 8
xor ecx, dword [eax + edi*8]
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
mov edi, edx
mov dword [ebp - 0x24], edi
movzx edi, byte [ebx + 1]
shr edx, 0x18
movzx edx, dl
xor edx, edi
mov edi, dword [ebp - 0x24]
shld edi, ecx, 8
xor edi, dword [eax + edx*8 + 4]
shl ecx, 8
xor ecx, dword [eax + edx*8]
mov dword [esi + 0xc], edi
mov dword [esi + 8], ecx
mov edx, edi
mov dword [ebp - 0x24], edi
movzx edi, byte [ebx + 2]
shr edx, 0x18
movzx edx, dl
xor edx, edi
mov edi, dword [ebp - 0x24]
shld edi, ecx, 8
xor edi, dword [eax + edx*8 + 4]
shl ecx, 8
xor ecx, dword [eax + edx*8]
mov dword [esi + 0xc], edi
mov edx, edi
mov dword [esi + 8], ecx
mov dword [ebp - 0x24], edi
movzx edi, byte [ebx + 3]
shr edx, 0x18
movzx edx, dl
xor edx, edi
mov edi, dword [ebp - 0x24]
shld edi, ecx, 8
xor edi, dword [eax + edx*8 + 4]
shl ecx, 8
xor ecx, dword [eax + edx*8]
mov dword [esi + 0xc], edi
mov edx, edi
mov dword [esi + 8], ecx
mov dword [ebp - 0x24], edi
movzx edi, byte [ebx + 4]
shr edx, 0x18
movzx edx, dl
xor edx, edi
mov edi, dword [ebp - 0x24]
shld edi, ecx, 8
xor edi, dword [eax + edx*8 + 4]
shl ecx, 8
xor ecx, dword [eax + edx*8]
mov edx, edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], ecx
mov dword [ebp - 0x24], edi
movzx edi, byte [ebx + 5]
shr edx, 0x18
movzx edx, dl
xor edx, edi
mov edi, dword [ebp - 0x24]
shld edi, ecx, 8
shl ecx, 8
xor ecx, dword [eax + edx*8]
xor edi, dword [eax + edx*8 + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
mov dword [ebp - 0x24], edi
mov edx, edi
movzx edi, byte [ebx + 6]
shr edx, 0x18
movzx edx, dl
xor edx, edi
mov edi, dword [ebp - 0x24]
shld edi, ecx, 8
xor edi, dword [eax + edx*8 + 4]
shl ecx, 8
xor ecx, dword [eax + edx*8]
mov edx, edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], ecx
mov dword [ebp - 0x24], edi
movzx edi, byte [ebx + 7]
shr edx, 0x18
movzx edx, dl
xor edx, edi
mov edi, dword [ebp - 0x24]
shld edi, ecx, 8
shl ecx, 8
xor ecx, dword [eax + edx*8]
xor edi, dword [eax + edx*8 + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
mov ecx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0xc]
cmp ecx, edi
jae 0x1027dfc
mov al, byte [ecx + ebx]
cmp al, 0x60
je 0x1027df7
cmp al, 0x66
je 0x1027df7
cmp al, 0x9c
je 0x1027df7
cmp al, 0x90
je 0x1027df7
cmp al, 0x65
jne 0x1027dfc
inc ecx
cmp ecx, edi
jb 0x1027de0
add ecx, ebx
cmp byte [ecx], 0xe8
jne 0x1027fab
mov eax, dword [esi + 0xe8]
mov eax, dword [eax + 0x2715c]
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp + 0x24], edx
mov dl, byte [ecx]
mov byte [ebp + 0xb], dl
mov edi, dword [ebp + 0x24]
cmp dl, byte [edi + ecx]
jne 0x1027e6a
inc edi
cmp edi, 2
mov dword [ebp + 0x24], edi
jl 0x1027e20
mov edi, 1
cmp dl, byte [ecx + 1]
jne 0x1027e3e
mov edi, dword [ebp - 0x24]
cmp dl, byte [ecx + 2]
je 0x1027e44
inc edi
cmp dl, byte [ecx + 3]
je 0x1027e4a
inc edi
cmp dl, byte [ecx + 4]
je 0x1027e50
inc edi
cmp dl, byte [ecx + 5]
je 0x1027e56
inc edi
cmp dl, byte [ecx + 6]
je 0x1027e5c
inc edi
cmp dl, byte [ecx + 7]
je 0x1027e62
inc edi
test edi, edi
jl 0x1027fab
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 8]
movzx ebx, byte [ebp + 0xb]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 1]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 2]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [ebp - 0x24], edx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 3]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x24], edx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 4]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [ebp - 0x24], edx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 5]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
shl edi, 8
xor edi, dword [eax + edx*8]
xor ebx, dword [eax + edx*8 + 4]
mov dword [esi + 8], edi
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x24], edx
movzx ebx, byte [ecx + 6]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], edi
movzx ecx, byte [ecx + 7]
shr edx, 0x18
shld ebx, edi, 8
movzx edx, dl
xor edx, ecx
shl edi, 8
xor edi, dword [eax + edx*8]
xor ebx, dword [eax + edx*8 + 4]
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
mov ebx, dword [ebp + 0x20]
mov edx, dword [ebp + 0xc]
cmp dword [ebp + 0x14], edx
ja 0x1028331
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
sub edx, ebx
lea eax, [ecx - 0x80]
add ecx, edx
cmp ecx, eax
jbe 0x1027fe3
mov edx, dword [ebp - 8]
jmp 0x1027fd0
sub ecx, 0x200
sub edx, 0x200
cmp ecx, eax
ja 0x1027fd0
mov dword [ebp - 8], edx
mov eax, dword [esi + 0xe4]
cmp dword [eax + 0x1c], 0
mov dword [ebp + 8], 0
jbe 0x10280ce
add eax, 0x30
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 8]
push ecx
push eax
mov eax, dword [ebp - 0x1c]
push edx
push eax
call fcn.0101c180
mov edi, eax
sub edi, ebx
cmp edi, 0x14
jbe 0x10280b4
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffc00
cmp edi, ecx
jae 0x10280b4
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x1028067
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0xe4]
mov edx, dword [eax + ecx*4 + 0xe54]
lea eax, [eax + ecx*4]
push edx
add eax, 0xe40
push eax
push 0x54
lea eax, [edi + ebx - 0x20]
push eax
call fcn.0101c180
test eax, eax
je 0x10280b4
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 0x18]
cmp ecx, 7
je 0x1028349
cmp ecx, 6
je 0x102837f
mov eax, dword [eax + 0x20]
test eax, eax
je 0x102808f
add eax, edi
cmp eax, dword [ebp + 0xc]
jae 0x102808f
mov edi, eax
cmp ecx, 2
je 0x102839f
mov eax, dword [ebp - 4]
cmp edi, eax
jbe 0x10280ab
test eax, eax
jne 0x10280b4
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
jmp 0x10280b1
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0xe4]
add dword [ebp + 0x24], 0x24
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ecx + 0x1c]
jb 0x1028000
cmp dword [ebp - 0x14], 0
jne 0x102831d
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp + 0x10]
dec edi
mov dword [ebp - 8], edi
cmp ecx, eax
jbe 0x10280f0
sub eax, ecx
add edi, eax
mov dword [ebp - 8], edi
cmp edi, 0x400
jbe 0x1028128
mov al, byte [ebx + edi - 1]
test al, al
je 0x102811c
cmp al, 0x50
je 0x102811c
cmp al, 0x41
je 0x102811c
cmp al, 0x44
je 0x102811c
cmp al, 0x49
je 0x102811c
cmp al, 0x4e
je 0x102811c
cmp al, 0x47
je 0x102811c
cmp al, 0x58
jne 0x1028125
dec edi
cmp edi, 0x400
ja 0x10280f8
mov dword [ebp - 8], edi
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x1c]
shr edx, 1
add edx, dword [ebp + 0x28]
cmp ecx, edx
ja 0x102814e
mov edx, edi
imul edx, edx, 0xb
mov eax, 0xaaaaaaab
mul edx
shr edx, 3
cmp ecx, edx
jbe 0x10282c6
lea eax, [ecx + ebx]
xor edx, edx
mov dword [ebp + 8], eax
add eax, 0xfffffffe
lea ecx, [edx + 8]
lea esp, [esp]
cmp byte [eax + 2], 0
jne 0x1028167
inc edx
cmp byte [eax + 1], 0
jne 0x102816e
inc edx
cmp byte [eax], 0
jne 0x1028174
inc edx
cmp byte [eax - 1], 0
jne 0x102817b
inc edx
sub eax, 4
sub ecx, 1
jne 0x1028160
cmp edx, 0x10
jl 0x10282c6
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xe8]
mov eax, dword [eax + 0x2715c]
xor edx, edx
mov dword [ebp + 8], edx
mov dword [ebp + 0x24], edx
mov dl, byte [ecx]
mov edi, dword [ebp + 0x24]
cmp dl, byte [edi + ecx]
jne 0x1028202
inc edi
cmp edi, 4
mov dword [ebp + 0x24], edi
jl 0x10281a5
lea edi, [ecx + 1]
mov dword [ebp + 0x24], edi
mov dword [ebp - 0x1c], 4
mov edi, dword [ebp + 0x24]
cmp dl, byte [edi - 1]
je 0x10281ce
inc dword [ebp + 8]
mov edi, dword [ebp + 0x24]
cmp dl, byte [edi]
je 0x10281d8
inc dword [ebp + 8]
mov edi, dword [ebp + 0x24]
cmp dl, byte [edi + 1]
je 0x10281e3
inc dword [ebp + 8]
mov edi, dword [ebp + 0x24]
cmp dl, byte [edi + 2]
je 0x10281ee
inc dword [ebp + 8]
add dword [ebp + 0x24], 4
sub dword [ebp - 0x1c], 1
jne 0x10281c3
cmp dword [ebp + 8], 1
jl 0x10282c3
mov dword [ebp + 8], 4
lea esp, [esp]
mov edx, dword [esi + 0xc]
movzx ebx, byte [ecx]
mov edi, dword [esi + 8]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 1]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x24], edx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 2]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x24], edx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 3]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
add ecx, 4
sub dword [ebp + 8], 1
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
jne 0x1028210
mov ebx, dword [ebp + 0x20]
mov edi, dword [ebp - 8]
lea eax, [edi*8]
sub eax, edi
shr eax, 3
lea ecx, [edi - 0x200]
cmp ecx, eax
jbe 0x10282de
mov eax, ecx
mov edx, dword [ebp + 0x1c]
cmp edx, eax
jbe 0x102831d
mov ecx, 0xe
mov eax, 0x1009eb0
lea edi, [edx + ebx + 0xe]
mov edx, dword [edi]
cmp edx, dword [eax]
jne 0x1028315
sub ecx, 4
add eax, 4
add edi, 4
cmp ecx, 4
jae 0x10282f3
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x1028315
mov dl, byte [eax + 1]
cmp dl, byte [edi + 1]
je 0x102831d
xor dword [esi + 8], 2
xor dword [esi + 0xc], 0
cmp dword [ebp - 0x20], 0xffffffff
jne 0x1028403
cmp dword [ebp - 0x14], 0
jne 0x10291a3
mov ecx, dword [ebp + 0xc]
push ecx
push esi
call fcn.01026c50
pop edi
pop esi
mov eax, 0x9641
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov ecx, dword [esi + 0xb0]
mov edx, dword [ebp + 0xc]
sub edx, ecx
mov eax, 0xcccccccd
mul edx
shr edx, 3
lea eax, [esi + 8]
push eax
add ecx, edx
push edx
add ecx, ebx
push ecx
mov ecx, dword [esi + 0xe8]
mov edx, dword [ecx + 0x2715c]
push edx
call fcn.01022990
jmp 0x102941c
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0xe8]
lea eax, [esi + 8]
push eax
mov eax, dword [edx + 0x2715c]
push ecx
push ebx
push eax
call fcn.01022e00
jmp 0x102941c
mov ecx, dword [ebp + 0xc]
push 0x28
push 0x1009e84
sub ecx, edi
push ecx
lea edx, [edi + ebx]
push edx
call fcn.0101c180
sub eax, ebx
cmp eax, dword [ebp + 0xc]
jae 0x1028400
cmp eax, 0x14
jbe 0x1028400
cmp eax, 0x800
jbe 0x10283ce
lea edi, [eax - 0x400]
mov eax, 3
cmp edi, 0x400
jbe 0x10283f2
jmp 0x10283e0
mov cl, byte [edi + ebx]
cmp cl, byte [edi + ebx - 1]
jne 0x10283f2
dec edi
cmp edi, 0x400
ja 0x10283e0
sub edi, 0x10
sub eax, 1
jne 0x10283d3
sub edi, 0x200
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
lea edx, [ecx - 0x200]
mov dword [ebp + 0x24], eax
cmp eax, edx
jbe 0x102841e
mov eax, ecx
shr eax, 2
mov dword [ebp + 0x24], eax
add ebx, eax
mov eax, dword [esi + 0xe8]
mov eax, dword [eax + 0x2715c]
xor edx, edx
mov dword [ebp + 0x1c], edx
mov dword [ebp + 8], edx
mov dl, byte [ebx]
lea ecx, [esi + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0x18], ebx
nop
mov edi, dword [ebp + 8]
cmp dl, byte [edi + ebx]
jne 0x102849f
inc edi
cmp edi, 0x20
mov dword [ebp + 8], edi
jl 0x1028440
lea edi, [ebx + 1]
mov dword [ebp + 8], edi
mov dword [ebp - 0x20], 0x20
mov edi, edi
mov edi, dword [ebp + 8]
cmp dl, byte [edi - 1]
je 0x102846b
inc dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
cmp dl, byte [edi]
je 0x1028475
inc dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
cmp dl, byte [edi + 1]
je 0x1028480
inc dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
cmp dl, byte [edi + 2]
je 0x102848b
inc dword [ebp + 0x1c]
add dword [ebp + 8], 4
sub dword [ebp - 0x20], 1
jne 0x1028460
cmp dword [ebp + 0x1c], 8
jl 0x1028560
mov dword [ebp + 0x1c], 0x20
movzx ebx, byte [ebx]
mov edx, dword [ecx + 4]
mov edi, dword [ecx]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [ecx + 4], ebx
mov edx, ebx
mov ebx, dword [ebp + 0x18]
mov dword [ecx], edi
movzx ebx, byte [ebx + 1]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [ecx + 4], ebx
mov edx, ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x24], edx
mov dword [ecx], edi
movzx ebx, byte [ebx + 2]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [ecx + 4], ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x24], edx
mov dword [ecx], edi
movzx ebx, byte [ebx + 3]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [ecx + 4], ebx
mov ebx, dword [ebp + 0x18]
add ebx, 4
sub dword [ebp + 0x1c], 1
mov dword [ecx], edi
mov dword [ebp + 0x18], ebx
jne 0x10284a6
mov eax, dword [esi + 0xe8]
mov edx, dword [ebp - 0xc]
mov edi, dword [eax + 0x2715c]
mov bl, byte [edx + 0xc0]
add edx, 0xc0
xor eax, eax
mov dword [ebp + 8], edx
mov dword [ebp + 0x1c], eax
cmp bl, byte [eax + edx]
jne 0x10285ca
inc eax
cmp eax, 8
jl 0x1028583
lea eax, [edx + 1]
mov dword [ebp + 0x18], 8
cmp bl, byte [eax - 1]
je 0x10285a0
inc dword [ebp + 0x1c]
cmp bl, byte [eax]
je 0x10285a7
inc dword [ebp + 0x1c]
cmp bl, byte [eax + 1]
je 0x10285af
inc dword [ebp + 0x1c]
cmp bl, byte [eax + 2]
je 0x10285b7
inc dword [ebp + 0x1c]
add eax, 4
sub dword [ebp + 0x18], 1
jne 0x1028598
cmp dword [ebp + 0x1c], 2
jl 0x1029292
mov dword [ebp + 0x1c], 8
mov edx, dword [ecx + 4]
mov ebx, dword [ebp + 8]
movzx ebx, byte [ebx]
mov eax, dword [ecx]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, eax, 8
xor ebx, dword [edi + edx*8 + 4]
shl eax, 8
xor eax, dword [edi + edx*8]
mov dword [ecx + 4], ebx
mov edx, ebx
mov ebx, dword [ebp + 8]
mov dword [ecx], eax
movzx ebx, byte [ebx + 1]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, eax, 8
xor ebx, dword [edi + edx*8 + 4]
shl eax, 8
xor eax, dword [edi + edx*8]
mov dword [ecx + 4], ebx
mov edx, ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
mov dword [ecx], eax
movzx ebx, byte [ebx + 2]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, eax, 8
xor ebx, dword [edi + edx*8 + 4]
shl eax, 8
xor eax, dword [edi + edx*8]
mov edx, ebx
mov dword [ecx + 4], ebx
mov ebx, dword [ebp + 8]
add dword [ebp + 8], 4
mov dword [ebp - 0x24], edx
mov dword [ecx], eax
movzx ebx, byte [ebx + 3]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, eax, 8
xor ebx, dword [edi + edx*8 + 4]
shl eax, 8
xor eax, dword [edi + edx*8]
sub dword [ebp + 0x1c], 1
mov dword [ecx], eax
mov dword [ecx + 4], ebx
jne 0x10285d1
jmp 0x10293f8
cmp eax, 2
jne 0x10291a3
mov eax, dword [esi + 0x2c]
cmp eax, 0x100
jae 0x10287fa
test eax, eax
jbe 0x10287fa
add ecx, 0xffffffe0
cmp eax, ecx
jae 0x10287fa
lea ecx, [eax + ebx]
mov al, byte [ecx]
cmp al, 0xe0
jb 0x10287fa
cmp al, 0xf0
jae 0x10287fa
mov edx, dword [esi + 0xe8]
mov eax, dword [edx + 0x2715c]
xor edx, edx
mov dword [ebp + 8], edx
mov dword [ebp + 0x24], edx
mov dl, byte [ecx]
mov edi, dword [ebp + 0x24]
cmp dl, byte [edi + ecx]
jne 0x1028740
inc edi
cmp edi, 4
mov dword [ebp + 0x24], edi
jl 0x10286e3
lea edi, [ecx + 1]
mov dword [ebp + 0x24], edi
mov dword [ebp - 0x20], 4
mov edi, dword [ebp + 0x24]
cmp dl, byte [edi - 1]
je 0x102870c
inc dword [ebp + 8]
mov edi, dword [ebp + 0x24]
cmp dl, byte [edi]
je 0x1028716
inc dword [ebp + 8]
mov edi, dword [ebp + 0x24]
cmp dl, byte [edi + 1]
je 0x1028721
inc dword [ebp + 8]
mov edi, dword [ebp + 0x24]
cmp dl, byte [edi + 2]
je 0x102872c
inc dword [ebp + 8]
add dword [ebp + 0x24], 4
sub dword [ebp - 0x20], 1
jne 0x1028701
cmp dword [ebp + 8], 1
jl 0x10287fa
mov dword [ebp + 8], 4
mov edx, dword [esi + 0xc]
movzx ebx, byte [ecx]
mov edi, dword [esi + 8]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 1]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x24], edx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 2]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x24], edx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 3]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
add ecx, 4
sub dword [ebp + 8], 1
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
jne 0x1028747
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp + 0xc]
push esi
push eax
push ebx
call fcn.01026120
test eax, eax
jne 0x1028331
mov edi, dword [ebp + 0xc]
push 3
push 0x1009e48
push edi
push ebx
call fcn.0101c180
mov ecx, dword [ebp + 0x1c]
sub eax, ebx
cmp eax, 0x14
jbe 0x1028839
lea edx, [edi - 0x400]
cmp eax, edx
jae 0x1028839
add eax, 0x100
jmp 0x1028847
test ecx, ecx
je 0x1028844
mov eax, ecx
mov dword [ebp + 0x24], ecx
jmp 0x102884a
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x24], eax
lea ecx, [edi - 0x200]
cmp eax, ecx
jbe 0x102885c
mov eax, edi
shr eax, 2
mov dword [ebp + 0x24], eax
push 9
mov ecx, edi
push 0x1009e78
add ecx, 0xfffffff6
push ecx
push ebx
mov dword [ebp - 8], eax
sub edi, eax
call fcn.0101c180
test eax, eax
je 0x1028884
mov edi, dword [ebp + 0xc]
sub eax, ebx
mov dword [ebp - 8], eax
sub edi, eax
jmp 0x1028887
mov eax, dword [ebp - 8]
mov dword [ebp + 8], 0
mov edi, edi
mov edx, dword [ebp + 0xc]
lea ecx, [edx - 0x20]
cmp eax, ecx
ja 0x1028c8d
mov eax, dword [ebp - 8]
push 3
push 0x1009e48
push edi
add eax, ebx
push eax
call fcn.0101c180
sub eax, ebx
mov dword [ebp - 8], eax
cmp eax, 0x14
jbe 0x1028c8a
cmp eax, dword [ebp + 0xc]
jae 0x1028c8a
push 5
push 0x1009e70
mov ecx, eax
lea edi, [ecx + ebx]
push 0x20
push edi
call fcn.0101c180
test eax, eax
jne 0x10288f3
push 5
push 0x1009e68
push 0x20
push edi
call fcn.0101c180
test eax, eax
je 0x1028915
sub eax, dword [ebp - 8]
lea edx, [esi + 8]
push edx
sub eax, ebx
push eax
mov eax, dword [esi + 0xe8]
mov ecx, dword [eax + 0x2715c]
push edi
push ecx
call fcn.01022990
jmp 0x1028c5a
mov edx, dword [esi + 0xe8]
mov eax, dword [edx + 0x2715c]
mov dl, byte [edi]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
cmp dl, byte [ecx + edi]
jne 0x102896c
inc ecx
cmp ecx, 2
jl 0x1028928
mov ecx, 1
cmp dl, byte [edi + 1]
jne 0x1028940
mov ecx, dword [ebp - 0x24]
cmp dl, byte [edi + 2]
je 0x1028946
inc ecx
cmp dl, byte [edi + 3]
je 0x102894c
inc ecx
cmp dl, byte [edi + 4]
je 0x1028952
inc ecx
cmp dl, byte [edi + 5]
je 0x1028958
inc ecx
cmp dl, byte [edi + 6]
je 0x102895e
inc ecx
cmp dl, byte [edi + 7]
je 0x1028964
inc ecx
test ecx, ecx
jl 0x1028aac
movzx ebx, byte [edi]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x14], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x14]
shld ebx, ecx, 8
xor ebx, dword [eax + edx*8 + 4]
shl ecx, 8
xor ecx, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [esi + 8], ecx
movzx ebx, byte [edi + 1]
mov dword [ebp - 0x14], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x14]
shld ebx, ecx, 8
xor ebx, dword [eax + edx*8 + 4]
shl ecx, 8
xor ecx, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [esi + 8], ecx
movzx ebx, byte [edi + 2]
mov dword [ebp - 0x14], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x14]
shld ebx, ecx, 8
xor ebx, dword [eax + edx*8 + 4]
shl ecx, 8
xor ecx, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [ebp - 0x14], edx
mov dword [esi + 8], ecx
movzx ebx, byte [edi + 3]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x14]
shld ebx, ecx, 8
xor ebx, dword [eax + edx*8 + 4]
shl ecx, 8
xor ecx, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x14], edx
mov dword [esi + 8], ecx
movzx ebx, byte [edi + 4]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x14]
shld ebx, ecx, 8
xor ebx, dword [eax + edx*8 + 4]
shl ecx, 8
xor ecx, dword [eax + edx*8]
mov edx, ebx
mov dword [ebp - 0x14], edx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ecx
movzx ebx, byte [edi + 5]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x14]
shld ebx, ecx, 8
shl ecx, 8
xor ecx, dword [eax + edx*8]
xor ebx, dword [eax + edx*8 + 4]
mov dword [esi + 8], ecx
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x14], edx
movzx ebx, byte [edi + 6]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x14]
shld ebx, ecx, 8
xor ebx, dword [eax + edx*8 + 4]
shl ecx, 8
xor ecx, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ecx
movzx edi, byte [edi + 7]
shr edx, 0x18
shld ebx, ecx, 8
movzx edx, dl
xor edx, edi
shl ecx, 8
xor ecx, dword [eax + edx*8]
xor ebx, dword [eax + edx*8 + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ebx
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0xe8]
lea ecx, [eax + ebx + 0x10]
mov eax, dword [edx + 0x2715c]
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dl, byte [ecx]
lea esp, [esp]
mov edi, dword [ebp - 0x20]
cmp dl, byte [edi + ecx]
jne 0x1028b1a
inc edi
cmp edi, 2
mov dword [ebp - 0x20], edi
jl 0x1028ad0
mov edi, 1
cmp dl, byte [ecx + 1]
jne 0x1028aee
mov edi, dword [ebp - 0x24]
cmp dl, byte [ecx + 2]
je 0x1028af4
inc edi
cmp dl, byte [ecx + 3]
je 0x1028afa
inc edi
cmp dl, byte [ecx + 4]
je 0x1028b00
inc edi
cmp dl, byte [ecx + 5]
je 0x1028b06
inc edi
cmp dl, byte [ecx + 6]
je 0x1028b0c
inc edi
cmp dl, byte [ecx + 7]
je 0x1028b12
inc edi
test edi, edi
jl 0x1028c5a
movzx ebx, byte [ecx]
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 8]
mov dword [ebp - 0xc], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0xc]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 1]
mov dword [ebp - 0xc], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0xc]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 2]
mov dword [ebp - 0xc], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0xc]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [ebp - 0xc], edx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 3]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0xc]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0xc], edx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 4]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0xc]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [ebp - 0xc], edx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 5]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0xc]
shld ebx, edi, 8
shl edi, 8
xor edi, dword [eax + edx*8]
xor ebx, dword [eax + edx*8 + 4]
mov dword [esi + 8], edi
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0xc], edx
movzx ebx, byte [ecx + 6]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0xc]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], edi
movzx ecx, byte [ecx + 7]
shr edx, 0x18
shld ebx, edi, 8
movzx edx, dl
xor edx, ecx
shl edi, 8
xor edi, dword [eax + edx*8]
xor ebx, dword [eax + edx*8 + 4]
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
add eax, 0x18
inc ecx
sub edi, eax
mov dword [ebp - 8], eax
mov dword [ebp + 8], ecx
cmp ecx, 0xa
jb 0x1028890
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
push ebx
jmp 0x102940e
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x24]
lea edx, [edx + edx*4]
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
mov dword [ebp + 8], edx
mov ecx, dword [ebp + 0xc]
mov edx, 2
cmp edi, ecx
jae 0x1028cc5
lea esp, [esp]
mov al, byte [edi + ebx]
test al, al
je 0x1028cbb
cmp al, 0x90
jne 0x1028cc2
inc edi
cmp edi, ecx
jb 0x1028cb0
jmp 0x1028cc5
add edi, 0x10
sub edx, 1
jne 0x1028ca8
sub edi, 0x10
cmp edi, dword [ebp + 8]
ja 0x1028cdc
lea eax, [ecx - 0x400]
cmp edi, eax
jbe 0x1028ce2
mov edx, ecx
shr edx, 1
sub edi, edx
lea eax, [ecx - 0x200]
cmp edi, eax
jbe 0x1028cf1
mov edi, ecx
shr edi, 2
push 0x200
lea eax, [edi + ebx]
push eax
call fcn.01025eb0
fcomp qword [0x1009e60]
fnstsw ax
test ah, 5
jp 0x1028d66
mov edi, dword [ebp + 0x1c]
test edi, edi
ja 0x1028d16
mov edi, dword [ebp + 0x18]
add edi, 0xffffff80
cmp dword [ebp - 0x1c], 0
jne 0x1028d2b
mov dword [ebp - 0x1c], 1
jmp 0x1028ca0
mov eax, dword [ebp + 0xc]
shr eax, 1
cmp eax, 0x100000
jbe 0x1028d3c
mov eax, 0x100000
lea ecx, [esi + 8]
push ecx
push eax
mov eax, 0xaaaaaaab
mul dword [ebp + 0xc]
shr edx, 2
add edx, ebx
push edx
mov edx, dword [esi + 0xe8]
mov eax, dword [edx + 0x2715c]
push eax
call fcn.01022990
jmp 0x102941c
mov ecx, dword [ebp + 0xc]
lea eax, [ecx - 0x200]
cmp edi, eax
jbe 0x1028d78
mov edi, ecx
shr edi, 2
mov edx, dword [esi + 0xe8]
mov eax, dword [edx + 0x2715c]
xor edx, edx
lea ecx, [edi + ebx]
mov dword [ebp + 0x1c], edx
mov dword [ebp + 8], edx
mov dl, byte [ecx]
mov dword [ebp - 0xc], ecx
mov edi, dword [ebp + 8]
cmp dl, byte [edi + ecx]
jne 0x1028df1
inc edi
cmp edi, 4
mov dword [ebp + 8], edi
jl 0x1028d94
lea edi, [ecx + 1]
mov dword [ebp + 8], edi
mov dword [ebp + 0x18], 4
mov edi, dword [ebp + 8]
cmp dl, byte [edi - 1]
je 0x1028dbd
inc dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
cmp dl, byte [edi]
je 0x1028dc7
inc dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
cmp dl, byte [edi + 1]
je 0x1028dd2
inc dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
cmp dl, byte [edi + 2]
je 0x1028ddd
inc dword [ebp + 0x1c]
add dword [ebp + 8], 4
sub dword [ebp + 0x18], 1
jne 0x1028db2
cmp dword [ebp + 0x1c], 1
jl 0x1028eb3
mov dword [ebp + 0x1c], 4
jmp 0x1028e00
mov edx, dword [esi + 0xc]
movzx ebx, byte [ecx]
mov edi, dword [esi + 8]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 1]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x24], edx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 2]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x24], edx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 3]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
add ecx, 4
sub dword [ebp + 0x1c], 1
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
jne 0x1028e00
mov ebx, dword [ebp + 0x20]
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0xe8]
mov eax, dword [eax + 0x2715c]
add ecx, 0x40
xor edx, edx
mov dword [ebp + 0x1c], edx
mov dword [ebp + 8], edx
mov dl, byte [ecx]
nop
mov edi, dword [ebp + 8]
cmp dl, byte [edi + ecx]
jne 0x1028f45
inc edi
cmp edi, 3
mov dword [ebp + 8], edi
jl 0x1028ed0
lea edi, [ecx + 1]
mov dword [ebp + 8], edi
mov dword [ebp + 0x18], 2
mov edi, edi
mov edi, dword [ebp + 8]
cmp dl, byte [edi - 1]
je 0x1028efb
inc dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
cmp dl, byte [edi]
je 0x1028f05
inc dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
cmp dl, byte [edi + 1]
je 0x1028f10
inc dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
cmp dl, byte [edi + 2]
je 0x1028f1b
inc dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
cmp dl, byte [edi + 3]
je 0x1028f26
inc dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
cmp dl, byte [edi + 4]
je 0x1028f31
inc dword [ebp + 0x1c]
add dword [ebp + 8], 6
sub dword [ebp + 0x18], 1
jne 0x1028ef0
cmp dword [ebp + 0x1c], 0
jl 0x1029053
mov dword [ebp + 0x1c], 2
lea esp, [esp]
movzx ebx, byte [ecx]
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 8]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 1]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 2]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 3]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x24], edx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 4]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x24], edx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 5]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
add ecx, 6
sub dword [ebp + 0x1c], 1
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
jne 0x1028f50
mov ebx, dword [ebp + 0x20]
mov edx, dword [esi + 0xe8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x2715c]
sub ecx, 0xffffff80
xor edx, edx
mov dword [ebp + 0x1c], edx
mov dword [ebp + 8], edx
mov dl, byte [ecx]
nop
mov edi, dword [ebp + 8]
cmp dl, byte [edi + ecx]
jne 0x10290cf
inc edi
cmp edi, 0x10
mov dword [ebp + 8], edi
jl 0x1029070
lea edi, [ecx + 1]
mov dword [ebp + 8], edi
mov dword [ebp + 0x18], 0x10
mov edi, edi
mov edi, dword [ebp + 8]
cmp dl, byte [edi - 1]
je 0x102909b
inc dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
cmp dl, byte [edi]
je 0x10290a5
inc dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
cmp dl, byte [edi + 1]
je 0x10290b0
inc dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
cmp dl, byte [edi + 2]
je 0x10290bb
inc dword [ebp + 0x1c]
add dword [ebp + 8], 4
sub dword [ebp + 0x18], 1
jne 0x1029090
cmp dword [ebp + 0x1c], 4
jl 0x1029189
mov dword [ebp + 0x1c], 0x10
mov edx, dword [esi + 0xc]
movzx ebx, byte [ecx]
mov edi, dword [esi + 8]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov dword [esi + 0xc], ebx
mov edx, ebx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 1]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x24], edx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 2]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
mov edx, ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 0x24], edx
mov dword [esi + 8], edi
movzx ebx, byte [ecx + 3]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, edi, 8
xor ebx, dword [eax + edx*8 + 4]
shl edi, 8
xor edi, dword [eax + edx*8]
add ecx, 4
sub dword [ebp + 0x1c], 1
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
jne 0x10290d6
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x28]
push edx
push ebx
push eax
push ecx
jmp 0x1029416
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
lea edx, [ecx - 0x400]
lea edi, [eax + 0x200]
cmp eax, edx
jbe 0x10291cb
mov edi, ecx
shr edi, 2
cmp edi, 0x1000
jbe 0x10291cb
mov edi, 0x1000
lea edx, [ecx + ecx*4]
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
mov dword [ebp + 8], edx
jmp 0x10291e0
mov eax, edi
cmp edi, ecx
jae 0x10291f7
mov dl, byte [eax + ebx]
test dl, dl
je 0x10291f2
cmp dl, 0x90
jne 0x10291f7
inc eax
cmp eax, ecx
jb 0x10291e6
add eax, 0x10
cmp eax, ecx
jb 0x102920e
mov eax, ecx
shr eax, 1
cmp eax, 0x400
jbe 0x102920e
mov eax, 0x400
mov edi, eax
cmp eax, ecx
jae 0x1029224
mov al, byte [edi + ebx]
test al, al
je 0x102921f
cmp al, 0x90
jne 0x1029224
inc edi
cmp edi, ecx
jb 0x1029214
mov dword [ebp - 4], edi
cmp edi, dword [ebp + 8]
jbe 0x1029241
cmp dword [ebp - 0xc], 0
jne 0x1029284
mov eax, ecx
shr eax, 1
sub edi, eax
mov dword [ebp - 0xc], 1
jmp 0x10291e0
mov ecx, dword [ebp + 0xc]
sub ecx, edi
push ecx
lea edx, [edi + ebx]
push edx
call fcn.01025eb0
fcomp qword [0x1009e58]
fnstsw ax
test ah, 5
jp 0x1028403
cmp dword [ebp - 0xc], 0
jne 0x1029284
lea ecx, [edi + edi]
mov eax, 0xaaaaaaab
mul ecx
mov ecx, dword [ebp + 0xc]
shr edx, 1
sub edi, edx
mov dword [ebp - 0xc], 1
jmp 0x10291e0
pop edi
pop esi
mov eax, 5
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov ebx, dword [ebp + 0x24]
lea edx, [ebx + ebx]
mov eax, 0xaaaaaaab
mul edx
mov eax, dword [ebp + 0xc]
shr edx, 1
add eax, 0xffffffc0
cmp edx, eax
jbe 0x10292d8
mov eax, 0xaaaaaaab
mul ebx
mov eax, dword [ebp + 0xc]
shr edx, 1
sub eax, edx
cmp eax, 0x100000
jbe 0x10292c5
mov eax, 0x100000
push ecx
mov ecx, dword [ebp + 0x20]
push eax
add edx, ecx
push edx
push edi
call fcn.01022990
jmp 0x10293f8
mov eax, dword [ebp + 0x20]
mov bl, byte [edx + eax]
add edx, eax
xor eax, eax
mov dword [ebp + 8], edx
mov dword [ebp + 0x1c], eax
cmp bl, byte [eax + edx]
jne 0x1029332
inc eax
cmp eax, 0x10
jl 0x10292e8
lea eax, [edx + 1]
mov dword [ebp + 0x18], 0x10
lea ecx, [ecx]
cmp bl, byte [eax - 1]
je 0x1029308
inc dword [ebp + 0x1c]
cmp bl, byte [eax]
je 0x102930f
inc dword [ebp + 0x1c]
cmp bl, byte [eax + 1]
je 0x1029317
inc dword [ebp + 0x1c]
cmp bl, byte [eax + 2]
je 0x102931f
inc dword [ebp + 0x1c]
add eax, 4
sub dword [ebp + 0x18], 1
jne 0x1029300
cmp dword [ebp + 0x1c], 4
jl 0x10293f8
mov dword [ebp + 0x1c], 0x10
lea esp, [esp]
mov edx, dword [ecx + 4]
mov ebx, dword [ebp + 8]
movzx ebx, byte [ebx]
mov eax, dword [ecx]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, eax, 8
xor ebx, dword [edi + edx*8 + 4]
shl eax, 8
xor eax, dword [edi + edx*8]
mov dword [ecx + 4], ebx
mov edx, ebx
mov ebx, dword [ebp + 8]
mov dword [ecx], eax
movzx ebx, byte [ebx + 1]
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, eax, 8
xor ebx, dword [edi + edx*8 + 4]
shl eax, 8
xor eax, dword [edi + edx*8]
mov dword [ecx + 4], ebx
mov edx, ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
mov dword [ecx], eax
movzx ebx, byte [ebx + 2]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, eax, 8
xor ebx, dword [edi + edx*8 + 4]
shl eax, 8
xor eax, dword [edi + edx*8]
mov edx, ebx
mov dword [ecx + 4], ebx
mov ebx, dword [ebp + 8]
add dword [ebp + 8], 4
mov dword [ebp - 0x24], edx
mov dword [ecx], eax
movzx ebx, byte [ebx + 3]
shr edx, 0x18
movzx edx, dl
xor edx, ebx
mov ebx, dword [ebp - 0x24]
shld ebx, eax, 8
xor ebx, dword [edi + edx*8 + 4]
shl eax, 8
xor eax, dword [edi + edx*8]
sub dword [ebp + 0x1c], 1
mov dword [ecx], eax
mov dword [ecx + 4], ebx
jne 0x1029340
cmp dword [ebp - 0x14], 0
jne 0x102941c
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
push eax
push ecx
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
push edx
push eax
push esi
call fcn.01026d40
cmp dword [esi + 0xd0], 0
je 0x102943d
pop edi
mov dword [esi + 0xd0], 0
pop esi
mov eax, 0x9641
pop ebx
mov esp, ebp
pop ebp
ret 0x28
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x28