joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180056670
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x440
mov r15, r8
mov r12, rdx
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov qword [rcx], rbp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], 0xf
mov byte [rcx], bpl
mov dword [rsp + 0x30], 1
lea rcx, [r9 + 0x60]
mov rdx, qword [rcx + 0x18]
cmp qword [rcx + 0x10], rbp
je 0x1800566de
cmp rdx, 0x10
jb 0x1800566ce
mov rcx, qword [rcx]
lea rdx, [0x18008f054]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbp, rax
mov ecx, 0xffffffff
mov dword [rsp + 0x488], ecx
nop word [rax + rax]
test ecx, ecx
je 0x1800567b1
lea r9, [rsp + 0x488]
mov r8d, 0x400
lea rdx, [rsp + 0x40]
mov rcx, qword [r12]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r14d, eax
mov ecx, dword [rsp + 0x488]
test ecx, ecx
je 0x18005672a
add dword [r15 + 0xe4], ecx
test rbp, rbp
je 0x180056747
mov r8, rcx
mov r9, rbp
mov edx, 1
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x1800567a0
mov rsi, rcx
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x18005678b
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x180056771
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x1800567a0
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
mov rdx, rsi
mov rcx, rdi
call fcn.180039b80
test r14d, r14d
je 0x1800567b1
mov ecx, dword [rsp + 0x488]
jmp 0x1800566f0
test rbp, rbp
je 0x1800567c8
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, rdi
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x18005c340
Capabilities:
Enumerate processes

Disassembly:
push rsi
sub rsp, 0x150
mov rsi, rdx
test rdx, rdx
jne 0x18005c35c
xor eax, eax
add rsp, 0x150
pop rsi
ret
mov qword [rsp + 0x160], rbx
xor edx, edx
mov qword [rsp + 0x168], rbp
mov qword [rsp + 0x170], rdi
xor edi, edi
mov ebx, edi
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x18005c3e2
nop
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x18005c3d0
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x18005c3d0
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x18005c3b0
mov rbp, qword [rsp + 0x168]
mov eax, edi
mov rdi, qword [rsp + 0x170]
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rsi
ret
Function at 0x180067c40
Capabilities:
Create thread
Terminate thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, r9
cmp edx, 1
jne 0x180067cc9
mov qword [rsp + 0x40], rdi
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor edi, edi
lea r8, [0x180064a80]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r8, qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x28], rdi
xor ecx, ecx
mov qword [0x1801d7008], rax
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r9, rbx
mov qword [rsp + 0x28], rdi
lea r8, [0x180061ed0]
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rbx
ret
test edx, edx
jne 0x180067cda
mov rcx, qword [0x1801d7008]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x180079660
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
cmp rdi, 0x40000000
jbe 0x18007969b
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1801fd950]
lea r15, [rdi + 0x40000000]
cmp qword [rsp + 0x30], r15
cmovbe r15, qword [rsp + 0x30]
sub r15, 0xfff
test rsi, rsi
je 0x1800796dd
cmp rsi, r14
jb 0x1800796d5
cmp rsi, r15
jae 0x1800796d5
cmp qword [rsi + 8], 0
jne 0x18007989d
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800796c0
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
cmp rdi, r14
jb 0x180079762
nop word [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180079759
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180079759
cmp dword [rsp + 0x70], 0x10000
je 0x1800797db
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x180079759
sub rbx, rbp
cmp rbx, r14
jae 0x180079720
test rsi, rsi
jne 0x180079846
cmp rdi, r15
ja 0x18007988d
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18007988d
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18007988d
cmp dword [rsp + 0x70], 0x10000
je 0x180079814
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180079792
jmp 0x18007988d
test rbx, rbx
je 0x180079759
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180079846
cmp rbx, r14
jae 0x180079700
jmp 0x180079762
test rdi, rdi
je 0x18007988d
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180079846
cmp rdi, r15
jbe 0x180079770
jmp 0x18007988d
xor eax, eax
lea rcx, [rsi + 0x40]
mov rdx, rcx
mov qword [rsi + 8], rax
sub rdx, rsi
mov dword [rsi + 0x10], eax
nop dword [rax]
mov rax, qword [rsi + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rsi + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x180079860
mov rax, qword [0x1801fd950]
mov qword [rsi], rax
mov qword [0x1801fd950], rsi
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x18007a290
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
mov r14d, edx
xor edx, edx
mov qword [rcx], r15
mov rbx, rcx
mov qword [rcx + 8], r15
mov ebp, r8d
mov esi, r15d
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18007a3e2
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18007a400
lea esi, [r15 + 1]
nop dword [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x18007a393
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18007a393
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18007a393
mov rdx, qword [rbx]
test rdx, rdx
jne 0x18007a352
mov rcx, qword [0x1801d70a8]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x18007a3bc
jmp 0x18007a383
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18007a383
mov rcx, qword [0x1801d70a8]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18007a3bc
mov qword [rbx], rax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
lea eax, [rcx + 1]
mov dword [rbx + 0xc], eax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18007a300
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x18007a400
mov r8, qword [rbx]
mov esi, r15d
test r8, r8
je 0x18007a400
mov rcx, qword [0x1801d70a8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rdi
mov qword [rbx], r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 9
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x18007a3e2
cmp qword [rbx], r15
je 0x18007a463
mov edi, r15d
cmp dword [rbx + 0xc], r15d
jbe 0x18007a463
nop dword [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, edi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18007a45c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.18007a100
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18007a420
mov eax, r15d
jmp 0x18007a3e7
Function at 0x18007a470
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1801fd940]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18007a4d4
mov eax, 0xa
jmp 0x18007a563
test esi, esi
je 0x18007a4f6
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18007a519
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18007a519
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18007a512
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18007a519
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18007a580
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x1801fd94c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x18007a5c7
mov rax, qword [0x1801fd940]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18007a5d4
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x18007a5b0
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x18007a5c7
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.18007a290
mov edi, eax
test eax, eax
jne 0x18007a6bd
mov r9d, dword [0x1801fd94c]
cmp ebx, r9d
jae 0x18007a64c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1801fd940]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x18007a645
mov edx, esi
mov ecx, ebx
call fcn.18007a470
mov edi, eax
test eax, eax
jne 0x18007a64c
mov r9d, dword [0x1801fd94c]
inc ebx
cmp ebx, r9d
jb 0x18007a610
cmp qword [rsp + 0x20], 0
je 0x18007a6bb
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18007a6a7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18007a698
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18007a670
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801d70a8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x18007a9a0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x1801d709c], ebp
je 0x18007a9f7
cmp rbx, 0x20
jae 0x18007a9e0
xor ecx, ecx
jmp 0x18007a9e2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1801d709c], ebp
jne 0x18007a9d6
cmp qword [0x1801d70a8], r15
je 0x18007aaf1
test rdi, rdi
jne 0x18007aa17
mov ecx, esi
call fcn.18007a580
mov edi, eax
jmp 0x18007aaf6
mov ecx, dword [0x1801fd94c]
mov ebx, r15d
test ecx, ecx
je 0x18007aa3f
mov rdx, qword [0x1801fd940]
mov rax, rdx
nop
cmp rdi, qword [rax]
je 0x18007aa49
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18007aa30
mov edi, 4
jmp 0x18007aaf6
cmp ebx, 0xffffffff
je 0x18007aa3f
mov eax, ebx
imul rcx, rax, 0x38
movzx eax, byte [rcx + rdx + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x18007aae8
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18007a290
mov edi, eax
test eax, eax
jne 0x18007aaf6
mov edx, esi
mov ecx, ebx
call fcn.18007a470
mov edi, eax
cmp qword [rsp + 0x20], r15
je 0x18007aaf6
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18007aad2
mov rbx, qword [rsp + 0x20]
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18007aac8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18007aaa0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801d70a8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18007aaf6
neg esi
sbb edi, edi
add edi, 6
jmp 0x18007aaf6
mov edi, 2
xchg dword [0x1801d709c], r15d
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
Function at 0x140015ff0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x30]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x34]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1401a9ea0]
call fcn.1400bf880
mov eax, edi
add rsp, 0x50
pop rdi
ret

Function at 0x1400160d0
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x40
cmp dword [rsp + 0x50], 0
jne 0x1400160ec
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x20], eax
jmp 0x1400160f4
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140016123
mov byte [rsp + 0x31], 1
jmp 0x140016128
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a400
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x160
lea rdi, [rsp + 0x30]
mov ecx, 0x4c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x170]
cmp qword [rsp + 0x170], 0
je 0x14001a44d
mov rax, qword [rsp + 0x170]
jmp 0x14001a5e0
lea rcx, [rsp + 0x40]
call fcn.140004cd0
nop
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
cdqe
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x14001a484
lea rdx, [0x1401ade70]
lea rcx, [rsp + 0x40]
call fcn.140052b30
lea rcx, [rsp + 0xb8]
call fcn.140044330
nop
lea rcx, [rsp + 0x108]
call fcn.140044330
nop
xor r8d, r8d
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x178]
call fcn.140034b00
mov qword [rsp + 0x158], rax
xor r8d, r8d
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x180]
call fcn.140034b00
mov rcx, qword [rsp + 0x158]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x188]
mov r8, rax
lea rdx, [0x1401ade78]
lea rcx, [rsp + 0x40]
call fcn.140053690
mov rcx, qword [rsp + 0x190]
call fcn.14001a600
test rax, rax
jne 0x14001a536
lea rdx, [0x1401adeac]
lea rcx, [rsp + 0x40]
call fcn.140052b30
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x40]
call fcn.140052b30
lea rcx, [rsp + 0x40]
call fcn.140052220
mov qword [rsp + 0x148], rax
cmp qword [rsp + 0xa8], 0
je 0x14001a564
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
int3
mov r9d, SafeArrayLock
lea r8, [0x1401adeb8]
mov rdx, qword [rsp + 0x148]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
test eax, eax
jne 0x14001a5a2
mov r8d, 0x41
lea rdx, str.D:HSwin_androidplugins_vprj_winclasslib_sys_baselibswin_basecpp_vol_assert.cpp
lea rcx, [0x1401adf90]
call fcn.140124a70
xor eax, eax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x108]
call fcn.140004d30
nop
lea rcx, [rsp + 0xb8]
call fcn.140004d30
nop
lea rcx, [rsp + 0x40]
call fcn.140004db0
mov rax, qword [rsp + 0x150]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401b00b0]
call fcn.1400bf880
mov rax, rdi
add rsp, 0x160
pop rdi
ret
Function at 0x140021590
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
cmp qword [rsp + 0x70], 0
je 0x1400215f9
cmp qword [rsp + 0x58], 0
je 0x1400215f9
cmp qword [rsp + 0x60], 0
jl 0x1400215f9
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x1f8], 0
jne 0x1400215f9
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0xa0], 0
jne 0x1400215f9
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0xa8], 0
jne 0x1400215f9
mov qword [rsp + 0x20], 1
jmp 0x140021602
mov qword [rsp + 0x20], 0
mov r9d, GetAltMonthNames
lea r8, [0x1401b3bc0]
lea rdx, str.pVolAppRuntimeClass___NULL__hInstance___NULL__npArgC___0__m_hInstance__NULL__m_pVolAppObject__NULL__m_blpComInitSucceeded__FALSE
mov rcx, qword [rsp + 0x20]
call fcn.14001a3b0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x1f8], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x200], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x208], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x210], eax
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x140021680
mov qword [rsp + 0x28], 1
jmp 0x140021689
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0xa8], rcx
xor ecx, ecx
call fcn.14003a120
mov rax, qword [rsp + 0x50]
movsd qword [rax + 0xb0], xmm0
mov rcx, qword [rsp + 0x70]
call fcn.140019800
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0xa0], rax
call fcn.1400129a0
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0xa0]
mov rdx, qword [rsp + 0x50]
mov rdx, qword [rdx + 0xa0]
mov qword [rsp + 0x30], rdx
mov rcx, qword [rcx]
mov qword [rsp + 0x38], rcx
mov rdx, rax
mov rax, qword [rsp + 0x30]
mov rcx, rax
mov rax, qword [rsp + 0x38]
call qword [rax + 0x68]
test eax, eax
jne 0x140021748
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0xa0]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0xa0]
mov rax, qword [rax]
call qword [rax + 0x60]
mov r9d, 0x15d
lea r8, [0x1401b3ce0]
lea rdx, [0x1401b3998]
xor ecx, ecx
call fcn.14001a3b0
mov ecx, 0xffffffff
call fcn.1401258f0
add rsp, 0x40
pop rdi
ret
Function at 0x140021d10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x20]
mov ecx, SafeArrayAllocDescriptor
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
cmp dword [rsp + 0xb8], 0
jl 0x140021d61
cmp dword [rsp + 0xb8], 4
jge 0x140021d61
mov qword [rsp + 0x90], 1
jmp 0x140021d6d
mov qword [rsp + 0x90], 0
mov r9d, 0x244
lea r8, [0x1401b4270]
lea rdx, str.enImageType___0__enImageType____NUM_VOL_RES_IMAGE_TYPES
mov rcx, qword [rsp + 0x90]
call fcn.14001a3b0
cmp qword [rsp + 0xc0], 0
je 0x140021f25
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb0]
call qword [rax]
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0xb8], 0
je 0x140021dcf
cmp dword [rsp + 0xb8], 3
jne 0x140021ed3
movzx eax, word [rsp + 0xc0]
mov r8d, 0xa
mov edx, eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140021ed1
mov qword [rsp + 0x30], 0
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140021e91
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140021e86
lea rcx, [rsp + 0x58]
call fcn.140023110
nop
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov r8d, eax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14001bac0
test rax, rax
je 0x140021e7c
lea rcx, [rsp + 0x58]
call fcn.14001dcf0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x58]
call fcn.14001b870
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rsp + 0x30], 0
je 0x140021ed1
cmp dword [rsp + 0xb8], 3
jne 0x140021eca
mov rcx, qword [rsp + 0x30]
call fcn.140022bd0
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, qword [rsp + 0x88]
jmp 0x140021f27
mov rax, qword [rsp + 0x30]
jmp 0x140021f27
jmp 0x140021f25
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 1
je 0x140021ef7
cmp dword [rsp + 0x98], 2
je 0x140021f0e
jmp 0x140021f25
movzx eax, word [rsp + 0xc0]
mov edx, eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_LoadCursorW]
jmp 0x140021f27
movzx eax, word [rsp + 0xc0]
mov edx, eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_LoadIconW]
jmp 0x140021f27
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401b77f0]
call fcn.1400bf880
mov rax, rdi
add rsp, 0xa0
pop rdi
ret