Function at 0x1000cba0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
movzx eax, word [0x1026323c]
mov dword [esp + 8], eax
mov eax, dword [0x1026327c]
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push esi
mov esi, dword [0x10263254]
push edi
movzx eax, byte [eax + ebp + 0xd]
inc esi
mov edi, dword [esp + 0x48]
mov ebx, esi
imul eax, eax, 0x8c
mov dword [0x10263254], esi
mov ecx, dword [0x10263244]
xor dword [esp + 0x44], 0xe2e
imul ebx, ecx
mov dword [esp + 0x34], eax
mov eax, 0xffff
add word [0x10263280], ax
mov eax, dword [edi]
mov edx, dword [edi - 4]
add eax, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], ebx
mov al, byte [edi + eax*8 + 0x54]
sub edi, 4
mov byte [esp + 0x13], al
mov eax, dword [0x10263230]
mov dword [esp + 0x30], eax
lea eax, [edx*2]
add eax, ebp
mov dword [esp + 0x48], edi
movzx ebp, byte [ebp + 0x1c8c]
add ebp, dword [0x10263248]
mov dword [esp + 0x24], ebp
movzx eax, byte [edx + eax]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x28], eax
movzx eax, word [0x10263250]
mov eax, dword [edx + eax*4 + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
or eax, esi
cmp eax, dword [edx + 0x3fe8]
jb 0x1000ccc3
mov ebp, dword [esp + 0x18]
mov edx, 0x161a
mov ecx, dword [esp + 0x54]
mov ebx, eax
movzx eax, byte [edx]
inc ebx
xor eax, 0x15b5
mov esi, dword [edi]
or eax, dword [0x1026326c]
xor edx, edx
div dword [0x1026324c]
add esi, esi
mov edx, 0x161a
or dword [edi + esi*8], eax
inc dword [0x1026324c]
dec byte [ebp]
mov eax, dword [0x10263268]
sub eax, dword [0x10263230]
mov dword [0x10263230], eax
cmp ebx, dword [ecx + 0x3fe8]
jae 0x1000cc73
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
movzx edx, byte [esp + 0x13]
mov dword [esp + 0x1c], edx
cmp edx, ebx
ja 0x1000cd2c
mov eax, dword [esp + 0x18]
mov esi, dword [edi]
movzx eax, byte [eax]
mov dword [esp + 0x38], eax
mov edx, dword [edi + eax*4]
mov eax, dword [0x10263274]
cmp edx, dword [eax + esi*4]
jb 0x1000cd28
mov edx, dword [esp + 0x44]
dec ecx
mov eax, dword [esp + 0x38]
movzx eax, word [edx + eax*2 + 0x48]
cdq
idiv dword [0x10263258]
mov edx, dword [esp + 0x14]
xor eax, ecx
movzx esi, word [edx + ecx*2 + 8]
cdq
idiv esi
mov eax, dword [esp + 0x14]
mov word [eax + ecx*2 + 8], dx
mov eax, 0xe30
dec dword [0x10263258]
or word [0x10263250], ax
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x50]
mov eax, dword [0x10263234]
mov dword [esp + 0x38], eax
cmp eax, dword [esi + 0x3b78]
jg 0x1000ce10
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x38]
add eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
lea eax, [eax + ebp*8]
add eax, 0x5c
mov dword [esp + 0x2c], eax
movzx eax, word [0x10263250]
xor edx, edx
inc ecx
lea esi, [edi + eax*4]
mov eax, ebp
xor eax, dword [esp + 0x28]
div ebx
xor edx, edx
div ebp
xor edx, edx
imul eax, dword [esi]
mov dword [esi], eax
mov eax, 0xffff
add word [0x10263250], ax
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x58]
movzx eax, word [eax + ebp*2]
xor eax, dword [0x10263254]
div ebp
mov edx, dword [0x10263240]
inc ebp
imul eax, dword [0x10263280]
dec edx
mov word [0x10263280], ax
mov eax, dword [esp + 0x3c]
movzx eax, byte [eax]
add dword [0x1026326c], eax
mov eax, dword [0x10263238]
mov dword [0x10263240], edx
mov eax, dword [eax + ecx*4]
xor eax, dword [esi + 0x6b8]
xor eax, dword [0x10263264]
xor eax, dword [0x10263248]
mov esi, dword [esp + 0x54]
mov dword [esi + edx*4], eax
mov edx, dword [esp + 0x2c]
mov eax, dword [0x1026327c]
or dword [edx], eax
add edx, 8
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], edx
cmp ebp, dword [eax + 0x3b78]
jle 0x1000cd61
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
movzx eax, byte [eax]
movzx ebx, word [edx + eax*2]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], ebx
movzx eax, byte [eax]
movzx eax, word [esi + eax*8]
cmp ebx, eax
jl 0x1000cfde
imul eax, ebx, 0xbead60
lea edx, [edi + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
lea eax, [eax + ebx*8]
add eax, 0x44
mov dword [esp + 0x2c], eax
mov eax, ebx
shl eax, 4
add edx, eax
mov dword [esp + 0x30], edx
imul eax, dword [ebp + ebx*4], 0xb0c
mov dword [ebp + ebx*4], eax
mov eax, dword [0x10263240]
mov ebx, dword [esp + 0x34]
movzx esi, word [esi + eax*2]
mov eax, dword [edx]
xor edx, edx
or eax, dword [0x1026327c]
div esi
movzx edx, bl
movzx eax, al
imul eax, edx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x38]
dec al
mov dword [esp + 0x34], eax
movzx eax, al
mov dword [esp + 0x50], eax
mov eax, dword [0x10263278]
lea esi, [edx + eax*2]
mov eax, dword [esp + 0x28]
cdq
idiv dword [esp + 0x50]
add word [esi], ax
mov esi, dword [0x10263248]
cmp esi, dword [esp + 0x20]
jbe 0x1000cee5
mov edi, dword [esp + 0x20]
mov eax, dword [0x10263270]
inc esi
mov edx, eax
dec ecx
xor edx, 0xb4b
lea eax, [eax + eax*2]
mov dword [ebp + eax*4], edx
cmp esi, edi
ja 0x1000cec7
mov edi, dword [esp + 0x48]
cmp ecx, ebx
jge 0x1000cef8
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
add eax, eax
cmp dword [edx + eax*8], ebx
jae 0x1000cf47
mov edx, dword [edi]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x54]
mov eax, dword [ebp + edx*4]
cmp eax, dword [esi + edi*4]
mov edi, dword [esp + 0x48]
ja 0x1000cf47
mov esi, dword [esp + 0x4c]
inc edx
mov ebp, dword [esp + 0x54]
mov eax, edx
add eax, eax
mov dword [edi], edx
mov al, byte [edi + eax*8]
xor al, 0x46
or al, bl
mov byte [edx + esi], al
xor edx, edx
mov eax, dword [esp + 0x18]
movzx esi, byte [eax]
imul eax, dword [esp + 0x50], 0x30f
div dword [ebp + esi*4 + 0x64]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov dword [edx], eax
mov edx, dword [0x10263240]
mov esi, dword [esp + 0x14]
movzx eax, word [esi + edx*2]
cmp edx, eax
jge 0x1000cfaa
movzx eax, byte [ecx + 0x923]
inc ecx
cmp word [0x10263260], ax
jb 0x1000cfaa
mov edx, dword [0x1026327c]
mov eax, dword [esp + 0x18]
dec edx
mov dword [0x1026327c], edx
shl edx, 4
add edx, dword [0x10263274]
movzx eax, byte [ebx + eax]
add dword [edx], eax
xor edx, edx
mov eax, dword [0x10263254]
sub eax, dword [esp + 0x50]
movzx esi, word [esi + ebx*8]
add eax, 0x1a1
add eax, ecx
div esi
mov edx, dword [esp + 0x14]
mov word [edx + ebx*8], ax
mov eax, dword [esp + 0x4c]
inc ebx
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
add dword [esp + 0x28], 0xbead60
add edx, 0x10
movzx eax, byte [eax]
add dword [esp + 0x2c], 8
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], edx
movzx eax, word [esi + eax*8]
cmp ebx, eax
jge 0x1000ce60
mov ebx, dword [esp + 0x18]
mov eax, dword [0x10263248]
xor dword [0x1026326c], eax
movzx eax, byte [0x1026324c]
movzx edx, byte [ebx]
mov esi, dword [esp + 0x4c]
pop edi
movzx ecx, byte [edx*4 + 0x923]
imul ecx, eax
mov eax, 0xffff
mov byte [edx*4 + 0x923], cl
mov cx, word [0x1026323c]
add cx, ax
mov word [0x1026323c], cx
movzx eax, byte [ebx + 1]
or cl, byte [0x10263250]
or cl, byte [esp + 0xf]
mov byte [esi + eax*4 + 0x1b], cl
mov eax, 0x1125
pop esi
pop ebp
pop ebx
add esp, 0x30
ret