joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021820
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140046180]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x50], 0xb9f5b9c
call fcn.140021770
mov qword [rbp - 0x48], rax
test rax, rax
jne 0x140021948
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x50], 0x90f7c8c
call fcn.140021770
mov rbx, rax
test rax, rax
je 0x1400219b8
lea rdx, [rbp - 0x50]
mov rcx, rax
mov dword [rbp - 0x50], 0xbf460e7
call fcn.140021f40
lea rdx, [rbp - 0x50]
mov rcx, rbx
mov rdi, rax
mov dword [rbp - 0x50], 0x352a25c
call fcn.140021f40
mov rbx, rax
mov eax, 0x41f0
mov dword [rbp - 0x20], 0x41cb41af
mov word [rbp - 0x30], ax
mov eax, 0x4195
mov dword [rbp - 0x1c], 0x41cb41a7
mov word [rbp - 0x2e], ax
mov eax, 0x41e7
mov word [rbp - 0x2c], ax
mov eax, 0x4189
mov word [rbp - 0x2a], ax
mov eax, 0x41ec
mov word [rbp - 0x28], ax
mov eax, 0x4180
mov word [rbp - 0x26], ax
mov eax, 0x41b3
mov word [rbp - 0x24], ax
mov eax, 0x4181
lea ecx, [rax + 0x4a]
mov word [rbp - 0x22], ax
mov word [rbp - 0x18], cx
mov ecx, 0xc
movzx eax, word [rbp + rcx*2 - 0x32]
dec rcx
xor word [rbp + rcx*2 - 0x2e], ax
test rcx, rcx
jg 0x140021907
mov eax, 0x41bb
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x40]
xor word [rbp - 0x30], ax
call rdi
and qword [rbp - 0x48], 0
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x40]
xor edx, edx
xor ecx, ecx
call rbx
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x1400219b8
lea rdx, [rbp - 0x50]
mov rcx, rax
mov dword [rbp - 0x50], 0xaadf0c7
call fcn.140021f40
mov rcx, qword [rbp - 0x48]
lea rdx, [rbp - 0x50]
mov qword [0x140049f90], rax
mov dword [rbp - 0x50], 0xaadf0f1
call fcn.140021f40
mov rcx, qword [rbp - 0x48]
lea rdx, [rbp - 0x50]
mov dword [rbp - 0x50], 0xb3c1d03
mov qword [0x140049f98], rax
call fcn.140021f40
cmp qword [0x140049f90], 0
mov qword [0x140049fa0], rax
je 0x1400219b8
cmp qword [0x140049f98], 0
je 0x1400219b8
test rax, rax
je 0x1400219b8
mov eax, 1
jmp 0x1400219ba
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140022ee0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140021f40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140046180]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsxd r9, dword [rcx + 0x3c]
mov eax, 0x10b
mov r11, rdx
add r9, rcx
mov r8, rcx
cmp word [r9 + 0x18], ax
je 0x14002202f
mov eax, 0x20b
cmp word [r9 + 0x18], ax
jne 0x14002202f
mov rdx, rcx
mov ecx, dword [r9 + 0x88]
call fcn.140021f3c
mov ebp, dword [r9 + 0x8c]
mov esi, eax
add rsi, rdx
mov ecx, dword [rsi + 0x20]
call fcn.140021f3c
mov ecx, dword [rsi + 0x1c]
mov r10d, eax
add r10, rdx
call fcn.140021f3c
mov ecx, dword [rsi + 0x24]
call fcn.140021f3c
mov edi, dword [rsi + 0x18]
mov ebx, eax
add rbx, rdx
test edi, edi
je 0x14002202f
mov r11d, dword [r11]
mov ecx, dword [r10]
mov rdx, r8
dec edi
call fcn.140021f3c
mov edx, eax
add rdx, r8
xor ecx, ecx
jmp 0x140022018
shl ecx, 4
movzx eax, al
inc rdx
add ecx, eax
mov r9d, ecx
and r9d, 0xf0000000
je 0x140022018
mov eax, r9d
not r9d
shr eax, 0x18
xor eax, ecx
mov ecx, eax
and ecx, r9d
mov al, byte [rdx]
test al, al
jne 0x140021ff1
cmp r11d, ecx
je 0x140022057
add r10, 4
add rbx, 2
test edi, edi
jne 0x140021fdb
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140022ee0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, dword [rsi + 0x1c]
mov rdx, r8
call fcn.140021f3c
mov ecx, eax
movzx eax, word [rbx]
add rcx, r8
mov ecx, dword [rcx + rax*4]
call fcn.140021f3c
mov edx, eax
add rdx, r8
cmp rdx, rsi
jbe 0x14002214a
lea rax, [rsi + rbp]
cmp rdx, rax
jae 0x14002214a
xor r8d, r8d
cmp byte [rdx], 0x2e
je 0x1400220cb
lea r9, [rsp + 0x30]
mov r10, rdx
mov rcx, rdx
sub r9, rdx
neg r10
lea rax, [r10 + rcx]
cmp rax, 0x3c
jge 0x1400220c1
mov al, byte [rcx]
inc r8d
mov byte [r9 + rcx], al
inc rcx
cmp byte [rcx], 0x2e
jne 0x1400220a6
cmp r8d, 0x3c
jge 0x14002202f
lea ecx, [r8 + 1]
movsxd rax, r8d
mov byte [rsp + rax + 0x30], 0x2e
movsxd rax, ecx
movsxd rbx, ecx
mov byte [rsp + rax + 0x30], 0x64
inc ecx
add rbx, rdx
movsxd rax, ecx
mov byte [rsp + rax + 0x30], 0x6c
lea eax, [rcx + 1]
xor ecx, ecx
cmp byte [rbx], 0x23
cdqe
mov dword [rsp + 0x20], ecx
mov byte [rsp + rax + 0x30], 0x6c
mov byte [rsp + rax + 0x31], 0
jne 0x14002212e
inc rbx
mov al, byte [rbx]
test al, al
je 0x140022129
movsx eax, al
inc rbx
lea ecx, [rcx + rcx*4]
lea ecx, [rax + rcx*2 - 0x30]
mov al, byte [rbx]
test al, al
jne 0x140022112
mov dword [rsp + 0x20], ecx
lea rbx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [0x140049f98]
mov rdx, rbx
mov rcx, rax
call qword [0x140049fa0]
jmp 0x140022031
mov rax, rdx
jmp 0x140022031

Function at 0x1400247f0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140024660
Function at 0x140025c2f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140046180]
jne 0x140022efa
rol rcx, 0x10
test cx, 0xffff
jne 0x140022ef6
repz ret
ror rcx, 0x10
jmp 0x140025b88
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400494b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400495a8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140025c0d
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, [0x1400494b0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140025c2f
mov rax, qword [rsp + 0x88]
mov qword [0x1400495a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140049548], rax
mov rax, qword [0x1400495a8]
mov qword [0x140049420], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140049530], rax
mov dword [0x140049410], 0xc0000409
mov dword [0x140049414], 1
mov rax, qword [0x140046180]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140046188]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400494a8], eax
mov ecx, 1
call fcn.1400299f4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140038108]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400494a8], 0
jne 0x140025cb6
mov ecx, 1
call fcn.1400299f4
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 0x1400295d8
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 [0x140046180]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400256d4
xor ebx, ebx
cmp qword [0x140049cf8], rbx
mov rdi, rax
jne 0x1400296eb
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400297c2
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400297c2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140049cf8], 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 [0x140049d00], 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 [0x140049d08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140049d18], rax
test rax, rax
je 0x1400296e2
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 [0x140049d10], rax
jmp 0x1400296f2
mov rax, qword [0x140049d10]
jmp 0x1400296f9
mov rax, qword [0x140049d10]
mov r11, qword [0x140049d18]
cmp rax, rdi
je 0x140029760
cmp r11, rdi
je 0x140029760
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140049d18]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140029760
test rax, rax
je 0x140029760
call rsi
test rax, rax
je 0x14002975a
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 0x14002975a
test byte [rsp + 0x40], 1
jne 0x140029760
bts ebp, 0x15
jmp 0x1400297a0
mov rcx, qword [0x140049d00]
cmp rcx, rdi
je 0x1400297a0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400297a0
call rax
mov rbx, rax
test rax, rax
je 0x1400297a0
mov rcx, qword [0x140049d08]
cmp rcx, rdi
je 0x1400297a0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400297a0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140049cf8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400297c2
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400297c4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140022ee0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001040
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov edx, 0x47
lea rcx, [entry0]
mov al, byte [rcx + rdx]
xor al, 0xab
add al, 0x47
xor al, 0xb0
mov byte [rcx + rdx], al
inc rdx
cmp rdx, 0x2d9
jl 0x140001068
sbb ch, byte [rdx + 0x5f]
and byte [rsi], dl
xor eax, 0x366e59d6
sbb dword [rsi - 0x65], ebp
fnsave dword [rbp - 0x735d156f]
in al, 0x1a
pop rcx
add eax, 0x9e6d199b
xchg edx, eax
pop rcx
lodsb al, byte [rsi]
xor dword [rdx], edx
and ebp, esp
invalid
Function at 0x1400034e0
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 0x14000353d
lea rbx, [0x140045db0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003524
cmp r10, 2
jb 0x140003524
cmp byte [r9], r8b
jne 0x140003524
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 0x140003500
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000357f
lea rbx, [0x140045db0]
cmp r8b, 0x23
jne 0x140003563
cmp byte [r9], r8b
jne 0x140003563
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 0x140003550
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003740
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14000375e
mov qword [r8], r14
lea rdx, [0x1400458e0]
call fcn.140003590
mov rbx, rax
test rax, rax
jne 0x140003783
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400038ad
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400038ad
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400038ad
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400038ad
cmp rdi, 0xffffffffffffffff
je 0x1400038ad
mov rcx, rdi
call fcn.140007270
mov rbp, rax
test rax, rax
je 0x1400038ad
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 0x14000389a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140054dc0]
test r8, r8
je 0x14000388f
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003884
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400038b6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400038a8
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1400038b8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140006d60
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x140045db0]
mov rax, qword [rcx + 0x108]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x404c], ebx
jne 0x140006df6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140019e90
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400136f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140054dc0]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x140013751
cmp byte [rbx + 0x4d4e], 0
jne 0x140013751
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400032f0
test dil, 2
je 0x14001387f
jmp 0x1400137da
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14004b698]
mulss xmm1, dword [0x14004b68c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x14004b604]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
call fcn.1400032f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013830
lea r11, [0x140045db0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140013813
cmp byte [r8], r9b
jne 0x140013813
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 0x140013800
not ecx
call fcn.14000a490
test rax, rax
je 0x14001387f
cmp byte [rax + 0xbe], 0
je 0x14001387f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.1400032f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000d020
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140041170
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400186b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6010], 0
lea rbx, [rcx + 0x6018]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018757
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001870a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001af40
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003dc0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6010]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6020]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140054db8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001875f
mov rcx, rbx
call fcn.140003dc0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140018a80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x140054dc0]
xor ebp, ebp
cmp byte [rbx + 0x5f68], bpl
jne 0x140018b5f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140018b58
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140003740
mov rsi, rax
test rax, rax
je 0x140018b58
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140018ae4
mov rcx, rax
call fcn.140018cb0
mov r8, qword [0x140054dc0]
test r8, r8
je 0x140018b4f
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140018b44
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f68], 1
movss xmm0, dword [rbx + 0x5f6c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140018bee
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f6c], xmm0
jb 0x140018bee
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140018be1
mov rax, qword [0x140054dc0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f6c], ebp
call fcn.140018f10
lea rdx, [0x1400458e4]
mov rcx, rdi
mov rsi, rax
call fcn.140003590
mov rdi, rax
test rax, rax
je 0x140018be8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140018be8
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f6c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140018c10
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140054dc0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140018c73
mov qword [rsp], rbx
lea rbx, [0x140045db0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018c53
cmp byte [r8], r9b
jne 0x140018c53
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 0x140018c40
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x140018c9f
cmp dword [r8 + 8], eax
je 0x140018ca6
add r8, 0x48
cmp r8, rcx
jne 0x140018c90
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14002dc70
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140054dc0]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14002de8e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002de8e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x140054dc0]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14002dd44
movsx rdx, word [r8 + 0x60f0]
lea rax, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14002dd39
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60f4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60e8]
test rdi, rdi
je 0x14002dd61
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x14002dd64
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x14004a9e8]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x14002dda7
mov rsi, qword [r8 + 0x90]
jmp 0x14002ddaa
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14002ddd5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140054dc0]
mov rcx, qword [rax + 0x4b10]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14002de4e
inc rbx
cmp rbx, 5
jl 0x14002de30
jmp 0x14002de7a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x14002de90
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140041170
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret