joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4341a0
Capabilities:
Enumerate pe sections
Get file size
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
xor edx, edx
mov dword [esp], edx
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call sub.kernel32.dll_CreateFileW
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4341db
push 0
push 0x4342d4
push 0x4342d8
push 0
call sub.user32.dll_MessageBoxA_1
push 0
push ebp
call sub.kernel32.dll_GetFileSize
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
call fcn.00402a18
mov ebx, eax
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
push ebx
push ebp
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x43421c
push 0
push 0x4342d4
push 0x4342dc
push 0
call sub.user32.dll_MessageBoxA_1
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x3c]
add eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x50]
call fcn.00402a18
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x50]
mov eax, dword [esp]
call fcn.00406f0c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x54]
mov edx, ebx
mov eax, dword [esp]
call fcn.00406f04
mov eax, dword [esp + 0x10]
mov si, word [eax + 6]
dec esi
test si, si
jb 0x4342b5
inc esi
xor edi, edi
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0x3c]
mov eax, ebx
add edx, eax
add edx, 0xf8
movzx ecx, di
shl ecx, 3
lea ecx, [ecx + ecx*4]
add edx, ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x14]
add edx, eax
push edx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
add eax, dword [esp + 4]
pop edx
call fcn.00406f04
inc edi
dec si
jne 0x43426d
mov edx, dword [esp + 4]
mov eax, ebx
call fcn.00402a48
push ebp
call sub.kernel32.dll_CloseHandle
mov eax, dword [esp]
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43434c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
mov dword [esp], edx
mov esi, eax
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword [esi + 0x3c]
mov eax, esi
add edx, eax
mov dword [esp + 8], edx
mov edx, dword [esp + 8]
add edx, 0x78
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xc]
mov edx, dword [edx]
add edx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x1c]
add edx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x20]
add edx, eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x24]
add edx, eax
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0x18]
dec ebx
test ebx, ebx
jb 0x434436
inc ebx
mov eax, dword [esp + 0x20]
movzx edx, word [eax]
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
cmp edx, eax
jbe 0x4343d9
add dword [esp + 0x18], 4
inc eax
cmp edx, eax
ja 0x4343cf
mov edx, dword [esp + 0xc]
mov edx, dword [edx]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cmp edx, eax
ja 0x4343f4
mov ecx, dword [esp + 0xc]
add edx, dword [ecx + 4]
cmp eax, edx
jb 0x434429
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
add eax, esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
call fcn.0043408c
mov ecx, eax
mov edx, dword [esp + 0x24]
xor eax, eax
call fcn.004340a0
cmp eax, dword [esp]
jne 0x434429
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
add eax, esi
mov dword [esp + 4], eax
jmp 0x434436
add dword [esp + 0x20], 2
add dword [esp + 0x1c], 4
dec ebx
jne 0x4343ba
mov eax, dword [esp + 4]
add esp, 0x28
pop esi
pop ebx
ret

Function at 0x435170
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004048c8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x435189
test al, 0x10
je 0x43518d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x435194
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404c1c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4351ad
test al, 0x10
je 0x4351b1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x436490
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
cmp byte [0x463d08], 0
je 0x4364c0
mov edx, 0xc8
mov eax, 0x32
call fcn.0041afb4
push eax
call sub.kernel32.dll_Sleep
cmp bl, 0x90
jne 0x436503
push 0x90
call sub.user32.dll_GetKeyState
and ax, 1
cmp al, 1
sbb ebx, ebx
inc ebx
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_GetKeyboardState
test bl, bl
je 0x4364ee
and byte [ebp - 0x72], 0xfe
jmp 0x4364f2
or byte [ebp - 0x72], 1
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_SetKeyboardState
jmp 0x436589
push 0
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov byte [ebp - 2], al
test si, si
jbe 0x436589
mov eax, ebx
and eax, 0xff
bt dword [0x4614f4], eax
jae 0x436559
mov eax, dword [ebp + 8]
push eax
mov ecx, 1
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00436444
pop ecx
cmp byte [ebp - 1], 0
je 0x436584
mov eax, dword [ebp + 8]
push eax
mov ecx, 3
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00436444
pop ecx
jmp 0x436584
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00436444
pop ecx
cmp byte [ebp - 1], 0
je 0x436584
mov eax, dword [ebp + 8]
push eax
mov ecx, 2
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00436444
pop ecx
dec si
jne 0x436519
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x436590
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
cmp byte [0x463d08], 0
je 0x4365b4
mov edx, 0xc8
mov eax, 0x32
call fcn.0041afb4
push eax
call sub.kernel32.dll_Sleep
push 0
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov edx, ebx
and edx, 0xff
bt dword [0x4614f4], edx
jae 0x4365e6
mov edx, dword [ebp + 8]
push edx
xor ecx, ecx
mov edx, eax
mov eax, ebx
call fcn.00436444
pop ecx
pop ebx
pop ebp
ret
mov edx, dword [ebp + 8]
push edx
mov ecx, 2
mov edx, eax
mov eax, ebx
call fcn.00436444
pop ecx
pop ebx
pop ebp
ret
Function at 0x437b54
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x437b5a
ret

Function at 0x439b44
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x439b95
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x439b7c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x439b6c
jmp 0x439b95
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x439b7d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442164
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x442192
mov eax, ebx
call fcn.00442c18
cmp dword [ebx + 0x40], 0
je 0x44218b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x442203
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4421f5
cmp dword [ebx + 8], 0
je 0x4421b4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4421c6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4421f5
cmp dword [ebx + 8], 0
je 0x4421a7
cmp eax, 3
je 0x4421d9
dec eax
jne 0x4421a7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4421a7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4421a7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x442221
cmp dword [ebx + 0x14], 0xcc
je 0x442221
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0044222c
pop ebx
ret

Function at 0x453678
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048b8
mov esi, 0x463dbc
xor eax, eax
push ebp
push 0x4537cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x463db8], 0
mov dl, 1
mov eax, dword [0x416718]
call fcn.00403680
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4537a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00431620
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x4536e9
call fcn.00403e4c
jmp 0x4537ae
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x453791
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00408658
mov dword [0x463dc0], eax
xor eax, eax
mov dword [esi], eax
xor ebx, ebx
mov eax, 0x4533d4
call fcn.00431ebc
mov edi, eax
push 0x1f4
call sub.kernel32.dll_Sleep
cmp byte [0x463db8], 0
je 0x45374c
call fcn.00403e4c
jmp 0x4537ae
cmp ebx, dword [esi]
jne 0x45377a
push 0
push edi
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x463dcc]
push eax
call sub.ntdll.dll_ZwClose
mov eax, dword [0x463dc8]
push eax
call sub.ntdll.dll_ZwClose
mov eax, dword [0x463dd0]
call fcn.00402a48
jmp 0x453785
mov ebx, dword [esi]
cmp byte [0x463dc4], 0
je 0x453732
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x453705
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4537ae
mov eax, dword [ebp - 8]
call fcn.004036b0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4537d3
lea eax, [ebp - 0x14]
call fcn.004043ec
lea eax, [ebp - 4]
call fcn.004043ec
ret
Function at 0x45858c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048b8
mov eax, dword [ebp - 8]
call fcn.004048b8
mov eax, dword [ebp - 0xc]
call fcn.004048b8
mov eax, dword [ebp + 0xc]
call fcn.004048b8
xor eax, eax
push ebp
push 0x4586c8
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 0x10]
call fcn.004357a4
cmp dword [ebp + 0xc], 0
je 0x4585f1
lea eax, [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, 0x4586e0
call fcn.00404714
push 0
push 1
lea eax, [ebp - 4]
call fcn.00404920
mov ecx, eax
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.00426dbc
mov edi, eax
test edi, edi
je 0x4586a5
cmp dword [ebp - 8], 0
jne 0x458625
mov eax, dword [ebp - 0xc]
call fcn.004314f8
mov ebx, eax
jmp 0x45863e
mov eax, dword [ebp - 0xc]
call fcn.004048c8
push eax
mov eax, dword [ebp - 8]
call fcn.004048c8
pop edx
call fcn.00434d94
mov ebx, eax
push 0xa
call sub.kernel32.dll_Sleep
inc esi
cmp esi, 0xbb8
ja 0x4586a5
test ebx, ebx
je 0x458613
push 0x4586ec
mov ecx, 0x4586f0
xor edx, edx
mov eax, ebx
call fcn.00434d2c
mov esi, eax
test esi, esi
je 0x4586a5
mov dl, 1
mov eax, dword [0x416718]
call fcn.00403680
mov ebx, eax
mov edx, ebx
mov eax, esi
call fcn.00458080
mov edx, dword [ebp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, ebx
call fcn.004036b0
push 0
push edi
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4586cf
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404410
lea eax, [ebp + 0xc]
call fcn.004043ec
ret

Function at 0x458d60
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov esi, eax
xor ebx, ebx
mov eax, dword [0x46275c]
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
fild qword [esp]
fmul dword [0x458e3c]
movzx eax, word [0x462766]
shr eax, 3
mov dword [esp + 8], eax
fild dword [esp + 8]
fmulp st(1)
call fcn.00402e94
mov dword [0x464064], eax
mov eax, dword [0x464064]
call fcn.00402a18
mov dword [0x464060], eax
push 0x30000
push 0
push 0x458d44
push 0x462758
push esi
push 0x464068
call sub.winmm.dll_waveInOpen
test eax, eax
jne 0x458e31
mov eax, 0x20
call fcn.00402a18
mov dword [0x46405c], eax
mov eax, dword [0x46405c]
mov edx, dword [0x464060]
mov dword [eax], edx
mov edx, dword [0x464064]
mov dword [eax + 4], edx
push 0x20
mov eax, dword [0x46405c]
push eax
mov eax, dword [0x464068]
push eax
call sub.winmm.dll_waveInPrepareHeader
test eax, eax
jne 0x458e31
push 0x20
mov eax, dword [0x46405c]
push eax
mov eax, dword [0x464068]
push eax
call sub.winmm.dll_waveInAddBuffer
test eax, eax
jne 0x458e31
mov eax, dword [0x464068]
push eax
call sub.winmm.dll_waveInStart
test eax, eax
jne 0x458e31
mov bl, 1
mov eax, ebx
add esp, 0xc
pop esi
pop ebx
ret
Function at 0x4593a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004048b8
xor eax, eax
push ebp
push 0x459403
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x459418
call fcn.004046d0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004046c8
push eax
lea eax, [ebp - 4]
call fcn.00404920
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45940a
lea eax, [ebp - 4]
call fcn.004043ec
ret

Function at 0x45941c
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x459425
mov eax, dword [ebp - 4]
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4594e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004043ec
mov dword [ebp - 0xc], 0x7fff
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push ebx
call sub.kernel32.dll_PeekNamedPipe
cmp dword [ebp - 8], 0
jbe 0x4594cc
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x800b]
push eax
push ebx
call sub.kernel32.dll_ReadFile
lea eax, [ebp - 0x800b]
push eax
lea eax, [ebp - 0x800b]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 4]
lea edx, [ebp - 0x800b]
mov ecx, 0x7fff
call fcn.004044dc
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004049f8
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4594e9
lea eax, [ebp - 4]
call fcn.004043ec
ret
Function at 0x45a24c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x45a254
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x45a3c0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00432478
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00404c0c
mov edx, dword [ebp - 0x10]
mov ecx, 0x45a3d4
mov eax, ebx
call fcn.00430d28
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x45a370
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x45a370
inc eax
mov dword [ebp - 8], eax
xor esi, esi
cmp byte [0x4640c4], 0
jne 0x45a370
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0x1c]
call fcn.0040851c
push dword [ebp - 0x1c]
push 0x45a3e8
lea ecx, [ebp - 0x20]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x20]
push 0x45a3e8
lea ecx, [ebp - 0x2c]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004321c4
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00435db0
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404788
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 4]
mov dx, 0x3f6
call fcn.004260d8
lea eax, [ebp - 4]
call fcn.0042601c
cmp ax, 0x3f7
jne 0x45a370
lea ecx, [ebp - 0x34]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.004321c4
mov eax, dword [ebp - 0x30]
call fcn.00404c1c
push eax
call sub.kernel32.dll_DeleteFileW
inc esi
dec dword [ebp - 8]
jne 0x45a2ba
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a3c7
lea eax, [ebp - 0x34]
call fcn.004043ec
lea eax, [ebp - 0x30]
call fcn.00404a8c
lea eax, [ebp - 0x2c]
call fcn.004043ec
lea eax, [ebp - 0x28]
call fcn.00404a8c
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00404410
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404aa4
lea eax, [ebp - 4]
call fcn.004043ec
ret
Function at 0x401460
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xb4
lea eax, [ebp - 0xd]
mov ecx, eax
call fcn.00401680
lea eax, [ebp - 0x28]
lea edx, [ebp - 0xd]
mov dword [esp + 4], edx
mov dword [esp], 0x405065
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0xd]
mov ecx, eax
call sym.std::allocator_char_::allocator__
mov dword [esp + 4], 0x405066
mov dword [esp], str.tasklist__fi__imagename_eq_Spotify.exe_
call sym.__popen
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4014e5
mov dword [esp + 4], str.Pip_alrken_hata_olutu_
mov dword [esp], sym.imp.libstdc_6.dll_std::cerr
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
mov ebx, 0
jmp 0x401574
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], pe_nt_image_headers32
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sym._fgets
test eax, eax
setne al
test al, al
je 0x401523
lea eax, [ebp - 0x28]
lea edx, [ebp - 0xa8]
mov dword [esp], edx
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_char_const_
sub esp, 4
jmp 0x4014e5
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym.__pclose
lea eax, [ebp - 0x28]
mov dword [esp + 4], 0
mov dword [esp], 0x4050af
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::find_char_const__unsigned_int__const
sub esp, 8
cmp eax, 0xffffffff
setne al
test al, al
je 0x401560
mov dword [esp], str.nircmd.exe_mutesysvolume_1
call sym._system
mov dword [esp], 0x1388
call sym._Sleep_4
sub esp, 4
mov ebx, 1
lea eax, [ebp - 0x28]
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
cmp ebx, 1
jne 0x4015b5
nop
jmp 0x40146a
nop
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x401cd0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407048
call sym._EnterCriticalSection_4
mov ebx, dword [0x407040]
sub esp, 4
test ebx, ebx
je 0x401d1b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401d14
test esi, esi
je 0x401d14
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401cf0
mov dword [esp], 0x407048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401f00
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401f50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402028
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401f8e
cmp eax, 4
jne 0x401fb0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401f9e
cmp edx, 4
je 0x401f9e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401f00