joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400111e5
Capabilities:
Terminate process

Disassembly:
jmp 0x140015100
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011262
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012c30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012c50
xor al, al
jmp 0x140012cd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012c63
xor al, al
jmp 0x140012cd1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140012c8d
xor al, al
jmp 0x140012cd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012ca1
xor al, al
jmp 0x140012cd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012cb3
xor al, al
jmp 0x140012cd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012ccf
xor al, al
jmp 0x140012cd1
mov al, 1
add rsp, 0x38
ret

Function at 0x140011a30
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001137a
movzx eax, al
test eax, eax
jne 0x140011a50
mov ecx, 7
call fcn.1400112f8
nop
mov byte [rsp + 0x20], 0
call fcn.14001130c
mov byte [rsp + 0x21], al
cmp dword [0x14001c220], 1
jne 0x140011a74
mov ecx, 7
call fcn.1400112f8
nop
jmp 0x140011acc
cmp dword [0x14001c220], 0
jne 0x140011ac7
mov dword [0x14001c220], 1
lea rdx, [0x140019660]
lea rcx, [0x140019330]
call fcn.140011190
test eax, eax
je 0x140011aa8
mov eax, 0xff
jmp 0x140011bd1
lea rdx, [0x140019220]
lea rcx, [section..rdata]
call fcn.140011302
mov dword [0x14001c220], 2
jmp 0x140011acc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400112e9
call fcn.140011285
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140011b29
mov rcx, qword [rsp + 0x30]
call fcn.14001114f
movzx eax, al
test eax, eax
je 0x140011b29
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140022020]
nop
call fcn.1400112b7
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140011b5d
mov rcx, qword [rsp + 0x38]
call fcn.14001114f
movzx eax, al
test eax, eax
je 0x140011b5d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011339
nop
call fcn.140011c80
mov dword [rsp + 0x28], eax
call fcn.140011262
movzx eax, al
test eax, eax
jne 0x140011b7c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140011b8b
call fcn.140011343
nop
xor edx, edx
mov cl, 1
call fcn.140011140
mov eax, dword [rsp + 0x28]
jmp 0x140011bd1
add rsp, 0x68
ret
Function at 0x140002320
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140218100]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, ecx
mov rcx, qword [0x140220ce0]
test rcx, rcx
jne 0x140002358
mov eax, 0xffffdcd8
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a8d90
add rsp, 0x58
ret
movups xmm1, xmmword [0x140220460]
inc dword [0x140220498]
xor r9d, r9d
mov dword [0x140220454], eax
mov r8d, 0x48
mov dword [0x140220458], edx
lea rax, [0x140220cd0]
movups xmm0, xmmword [0x140220450]
lea rdx, [0x140220490]
mov qword [rsp + 0x50], rbx
movaps xmmword [0x1402204b0], xmm1
xor ebx, ebx
movsd xmm1, qword [0x140220480]
movaps xmmword [0x1402204a0], xmm0
movups xmm0, xmmword [0x140220470]
mov dword [rsp + 0x28], sendto
mov dword [0x14022049c], 0xaede7346
movaps xmmword [0x1402204c0], xmm0
mov dword [0x140220494], 1
movsd qword [0x1402204d0], xmm1
mov qword [0x140220454], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x140220ce0]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x1402208b0]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], sendto
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jns 0x140002434
mov eax, 0xffffdcdb
jmp 0x14000245f
mov eax, dword [0x14022049c]
cmp dword [0x1402208bc], eax
je 0x140002449
mov ebx, 0xffffdcdc
jmp 0x14000245d
mov ecx, dword [0x140220498]
mov eax, 0xffffdcdd
cmp dword [0x1402208b8], ecx
cmovne ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a8d90
add rsp, 0x58
ret

Function at 0x140004980
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 0x1400049dd
lea rbx, [0x140174ba0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400049c4
cmp r10, 2
jb 0x1400049c4
cmp byte [r9], r8b
jne 0x1400049c4
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 0x1400049a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140004a1f
lea rbx, [0x140174ba0]
cmp r8b, 0x23
jne 0x140004a03
cmp byte [r9], r8b
jne 0x140004a03
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 0x1400049f0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140004b20
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 0x140004b3e
mov qword [r8], r14
lea rdx, [0x1401746bc]
call fcn.140004a30
mov rbx, rax
test rax, rax
jne 0x140004b63
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 fcn.14011a6d8
mov ebp, eax
cmp eax, 0xffffffff
je 0x140004c87
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.14011b214
test eax, eax
jne 0x140004c87
mov rcx, rbx
call fcn.14011a6d8
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004c87
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.14011b214
test eax, eax
jne 0x140004c87
cmp rdi, 0xffffffffffffffff
je 0x140004c87
mov rcx, rdi
call fcn.140008260
mov rbp, rax
test rax, rax
je 0x140004c87
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.14011f288
mov rcx, rbx
cmp rax, rdi
je 0x140004c75
call fcn.14011ae74
mov r8, qword [0x140220cf8]
test r8, r8
je 0x140004c6b
movsx rdx, word [r8 + 0x6088]
lea rcx, [r8 + 0x608c]
mov r9d, dword [r8 + 0x3fa0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140004c60
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 + 0x6088], cx
movsx rax, cx
lea rcx, [r8 + 0x608c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6084]
mov rcx, rbp
call fcn.14011f014
jmp 0x140004c8f
call fcn.14011ae74
test rsi, rsi
je 0x140004c82
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140004c91
mov rcx, rbx
call fcn.14011ae74
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 0x1400079d0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x140174ba0]
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
sar eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
sar eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov eax, r10d
xor rdx, rcx
sar eax, 0x18
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x4094], ebx
jne 0x140007a68
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001c520
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140007a70
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x120]
lea r10, [0x140174ba0]
mov rax, qword [rcx + 0x108]
movss xmm1, dword [rcx + 0x124]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x100]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x140015410
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140218100]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140220cf8]
mov edi, ecx
cmp byte [rbx + 0x4d31], 0
jne 0x140015471
cmp byte [rbx + 0x4d32], 0
jne 0x140015471
movsx r9d, word [rbx + 0x5e78]
lea r8, str.Tooltip__02d
mov edx, sendto
lea rcx, [rsp + 0x20]
call fcn.140004790
test dil, 2
je 0x14001559f
jmp 0x1400154fc
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5e78]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1401f9f74]
mov edx, sendto
mulss xmm1, dword [0x1401f9f50]
addss xmm0, dword [rbx + 0xe48]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x4a10], rax
mov dword [rbx + 0x49fc], 1
movss dword [rbx + 0x4a08], xmm0
movss dword [rbx + 0x4a0c], xmm1
movss xmm0, dword [rbx + 0x3a2c]
mulss xmm0, dword [0x1401f9e24]
or dword [rbx + 0x49f8], 0x41
movss dword [rbx + 0x4a58], xmm0
call fcn.140004790
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015550
lea r11, [0x140174ba0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140015533
cmp byte [r8], r9b
jne 0x140015533
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 0x140015520
not ecx
call fcn.14000bbb0
test rax, rax
je 0x14001559f
cmp byte [rax + 0xbe], 0
je 0x14001559f
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, sendto
inc word [rbx + 0x5e78]
movsx r9d, word [rbx + 0x5e78]
call fcn.140004790
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000e7c0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a8d90
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001b2a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140220cf8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001b303
mov qword [rsp], rbx
lea rbx, [0x140174ba0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001b2e3
cmp byte [r8], r9b
jne 0x14001b2e3
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 0x14001b2d0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f40]
not eax
mov r8, qword [r10 + 0x5f48]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001b32f
cmp dword [r8 + 8], eax
je 0x14001b336
add r8, 0x48
cmp r8, rcx
jne 0x14001b320
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140032680
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140218100]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140220cf8]
mov rbp, rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003289e
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003289e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call fcn.140124838
mov r8, qword [0x140220cf8]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140032753
movsx rdx, word [r8 + 0x6088]
lea rax, [r8 + 0x608c]
mov r9d, dword [r8 + 0x3fa0]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140032748
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 + 0x6088], cx
movsx rax, cx
lea rax, [rax*8 + 0x608c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6080]
test rdi, rdi
je 0x140032770
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 0x140032773
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1401f1ea8]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x1400327b6
mov rsi, qword [r8 + 0x90]
jmp 0x1400327b9
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 0x1400327e4
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140220cf8]
mov rcx, qword [rax + 0x4b10]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x50], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x58], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x60], rax
mov byte [rdi + 0x31], 1
nop dword [rax]
mov rcx, qword [rsp + rbx*8 + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14003285e
inc rbx
cmp rbx, 5
jl 0x140032840
jmp 0x14003288a
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 0x1400328a0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a8d90
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14005b2f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rcx
xor ebp, ebp
mov r10, qword [r8]
movzx r9d, dl
movabs rax, 0xcbf29ce484222325
xor r9, rax
movabs rcx, 0x100000001b3
imul r9, rcx
movzx eax, byte [rsp + 0x69]
xor r9, rax
imul r9, rcx
movzx eax, byte [rsp + 0x6a]
xor r9, rax
imul r9, rcx
movzx eax, byte [rsp + 0x6b]
xor r9, rax
imul r9, rcx
mov rcx, qword [r10 + 0x30]
and rcx, r9
mov r8, qword [r10 + 0x18]
mov rbx, rcx
add rbx, rbx
mov rbx, qword [r8 + rbx*8 + 8]
mov rax, qword [r10 + 8]
cmp rbx, rax
je 0x14005b392
add rcx, rcx
mov rcx, qword [r8 + rcx*8]
cmp edx, dword [rbx + 0x10]
je 0x14005b395
cmp rbx, rcx
je 0x14005b392
mov rbx, qword [rbx + 8]
cmp edx, dword [rbx + 0x10]
jne 0x14005b382
jmp 0x14005b395
mov rbx, rbp
test rbx, rbx
je 0x14005b42a
cmp rbx, rax
je 0x14005b42a
mov ecx, 0x60
call fcn.1400a9178
mov rsi, rax
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct___.0
mov qword [rsi], rax
lea rdi, [rsi + 0x10]
mov eax, dword [rbx + 0x18]
mov dword [rdi], eax
mov eax, dword [rbx + 0x1c]
mov dword [rdi + 4], eax
lea rcx, [rdi + 8]
lea rdx, [rbx + 0x20]
call fcn.1400881f0
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rdi + 0x28], xmm0
mov eax, dword [rbx + 0x50]
mov dword [rdi + 0x38], eax
movsd xmm0, qword [rbx + 0x54]
movsd qword [rdi + 0x3c], xmm0
movzx eax, byte [rbx + 0x5c]
mov byte [rdi + 0x44], al
movzx eax, byte [rbx + 0x5d]
mov byte [rdi + 0x45], al
mov rax, qword [rbx + 0x60]
mov qword [rdi + 0x48], rax
mov qword [r14], rdi
mov qword [r14 + 8], rsi
jmp 0x14005b431
mov qword [r14], rbp
mov qword [r14 + 8], rbp
mov rdi, qword [r15 + 8]
test rdi, rdi
je 0x14005b466
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14005b466
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x14005b466
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + htons]
mov rax, r14
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400856e0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x140085704
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
je 0x140085792
mov rdi, r15
mov qword [rsp + 0x40], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140085760
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x140085760
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.140145fb0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14008577d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140085785
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140085721
mov rbp, qword [rsp + 0x40]
sub r15, rdi
jmp 0x140085870
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x1400857a9
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400857ab
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400857dd
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.140145fb0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14008586d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140085818
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x14008584e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.14011f288
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14008586d
cmp rsi, rax
ja 0x140085821
test rsi, rsi
je 0x14008586d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14011f288
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x48]
mov rax, r15
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x14008bdc0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
movzx r15d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rcx, 0x100000001b3
imul r15, rcx
movzx eax, byte [r8 + 1]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 2]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 3]
xor r15, rax
imul r15, rcx
mov rcx, qword [0x1402217b0]
and rcx, r15
add rcx, rcx
mov rax, qword [0x140221798]
mov rbx, qword [rax + rcx*8 + 8]
mov r14, qword [0x140221788]
cmp rbx, r14
jne 0x14008be52
mov rbx, r14
mov rbp, r14
jmp 0x14008be9b
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x14008be6e
nop
cmp rbx, rcx
je 0x14008be95
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14008be60
mov qword [rdx], rbx
mov byte [rdx + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0x7ffffffffffffff
cmp qword [0x140221790], rax
je 0x14008c015
lea rax, [0x140221788]
mov qword [rsp + 0x20], rax
xor r13d, r13d
mov qword [rsp + 0x28], r13
mov ecx, 0x20
call fcn.1400a9178
mov rdi, rax
mov qword [rsp + 0x28], rax
mov ecx, dword [r12]
mov dword [rax + 0x10], ecx
mov qword [rax + 0x18], r13
mov rdx, qword [0x140221790]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14008befd
cvtsi2ss xmm0, rcx
jmp 0x14008bf12
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x1402217b8]
xorps xmm1, xmm1
test rcx, rcx
js 0x14008bf28
cvtsi2ss xmm1, rcx
jmp 0x14008bf3d
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x140221780]
jbe 0x14008bfa8
call fcn.14008e530
mov rcx, qword [0x1402217b0]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x140221798]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x140221788]
cmp rax, rbx
je 0x14008bf94
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14008bf91
mov rbx, rax
cmp rax, rdx
je 0x14008bfeb
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14008bf80
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov rdx, qword [0x140221790]
mov r8, qword [rbx + 8]
inc rdx
mov qword [0x140221790], rdx
mov qword [rdi], r14
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [0x140221798]
mov rax, qword [0x1402217b0]
and rax, r15
add rax, rax
mov rdx, qword [rcx + rax*8]
cmp rdx, qword [0x140221788]
jne 0x14008bff2
mov qword [rcx + rax*8], rdi
jmp 0x14008c004
mov qword [rsp + 0x20], rax
jmp 0x14008bf99
cmp rdx, rbp
jne 0x14008bffd
mov qword [rcx + rax*8], rdi
jmp 0x14008c009
cmp qword [rcx + rax*8 + 8], r8
jne 0x14008c009
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x14008be75
lea rcx, str.unordered_map_set_too_long
call fcn.1400a6010
int3
Function at 0x14008da50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14008da84
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14008da70
ret