joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471fb8
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov esi, eax
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
mov eax, esi
call fcn.004045ac
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x472072
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
call sub.kernel32.dll_GetFileTime
fld qword [ebp + 0x18]
fcomp dword [0x47207c]
fnstsw ax
sahf
je 0x47201c
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
lea eax, [ebp - 8]
call fcn.00471f64
fld qword [ebp + 8]
fcomp dword [0x47207c]
fnstsw ax
sahf
je 0x472038
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
call fcn.00471f64
fld qword [ebp + 0x10]
fcomp dword [0x47207c]
fnstsw ax
sahf
je 0x472054
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
call fcn.00471f64
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
call sub.kernel32.dll_SetFileTime
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4720bc
Capabilities:
Get file size

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, eax
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
push 0
push 0x80
push 3
push 0
push 3
push 0
mov eax, ebx
call fcn.004045ac
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x472117
lea eax, [esp + 8]
push eax
push ebx
call sub.kernel32.dll_GetFileSize
mov edx, eax
mov eax, dword [esp + 8]
call fcn.00472080
mov dword [esp], eax
mov dword [esp + 4], edx
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0xc
pop ebx
ret

Function at 0x472124
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, eax
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
je 0x4721a7
push ecx
push edx
push edi
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x4721a7
push ebx
push edi
call sub.kernel32.dll_LoadResource
mov esi, eax
test esi, esi
je 0x4721a7
push esi
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
push esi
call sub.kernel32.dll_FreeResource
cmp dword [ebp - 8], 0
je 0x4721a7
push ebx
push edi
call sub.kernel32.dll_SizeofResource
test eax, eax
je 0x4721a7
xor edx, edx
push ebp
push 0x47219d
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 8]
mov ecx, eax
mov eax, dword [ebp + 8]
call fcn.00416fec
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4721a7
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x472d64
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x472d7d
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x472d8a
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x472da8
cld
pop edi
pop esi
xor ecx, ecx
mov cl, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x472dcc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
mov dword [ebp - 0x184], ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
xor ecx, ecx
mov cl, byte [ebp - 0x80]
lea edx, [ebp - 0x7f]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
push esi
push edi
xor eax, eax
lea esi, [ebp - 0x80]
lodsb al, byte [esi]
push esi
push eax
mov ecx, eax
mov edx, eax
mov edi, esi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x472e13
pop eax
pop esi
lea edi, [ebp - 0x100]
mov cl, byte [esi]
inc ecx
sub eax, ecx
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x180]
stosb byte es:[edi], al
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, esi
lea edx, [ebp - 0x100]
call fcn.00404350
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.00404350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4733a4
Capabilities:
Read data from internet
Read file on windows
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp byte [eax - 0x1009], 0
je 0x4733f5
push 0
mov eax, dword [ebp + 8]
add eax, 0xffffeff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1010]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x130]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x168]
push eax
call sub.kernel32.dll_ReadFile
cmp eax, 1
sbb eax, eax
inc eax
pop ebp
ret
mov eax, dword [ebp + 8]
add eax, 0xffffeff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1010]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x130]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x164]
push eax
call sub.wininet.dll_InternetReadFile
cmp eax, 1
sbb eax, eax
inc eax
pop ebp
ret
Function at 0x477f74
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4780c8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push pe_nt_image_headers32
push 2
push 0
push 3
push 0x40000000
mov eax, dword [0x485c50]
call fcn.004045ac
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x47803b
mov dl, 1
mov eax, dword [0x412c78]
call fcn.004032e8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x47802b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x4780d4
mov edx, 0x4780d4
mov eax, dword [0x485664]
call fcn.00472124
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478032
mov eax, dword [ebp - 0x10]
call fcn.00403318
ret
push 1
push dword [0x485c50]
push 0x4780e4
lea edx, [ebp - 0x1c]
mov eax, dword [0x484224]
mov eax, dword [eax]
call fcn.0045b6d4
push dword [ebp - 0x1c]
push 0x4780e4
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.0040446c
mov eax, dword [ebp - 0x18]
call fcn.004045ac
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
mov eax, dword [ebp - 4]
cmp word [eax + 0x1d2], 0
je 0x4780a8
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1d4]
call dword [ebx + 0x1d0]
jmp 0x4780ad
call fcn.004721b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4780cf
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404110
ret

Function at 0x478bb4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x478bec]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x478bca
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x478bd9
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x478be8
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4792b0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x484224]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4792dd
mov edx, dword [0x484224]
xor edx, edx
call fcn.00454618
push 0
mov eax, dword [0x484224]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x47d2d4
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00406cb4
ret
Function at 0x47d5ac
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe30
mov ebp, eax
lea eax, [esp + 0x40]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, ebp
call fcn.004040ec
push 0x40
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x47d606
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x47d5fa
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, ebp
call fcn.00408d88
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x47d5eb
call sub.wsock32.dll_WSACleanup
add esp, 0x1d0
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x47d614
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x198], eax
xor eax, eax
push ebp
push 0x47d71a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, 0x32
call fcn.0047c7b0
mov eax, 0x485e84
mov edx, 0x47d730
call fcn.00404140
mov eax, 0x485f04
mov edx, 0x47d748
call fcn.00404140
mov eax, 0x485f08
call fcn.004040ec
mov eax, 0x485f0c
call fcn.004040ec
mov dl, 1
mov eax, dword [0x412988]
call fcn.004032e8
mov dword [0x485f18], eax
xor eax, eax
push ebp
push 0x47d6c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x198]
xor eax, eax
call fcn.0047f4f4
mov edx, dword [ebp - 0x198]
mov eax, 0x485f04
call fcn.00404140
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47d6d3
cmp dword [ebp - 4], 0
jne 0x47d6e8
mov eax, 0x485e84
mov edx, 0x47d730
call fcn.00404140
mov dword [0x485e78], 0x1450
mov dword [0x485e74], 0x14b4
call fcn.0047d764
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d721
lea eax, [ebp - 0x198]
call fcn.004040ec
ret
Function at 0x47d764
Capabilities:
Create raw socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
add esp, 0xffffffcc
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov dword [0x485e64], eax
mov word [esp + 4], 2
mov ax, word [0x485e78]
push eax
call sub.wsock32.dll_htons
mov word [esp + 6], ax
xor eax, eax
mov dword [esp + 8], eax
push 0x10
lea eax, [esp + 8]
push eax
mov eax, dword [0x485e64]
push eax
call sub.wsock32.dll_bind
mov eax, 0x32
call fcn.0047c7b0
mov dword [esp], 1
push esp
push 0x8004667e
mov eax, dword [0x485e64]
push eax
call sub.wsock32.dll_ioctlsocket
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov dword [0x485e68], eax
mov word [esp + 0x14], 2
mov ax, word [0x485e78]
inc eax
push eax
call sub.wsock32.dll_htons
mov word [esp + 0x16], ax
xor eax, eax
mov dword [esp + 0x18], eax
push 0x10
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x485e68]
push eax
call sub.wsock32.dll_bind
mov eax, 0x32
call fcn.0047c7b0
mov dword [esp], 1
push esp
push 0x8004667e
mov eax, dword [0x485e68]
push eax
call sub.wsock32.dll_ioctlsocket
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov dword [0x485e6c], eax
mov word [esp + 0x24], 2
mov ax, word [0x485e78]
add ax, 3
push eax
call sub.wsock32.dll_htons
mov word [esp + 0x26], ax
xor eax, eax
mov dword [esp + 0x28], eax
push 0x10
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x485e6c]
push eax
call sub.wsock32.dll_bind
mov eax, 0x32
call fcn.0047c7b0
mov dword [esp], 1
push esp
push 0x8004667e
mov eax, dword [0x485e6c]
push eax
call sub.wsock32.dll_ioctlsocket
add esp, 0x34
ret

Function at 0x47d978
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040459c
xor eax, eax
push ebp
push 0x47da02
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d18
mov word [ebp - 0x14], 2
push edi
call sub.wsock32.dll_htons
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 4]
call fcn.004045ac
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
mov eax, 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebx]
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
call sub.wsock32.dll_sendto
mov dword [ebx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47da09
lea eax, [ebp - 4]
call fcn.004040ec
ret
Function at 0x47da14
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
mov edx, dword [0x47d554]
call fcn.00404aa4
xor eax, eax
push ebp
push 0x47db16
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d18
mov word [ebp - 0x2c], 2
push ebx
call sub.wsock32.dll_htons
mov word [ebp - 0x2a], ax
mov dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov edx, 0x14
call fcn.00402d18
xor ebx, ebx
mov dword [esi], 0x10000
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.wsock32.dll_recvfrom
test eax, eax
jle 0x47daa2
mov bl, 1
mov dword [esi], eax
test bl, bl
je 0x47dae1
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x28]
call fcn.0047d8bc
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
call fcn.00404184
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00404184
movzx eax, word [ebp - 0x2a]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00404184
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1c]
mov ecx, dword [0x47d554]
call fcn.00404dd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47db1d
lea eax, [ebp - 0x30]
call fcn.004040ec
lea eax, [ebp - 0x1c]
mov edx, dword [0x47d554]
call fcn.00404b74
ret

Function at 0x47db28
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
mov edx, dword [0x47d554]
call fcn.00404aa4
xor eax, eax
push ebp
push 0x47dbd7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d18
mov word [ebp - 0x2c], 2
push ebx
call sub.wsock32.dll_htons
mov word [ebp - 0x2a], ax
mov dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov edx, 0x14
call fcn.00402d18
mov dword [esi], 0x7d0
mov ebx, 3
mov eax, 5
call fcn.0047c7b0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.wsock32.dll_recvfrom
dec ebx
jne 0x47db97
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dbde
lea eax, [ebp - 0x1c]
mov edx, dword [0x47d554]
call fcn.00404b74
ret
Function at 0x47f3b4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov esi, edx
mov dword [esp], eax
mov eax, ebp
mov edx, dword [esp]
call fcn.00404140
mov eax, dword [esp]
call fcn.004043ac
mov edi, eax
test edi, edi
jle 0x47f411
mov ebx, 1
mov eax, ebp
call fcn.00404604
mov edx, dword [esp]
mov dl, byte [edx + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp]
movzx eax, byte [eax + ebx - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec edi
jne 0x47f3dd
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x47f418
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, edx
mov edi, eax
mov eax, dword [esp]
mov edx, edi
call fcn.00404140
mov eax, edi
call fcn.004043ac
mov ebp, eax
test ebp, ebp
jle 0x47f470
mov ebx, 1
mov eax, dword [esp]
call fcn.00404604
mov dl, byte [edi + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
xor eax, eax
mov al, byte [edi + ebx - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec ebp
jne 0x47f440
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x531648
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x531735
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3e8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x531712
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3e8]
mov edx, dword [ebp - 0xc]
call fcn.00432dd8
mov ebx, eax
lea eax, [ebp - 0x18]
mov edx, dword [ebx + 0x10]
call fcn.00407690
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00530c4c
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x3dc]
lea eax, [ebp - 4]
call fcn.004078fc
mov eax, dword [ebp - 4]
call fcn.00412c84
test al, al
je 0x531706
xor eax, eax
push ebp
push 0x5316fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004074bc
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x531706
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x53168d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53173c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00407428
lea eax, [ebp - 4]
call fcn.00407420
ret

Function at 0x531980
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x244], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00407418
lea esi, [ebp - 0x238]
xor eax, eax
push ebp
push 0x531adb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.004af088
mov dword [ebp - 0xc], eax
mov dword [esi], 0x22c
xor eax, eax
push ebp
push 0x531aae
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.004af0a8
mov ebx, eax
jmp 0x531a8f
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 4]
call fcn.00412ea4
mov eax, dword [ebp - 0x23c]
push eax
lea eax, [ebp - 0x244]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00407628
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x240]
call fcn.00412ea4
mov eax, dword [ebp - 0x240]
pop edx
call fcn.00411a5c
test al, al
jne 0x531a6b
lea eax, [ebp - 0x248]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00407628
mov eax, dword [ebp - 0x248]
mov edx, dword [ebp - 4]
call fcn.00411a5c
test al, al
je 0x531a83
push 0
mov eax, dword [esi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 8], eax
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.004af0c8
mov ebx, eax
test ebx, ebx
jne 0x5319fd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x531ab5
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
Function at 0x5333b8
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x67
push 0
push 0
dec ecx
jne 0x5333c0
push ebx
push esi
mov ebx, eax
lea esi, [ebp - 0x2d4]
xor eax, eax
push ebp
push 0x533697
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x318]
xor eax, eax
call fcn.00404648
mov eax, dword [ebp - 0x318]
lea edx, [ebp - 0x314]
call fcn.00412e68
mov edx, dword [ebp - 0x314]
lea eax, [ebp - 4]
mov ecx, 0x5336b0
call fcn.004078fc
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004049f8
mov eax, esi
call fcn.00404790
call fcn.004043dc
mov edx, 0x5336dc
mov eax, esi
call fcn.00407dd8
call fcn.00404e54
call fcn.004043dc
mov edx, 0x5336fc
mov eax, esi
call fcn.00407dd8
call fcn.00404e54
call fcn.004043dc
push 0x533714
lea edx, [ebp - 0x320]
xor eax, eax
call fcn.00404648
push dword [ebp - 0x320]
push 0x53372c
lea eax, [ebp - 0x31c]
mov edx, 3
call fcn.004079e0
mov edx, dword [ebp - 0x31c]
mov eax, esi
call fcn.00407dd8
call fcn.00404e54
call fcn.004043dc
push 0x53373c
lea edx, [ebp - 0x328]
xor eax, eax
call fcn.00404648
push dword [ebp - 0x328]
push 0x53372c
push 0x533760
lea eax, [ebp - 0x324]
mov edx, 4
call fcn.004079e0
mov edx, dword [ebp - 0x324]
mov eax, esi
call fcn.00407dd8
call fcn.00404e54
call fcn.004043dc
mov edx, 0x533784
mov eax, esi
call fcn.00407dd8
call fcn.00404e54
call fcn.004043dc
push 0x5337a0
push dword [ebx + 0x3dc]
push 0x5337bc
push 0x5337e4
push dword [ebx + 0x3d8]
push 0x5337bc
push 0x53372c
lea eax, [ebp - 0x32c]
mov edx, 7
call fcn.004079e0
mov edx, dword [ebp - 0x32c]
mov eax, esi
call fcn.00407dd8
call fcn.00404e54
call fcn.004043dc
push 0x5337f8
push dword [ebx + 0x3d8]
push 0x5337bc
push 0x53372c
push 0x533824
lea eax, [ebp - 0x330]
mov edx, 5
call fcn.004079e0
mov edx, dword [ebp - 0x330]
mov eax, esi
call fcn.00407dd8
call fcn.00404e54
call fcn.004043dc
push 0x533714
push dword [ebx + 0x3dc]
push 0x5337bc
push 0x53372c
lea eax, [ebp - 0x334]
mov edx, 4
call fcn.004079e0
mov edx, dword [ebp - 0x334]
mov eax, esi
call fcn.00407dd8
call fcn.00404e54
call fcn.004043dc
push 0x533714
push dword [ebp - 4]
push 0x53372c
lea eax, [ebp - 0x338]
mov edx, 3
call fcn.004079e0
mov edx, dword [ebp - 0x338]
mov eax, esi
call fcn.00407dd8
call fcn.00404e54
call fcn.004043dc
mov eax, esi
call fcn.00404abc
call fcn.004043dc
lea eax, [ebp - 0x310]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404ba0
mov dword [ebp - 0x310], 0x3c
mov dword [ebp - 0x30c], 0x40
xor eax, eax
mov dword [ebp - 0x308], eax
xor eax, eax
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 4]
call fcn.004074bc
mov dword [ebp - 0x300], eax
mov eax, 0x53383c
mov dword [ebp - 0x2fc], eax
xor eax, eax
mov dword [ebp - 0x2f8], eax
xor eax, eax
mov dword [ebp - 0x2f4], eax
xor eax, eax
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x310]
push eax
call sub.shell32.dll_ShellExecuteExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53369e
lea eax, [ebp - 0x338]
mov edx, 0xa
call fcn.00407428
lea eax, [ebp - 4]
call fcn.00407420
ret
Function at 0x533ff0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00407418
mov eax, dword [ebp - 8]
call fcn.00407418
lea ebx, [ebp - 0x44]
xor eax, eax
push ebp
push 0x534094
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 0x3c
call fcn.00404ba0
mov dword [ebx], 0x3c
mov dword [ebx + 4], 0x40
xor eax, eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004074bc
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004074bc
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x20], eax
push ebx
call sub.shell32.dll_ShellExecuteExW
push 0xffffffffffffffff
mov eax, dword [ebx + 0x38]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53409b
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407428
ret