joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000c5c8
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x180071020]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [0x180077988]
mov r14, r9
mov r15, qword [0x180073b80]
mov rdi, r8
mov rsi, rcx
test rax, rax
jne 0x18000c677
mov rbx, qword [0x180073c88]
lea rcx, [rbp - 0x40]
movsxd rdx, dword [rbx + 0x3c]
movzx eax, word [rdx + rbx + 0x14]
lea r10, [rdx + rbx]
movzx r9d, word [rdx + rbx + 6]
add rax, 0x18
lea rdx, [rbp - 0x14]
mov dword [rbp - 0x14], 0x7865742e
add r10, rax
mov byte [rbp - 0x10], 0x74
call fcn.18000be80
lea rdx, [r9 + r9*4]
mov rcx, r10
lea rdx, [r10 + rdx*8]
mov r8, qword [rax]
call fcn.18000dfc4
mov word [rbp - 0x18], 0x26ff
lea r9, [rbp - 0x16]
lea r8, [rbp - 0x18]
mov ecx, dword [rax + 0xc]
mov edx, dword [rax + 8]
add rcx, rbx
add rdx, rcx
call fcn.18000e064
mov qword [0x180077988], rax
movsd xmm0, qword [rdi]
lea r9, [rbp - 0x40]
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x30]
xor eax, eax
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rax
mov r8, r15
mov eax, dword [rdi + 8]
mov dword [rbp - 0x38], eax
movsd qword [rbp - 0x40], xmm0
mov qword [rsp + 0x20], r14
call fcn.18000e140
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18002d900
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000c6cc
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x180071020]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [0x180077948]
mov rdi, r8
mov r14, qword [0x180073b80]
mov rsi, rcx
test rax, rax
jne 0x18000c77a
mov rbx, qword [0x180073c88]
lea rcx, [rbp - 0x40]
movsxd rdx, dword [rbx + 0x3c]
movzx eax, word [rdx + rbx + 0x14]
lea r10, [rdx + rbx]
movzx r9d, word [rdx + rbx + 6]
add rax, 0x18
lea rdx, [rbp - 0x14]
mov dword [rbp - 0x14], 0x7865742e
add r10, rax
mov byte [rbp - 0x10], 0x74
call fcn.18000be80
lea rdx, [r9 + r9*4]
mov rcx, r10
lea rdx, [r10 + rdx*8]
mov r8, qword [rax]
call fcn.18000dfc4
mov word [rbp - 0x18], 0x26ff
lea r9, [rbp - 0x16]
lea r8, [rbp - 0x18]
mov ecx, dword [rax + 0xc]
mov edx, dword [rax + 8]
add rcx, rbx
add rdx, rcx
call fcn.18000e064
mov qword [0x180077948], rax
movsd xmm0, qword [rdi]
lea r9, [rbp - 0x40]
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x30]
xor eax, eax
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rax
mov r8, r14
mov eax, dword [rdi + 8]
mov dword [rbp - 0x38], eax
movsd qword [rbp - 0x40], xmm0
call fcn.18000e17c
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18002d900
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x18000c800
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x180071020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [0x1800778f8]
mov rdi, rdx
test rax, rax
jne 0x18000c8a1
mov rbx, qword [0x180073c88]
lea rdx, [rbp - 0x1c]
movsxd rcx, dword [rbx + 0x3c]
movzx eax, word [rcx + rbx + 0x14]
lea r10, [rcx + rbx]
movzx r9d, word [rcx + rbx + 6]
add rax, 0x18
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x1c], 0x7865742e
add r10, rax
mov byte [rbp - 0x18], 0x74
call fcn.18000be80
lea rdx, [r9 + r9*4]
mov rcx, r10
lea rdx, [r10 + rdx*8]
mov r8, qword [rax]
call fcn.18000dfc4
mov word [rbp - 0x20], 0x26ff
lea r9, [rbp - 0x1e]
lea r8, [rbp - 0x20]
mov ecx, dword [rax + 0xc]
mov edx, dword [rax + 8]
add rcx, rbx
add rdx, rcx
call fcn.18000e064
mov qword [0x1800778f8], rax
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x38]
lea rax, [0x180035c60]
mov r8, rdi
mov qword [rbp - 0x30], rax
xor eax, eax
mov qword [rbp - 0x28], rax
call fcn.18000e0ac
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18002d900
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x18000c9f0
Capabilities:
Enumerate pe sections

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbx
sub rsp, 0x70
cmp byte [0x180077960], 0
mov rbx, rcx
jne 0x18000353f
lea rcx, [rax - 0x38]
mov qword [rax + 0x18], 0x18
call fcn.1800027f0
mov rcx, rax
call fcn.180008458
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x88], rax
call fcn.180002804
mov qword [rsp + 0x30], rax
lea rax, [0x180077930]
mov qword [rsp + 0x98], rax
call fcn.180003554
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x98]
lea rax, [rsp + 0x90]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
call fcn.180003564
mov byte [0x180077960], 1
mov rdx, qword [0x180077930]
mov r8, rbx
add rsp, 0x70
pop rbx
jmp 0x18000c9f0
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x180071020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [0x180077968]
mov rsi, r8
mov rdi, rdx
test rax, rax
jne 0x18000ca91
mov rbx, qword [0x180073c88]
lea rdx, [rbp - 0x1c]
movsxd rcx, dword [rbx + 0x3c]
movzx eax, word [rcx + rbx + 0x14]
lea r10, [rcx + rbx]
movzx r9d, word [rcx + rbx + 6]
add rax, 0x18
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x1c], 0x7865742e
add r10, rax
mov byte [rbp - 0x18], 0x74
call fcn.18000be80
lea rdx, [r9 + r9*4]
mov rcx, r10
lea rdx, [r10 + rdx*8]
mov r8, qword [rax]
call fcn.18000dfc4
mov word [rbp - 0x20], 0x26ff
lea r9, [rbp - 0x1e]
lea r8, [rbp - 0x20]
mov ecx, dword [rax + 0xc]
mov edx, dword [rax + 8]
add rcx, rbx
add rdx, rcx
call fcn.18000e064
mov qword [0x180077968], rax
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x38]
lea rax, [0x180003300]
mov r9, rsi
mov qword [rbp - 0x30], rax
mov r8, rdi
xor eax, eax
mov qword [rbp - 0x28], rax
call fcn.18000e100
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18002d900
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000cd3c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x180071020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [0x180077950]
mov rsi, rdx
mov rdi, rcx
test rax, rax
jne 0x18000cddd
mov rbx, qword [0x180073c88]
lea rcx, [rbp - 0x40]
movsxd rdx, dword [rbx + 0x3c]
movzx eax, word [rdx + rbx + 0x14]
lea r10, [rdx + rbx]
movzx r9d, word [rdx + rbx + 6]
add rax, 0x18
lea rdx, [rbp - 0x1c]
mov dword [rbp - 0x1c], 0x7865742e
add r10, rax
mov byte [rbp - 0x18], 0x74
call fcn.18000be80
lea rdx, [r9 + r9*4]
mov rcx, r10
lea rdx, [r10 + rdx*8]
mov r8, qword [rax]
call fcn.18000dfc4
mov word [rbp - 0x20], 0x26ff
lea r9, [rbp - 0x1e]
lea r8, [rbp - 0x20]
mov ecx, dword [rax + 0xc]
mov edx, dword [rax + 8]
add rcx, rbx
add rdx, rcx
call fcn.18000e064
mov qword [0x180077950], rax
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x38]
xor eax, eax
mov qword [rbp - 0x30], rdi
mov r8, rsi
mov qword [rbp - 0x28], rax
call fcn.18000e0ac
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18002d900
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000ce14
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x180071020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [0x180077990]
mov edi, r9d
mov r15, qword [0x1800778e8]
mov r14d, r8d
mov rsi, rdx
test rax, rax
jne 0x18000cec3
mov rbx, qword [0x180073c88]
lea rdx, [rbp - 0x1c]
movsxd rcx, dword [rbx + 0x3c]
movzx eax, word [rcx + rbx + 0x14]
lea r10, [rcx + rbx]
movzx r9d, word [rcx + rbx + 6]
add rax, 0x18
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x1c], 0x7865742e
add r10, rax
mov byte [rbp - 0x18], 0x74
call fcn.18000be80
lea rdx, [r9 + r9*4]
mov rcx, r10
lea rdx, [r10 + rdx*8]
mov r8, qword [rax]
call fcn.18000dfc4
mov word [rbp - 0x20], 0x26ff
lea r9, [rbp - 0x1e]
lea r8, [rbp - 0x20]
mov ecx, dword [rax + 0xc]
mov edx, dword [rax + 8]
add rcx, rbx
add rdx, rcx
call fcn.18000e064
mov qword [0x180077990], rax
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x38]
xor eax, eax
mov qword [rbp - 0x30], r15
mov r9d, r14d
mov qword [rbp - 0x28], rax
mov r8, rsi
mov dword [rsp + 0x20], edi
call fcn.18000e1b0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18002d900
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000cf04
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x180071020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [0x1800778f0]
mov edi, r9d
mov r15, qword [0x180077900]
mov r14d, r8d
mov rsi, rdx
test rax, rax
jne 0x18000cfb6
mov rbx, qword [0x180073c88]
lea rdx, [rbp - 0x1c]
movsxd rcx, dword [rbx + 0x3c]
movzx eax, word [rcx + rbx + 0x14]
lea r10, [rcx + rbx]
movzx r9d, word [rcx + rbx + 6]
add rax, 0x18
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x1c], 0x7865742e
add r10, rax
mov byte [rbp - 0x18], 0x74
call fcn.18000be80
lea rdx, [r9 + r9*4]
mov rcx, r10
lea rdx, [r10 + rdx*8]
mov r8, qword [rax]
call fcn.18000dfc4
mov word [rbp - 0x20], 0x26ff
lea r9, [rbp - 0x1e]
lea r8, [rbp - 0x20]
mov ecx, dword [rax + 0xc]
mov edx, dword [rax + 8]
add rcx, rbx
add rdx, rcx
call fcn.18000e064
mov qword [0x1800778f0], rax
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x38]
xor eax, eax
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], rax
mov r9d, r14d
mov eax, dword [rbp + 0x60]
mov r8, rsi
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x58]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x50]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edi
call fcn.18000e1d4
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18002d900
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000d010
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x180071020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [0x180077958]
mov r14, r9
mov r15, qword [0x180073ba8]
mov rsi, r8
mov rdi, rdx
test rax, rax
jne 0x18000d0bf
mov rbx, qword [0x180073c88]
lea rdx, [rbp - 0x1c]
movsxd rcx, dword [rbx + 0x3c]
movzx eax, word [rcx + rbx + 0x14]
lea r10, [rcx + rbx]
movzx r9d, word [rcx + rbx + 6]
add rax, 0x18
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x1c], 0x7865742e
add r10, rax
mov byte [rbp - 0x18], 0x74
call fcn.18000be80
lea rdx, [r9 + r9*4]
mov rcx, r10
lea rdx, [r10 + rdx*8]
mov r8, qword [rax]
call fcn.18000dfc4
mov word [rbp - 0x20], 0x26ff
lea r9, [rbp - 0x1e]
lea r8, [rbp - 0x20]
mov ecx, dword [rax + 0xc]
mov edx, dword [rax + 8]
add rcx, rbx
add rdx, rcx
call fcn.18000e064
mov qword [0x180077958], rax
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x38]
xor eax, eax
mov qword [rbp - 0x30], r15
mov r9, rsi
mov qword [rbp - 0x28], rax
mov r8, rdi
mov qword [rsp + 0x20], r14
call fcn.18000e0c4
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18002d900
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180010250
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x1800779b4], 0
lea rsi, [0x1800779b0]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x1800102b7
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x180010285
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x18001027d
not ebx
mov edx, ebx
test edi, edi
jle 0x1800102d9
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x1800102bf
jmp 0x180010313
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x180010313
mov r9b, 0x23
cmp r8b, r9b
jne 0x1800102f8
cmp byte [r10], r9b
jne 0x1800102f8
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x1800102e7
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret

Function at 0x180010960
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rbp, r9d
mov rsi, r8
test r8, r8
je 0x180010987
and dword [r8], 0
call fcn.180010874
mov rbx, rax
test rax, rax
je 0x180010a3d
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.1800380d8
test eax, eax
jne 0x180010a35
mov rcx, rbx
call fcn.180037484
movsxd r14, eax
cmp r14d, 0xffffffff
je 0x180010a35
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1800380d8
test eax, eax
jne 0x180010a35
lea ecx, [r14 + rbp]
movsxd rcx, ecx
call fcn.1800118a0
mov rdi, rax
test rax, rax
je 0x180010a35
mov r9, rbx
mov r8, r14
mov edx, 1
mov rcx, rax
call fcn.18003b61c
cmp rax, r14
je 0x180010a0e
mov rcx, rbx
call fcn.180037dd0
mov rcx, rdi
call fcn.1800118b8
jmp 0x180010a3d
test ebp, ebp
jle 0x180010a20
mov r8, rbp
lea rcx, [r14 + rdi]
xor edx, edx
call fcn.180030620
mov rcx, rbx
call fcn.180037dd0
test rsi, rsi
je 0x180010a30
mov dword [rsi], r14d
mov rax, rdi
jmp 0x180010a3f
mov rcx, rbx
call fcn.180037dd0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x18002b3e4
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 8], rbx
mov r11, rdx
mov eax, 0x5e6ea9af
mul r8d
mov ebx, r8d
xor r9d, r9d
shr edx, 0xb
mov r10d, 1
imul eax, edx, 0x15b0
sub ebx, eax
test r8d, r8d
je 0x18002b4d6
xor ecx, ecx
cmp ebx, 7
jbe 0x18002b483
lea edx, [rcx + 7]
movzx eax, byte [r11]
add ecx, 8
add r10d, eax
add edx, 8
movzx eax, byte [r11 + 1]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 2]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 3]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 4]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 5]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 6]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 7]
add r9d, r10d
add r10d, eax
add r11, 8
add r9d, r10d
cmp edx, ebx
jb 0x18002b41e
cmp ecx, ebx
jae 0x18002b4a0
mov eax, ebx
sub eax, ecx
mov ecx, eax
movzx eax, byte [r11]
inc r11
add r10d, eax
add r9d, r10d
sub rcx, 1
jne 0x18002b48d
mov eax, 0x80078071
mul r10d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r10d, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul ecx, edx, 0xffff000f
add r9d, ecx
sub r8d, ebx
mov ebx, 0x15b0
jne 0x18002b414
mov rbx, qword [rsp + 8]
shl r9d, 0x10
lea eax, [r10 + r9]
ret

Function at 0x18002ca30
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x180071020]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp qword [0x180077898], 0
jne 0x18002ca5a
call fcn.18002c4f4
call fcn.180011924
mov rcx, qword [0x1800778a8]
lea rdx, [rbp - 0x30]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x24]
sub ecx, dword [rbp - 0x2c]
movd xmm2, ecx
mov ecx, dword [rbp - 0x28]
sub ecx, dword [rbp - 0x30]
cvtdq2ps xmm2, xmm2
movd xmm1, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm1, xmm1
call fcn.180001888
lea rcx, [rbp - 0x18]
movsd xmm0, qword [rax]
movsd qword [rbx], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x18]
xorps xmm1, xmm1
sub rax, qword [0x1800778b8]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1800778c8]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbx + 8], xmm1
mov rax, qword [rbp - 0x18]
mov qword [0x1800778b8], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rbx + 0x11d], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rbx + 0x11e], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x120], 0
cmp byte [rbx + 0x347], 0
mov byte [rbx + 0x11f], al
je 0x18002cb60
cvttss2si eax, dword [rbx + 0x108]
mov rcx, qword [0x1800778a8]
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x20], eax
cvttss2si eax, dword [rbx + 0x10c]
mov dword [rbp - 0x1c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x1c]
mov ecx, dword [rbp - 0x20]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [rbx + 0x11c], 0
je 0x18002cb71
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetCursor]
call fcn.180011950
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18002d900
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x1800372a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.18002e530
sub rsp, rax
mov rax, qword [0x180071020]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180048ffc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800372ef
mov rax, rbp
jmp 0x1800373f7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x735c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18004928c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x735c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800373f3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800373f3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18004928c
test rax, rax
js 0x1800373f3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800373f3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800373e5
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800373e5
cmp byte [rcx], 0xd
jne 0x1800373cb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800373da
cmp byte [rcx + 1], 0xa
jne 0x1800373da
inc rcx
jmp 0x1800373da
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x713d0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800373ad
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800373f7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18002d900
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180049338
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800735c0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18004938f
cmp word [rdx], r13w
jne 0x18004938f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180049394
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800494b9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800494da
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800493cd
mov rdx, r9
mov word [rbx], cx
jmp 0x1800493f4
cmp r9, r8
jae 0x180049404
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1800493ae
jmp 0x1800494b9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800494ae
cmp dword [rsp + 0x80], esi
je 0x1800494ae
lea r8, [0x1800735c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180049486
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180049456
mov word [rbx], r13w
jmp 0x1800494b6
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x180049463
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800494b6
cmp word [rsp + 0x70], r13w
jne 0x180049493
cmp rbx, r14
je 0x180049450
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180049294
cmp word [rsp + 0x70], r13w
je 0x1800494b9
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800735c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800494b3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800494b9
Function at 0x18004fb2c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18004fb5c
xor eax, eax
jmp 0x18004fc1f
mov rbp, rbx
cmp word [rax], si
je 0x18004fb81
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18004fb68
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18004fb64
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180047db4
movsxd r14, eax
test eax, eax
jne 0x18004fbbf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18004fb55
mov rcx, r14
call fcn.18004b6cc
mov rdi, rax
test rax, rax
jne 0x18004fbd8
xor ecx, ecx
call fcn.180048e30
jmp 0x18004fbb4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180047db4
test eax, eax
jne 0x18004fc09
mov rcx, rdi
call fcn.180048e30
jmp 0x18004fc13
xor ecx, ecx
call fcn.180048e30
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1800524e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180045b08
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x180052581
cmp ebx, dword [rsp + 0x30]
je 0x18005257a
test esi, esi
je 0x18005257a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180052555
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180052562
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18005253f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180052566
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180052583
mov eax, 1
jmp 0x180052583
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret