joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c55471aa00
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 0x1c55471aa30
xor eax, eax
jmp 0x1c55471aaf3
mov rbp, rbx
cmp word [rax], si
je 0x1c55471aa55
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1c55471aa3c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1c55471aa38
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.1c554719550
movsxd r14, eax
test eax, eax
jne 0x1c55471aa93
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1c55471aa29
mov rcx, r14
call fcn.1c5547152b8
mov rdi, rax
test rax, rax
jne 0x1c55471aaac
xor ecx, ecx
call fcn.1c554712e90
jmp 0x1c55471aa88
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.1c554719550
test eax, eax
jne 0x1c55471aadd
mov rcx, rdi
call fcn.1c554712e90
jmp 0x1c55471aae7
xor ecx, ecx
call fcn.1c554712e90
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 0x1c55471ab10
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1c55471ab97
mov rsi, rbx
cmp word [rax], bp
je 0x1c55471ab56
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1c55471ab40
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1c55471ab3c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1c5547152b8
mov rdi, rax
test rax, rax
je 0x1c55471ab84
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1c5547237f0
mov rbp, rdi
xor ecx, ecx
call fcn.1c554712e90
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1c55471deb4
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.1c554711874
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 0x1c55471df55
cmp ebx, dword [rsp + 0x30]
je 0x1c55471df4e
test esi, esi
je 0x1c55471df4e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1c55471df29
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1c55471df36
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1c55471df13
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1c55471df3a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1c55471df57
mov eax, 1
jmp 0x1c55471df57
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1c554721ae8
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1c554703c18
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1c554721b72
cmp byte [rbp - 0x21], r15b
je 0x1c554721b6d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1c554721ba8
call fcn.1c5547148d0
test eax, eax
jne 0x1c554721b94
cmp byte [rbp - 0x21], r15b
je 0x1c554721b8c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1c554721ba8
cmp byte [rbp - 0x21], r15b
je 0x1c554721ba5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1c55470dd10
test eax, eax
jne 0x1c554721c48
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1c554703c18
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1c554721be7
cmp byte [rbp - 0x21], r15b
je 0x1c554721c1c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1c554721c1c
call fcn.1c5547148d0
test eax, eax
jne 0x1c554721c08
cmp byte [rbp - 0x21], r15b
je 0x1c554721c01
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1c554721c1c
cmp byte [rbp - 0x21], r15b
je 0x1c554721c19
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1c55470dd10
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1c554721c48
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1c554721c4b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1c554721c59
mov rcx, rdi
call fcn.1c554712e90
cmp byte [rbp + 0x3f], r15b
je 0x1c554721c68
mov rcx, qword [rbp + 0x27]
call fcn.1c554712e90
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1c554722a34
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1c5547177f8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1c5547177f8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1c554722b84
cmp rax, 0xffffffffffffffff
je 0x1c554722b84
xor edi, edi
test rbp, rbp
jle 0x1c554722b2f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1c5547133ac
mov rbx, rax
test rax, rax
jne 0x1c554722abc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1c554722b25
mov edx, 0x8000
mov ecx, r14d
call fcn.1c55470ef00
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1c554712928
cmp eax, 0xffffffff
je 0x1c554722b05
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1c554722acc
mov edx, r15d
mov ecx, r14d
call fcn.1c55470ef00
jmp 0x1c554722b25
cmp byte [rsi + 0x38], dil
je 0x1c554722b1c
cmp dword [rsi + 0x34], 5
jne 0x1c554722b1c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1c554722b25
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1c554712e90
jmp 0x1c554722b98
jns 0x1c554722b98
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1c5547177f8
cmp rax, 0xffffffffffffffff
jne 0x1c554722b50
cmp byte [rsi + 0x30], dil
je 0x1c554722b98
mov edi, dword [rsi + 0x2c]
jmp 0x1c554722b98
mov ecx, r14d
call fcn.1c55471b960
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1c554722b98
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1c554722b98
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1c554722b91
mov eax, dword [rsi + 0x2c]
jmp 0x1c554722b96
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1c5547177f8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1c5547233a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1c5547233c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1c5547233c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400051c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400cf100]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor edi, edi
mov qword [rsp + 0x20], 1
xorps xmm0, xmm0
mov word [rsp + 0x2a], di
movdqa xmmword [rsp + 0x30], xmm0
movzx ebx, cx
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x2c], 4
call qword [sym.imp.USER32.dll_VkKeyScanW]
cmp ax, 0xffff
jne 0x14000521d
mov word [rsp + 0x2a], bx
mov word [rsp + 0x28], di
jmp 0x14000522b
movzx ecx, bx
call qword [sym.imp.USER32.dll_VkKeyScanW]
mov word [rsp + 0x28], ax
movaps xmm0, xmmword [rsp + 0x20]
lea rdx, [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
mov r8d, 0x28
movups xmmword [rsp + 0x48], xmm0
mov ecx, 2
mov dword [rsp + 0x54], 2
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x58], xmm1
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400768f0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x140016010
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 7
mov rbx, rcx
jbe 0x14001602c
mov rcx, qword [rcx]
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140016033
lea rsi, [rax*2 + 2]
mov ecx, 0x2000
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400160ae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140016083
cmp qword [rbx + 0x18], 7
jbe 0x140016075
mov rbx, qword [rbx]
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400a1c50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rdi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400160c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400cf100]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x28], rdx
xor r15d, r15d
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r14, rax
test rax, rax
je 0x140016172
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140016169
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140016122
mov rcx, qword [rdi + 0x18]
cmp rdx, rcx
ja 0x14001615e
mov rbp, rdi
cmp rcx, 7
jbe 0x140016141
mov rbp, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, rax
mov rcx, rbp
call fcn.1400a1c50
mov word [rbx + rbp], r15w
jmp 0x140016169
mov r9, rax
mov rcx, rdi
call fcn.140047cc0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x1400161df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400161da
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016213
mov rcx, r8
call fcn.140076910
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
mov rax, rsi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400768f0
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140086abc
int3
Function at 0x14003ac50
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x14003ac74
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x14003ad02
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14003acd0
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x14003acd0
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1400a1c50
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14003aced
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14003acf5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x14003ac91
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x14003ade0
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x14003ad19
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003ad1b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003ad4d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1400a1c50
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 0x14003addd
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003ad88
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 0x14003adbe
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1400862ac
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14003addd
cmp rsi, rax
ja 0x14003ad91
test rsi, rsi
je 0x14003addd
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400862ac
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x14003b720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov rsi, qword [rsp + 0x48]
xor r14d, r14d
mov rbx, qword [rsp + 0x60]
mov r12, r9
mov rcx, qword [rsp + 0x50]
mov r13, r8
mov rbp, qword [rsp + 0x58]
mov r15, rdx
mov qword [rsi], r8
mov qword [rbx], rcx
mov rax, qword [rsi]
cmp rax, r9
je 0x14003b8b5
cmp rcx, rbp
je 0x14003b8b5
mov r9d, 1
movzx edx, word [r15]
xor dil, dil
movzx ecx, word [rax]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp r9w, dx
jae 0x14003b7bc
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x14003b8dc
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x14003b7d3
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x14003b7d3
shl eax, 0xa
mov dil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x14003b7e6
movzx r8d, al
mov r10d, r14d
mov r11d, r14d
jmp 0x14003b833
mov r8d, eax
cmp eax, 0x800
jae 0x14003b800
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x14003b833
cmp eax, 0x10000
jae 0x14003b81a
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x14003b833
shr r8d, 0x12
mov r10d, 3
movzx r11d, dil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, rbp
sub rdx, qword [rbx]
mov ecx, r9d
cmp rdx, rcx
jl 0x14003b8b5
add qword [rsi], 2
test dil, dil
jne 0x14003b854
cmp r10d, 3
jae 0x14003b860
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jle 0x14003b88e
lea ecx, [r10 + r10*2]
add ecx, ecx
nop
sub ecx, 6
mov edx, eax
shr edx, cl
dec r9d
and dl, 0x3f
or dl, 0x80
mov byte [r8], dl
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jg 0x14003b870
shr eax, 0xa
mov r9d, 1
test dil, dil
mov ecx, r9d
cmovne ecx, eax
mov word [r15], cx
mov rax, qword [rsi]
cmp rax, r12
je 0x14003b8b5
cmp qword [rbx], rbp
jne 0x14003b77d
cmp r13, qword [rsi]
sete r14b
mov eax, r14d
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
mov eax, 2
jmp 0x14003b8bf

Function at 0x1400489d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140048a14
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140048a00
ret
Function at 0x140050b20
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x140050c03
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140050c03
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140050c21
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x140050bf3
cmp word [rcx], 0x5c
jne 0x140050bec
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x140050bec
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140050bd7
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x140050be9
test r8b, 0x10
jne 0x140050bec
movzx eax, word [rdx]
sub ax, 0x7b
test bp, ax
jne 0x140050bec
mov rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.14004b530
test edi, edi
jne 0x140050b50
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14004b520
int3

Function at 0x14006d200
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14005aa1a
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14005a9fd
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14005a9e8

Function at 0x140076784
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.140086b9c
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x1400767d6
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x1400767d6
sub ecx, 1
je 0x1400767cf
cmp ecx, 1
je 0x1400767c8
xor eax, eax
jmp 0x1400767db
mov eax, 3
jmp 0x1400767db
mov eax, 1
jmp 0x1400767db
mov eax, 2
add rsp, 0x28
ret

Function at 0x140077674
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14007dcd7
call fcn.140080eac
mov dword [rax], 0x16
call fcn.140086a9c
xor eax, eax
jmp 0x14007dd65
mov rdx, r9
mov rcx, r8
call fcn.14007dc3c
mov rbx, rax
test rax, rax
je 0x14007dd62
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14007db68]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14007dd4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140080e20
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14007dd36
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14007dd45
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14008fae0
jmp 0x14007dd62
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14007dd5f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14008a9bc
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14008aa2b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008aa2b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008aa2b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008aa2b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008aa2b
cmp dword [rcx + 0x84], 0xe
jbe 0x14008aa2b
cmp dword [rcx + 0xf8], 0
je 0x14008aa2b
mov ecx, ebx
call fcn.14008aadc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14008a8b8
nop
cmp dword [rbp + 0x20], 0
je 0x14008aa79
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14008aa84
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14008a9bc

Function at 0x14008abc0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14008a9bc
Function at 0x14008db08
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14008db1e
mov al, 1
jmp 0x14008db7e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14008db2f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14008db7c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400994dc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14008db7c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14008db7c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14008db7c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14008db7e
xor al, al
add rsp, 0x20
pop rbx
ret