joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400af3a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor ebx, ebx
mov r13d, r9d
mov esi, r8d
mov r12d, edx
mov r15, rcx
mov r14d, ebx
test rcx, rcx
je 0x1400af3de
lea r8d, [rbx + 2]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbp, rax
jmp 0x1400af3e5
mov rbp, qword [0x140119788]
test rbp, rbp
je 0x1400af5ae
mov qword [rsp + 0x80], rdi
lea rdi, [0x14011b180]
test r12d, r12d
jns 0x1400af40e
movzx eax, r12w
neg ax
movzx edx, ax
jmp 0x1400af446
mov eax, 1
test r12d, r12d
lea r9, [rsp + 0x40]
cmovne eax, r12d
lea r8, [0x1400af380]
mov edx, 0xe
mov rcx, rbp
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], eax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov rdx, qword [rsp + 0x48]
cmp rdx, rdi
je 0x1400af577
mov r8d, 0xe
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400af577
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400af577
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x1400af577
cmp esi, 0xffffffff
cmove esi, r13d
test esi, esi
jne 0x1400af4a7
lea ecx, [rsi + 0xb]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
movzx eax, word [rdi + 4]
lea r8, [rdi + 6]
mov r11, rbx
mov r9d, ebx
test eax, eax
jle 0x1400af577
mov rdx, r8
mov r10d, eax
mov edi, 0x100
nop dword [rax + rax]
movzx ecx, byte [r8]
mov eax, ebx
test ecx, ecx
cmove ecx, edi
cmp ecx, r9d
jle 0x1400af4e8
cmp r9d, esi
setl al
jmp 0x1400af4ed
cmp ecx, esi
setge al
test eax, eax
je 0x1400af4f7
mov r11, rdx
mov r9d, ecx
add rdx, 0xe
add r8, 0xe
dec r10
jne 0x1400af4d0
test r11, r11
je 0x1400af577
movzx edx, word [r11 + 0xc]
lea r8d, [r10 + 3]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400af577
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400af577
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x1400af577
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x30], ebx
mov r9d, 0x30000
mov r8d, 1
mov rcx, rsi
mov edx, eax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov r14, rax
mov rcx, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x80]
test rcx, rcx
je 0x1400af596
test r14, r14
je 0x1400af596
mov qword [rcx], rbp
jmp 0x1400af5a4
test r15, r15
je 0x1400af5a4
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r14, r14
je 0x1400af5ae
mov rax, r14
jmp 0x1400af5d0
test r12d, r12d
jle 0x1400af5ba
lea ebx, [r12 - 1]
jmp 0x1400af5c2
cmp r12d, 0xffffffff
cmovl ebx, r12d
mov r8d, ebx
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ExtractIconW]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x1400b1930
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
movzx ecx, byte [rcx + 0x23]
mov rbx, rdx
test ecx, ecx
je 0x1400b1b70
dec ecx
mov qword [rsp + 0x50], rsi
je 0x1400b19ca
dec ecx
je 0x1400b1993
dec ecx
je 0x1400b1977
mov rdx, qword [rdi + 0x28]
mov rcx, rbx
call qword [rdi + 0x18]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test rdx, rdx
je 0x1400b1981
xor esi, esi
mov word [rdx], si
xor eax, eax
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
lea rcx, [0x14011be28]
call fcn.140005ea0
xor esi, esi
mov ecx, 0xffffffff
cmp rax, rcx
cmove rax, rsi
test rbx, rbx
je 0x1400b1b0d
mov word [rbx + rax*2], si
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.140001130
cmp dword [0x14011992c], 0
jne 0x1400b1acb
cmp qword [rdi + 0x10], 0
jne 0x1400b1acb
cmp qword [0x14011cd68], rdi
jne 0x1400b19f8
test rbx, rbx
jne 0x1400b1a77
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400b1a72
xor esi, esi
mov qword [0x14011cd68], rsi
test rbx, rbx
je 0x1400b1a60
mov edx, dword [0x140119908]
test edx, edx
je 0x1400b1a42
mov r9, qword [rdi + 0x28]
lea r8, str.An_environment_variable_is_being_accessed__see_NoEnv.
lea rcx, [0x14011b1d0]
mov qword [rsp + 0x20], rsi
call fcn.140041180
mov rcx, qword [rdi + 0x28]
mov rdx, rbx
call fcn.1400ae9d0
mov rsi, qword [rsp + 0x50]
mov eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
dec eax
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x1400b1ab2
cmp byte [rdi + 0x23], 0
jne 0x1400b1a83
mov rax, qword [rdi + 0x10]
jmp 0x1400b1a86
mov rax, rdi
test byte [rax + 0x21], 4
je 0x1400b1a94
mov rcx, rdi
call fcn.1400412d0
xor esi, esi
xor eax, eax
mov word [rbx], si
mov qword [0x14011cd68], rsi
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rsi, qword [rsp + 0x50]
mov qword [0x14011cd68], rdi
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov r8, qword [rdi + 0x10]
mov qword [rsp + 0x48], rbp
mov rbp, r8
shr rbp, 1
test rbx, rbx
je 0x1400b1b6b
test r8, r8
jne 0x1400b1b1d
xor esi, esi
mov rax, rdi
cmp byte [rdi + 0x23], sil
cmove rax, rsi
test byte [rax + 0x21], 4
je 0x1400b1b03
mov rcx, rdi
call fcn.1400412d0
mov word [rbx], si
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rdi + 8]
cmp rbx, rdx
je 0x1400b1b6b
cmp r8, 0x186a0
jae 0x1400b1b5d
movzx eax, word [rdx]
test ax, ax
je 0x1400b1b53
nop word [rax + rax]
add rdx, 2
mov word [rbx], ax
add rbx, 2
movzx eax, word [rdx]
test ax, ax
jne 0x1400b1b40
xor esi, esi
mov rax, rbp
mov word [rbx], si
jmp 0x1400b1b08
mov rcx, rbx
call fcn.1400cb2e0
xor esi, esi
mov word [rbx + rbp*2], si
mov rax, rbp
jmp 0x1400b1b08
mov rcx, qword [rdi + 0x10]
call fcn.1400b1930
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b2650
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
test rcx, rcx
jne 0x1400b2666
xor eax, eax
add rsp, 0x50
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x40], r13
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x14011b1a8]
mov r13d, eax
je 0x1400b2697
mov rcx, rbx
call fcn.1400b4250
test al, al
je 0x1400b2697
xor eax, eax
mov r13, qword [rsp + 0x40]
add rsp, 0x50
pop rbx
ret
mov qword [rsp + 0x68], rbp
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1400b26c0
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
cmp rbx, rbp
jne 0x1400b26d8
mov rbp, qword [rsp + 0x68]
mov r13, qword [rsp + 0x40]
mov rax, rbx
add rsp, 0x50
pop rbx
ret
cmp byte [0x1401198e5], 0
jne 0x1400b26f5
mov rdx, rbp
mov rcx, rbx
call fcn.1400b25b0
test rax, rax
jne 0x1400b2840
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
xor r15b, r15b
xor r14b, r14b
test rbp, rbp
je 0x1400b277e
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r12d, eax
test eax, eax
je 0x1400b2783
cmp dword [0x14011b1a8], eax
je 0x1400b275a
mov rcx, rbp
call fcn.1400b4250
test al, al
jne 0x1400b275a
mov ecx, dword [0x14011b1a8]
mov r8d, 1
mov edx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r14b
test r13d, r13d
je 0x1400b2783
cmp r12d, r13d
je 0x1400b2783
mov r8d, 1
mov edx, r13d
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r15b
jmp 0x1400b2783
mov r12d, dword [rsp + 0x60]
xor edi, edi
mov rdx, rbp
mov rcx, rbx
call fcn.1400b25b0
mov rsi, rax
test rax, rax
jne 0x1400b27e7
inc edi
cmp edi, 5
jl 0x1400b2785
xor r8d, r8d
lea ecx, [rax + 2]
xor r9d, r9d
mov dl, 0x12
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.1400172d0
xor r8d, r8d
lea ecx, [rsi + 2]
xor r9d, r9d
mov dl, 0x12
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.1400172d0
mov rdx, rbp
mov rcx, rbx
call fcn.1400b25b0
mov rsi, rax
mov rdi, qword [rsp + 0x78]
test r14b, r14b
mov r14, qword [rsp + 0x38]
je 0x1400b2808
mov ecx, dword [0x14011b1a8]
xor r8d, r8d
mov edx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test r15b, r15b
mov r15, qword [rsp + 0x30]
je 0x1400b2821
xor r8d, r8d
mov edx, r13d
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r12, qword [rsp + 0x48]
test rsi, rsi
je 0x1400b2839
mov rcx, rbx
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rax, rsi
jmp 0x1400b283b
xor eax, eax
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov r13, qword [rsp + 0x40]
add rsp, 0x50
pop rbx
ret
Function at 0x1400b4a40
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1890]
test rcx, rcx
je 0x1400b4b1d
mov eax, dword [rbx]
test eax, eax
je 0x1400b4b1d
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x1400b4a7f
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x1400b4a9d
lea rdx, [rbx + 0x189c]
mov r8d, 0x7fff
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400b4a9d
mov word [rbx + 0x189c], si
test byte [rbx], 4
je 0x1400b4ab6
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1898]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [rbx], 0x20
je 0x1400b4af4
mov rcx, qword [rbx + 0x1890]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400b4af4
movzx r8d, byte [rbx + 0x1850]
mov ecx, dword [rsp + 0x30]
lea rdx, [rbx + 0x11a9c]
call fcn.140079750
test eax, eax
jne 0x1400b4af4
mov word [rbx + 0x11a9c], si
test byte [rbx], 8
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
je 0x1400b4b1d
mov rcx, qword [rbx + 0x1890]
lea rdx, [rbx + 0x1189a]
mov r8d, 0x101
call qword [sym.imp.USER32.dll_GetClassNameW]
add rsp, 0x20
pop rbx
ret
Function at 0x1400b5630
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r12
mov eax, 0x11cd0
call fcn.1400d23b0
sub rsp, rax
xor ebx, ebx
mov rbp, r8
movzx esi, dl
mov r12, rcx
test r8, r8
je 0x1400b5659
mov qword [r8], rbx
cmp qword [rcx + 0x10], rbx
jne 0x1400b5669
mov eax, 1
jmp 0x1400b5861
mov dl, 1
call fcn.1400b5a60
test eax, eax
je 0x1400b5861
mov qword [rsp + 0x11cf0], rdi
mov qword [rsp + 0x11cf8], r13
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x1401144a8]
mov rcx, r12
mov rdx, rax
mov rdi, rax
call fcn.1400b5b10
mov ecx, dword [0x14011b198]
test rax, rax
mov dword [rsp + 0x1874], ebx
mov qword [rsp + 0x1878], rbx
setne r13b
mov qword [rsp + 0x1880], rbx
mov qword [rsp + 0x1898], rbx
test r13b, r13b
mov qword [rsp + 0x18a8], rbx
mov qword [rsp + 0x18b0], rbx
cmove ecx, ebx
mov dword [0x14011b198], ecx
test sil, sil
je 0x1400b56fc
mov byte [rsp + 0x1871], bl
test r13b, r13b
je 0x1400b5704
mov byte [rsp + 0x1871], 1
mov r8, qword [0x14011b190]
lea rax, [0x1400e346c]
test ecx, ecx
mov qword [rsp + 0x1038], rax
mov qword [rsp + 0x1048], rax
mov qword [rsp + 0x1050], rax
mov rax, qword [0x1401144a8]
mov qword [rsp + 0x1888], r8
mov dword [rsp + 0x1890], ecx
mov qword [rsp + 0x1040], rbx
mov qword [rsp + 0x1068], r12
mov dword [rsp + 0x20], 0x10
mov qword [rsp + 0x28], rax
setg sil
test r13b, r13b
je 0x1400b5797
mov edx, ebx
test ecx, ecx
jle 0x1400b5780
mov rax, r8
cmp qword [rax], rdi
je 0x1400b5797
inc edx
add rax, 8
cmp edx, ecx
jl 0x1400b5771
cmp ecx, 0x1f4
jge 0x1400b5797
movsxd rax, ecx
inc ecx
mov qword [r8 + rax*8], rdi
mov dword [0x14011b198], ecx
mov dword [rsp + 0x1890], ecx
lea rdx, [rsp + 0x20]
lea rcx, [0x1400b2f10]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x1878]
test rcx, rcx
jne 0x1400b57ed
test sil, sil
je 0x1400b57d6
mov r8, qword [0x14011b190]
mov ecx, ebx
mov dword [0x14011b198], ebx
xor sil, sil
jmp 0x1400b5763
test rbp, rbp
je 0x1400b57e9
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x1400b57e9
mov qword [rbp], rax
xor eax, eax
jmp 0x1400b5851
call fcn.1400b2650
movsxd rcx, dword [0x14011b198]
mov rdx, qword [rsp + 0x1878]
mov r8, qword [0x14011b190]
test ecx, ecx
jle 0x1400b581f
mov rax, r8
nop
cmp qword [rax], rdx
je 0x1400b5833
inc ebx
add rax, 8
cmp ebx, ecx
jl 0x1400b5810
cmp ecx, 0x1f4
jge 0x1400b5833
mov qword [r8 + rcx*8], rdx
inc ecx
mov dword [0x14011b198], ecx
mov rax, qword [0x1401144a8]
mov ecx, dword [rax + 0x74]
cmp ecx, 0xffffffff
jle 0x1400b584c
mov edx, 1
call fcn.140001a70
mov eax, 1
mov rdi, qword [rsp + 0x11cf0]
mov r13, qword [rsp + 0x11cf8]
mov rbx, qword [rsp + 0x11d00]
add rsp, 0x11cd0
pop r12
pop rsi
pop rbp
ret

Function at 0x1400caf6c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400caddc
Function at 0x1400d4a18
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140112e90]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400ce6e8
xor ebx, ebx
cmp qword [0x140117a48], rbx
mov rdi, rax
jne 0x1400d4b2b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400d4c02
lea rdx, [0x1400e29f0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d4c02
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140117a48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140117a50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140117a58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140117a68], rax
test rax, rax
je 0x1400d4b22
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140117a60], rax
jmp 0x1400d4b32
mov rax, qword [0x140117a60]
jmp 0x1400d4b39
mov rax, qword [0x140117a60]
mov r11, qword [0x140117a68]
cmp rax, rdi
je 0x1400d4ba0
cmp r11, rdi
je 0x1400d4ba0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140117a68]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400d4ba0
test rax, rax
je 0x1400d4ba0
call rsi
test rax, rax
je 0x1400d4b9a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400d4b9a
test byte [rsp + 0x40], 1
jne 0x1400d4ba0
bts ebp, 0x15
jmp 0x1400d4be0
mov rcx, qword [0x140117a50]
cmp rcx, rdi
je 0x1400d4be0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400d4be0
call rax
mov rbx, rax
test rax, rax
je 0x1400d4be0
mov rcx, qword [0x140117a58]
cmp rcx, rdi
je 0x1400d4be0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400d4be0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140117a48]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400d4c02
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400d4c04
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d1920
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d6c97
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140112e90]
jne 0x1400d193a
rol rcx, 0x10
test cx, 0xffff
jne 0x1400d1936
repz ret
ror rcx, 0x10
jmp 0x1400d6bf0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140117b90]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140117c88]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.1400da440
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400d6c75
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140117b90]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call fcn.1400da43a
jmp 0x1400d6c97
mov rax, qword [rsp + 0x88]
mov qword [0x140117c88], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140117c28], rax
mov rax, qword [0x140117c88]
mov qword [0x140117b00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140117c10], rax
mov dword [0x140117af0], 0xc0000409
mov dword [0x140117af4], 1
mov rax, qword [0x140112e90]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140112e98]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140117b88], eax
mov ecx, 1
call fcn.1400d473c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400e33c0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140117b88], 0
jne 0x1400d6d1e
mov ecx, 1
call fcn.1400d473c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x2fc4d23c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d34a0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d2dc2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f5108]
test eax, eax
je 0x2fc4d2e5a
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f5110]
mov qword [rbp - 8], rax
jmp 0x2fc4d2e3e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d2e32
cmp qword [rbp - 0x10], 0
je 0x2fc4d2e32
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d2df8
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d2e5b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d2f60
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d2f88
mov eax, 0
jmp 0x2fc4d2fd6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d2fb1
mov eax, 0
jmp 0x2fc4d2fd6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d2fd1
mov eax, 0
jmp 0x2fc4d2fd6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d2fdc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d305a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d3051
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d3051
mov rax, qword [rbp - 8]
jmp 0x2fc4d306f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d3024
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140008de0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1403a79c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1403a7ea0]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x140008e48
cmp byte [rbx + 0x424e], 0
jne 0x140008e48
movsx r9d, word [rbx + 0x5356]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14000da30
test sil, 1
je 0x140008f79
jmp 0x140008ee1
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400b0468]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400b0460]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
or dword [rbx + 0x3fa0], 1
mov qword [rbx + 0x3fb8], rax
movss dword [rbx + 0x3fb0], xmm0
mov dword [rbx + 0x3fa4], 1
movss dword [rbx + 0x3fb4], xmm1
movss xmm0, dword [rbx + 0x38f4]
mov rax, qword [0x1403a7ea0]
mulss xmm0, dword [0x1400aec10]
or dword [rax + 0x3fa0], 0x40
movss dword [rax + 0x4000], xmm0
movsx r9d, word [rbx + 0x5356]
call fcn.14000da30
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140008f31
lea r11, [0x1400aed50]
cmp r9b, 0x23
jne 0x140008f14
cmp byte [r8], r9b
jne 0x140008f14
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140008f01
not ecx
call fcn.14000c770
test rax, rax
je 0x140008f79
cmp byte [rax + 0x96], 0
je 0x140008f79
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5356]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5356]
call fcn.14000da30
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140005e60
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a89b0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14000c6c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1403a7ea0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14000c723
mov qword [rsp], rbx
lea rbx, [0x1400aed50]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000c703
cmp byte [r8], r9b
jne 0x14000c703
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14000c6f0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x53b0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14000c757
mov r10, qword [r10 + 0x53b8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14000c75e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14000c744
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret