joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400dbed0
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov r8d, dword [rdx + 0x10]
mov rbx, rdx
mov rdi, rcx
sub r8d, 1
je 0x1400dbfac
sub r8d, 1
je 0x1400dbfa7
sub r8d, 2
je 0x1400dbf95
sub r8d, 1
je 0x1400dbf2f
cmp r8d, 1
jne 0x1400dbf73
mov rbx, qword [rdx]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + reloc.WSOCK32.dll_htonl]
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1400dcdb0
mov rdx, qword [rdx + 8]
test rdx, rdx
je 0x1400dbf73
mov rax, qword [rbx]
cmp word [rax], 0x30
jne 0x1400dbfac
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, 0xffffffffffffffff
mov rdx, rax
call fcn.1400dc860
test eax, eax
jne 0x1400dbf67
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rbx + 8]
mov r8b, reloc.WSOCK32.dll_recv
mov rcx, rdi
jmp 0x1400dbfaf
mov rdx, qword [rbx]
xor r9d, r9d
mov r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400dc860
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rdx]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1400dbcb0
mov r8b, 0x28
jmp 0x1400dbfaf
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rdx, qword [rdx]
call fcn.1400015a0
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x1400dbfd0
Capabilities:
Read clipboard data

Disassembly:
movzx eax, byte [rcx + 0x23]
cmp al, 2
jne 0x1400dbfde
mov eax, 1
ret
test al, al
jne 0x1400dbfe6
mov rcx, qword [rcx + 0x10]
xor r8d, r8d
xor edx, edx
jmp fcn.1400dbff0
Function at 0x1400dc590
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp byte [rcx + 0x23], 0
mov rdi, rdx
mov rbx, rcx
jne 0x1400dc5b0
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 0
je 0x1400dc5a6
cmp byte [rdx + 0x23], 0
jne 0x1400dc5ba
mov rdi, qword [rdx + 0x10]
mov rcx, rdi
call fcn.140001640
cmp byte [rbx + 0x23], 1
jne 0x1400dc627
cmp rbx, rdi
je 0x1400dc617
mov rax, qword [rdi + 0x10]
mov r9b, 1
mov r8, rax
mov byte [rsp + 0x20], 0
shr r8, 1
and eax, 1
add r8, rax
xor edx, edx
mov rcx, rbx
call fcn.1400dc860
test eax, eax
jne 0x1400dc5fe
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
add r8, 2
mov rcx, qword [rbx + 8]
call sub.VCRUNTIME140.dll_memcpy
or byte [rbx + 0x21], 1
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1400dc640
Function at 0x1400dc640
Capabilities:
Write clipboard data

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
lea rcx, [0x140136ce8]
call fcn.140007a90
test eax, eax
jne 0x1400dc67d
lea r8, [0x1400f97e4]
lea rdx, str.Cant_open_clipboard_for_writing.
lea rcx, [0x140136060]
add rsp, 0x28
pop rsi
pop rbx
jmp fcn.140064aa0
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x20], r15
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea r14, [rsi + rbx]
xor r12d, r12d
lea rbx, [rsi + 4]
cmp rbx, r14
ja 0x1400dc742
mov r15d, dword [rsi]
test r15d, r15d
je 0x1400dc742
mov rax, rbx
add rbx, 8
cmp rbx, r14
ja 0x1400dc742
mov edi, dword [rax]
mov rsi, rbx
add rbx, rdi
cmp rbx, r14
ja 0x1400dc742
mov rdx, r12
test rdi, rdi
mov ecx, 0x42
sete dl
add rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
je 0x1400dc800
test rdi, rdi
je 0x1400dc729
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400dc7a1
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rsi, rbx
mov rdx, rbp
mov ecx, r15d
call qword [sym.imp.USER32.dll_SetClipboardData]
lea rbx, [rsi + 4]
cmp rbx, r14
jbe 0x1400dc6b0
cmp dword [0x140136d14], r12d
je 0x1400dc77c
cmp qword [0x140136cf8], r12
je 0x1400dc768
mov rcx, qword [0x140136ce8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140136cf8], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140136d14], r12d
mov qword [0x140136ce8], r12
mov eax, 1
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x140136d14], r12d
je 0x1400dc7e4
cmp qword [0x140136cf8], r12
je 0x1400dc7d0
mov rcx, qword [0x140136ce8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140136cf8], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140136d14], r12d
mov qword [0x140136ce8], r12
lea r8, [0x1400f97e4]
lea rdx, [0x1400f9e78]
lea rcx, [0x140136060]
call fcn.140064aa0
jmp 0x1400dc781
cmp dword [0x140136d14], r12d
je 0x1400dc83a
cmp qword [0x140136cf8], r12
je 0x1400dc826
mov rcx, qword [0x140136ce8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [0x140136cf8], r12
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x140136d14], r12d
mov qword [0x140136ce8], r12
lea r8, [0x1400f97e4]
lea rdx, str.Out_of_memory.
lea rcx, [0x140136060]
call fcn.140064aa0
jmp 0x1400dc781
Function at 0x1400dda70
Capabilities:
Log keystrokes

Disassembly:
push rbx
push rbp
push rsi
push r15
sub rsp, 0x38
mov rbx, rcx
test rcx, rcx
je 0x1400ddc50
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140136030]
mov r15d, eax
je 0x1400ddaa9
mov rcx, rbx
call fcn.1400df220
test al, al
jne 0x1400ddc50
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1400ddacd
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
cmp rbx, rbp
jne 0x1400ddadf
mov rax, rbx
add rsp, 0x38
pop r15
pop rsi
pop rbp
pop rbx
ret
cmp byte [0x140132b04], 0
jne 0x1400ddafc
mov rdx, rbp
mov rcx, rbx
call fcn.1400dd9c0
test rax, rax
jne 0x1400ddc52
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r12
xor r12b, r12b
mov qword [rsp + 0x78], r13
xor r13b, r13b
mov qword [rsp + 0x30], r14
test rbp, rbp
je 0x1400ddb80
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r14d, eax
test eax, eax
je 0x1400ddb85
cmp dword [0x140136030], eax
je 0x1400ddb5c
mov rcx, rbp
call fcn.1400df220
test al, al
jne 0x1400ddb5c
mov ecx, dword [0x140136030]
mov r8d, 1
mov edx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r12b
test r15d, r15d
je 0x1400ddb85
cmp r14d, r15d
je 0x1400ddb85
mov r8d, 1
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne r13b
jmp 0x1400ddb85
mov r14d, dword [rsp + 0x60]
xor edi, edi
nop word [rax + rax]
mov rdx, rbp
mov rcx, rbx
call fcn.1400dd9c0
mov rsi, rax
test rax, rax
jne 0x1400ddbf6
inc edi
cmp edi, 5
jl 0x1400ddb90
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
mov ecx, 2
call fcn.1400215d0
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
mov ecx, 2
call fcn.1400215d0
mov rdx, rbp
mov rcx, rbx
call fcn.1400dd9c0
mov rsi, rax
mov rdi, qword [rsp + 0x68]
test r12b, r12b
mov r12, qword [rsp + 0x70]
je 0x1400ddc17
mov ecx, dword [0x140136030]
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
test r13b, r13b
mov r13, qword [rsp + 0x78]
je 0x1400ddc30
xor r8d, r8d
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r14, qword [rsp + 0x30]
test rsi, rsi
je 0x1400ddc50
mov rcx, rbx
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rax, rsi
add rsp, 0x38
pop r15
pop rsi
pop rbp
pop rbx
ret
xor eax, eax
add rsp, 0x38
pop r15
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400dddc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rbx, rcx
test r8b, r8b
je 0x1400ddde0
call fcn.14009e2a0
jmp 0x1400dddf1
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WSOCK32.dll_recv
call qword [sym.imp.USER32.dll_PostMessageW]
xor edi, edi
test esi, esi
cmovns edi, esi
test edi, edi
je 0x1400dde6a
mov qword [rsp + 0x30], rbp
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword gs:[0x48]
mov ebp, eax
cmp dword [0x140136030], esi
jne 0x1400dde2a
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001b00
jmp 0x1400dde35
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400dde52
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rdi + rbp]
sub ecx, eax
cmp ecx, 5
jg 0x1400dde11
mov rbp, qword [rsp + 0x30]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400dfa90
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x1898]
test rcx, rcx
je 0x1400dfb89
mov eax, dword [rbx]
test eax, eax
je 0x1400dfb89
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
test al, 1
jne 0x1400dfacf
mov rax, qword [rbx + 0x1018]
cmp word [rax], si
je 0x1400dfaed
mov r8d, 0x7fff
lea rdx, [rbx + 0x18ac]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400dfaed
mov word [rbx + 0x18ac], si
test byte [rbx], 4
je 0x1400dfb06
mov rcx, qword [rbx + 0x1898]
lea rdx, [rbx + 0x18a8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test byte [rbx], 0x20
je 0x1400dfb44
mov rcx, qword [rbx + 0x1898]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400dfb44
movzx r9d, byte [rbx + 0x1858]
lea rdx, [rbx + 0x11aac]
mov ecx, dword [rsp + 0x30]
call fcn.140099f90
test eax, eax
jne 0x1400dfb44
mov word [rbx + 0x11aac], si
test byte [rbx], 8
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
je 0x1400dfb6d
mov rcx, qword [rbx + 0x1898]
lea rdx, [rbx + 0x118aa]
mov r8d, 0x101
call qword [sym.imp.USER32.dll_GetClassNameW]
test dword [rbx], 0x100
je 0x1400dfb89
mov rcx, qword [rbx + 0x1898]
call qword [sym.imp.USER32.dll_GetParent]
mov qword [rbx + 0x18a0], rax
add rsp, 0x20
pop rbx
ret

Function at 0x1400e0340
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x11ce8
call fcn.1400f7000
sub rsp, rax
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400e041c
xor r9d, r9d
mov byte [rsp + 0x18a8], dl
xorps xmm0, xmm0
mov dword [rsp + 0x20], r9d
lea rcx, [0x1400f97e4]
mov byte [rsp + 0x1879], r9b
mov qword [rsp + 0x1038], rcx
lea rdx, [rsp + 0x20]
lea rcx, [0x1400e1430]
mov dword [rsp + 0x187c], r9d
movdqa xmmword [rsp + 0x1880], xmm0
mov qword [rsp + 0x1890], r9
mov dword [rsp + 0x1898], r9d
movdqa xmmword [rsp + 0x18b0], xmm0
mov qword [rsp + 0x18a0], rax
mov dword [rsp + 0x18ac], r8d
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rsp + 0x1880], 0
je 0x1400e041c
mov rax, qword [0x14012f240]
cmp dword [rax + 0x74], 0xffffffff
jle 0x1400e041c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140136030], eax
mov rcx, qword [0x14012f240]
mov ecx, dword [rcx + 0x74]
je 0x1400e0412
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
add rsp, 0x11ce8
ret
mov edx, 1
call fcn.140001b00
mov eax, 1
add rsp, 0x11ce8
ret
Function at 0x1400e0430
Capabilities:
Check for foreground window switch
Check for time delay via gettickcount
Enumerate gui resources
Log keystrokes

Disassembly:
push rbx
push r15
sub rsp, 0x28
cmp qword [rcx + 0x10], 0
movzx r15d, dl
mov rbx, rcx
jne 0x1400e0453
mov eax, 1
add rsp, 0x28
pop r15
pop rbx
ret
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x50], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [0x14012f240]
mov rcx, rbx
mov rdx, rax
mov rdi, rax
call fcn.1400e0d40
cmp byte [rbx], 0
mov rbp, rax
je 0x1400e048a
test rax, rax
jne 0x1400e0493
jmp 0x1400e0558
test rbp, rbp
jne 0x1400e0558
test rdi, rdi
je 0x1400e0558
mov qword [rsp + 0x48], rsi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov edx, reloc.WSOCK32.dll_recv
mov rcx, rdi
call qword [sym.imp.USER32.dll_PostMessageW]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword gs:[0x48]
mov r14d, eax
nop dword [rax + rax]
cmp dword [0x140136030], esi
jne 0x1400e04e9
mov edx, 1
mov ecx, 0x8000012f
call fcn.140001b00
jmp 0x1400e04f4
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400e0517
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, r14d
sub ecx, eax
add ecx, 0x1f4
cmp ecx, 5
jg 0x1400e04d0
mov rax, qword [0x14012f240]
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x48]
cmp dword [rax + 0x74], 0xffffffff
jle 0x1400e0558
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140136030], eax
mov rcx, qword [0x14012f240]
mov ecx, dword [rcx + 0x74]
je 0x1400e054e
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400e0558
mov edx, 1
call fcn.140001b00
cmp byte [rbx], 0
movzx edx, r15b
mov rdi, qword [rsp + 0x50]
mov rcx, rbx
je 0x1400e0580
xor r9d, r9d
mov r8, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
pop r15
pop rbx
jmp fcn.1400e05a0
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
pop r15
pop rbx
jmp fcn.1400e0830
Function at 0x1400f6c00
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400f6c4a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400f6c4a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400f6c4a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400f6c4a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400f6c4a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400f6c4c
xor al, al
add rsp, 0x28
ret
Function at 0x14000114c
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140003040]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp qword [0x140003020], 0
mov rax, qword [0x140003008]
movups xmm0, xmmword [rax - 0x10]
movdqu xmmword [rsp + 0x30], xmm0
je 0x140001184
mov ecx, 5
int 0x29
xorps xmm0, xmm0
lea r9, [0x140003020]
lea r8, [section..data]
lea rdx, [0x140001010]
lea rcx, [rsp + 0x30]
movdqu xmmword [0x140003028], xmm0
call qword [sym.imp.ADVAPI32.dll_EventRegister]
nop dword [rax + rax]
test eax, eax
jne 0x1400011da
mov r8, qword [0x140003008]
lea edx, [rax + 2]
mov rcx, qword [0x140003020]
movzx r9d, word [r8]
call qword [sym.imp.ADVAPI32.dll_EventSetInformation]
nop dword [rax + rax]
cmp dword [section..data], 5
jbe 0x14000124d
movabs rcx, 0x2000000000000
test qword [0x140003010], rcx
je 0x14000124d
mov rax, qword [0x140003018]
and rax, rcx
cmp rax, qword [0x140003018]
jne 0x14000124d
and dword [rsp + 0x6c], 0
lea rax, str.CalculatorStarted
mov qword [rsp + 0x60], rax
lea rdx, [0x1400023d1]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x68], 0x12
mov qword [rsp + 0x28], rax
lea rcx, [section..data]
xor r9d, r9d
mov dword [rsp + 0x20], 3
xor r8d, r8d
call fcn.1400010a4
mov dword [rsp + 0x28], 1
lea r8, str.ms_calculator:
and qword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400012a0
add rsp, 0x88
ret
Function at 0x140001620
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140003620], rbx
je 0x140001687
cmp rax, rbx
jne 0x14000167a
mov ebx, 1
mov esi, ebx
jmp 0x14000168c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000165f
mov ebx, 1
mov eax, dword [0x140003628]
cmp eax, ebx
jne 0x1400016a4
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000171a
mov eax, dword [0x140003628]
test eax, eax
jne 0x14000170f
mov dword [0x140003628], ebx
lea r15, [0x1400022e0]
lea rdi, [0x1400022c8]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140001701
test eax, eax
jne 0x140001705
cmp qword [rdi], r14
je 0x1400016f6
movabs r10, 0xd30527475e523070
mov rax, qword [rdi]
mov rcx, qword [vtable.H_MA8HI.0]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400016ce
test eax, eax
je 0x140001715
mov eax, 0xff
jmp 0x14000187a
mov dword [0x1400035d4], ebx
mov edi, 0x1f
mov eax, dword [0x140003628]
cmp eax, ebx
jne 0x140001741
lea rdx, [0x1400022c0]
lea rcx, [0x1400022b0]
call sub.msvcrt.dll__initterm
mov dword [0x140003628], 2
test esi, esi
jne 0x14000174f
mov rax, r14
xchg qword [0x140003620], rax
cmp qword [0x140003630], r14
je 0x14000178c
lea rcx, [0x140003630]
call fcn.140001a50
test eax, eax
je 0x14000178c
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140003630]
mov r9, qword [vtable.H_MA8HI.0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400017a5
mov eax, 0xff
jmp 0x14000187a
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000182b
test ax, ax
je 0x1400017c0
test edx, edx
jne 0x14000182b
sub ax, bx
cmp ax, di
ja 0x1400017d6
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400017c0
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14000114c
mov dword [0x1400035d0], eax
cmp dword [0x1400035f0], r14d
jne 0x140001814
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400035d4], r14d
jne 0x140001829
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400035d0]
jmp 0x14000187a
cmp ax, 0x22
jne 0x14000183f
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400017ae
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call 0x1400012c4
add rsp, 0x28
jmp 0x140001620
Function at 0x14000193c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001988
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001980
cmp dword [rcx + 0x3c], edx
jl 0x140001980
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001980
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140001988
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1800074d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000752d
lea rbx, [0x1800c8cf0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180007514
cmp r10, 2
jb 0x180007514
cmp byte [r9], r8b
jne 0x180007514
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1800074f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000756f
lea rbx, [0x1800c8cf0]
cmp r8b, 0x23
jne 0x180007553
cmp byte [r9], r8b
jne 0x180007553
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180007540
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800076b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800076ca
mov qword [r8], 0
lea rdx, [0x1800c887c]
call fcn.180007580
mov rbx, rax
test rax, rax
jne 0x1800076ea
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1800077c3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800077c3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800077c3
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800077c3
cmp rdi, 0xffffffffffffffff
je 0x1800077c3
mov rax, qword [0x180628f30]
test rax, rax
je 0x180007760
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1800077c3
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]
mov rcx, rbx
cmp rax, rdi
je 0x1800077b0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180628f30]
test rax, rax
je 0x1800077a5
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800077cc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1800077be
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800077ce
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18000aba0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x1800c8cf0]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x180628f30]
not ebx
cmp dword [rcx + 0x3ef8], ebx
jne 0x18000ac35
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.18001d7d0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180017670
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1803cf040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180628f30]
mov edi, ecx
cmp byte [rbx + 0x4a3d], 0
jne 0x1800176d1
cmp byte [rbx + 0x4a3e], 0
jne 0x1800176d1
movsx r9d, word [rbx + 0x5b3a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180007390
test dil, 1
je 0x1800177f8
jmp 0x18001775c
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b3a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1803bdb24]
mov edx, 0x10
mulss xmm1, dword [0x1803bdb00]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47a0], rax
mov dword [rbx + 0x478c], 1
movss dword [rbx + 0x4798], xmm0
movss dword [rbx + 0x479c], xmm1
movss xmm0, dword [rbx + 0x3904]
mulss xmm0, dword [0x1803bda6c]
or dword [rbx + 0x4788], 0x41
movss dword [rbx + 0x47e8], xmm0
call fcn.180007390
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1800177b0
lea r11, [0x1800c8cf0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180017793
cmp byte [r8], r9b
jne 0x180017793
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 0x180017780
not ecx
call fcn.18000e860
test rax, rax
je 0x1800177f8
cmp byte [rax + 0xae], 0
je 0x1800177f8
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b3a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b3a]
call fcn.180007390
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180010fa0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180045890
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret