Function at 0x10002a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x1001a050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ecx]
push edi
mov edi, edx
mov eax, esi
cdq
and edx, 3
lea ebx, [edx + eax]
push esi
add ecx, 4
sar ebx, 2
push ecx
lea eax, [ebp - 0x54]
add ebx, 8
push eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x88], ebx
call fcn.10013090
xor eax, eax
add esp, 0xc
lea esi, [eax - 2]
lea ecx, [eax + 1]
cmp ebx, 0xc
jne 0x10002d97
mov dword [ebp - 0x68], 0xffffffff
jmp 0x10002ac0
movzx ebx, byte [ebp + eax - 0x54]
movzx edx, byte [eax + 0x10018648]
xor edx, ebx
mov ebx, eax
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [ebp + eax - 0x53]
mov byte [ebp + eax - 0x14], dl
movzx edx, byte [ecx + 0x10018648]
xor edx, ebx
mov ebx, ecx
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [ebp + eax - 0x52]
mov byte [ebp + eax - 0x13], dl
movzx edx, byte [esi + 0x1001864c]
xor edx, ebx
mov ebx, esi
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [ebp + eax - 0x51]
mov byte [ebp + eax - 0x12], dl
mov edx, dword [ebp - 0x68]
movzx edx, byte [edx + 0x1001864c]
xor edx, ebx
mov ebx, dword [ebp - 0x68]
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
mov ebx, 4
add dword [ebp - 0x68], ebx
mov byte [ebp + eax - 0x11], dl
add ecx, ebx
add eax, ebx
add esi, ebx
cmp ecx, 0x11
jl 0x10002ac0
lea esi, [ebp - 0x24]
lea eax, [ebp - 0x14]
call fcn.10002940
mov edx, 2
lea esi, [ebp - 0x14]
sub edx, esi
mov dword [ebp - 0x7c], edx
lea ecx, [ebx - 1]
lea edx, [ebp - 0x23]
sub edx, ecx
mov dword [ebp - 0x70], edx
lea edx, [ebp - 0x13]
sub edx, ecx
mov dword [ebp - 0x74], edx
lea edx, [ebp - 0x22]
sub edx, ebx
mov dword [ebp - 0x78], edx
lea edx, [ebp - 0x12]
sub edx, ebx
mov dword [ebp - 0x80], edx
lea edx, [ebp - 0x21]
sub edx, 5
mov dword [ebp - 0x84], edx
lea edx, [ebp - 0x11]
xor eax, eax
sub edx, 5
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], edx
jmp 0x10002bc0
movzx ebx, byte [ebp + eax - 0x24]
movzx edx, byte [eax + 0x10018658]
xor edx, ebx
mov ebx, dword [ebp - 0x7c]
lea esi, [ebp + eax - 0x14]
add ebx, esi
and ebx, 0x80000003
jns 0x10002be4
dec ebx
or ebx, 0xfffffffc
inc ebx
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
mov byte [esi], dl
mov edx, dword [ebp - 0x70]
movzx esi, byte [eax + 0x10018659]
movzx edx, byte [edx + ecx]
xor edx, esi
mov esi, ecx
and esi, 0x80000003
jns 0x10002c10
dec esi
or esi, 0xfffffffc
inc esi
movzx ebx, byte [ecx + 0x10018657]
shl esi, 8
movzx edx, byte [edx + esi + str.cw]
mov esi, dword [ebp - 0x74]
mov byte [esi + ecx], dl
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x78]
movzx esi, byte [esi + edx]
xor esi, ebx
mov ebx, edx
and ebx, 0x80000003
jns 0x10002c43
dec ebx
or ebx, 0xfffffffc
inc ebx
shl ebx, 8
mov bl, byte [esi + ebx + str.cw]
mov esi, dword [ebp - 0x80]
mov byte [esi + edx], bl
mov ebx, dword [ebp - 0x84]
movzx edx, byte [edx + 0x10018657]
movzx ebx, byte [eax + ebx + 5]
xor ebx, edx
lea edx, [eax + 5]
and edx, 0x80000003
jns 0x10002c77
dec edx
or edx, 0xfffffffc
inc edx
add dword [ebp - 0x6c], 4
shl edx, 8
movzx edx, byte [ebx + edx + str.cw]
mov ebx, dword [ebp - 0x68]
mov byte [eax + ebx + 5], dl
add ecx, 4
add eax, 4
cmp ecx, 0x13
jl 0x10002bc0
lea esi, [ebp - 0x34]
lea eax, [ebp - 0x14]
call fcn.10002940
xor eax, eax
lea esp, [esp]
movzx ecx, byte [ebp + eax - 0x54]
movzx edx, byte [ebp + eax - 0x53]
xor byte [ebp + eax - 0x34], cl
xor byte [ebp + eax - 0x33], dl
movzx ecx, byte [ebp + eax - 0x52]
movzx edx, byte [ebp + eax - 0x51]
xor byte [ebp + eax - 0x32], cl
xor byte [ebp + eax - 0x31], dl
add eax, 4
cmp eax, 0x10
jl 0x10002cb0
xor eax, eax
mov dword [ebp - 0x68], 0xffffffff
lea esi, [eax - 2]
lea ecx, [eax + 1]
jmp 0x10002cf0
movzx ebx, byte [ebp + eax - 0x34]
movzx edx, byte [eax + 0x10018668]
xor edx, ebx
mov ebx, eax
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [eax + 0x10018669]
mov byte [ebp + eax - 0x14], dl
movzx edx, byte [ebp + ecx - 0x34]
xor edx, ebx
mov ebx, ecx
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [eax + 0x1001866a]
mov byte [ebp + eax - 0x13], dl
movzx edx, byte [ebp + esi - 0x30]
xor edx, ebx
mov ebx, esi
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [eax + 0x1001866b]
mov byte [ebp + eax - 0x12], dl
mov edx, dword [ebp - 0x68]
movzx edx, byte [ebp + edx - 0x30]
xor edx, ebx
mov ebx, dword [ebp - 0x68]
add dword [ebp - 0x68], 4
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
mov byte [ebp + eax - 0x11], dl
add ecx, 4
add eax, 4
add esi, 4
cmp ecx, 0x11
jl 0x10002cf0
jmp 0x100033c2
cmp ebx, 0xe
jne 0x100030b5
or edi, 0xffffffff
jmp 0x10002db0
movzx ebx, byte [ebp + eax - 0x54]
movzx edx, byte [eax + 0x10018678]
xor edx, ebx
mov ebx, eax
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [ebp + eax - 0x53]
mov byte [ebp + eax - 0x14], dl
movzx edx, byte [ecx + 0x10018678]
xor edx, ebx
mov ebx, ecx
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [ebp + eax - 0x52]
mov byte [ebp + eax - 0x13], dl
movzx edx, byte [esi + 0x1001867c]
xor edx, ebx
mov ebx, esi
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [ebp + eax - 0x51]
mov byte [ebp + eax - 0x12], dl
movzx edx, byte [edi + 0x1001867c]
xor edx, ebx
mov ebx, edi
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
mov byte [ebp + eax - 0x11], dl
add ecx, 4
add eax, 4
add esi, 4
add edi, 4
cmp ecx, 0x11
jl 0x10002db0
lea esi, [ebp - 0x24]
lea eax, [ebp - 0x14]
call fcn.10002940
movzx eax, byte [ebp - 0x44]
xor byte [ebp - 0x24], al
movzx ecx, byte [ebp - 0x43]
movzx edx, byte [ebp - 0x42]
xor byte [ebp - 0x22], dl
xor byte [ebp - 0x23], cl
movzx eax, byte [ebp - 0x41]
movzx ecx, byte [ebp - 0x40]
movzx edx, byte [ebp - 0x3f]
xor byte [ebp - 0x1f], dl
xor byte [ebp - 0x21], al
xor byte [ebp - 0x20], cl
movzx eax, byte [ebp - 0x3e]
movzx ecx, byte [ebp - 0x3d]
xor byte [ebp - 0x1e], al
xor byte [ebp - 0x1d], cl
mov edx, 2
lea edi, [ebp - 0x14]
sub edx, edi
mov dword [ebp - 0x7c], edx
xor eax, eax
lea ecx, [eax + 3]
lea edx, [ebp - 0x23]
sub edx, ecx
mov dword [ebp - 0x70], edx
lea edx, [ebp - 0x13]
sub edx, ecx
mov dword [ebp - 0x74], edx
lea esi, [eax + 4]
lea edx, [ebp - 0x22]
sub edx, esi
mov dword [ebp - 0x78], edx
lea edx, [ebp - 0x12]
sub edx, esi
mov dword [ebp - 0x80], edx
lea edx, [ebp - 0x21]
sub edx, 5
mov dword [ebp - 0x84], edx
lea edx, [ebp - 0x11]
sub edx, 5
mov dword [ebp - 0x68], edx
lea ebx, [ebx]
movzx ebx, byte [ebp + eax - 0x24]
movzx edx, byte [eax + 0x10018688]
xor edx, ebx
mov ebx, dword [ebp - 0x7c]
lea edi, [ebp + eax - 0x14]
add ebx, edi
and ebx, 0x80000003
jns 0x10002f04
dec ebx
or ebx, 0xfffffffc
inc ebx
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
mov byte [edi], dl
mov edx, dword [ebp - 0x70]
movzx edi, byte [eax + 0x10018689]
movzx edx, byte [ecx + edx]
xor edx, edi
mov edi, ecx
and edi, 0x80000003
jns 0x10002f30
dec edi
or edi, 0xfffffffc
inc edi
shl edi, 8
movzx edx, byte [edx + edi + str.cw]
mov edi, dword [ebp - 0x74]
mov byte [ecx + edi], dl
mov edi, dword [ebp - 0x78]
movzx edi, byte [esi + edi]
movzx edx, byte [ecx + 0x10018687]
xor edx, edi
mov edi, esi
and edi, 0x80000003
jns 0x10002f60
dec edi
or edi, 0xfffffffc
inc edi
mov ebx, dword [ebp - 0x84]
movzx ebx, byte [eax + ebx + 5]
shl edi, 8
movzx edx, byte [edx + edi + str.cw]
mov edi, dword [ebp - 0x80]
mov byte [esi + edi], dl
movzx edx, byte [esi + 0x10018687]
xor edx, ebx
lea ebx, [eax + 5]
and ebx, 0x80000003
jns 0x10002f95
dec ebx
or ebx, 0xfffffffc
inc ebx
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
mov ebx, dword [ebp - 0x68]
mov byte [eax + ebx + 5], dl
add ecx, 4
add eax, 4
add esi, 4
cmp ecx, 0x13
jl 0x10002ee0
lea esi, [ebp - 0x34]
lea eax, [ebp - 0x14]
call fcn.10002940
xor eax, eax
jmp 0x10002fd0
movzx ecx, byte [ebp + eax - 0x54]
movzx edx, byte [ebp + eax - 0x53]
xor byte [ebp + eax - 0x34], cl
xor byte [ebp + eax - 0x33], dl
movzx ecx, byte [ebp + eax - 0x52]
movzx edx, byte [ebp + eax - 0x51]
xor byte [ebp + eax - 0x32], cl
xor byte [ebp + eax - 0x31], dl
add eax, 4
cmp eax, 0x10
jl 0x10002fd0
xor eax, eax
or edi, 0xffffffff
lea esi, [eax - 2]
lea ecx, [eax + 1]
jmp 0x10003010
movzx ebx, byte [ebp + eax - 0x34]
movzx edx, byte [eax + 0x10018698]
xor edx, ebx
mov ebx, eax
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [eax + 0x10018699]
mov byte [ebp + eax - 0x14], dl
movzx edx, byte [ebp + ecx - 0x34]
xor edx, ebx
mov ebx, ecx
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [eax + 0x1001869a]
mov byte [ebp + eax - 0x13], dl
movzx edx, byte [ebp + esi - 0x30]
xor edx, ebx
mov ebx, esi
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [eax + 0x1001869b]
mov byte [ebp + eax - 0x12], dl
movzx edx, byte [ebp + edi - 0x30]
xor edx, ebx
mov ebx, edi
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
mov byte [ebp + eax - 0x11], dl
add ecx, 4
add eax, 4
add esi, 4
add edi, 4
cmp ecx, 0x11
jl 0x10003010
mov edi, dword [ebp - 0x6c]
jmp 0x100033c2
mov dword [ebp - 0x68], 0xffffffff
lea esp, [esp]
movzx ebx, byte [ebp + eax - 0x54]
movzx edx, byte [eax + 0x100186a8]
xor edx, ebx
mov ebx, eax
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [ebp + eax - 0x53]
mov byte [ebp + eax - 0x14], dl
movzx edx, byte [ecx + 0x100186a8]
xor edx, ebx
mov ebx, ecx
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [ebp + eax - 0x52]
mov byte [ebp + eax - 0x13], dl
movzx edx, byte [esi + 0x100186ac]
xor edx, ebx
mov ebx, esi
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [eax + 0x100186ab]
mov byte [ebp + eax - 0x12], dl
mov edx, dword [ebp - 0x68]
movzx edx, byte [ebp + edx - 0x50]
xor edx, ebx
mov ebx, dword [ebp - 0x68]
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
mov ebx, 4
add dword [ebp - 0x68], ebx
mov byte [ebp + eax - 0x11], dl
add ecx, ebx
add eax, ebx
add esi, ebx
cmp ecx, 0x11
jl 0x100030c0
lea esi, [ebp - 0x24]
lea eax, [ebp - 0x14]
call fcn.10002940
xor eax, eax
movzx ecx, byte [ebp + eax - 0x44]
movzx edx, byte [ebp + eax - 0x43]
xor byte [ebp + eax - 0x24], cl
xor byte [ebp + eax - 0x23], dl
movzx ecx, byte [ebp + eax - 0x42]
movzx edx, byte [ebp + eax - 0x41]
xor byte [ebp + eax - 0x22], cl
xor byte [ebp + eax - 0x21], dl
add eax, ebx
cmp eax, 0x10
jl 0x10003170
mov edx, 2
lea esi, [ebp - 0x14]
sub edx, esi
mov dword [ebp - 0x7c], edx
xor eax, eax
lea ecx, [eax + 3]
lea edx, [ebp - 0x23]
sub edx, ecx
mov dword [ebp - 0x70], edx
lea edx, [ebp - 0x13]
sub edx, ecx
mov dword [ebp - 0x74], edx
lea edx, [ebp - 0x22]
sub edx, ebx
mov dword [ebp - 0x78], edx
lea edx, [ebp - 0x12]
sub edx, ebx
mov dword [ebp - 0x80], edx
lea edx, [ebp - 0x21]
sub edx, 5
mov dword [ebp - 0x84], edx
lea edx, [ebp - 0x11]
sub edx, 5
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], edx
jmp 0x100031f0
movzx ebx, byte [ebp + eax - 0x24]
movzx edx, byte [eax + str.Qw__n]
xor edx, ebx
mov ebx, dword [ebp - 0x7c]
lea esi, [ebp + eax - 0x14]
add ebx, esi
and ebx, 0x80000003
jns 0x10003214
dec ebx
or ebx, 0xfffffffc
inc ebx
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
mov byte [esi], dl
mov edx, dword [ebp - 0x70]
movzx esi, byte [eax + 0x100186b9]
movzx edx, byte [ecx + edx]
xor edx, esi
mov esi, ecx
and esi, 0x80000003
jns 0x10003240
dec esi
or esi, 0xfffffffc
inc esi
mov ebx, dword [ebp - 0x78]
shl esi, 8
movzx edx, byte [edx + esi + str.cw]
mov esi, dword [ebp - 0x74]
mov byte [ecx + esi], dl
mov edx, dword [ebp - 0x6c]
movzx ebx, byte [edx + ebx]
movzx esi, byte [ecx + 0x100186b7]
xor esi, ebx
mov ebx, edx
and ebx, 0x80000003
jns 0x10003273
dec ebx
or ebx, 0xfffffffc
inc ebx
shl ebx, 8
mov bl, byte [esi + ebx + str.cw]
mov esi, dword [ebp - 0x80]
mov byte [edx + esi], bl
mov ebx, dword [ebp - 0x84]
movzx ebx, byte [eax + ebx + 5]
movzx edx, byte [edx + 0x100186b7]
xor edx, ebx
lea ebx, [eax + 5]
and ebx, 0x80000003
jns 0x100032a7
dec ebx
or ebx, 0xfffffffc
inc ebx
add dword [ebp - 0x6c], 4
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
mov ebx, dword [ebp - 0x68]
mov byte [eax + ebx + 5], dl
add ecx, 4
add eax, 4
cmp ecx, 0x13
jl 0x100031f0
lea esi, [ebp - 0x34]
lea eax, [ebp - 0x14]
call fcn.10002940
xor eax, eax
lea esp, [esp]
movzx ecx, byte [ebp + eax - 0x54]
movzx edx, byte [ebp + eax - 0x53]
xor byte [ebp + eax - 0x34], cl
xor byte [ebp + eax - 0x33], dl
movzx ecx, byte [ebp + eax - 0x52]
movzx edx, byte [ebp + eax - 0x51]
xor byte [ebp + eax - 0x32], cl
xor byte [ebp + eax - 0x31], dl
add eax, 4
cmp eax, 0x10
jl 0x100032e0
xor eax, eax
mov dword [ebp - 0x68], 0xffffffff
lea esi, [eax - 2]
lea ecx, [eax + 1]
jmp 0x10003320
movzx ebx, byte [ebp + eax - 0x34]
movzx edx, byte [eax + 0x100186c8]
xor edx, ebx
mov ebx, eax
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [eax + 0x100186c9]
mov byte [ebp + eax - 0x14], dl
movzx edx, byte [ebp + ecx - 0x34]
xor edx, ebx
mov ebx, ecx
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [eax + 0x100186ca]
mov byte [ebp + eax - 0x13], dl
movzx edx, byte [ebp + esi - 0x30]
xor edx, ebx
mov ebx, esi
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
movzx ebx, byte [eax + 0x100186cb]
mov byte [ebp + eax - 0x12], dl
mov edx, dword [ebp - 0x68]
movzx edx, byte [ebp + edx - 0x30]
xor edx, ebx
mov ebx, dword [ebp - 0x68]
add dword [ebp - 0x68], 4
and ebx, 3
shl ebx, 8
movzx edx, byte [edx + ebx + str.cw]
mov byte [ebp + eax - 0x11], dl
add ecx, 4
add eax, 4
add esi, 4
cmp ecx, 0x11
jl 0x10003320
lea esi, [ebp - 0x64]
lea eax, [ebp - 0x14]
call fcn.10002940
xor eax, eax
nop
movzx ecx, byte [ebp + eax - 0x24]
movzx edx, byte [ebp + eax - 0x23]
xor byte [ebp + eax - 0x64], cl
xor byte [ebp + eax - 0x63], dl
movzx ecx, byte [ebp + eax - 0x22]
movzx edx, byte [ebp + eax - 0x21]
xor byte [ebp + eax - 0x62], cl
xor byte [ebp + eax - 0x61], dl
add eax, 4
cmp eax, 0x10
jl 0x100033d0
mov eax, dword [ebp - 0x88]
shl eax, 4
mov dword [ebp - 0x6c], eax
add eax, 0x10
test eax, eax
jle 0x1000341b
push eax
push 0
push edi
call fcn.10012fe0
add esp, 0xc
mov ebx, edi
xor ecx, ecx
lea eax, [ebp - 0x54]
call fcn.100027a0
mov ecx, 0x13
lea eax, [ebp - 0x24]
call fcn.100027a0
lea esi, [edi + 0x10]
mov ebx, esi
xor ecx, ecx
lea eax, [ebp - 0x24]
call fcn.100027a0
mov ecx, 0x13
lea eax, [ebp - 0x34]
call fcn.100027a0
lea ebx, [edi + 0x20]
xor ecx, ecx
lea eax, [ebp - 0x34]
call fcn.100027a0
mov ecx, 0x13
lea eax, [ebp - 0x64]
call fcn.100027a0
lea ebx, [edi + 0x30]
xor ecx, ecx
lea eax, [ebp - 0x64]
call fcn.100027a0
mov ecx, 0x13
lea eax, [ebp - 0x54]
call fcn.100027a0
lea ebx, [edi + 0x40]
xor ecx, ecx
lea eax, [ebp - 0x54]
call fcn.100027a0
mov ecx, 0x1f
lea eax, [ebp - 0x24]
call fcn.100027a0
lea ebx, [edi + 0x50]
xor ecx, ecx
lea eax, [ebp - 0x24]
call fcn.100027a0
mov ecx, 0x1f
lea eax, [ebp - 0x34]
call fcn.100027a0
lea ebx, [edi + 0x60]
xor ecx, ecx
lea eax, [ebp - 0x34]
call fcn.100027a0
mov ecx, 0x1f
lea eax, [ebp - 0x64]
call fcn.100027a0
lea ebx, [edi + 0x70]
xor ecx, ecx
lea eax, [ebp - 0x64]
call fcn.100027a0
mov ecx, 0x1f
lea eax, [ebp - 0x54]
call fcn.100027a0
lea ebx, [edi + 0x80]
xor ecx, ecx
lea eax, [ebp - 0x54]
call fcn.100027a0
mov ecx, 0x43
lea eax, [ebp - 0x24]
call fcn.100027a0
lea ebx, [edi + 0x90]
xor ecx, ecx
lea eax, [ebp - 0x24]
call fcn.100027a0
mov ecx, 0x43
lea eax, [ebp - 0x34]
call fcn.100027a0
lea ebx, [edi + 0xa0]
xor ecx, ecx
lea eax, [ebp - 0x34]
call fcn.100027a0
mov ecx, 0x43
lea eax, [ebp - 0x64]
call fcn.100027a0
lea ebx, [edi + 0xb0]
xor ecx, ecx
lea eax, [ebp - 0x64]
call fcn.100027a0
mov ecx, 0x43
lea eax, [ebp - 0x54]
call fcn.100027a0
lea ebx, [edi + 0xc0]
xor ecx, ecx
lea eax, [ebp - 0x54]
call fcn.100027a0
mov ecx, 0x61
lea eax, [ebp - 0x24]
call fcn.100027a0
cmp dword [ebp - 0x88], 0xc
jle 0x10003607
lea ebx, [edi + 0xd0]
xor ecx, ecx
lea eax, [ebp - 0x24]
call fcn.100027a0
mov ecx, 0x61
lea eax, [ebp - 0x34]
call fcn.100027a0
lea ebx, [edi + 0xe0]
xor ecx, ecx
lea eax, [ebp - 0x34]
call fcn.100027a0
mov ecx, 0x61
lea eax, [ebp - 0x64]
call fcn.100027a0
cmp dword [ebp - 0x88], 0xe
jle 0x10003607
lea ebx, [edi + 0xf0]
xor ecx, ecx
lea eax, [ebp - 0x64]
call fcn.100027a0
mov ecx, 0x61
lea eax, [ebp - 0x54]
call fcn.100027a0
lea ebx, [edi + 0x100]
xor ecx, ecx
lea eax, [ebp - 0x54]
call fcn.100027a0
mov ecx, 0x6d
lea eax, [ebp - 0x24]
call fcn.100027a0
cmp dword [ebp + 8], 1
jne 0x10003689
mov edx, edi
lea ecx, [ebp - 0x14]
xor eax, eax
sub edx, ecx
add edi, dword [ebp - 0x6c]
lea ecx, [ecx]
lea ecx, [ebp + eax - 0x14]
movzx ebx, byte [edx + ecx]
mov byte [ecx], bl
movzx ebx, byte [edi + eax]
mov byte [edx + ecx], bl
mov cl, byte [ecx]
mov byte [edi + eax], cl
inc eax
cmp eax, 0x10
jl 0x10003620
mov eax, dword [ebp - 0x88]
cdq
sub eax, edx
sar eax, 1
cmp eax, 1
jl 0x10003689
mov ebx, esi
add edi, 0xfffffff0
mov dword [ebp - 0x6c], eax
lea esi, [ebp - 0x14]
mov eax, ebx
call fcn.10002940
mov esi, ebx
mov eax, edi
call fcn.10002940
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi], edx
mov edx, dword [ebp - 8]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
add ebx, 0x10
sub edi, 0x10
dec dword [ebp - 0x6c]
jne 0x10003654
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000f5b7
mov esp, ebp
pop ebp
ret