Function at 0x102789c1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x17c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10291da8], 0xeb4
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10278a9b
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x140]
lea edx, section..data
imul esi, ecx, 0x34
mov edi, edx
add edi, esi
add edi, 0x1c
mov esi, dword [ebp - 0x144]
add esi, eax
imul ebx, ecx, 0x34
mov dword [ebp - 0x148], eax
mov eax, edx
add eax, ebx
mov ebx, ecx
add ebx, 1
imul ecx, ecx, 0x34
add edx, ecx
add edx, 0x30
mov ecx, dword [edx]
mov eax, dword [eax]
movzx edx, word [edi]
xor edx, ecx
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ebx
call fcn.10278d85
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
add eax, ecx
mov edx, dword [ebp - 0x150]
cmp edx, 0x6b9
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], eax
je 0x10278bd7
jmp 0x102789f5
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
mov edi, ecx
add edi, 1
imul ebx, ecx, 0x34
mov dword [ebp - 0x154], eax
mov eax, esi
add eax, ebx
add eax, 0x30
imul ecx, ecx, 0x34
add esi, ecx
add esi, 0x1c
mov eax, dword [eax]
movzx ecx, word [esi]
xor ecx, eax
mov eax, dword [ebp - 0x154]
add ecx, eax
cmp edi, 0x6b9
mov eax, ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x15c], edx
jne 0x10278a9b
mov eax, dword [ebp - 0x15c]
mov cl, byte [eax + 0x1027b1a6]
mov dl, byte [eax + 0x1027b177]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x15c], eax
jne 0x10278b0b
lea eax, [ebp - 0x12c]
mov dword [0x10291da8], 0xf0b
mov dword [ebp - 0x160], eax
call fcn.1027984f
mov dword [esp], eax
mov eax, dword [ebp - 0x160]
mov dword [esp + 4], eax
call fcn.1027857f
mov ecx, eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x168], ecx
mov eax, dword [ebp - 0x164]
mov dword [0x10291dc8], eax
mov ecx, esp
mov edx, dword [ebp - 0x158]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
mov ecx, dword [ebp - 0x168]
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x10291dac]
add edx, 0xffffd942
mov dword [0x10291da8], edx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], ecx
jmp 0x102789f5
lea eax, [0x1027b185]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [ebp - 0x144]
add esi, 0x11e724
mov dword [0x10291dac], 0xe6d
mov edi, dword [ebp - 0x144]
add edi, 0x62b14
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x178], esi
call fcn.10278831
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x158]
mov dword [esp + 0xc], edx
call fcn.10279359
xor eax, eax
mov dword [0x10291da8], 0x1e27
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x178]
mov dword [ecx], edx
mov dword [ecx + 4], 0x14fc00
mov edx, dword [ebp - 0x16c]
mov dword [ecx + 8], edx
mov edx, dword [0x10291da8]
add edx, 0xffffe53e
mov dword [0x10291da8], edx
mov dword [ecx + 0xc], 0x2010
add esp, 0x17c
pop esi
pop edi
pop ebx
pop ebp
ret