joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006a2a0
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x180206448]
test rax, rax
je 0x18006a4df
movups xmm0, xmmword [rax + 0x188]
movd eax, xmm0
test eax, eax
jle 0x18006a4df
mov qword [r11 - 8], rbx
xor edx, edx
mov qword [r11 - 0x10], rbp
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r13
mov r13d, eax
psrldq xmm0, 8
mov qword [r11 - 0x38], r14
movq r12, xmm0
mov qword [rsp + 0xb0], r13
mov qword [r11 - 0x40], r15
nop dword [rax + rax]
mov r15, qword [r12]
mov qword [rsp + 0xc8], r15
test r15, r15
je 0x18006a492
movzx eax, word [r15 + 0x456]
test ax, ax
je 0x18006a492
cmp qword [r15 + 0x440], 0
je 0x18006a492
mov r14d, edx
cmp dx, ax
jae 0x18006a492
mov rbp, rdx
movabs r13, 0x100000001b3
nop dword [rax]
mov rax, qword [r15 + 0x440]
mov rdi, qword [rax + rbp + 0x10]
test rdi, rdi
je 0x18006a472
mov rdi, qword [rdi + 0x20]
test rdi, rdi
je 0x18006a472
movzx ebx, dx
cmp dx, word [rdi + 0x1c]
jae 0x18006a472
movabs r15, 0xcbf29ce484222325
nop dword [rax]
mov rax, qword [rdi + 0x28]
movzx ecx, bx
shl rcx, 5
movups xmm0, xmmword [rcx + rax]
movups xmm1, xmmword [rcx + rax + 0x10]
mov rax, qword [rcx + rax + 8]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm1
test rax, rax
je 0x18006a45b
mov rdx, qword [rdi + 8]
movsx rax, byte [rdx]
test al, al
je 0x18006a3ec
mov r8, rax
xor r8, r15
imul r8, r13
inc rdx
call fcn.180019e60
jmp 0x18006a3ef
mov rax, r15
lea r8, [rsp + 0xb8]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x40]
call fcn.18002e1f0
mov rdx, qword [rsp + 0x20]
mov rsi, qword [rax]
movsx rax, byte [rdx]
test al, al
je 0x18006a42d
mov r8, rax
xor r8, r15
imul r8, r13
inc rdx
call fcn.180019e60
jmp 0x18006a430
mov rax, r15
lea r8, [rsp + 0xc0]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 0x18]
call fcn.18002df70
movups xmm0, xmmword [rsp + 0x30]
mov rcx, qword [rax]
movd dword [rcx + 0x18], xmm0
inc bx
cmp bx, word [rdi + 0x1c]
jb 0x18006a3a0
mov r15, qword [rsp + 0xc8]
xor edx, edx
movzx eax, word [r15 + 0x456]
inc r14d
add rbp, 0x18
cmp r14d, eax
jl 0x18006a360
mov r13, qword [rsp + 0xb0]
add r12, 8
sub r13, 1
mov qword [rsp + 0xb0], r13
jne 0x18006a310
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xa0]
add rsp, 0xa8
ret
Function at 0x18006ab60
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x180145040]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp qword [0x1802066d0], 0
movabs rdi, 0x71edbae8fa0b784
movabs r14, 0xc6f2524c03804b63
movabs r15, 0x75cd4bca120cee36
movabs rcx, 0x5b6ab539d4516b7
movabs r12, 0xa3963d2174e52215
movabs r13, 0x1a838ac7463b15a
movabs rbx, 0xcbf29ce484222325
movabs rsi, 0x100000001b3
jne 0x18006ac73
movabs rax, 0x5b6ab539d456ee8
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x38], rdi
movdqa xmm0, xmmword [rbp - 0x40]
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r13
movdqa xmm1, xmmword [rbp - 0x30]
xorps xmm1, xmmword [rbp - 0x50]
mov qword [rbp - 0x20], rcx
movq rax, xmm1
mov qword [rbp - 0x18], rdi
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmmword [rbp - 0x40], xmm0
test al, al
je 0x18006ac50
movsx r8, al
lea rdx, [rbp - 0x4f]
xor r8, rbx
imul r8, rsi
call fcn.180019e60
jmp 0x18006ac53
mov rax, rbx
mov rcx, qword [0x180206478]
mov rdx, rax
call fcn.180068ab0
mov qword [0x1802066d0], rax
movabs rcx, 0x5b6ab539d4516b7
cmp qword [0x1802066d8], 0
jne 0x18006acfb
mov qword [rbp - 0x50], r14
movabs rax, 0x5b6ab539d456fe8
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], r15
movdqa xmm1, xmmword [rbp - 0x50]
mov qword [rbp - 0x38], rdi
movdqa xmm0, xmmword [rbp - 0x40]
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r13
xorps xmm1, xmmword [rbp - 0x30]
mov qword [rbp - 0x20], rcx
movq rax, xmm1
mov qword [rbp - 0x18], rdi
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmmword [rbp - 0x40], xmm0
test al, al
je 0x18006ace2
movsx r8, al
lea rdx, [rbp - 0x4f]
xor r8, rbx
imul r8, rsi
call fcn.180019e60
jmp 0x18006ace5
mov rax, rbx
mov rcx, qword [0x180206478]
mov rdx, rax
call fcn.180068ab0
mov qword [0x1802066d8], rax
cmp qword [0x1802066e0], 0
jne 0x18006ad8f
movabs rax, 0x5b6ab539d456ce8
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x40], rax
movabs rax, 0x5b6ab539d4516b7
mov qword [rbp - 0x48], r15
movdqa xmm1, xmmword [rbp - 0x50]
mov qword [rbp - 0x38], rdi
movdqa xmm0, xmmword [rbp - 0x40]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r13
xorps xmm1, xmmword [rbp - 0x30]
mov qword [rbp - 0x18], rdi
movq rax, xmm1
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x50], xmm1
test al, al
je 0x18006ad79
movsx r8, al
lea rdx, [rbp - 0x4f]
xor r8, rbx
imul r8, rsi
call fcn.180019e60
mov rbx, rax
mov rcx, qword [0x180206478]
mov rdx, rbx
call fcn.180068ab0
mov qword [0x1802066e0], rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800e4530
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x18006bfb0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test edx, edx
je 0x18006bfe7
cmp edx, 1
jne 0x18006bfe7
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x18006b740]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x180145040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rdx
mov qword [rsp + 0x28], rdx
mov rax, qword [rcx]
mov r8, qword [rax + 0x130]
lea rdx, [rsp + 0x20]
call r8
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 8]
movabs r9, 0xcbf29ce484222325
mov rbx, r9
movzx eax, byte [rcx]
movabs r10, 0x100000001b3
test al, al
je 0x180078db6
nop
movsx rax, al
lea rcx, [rcx + 1]
xor rbx, rax
imul rbx, r10
movzx eax, byte [rcx]
test al, al
jne 0x180078da0
mov rdx, rdi
mov rsi, qword [rdi + 0x18]
cmp rsi, 0xf
jbe 0x180078dc6
mov rdx, qword [rdi]
movsx rax, byte [rdx]
test al, al
je 0x180078de3
mov r8, rax
xor r8, r9
imul r8, r10
inc rdx
call fcn.180019e60
mov r9, rax
cmp rbx, r9
sete bl
cmp rsi, 0xf
jbe 0x180078e1c
lea rdx, [rsi + 1]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180078e17
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180078e4f
mov rcx, r8
call fcn.1800e4af4
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
movzx eax, bl
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800e4530
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x180079670
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x1800796d4
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x1800796c2
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800796bb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18007968f
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180206798]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800796e4
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x180208320]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x18007971a
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180079750
mov eax, 0xa
jmp 0x1800797df
test esi, esi
je 0x180079772
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180079793
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180079793
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18007978d
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180079793
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x180079b80
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x180079b97
cmp r8b, 0x90
je 0x180079b97
cmp r8b, 0xcc
jne 0x180079bb9
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180079bb5
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x180079bb9
add edx, r10d
cmp edx, r9d
jb 0x180079ba5
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x180079f20
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x180079f6a
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x180208310]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x180079fa3
cmp rbx, r14
jb 0x180079fa0
cmp rbx, r12
jae 0x180079fa0
cmp qword [rbx + 8], rsi
jne 0x18007a105
mov rbx, qword [rbx]
test rbx, rbx
jne 0x180079f8c
mov r15, rdi
cmp rdi, r14
jb 0x18007a0bf
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x180079fef
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18007a029
cmp dword [rbp - 0x10], 0x10000
je 0x180079ff9
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x18007a029
sub r15, r13
cmp r15, r14
jae 0x180079fc5
jmp 0x18007a029
test r15, r15
je 0x18007a029
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x18007a0ca
cmp r15, r14
jae 0x180079fb4
test rbx, rbx
jmp 0x18007a0bd
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x18007a105
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18007a105
cmp dword [rbp - 0x10], 0x10000
je 0x18007a098
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x18007a055
jmp 0x18007a105
test rdi, rdi
je 0x18007a105
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x18007a0ca
cmp rdi, r12
jbe 0x18007a031
jmp 0x18007a105
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x18007a0d6
mov rax, qword [0x180208310]
mov qword [rbx], rax
mov qword [0x180208310], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x18008cf40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
push r12
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov r12d, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.18007b9b0
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x18008cf98
xor eax, eax
add rsp, 0x50
pop r12
pop rdi
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rbp
mov ebp, dword [rbx + 0x40]
mov qword [rsp + 0x48], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x3c]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x34]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x38]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r13d
test r12d, r12d
jg 0x18008cfef
mov ebx, 0x4b0000
jmp 0x18008cfff
shl r12d, 0x10
mov edx, ecx
mov ecx, r12d
call fcn.18007dfa0
mov ebx, eax
bsr ecx, ebx
bsr eax, edi
shl r13d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x18008d015
mov ecx, r13d
jmp 0x18008d020
mov edx, edi
mov ecx, ebx
call fcn.18007dfa0
mov ecx, eax
mov r8d, dword [rsp + 0x88]
mov eax, r8d
shl eax, 0x10
cmp ecx, eax
jge 0x18008d03c
shl esi, 0x10
mov ecx, esi
jmp 0x18008d102
mov edx, dword [rsp + 0x70]
mov r12d, edx
shl r12d, 0x10
cmp ecx, r12d
jge 0x18008d06f
mov r13d, edx
mov ecx, eax
mov edx, edi
sub r13d, r8d
call fcn.18007b9b0
mov ecx, ebx
sub ecx, eax
test r13d, r13d
je 0x18008d0bf
sub r15d, esi
mov r8d, r13d
mov edx, r15d
jmp 0x18008d0a8
mov eax, r14d
shl eax, 0x10
cmp ecx, eax
jl 0x18008d0c3
cmp ecx, r13d
jge 0x18008d0fd
mov r15d, dword [rsp + 0x20]
mov edx, edi
sub r15d, r14d
shl r14d, 0x10
mov ecx, r14d
call fcn.18007b9b0
sub ebx, eax
test r15d, r15d
je 0x18008d0fd
mov esi, dword [rsp + 0x78]
mov r8d, r15d
sub ebp, esi
mov ecx, ebx
mov edx, ebp
call fcn.18007de90
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.18007b9b0
add ebx, eax
jmp 0x18008d10b
mov edx, dword [rsp + 0x70]
mov esi, r14d
mov ecx, r12d
sub esi, edx
mov edx, edi
call fcn.18007b9b0
mov ecx, ebx
sub ecx, eax
test esi, esi
je 0x18008d07e
mov edx, dword [rsp + 0x78]
mov r8d, esi
sub edx, r15d
call fcn.18007de90
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.18007b9b0
add ebx, eax
jmp 0x18008d10b
shl ebp, 0x10
mov ecx, ebp
mov edx, edi
call fcn.18007b9b0
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r12
pop rdi
pop rbx
jmp fcn.18007b9b0
Function at 0x1800d9ec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x180145040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov ebp, r9d
mov byte [rsp + 0x20], dl
xor r9d, r9d
mov r14d, r8d
mov r13d, r9d
mov rbx, rcx
mov ecx, dword [rbx + 4]
mov r10d, 0xffff
mov eax, ecx
mov dword [rbx + 0x38], r9d
imul eax, r14d
mov r15d, 0xffffffff
imul ecx, ebp
mov edi, r9d
mov qword [rbx + 0x60], r9
mov qword [rbx + 0x58], r9
mov dword [rbx + 0x54], r9d
mov dword [rbx + 0x48], eax
mov rax, qword [rbx + 0x18]
mov qword [rbx + 0x30], rax
mov rax, qword [rbx + 0x20]
sub rax, 4
mov dword [rbx + 0x4c], ecx
mov qword [rbx + 0x28], rax
mov word [rbx + 0x50], r9w
cmp r9w, word [rbx + 0x78]
jge 0x1800d9fff
movsx r12d, dl
mov rsi, r9
nop dword [rax + rax]
mov rax, qword [rbx + 0x90]
lea edx, [r15 + 1]
mov dword [rbx + 0x70], r9d
mov rcx, rbx
mov qword [rbx + 0x68], r9
mov r9d, r12d
movsx r15d, word [rsi + rax]
mov r8d, r15d
call fcn.1800d8f80
test al, al
jne 0x1800da068
mov rdx, qword [rbx + 0x68]
test rdx, rdx
je 0x1800d9fe1
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 0x44]
dec eax
test ecx, eax
jne 0x1800d9fc2
cmp ecx, dword [rbx + 0x48]
jl 0x1800d9fc2
cmp ecx, dword [rbx + 0x4c]
jg 0x1800d9fc2
mov rax, qword [rbx + 0x58]
movzx ecx, byte [rdx + 0x1c]
xor cl, byte [rax + 0x1c]
test cl, 8
jne 0x1800d9fc2
add qword [rbx + 0x30], 0xfffffffffffffffc
mov rcx, rbx
call fcn.1800d96a0
test al, al
jne 0x1800da068
cmp qword [rbx + 0x60], 0
jne 0x1800d9fe1
mov rax, qword [rbx + 0x68]
mov qword [rbx + 0x60], rax
movsx eax, word [rbx + 0x78]
inc edi
add rsi, 2
mov r9d, 0
cmp edi, eax
jl 0x1800d9f60
mov r10d, 0xffff
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x1800da03d
movzx r8d, word [rbx + 0x50]
sub r8w, 1
je 0x1800da03a
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
cmp qword [rdx + 8], rax
jne 0x1800da031
mov qword [rcx + 8], rdx
mov rcx, rdx
add r8w, r10w
jne 0x1800da020
mov qword [rcx], r9
cmp qword [rbx + 0x60], 0
je 0x1800da04c
mov rcx, rbx
call fcn.1800d92c0
sub r13, 1
js 0x1800da093
movzx edx, byte [rsp + 0x20]
lea ebp, [r14 - 1]
mov r14d, dword [rsp + r13*4 + 0x30]
xor r9d, r9d
jmp 0x1800d9efc
mov eax, dword [rbx + 0x38]
cmp eax, 0x62
jne 0x1800da095
cmp r14d, ebp
je 0x1800da095
movzx edx, byte [rsp + 0x20]
mov dword [rsp + r13*4 + 0x30], r14d
add r14d, ebp
sar r14d, 1
inc r13
inc r14d
xor r9d, r9d
jmp 0x1800d9efc
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1800e4530
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800de8c0
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1800de8dc
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800de930
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800dea55
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1800dea55
test rax, rax
je 0x1800dea55
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1800dea55
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1800de9ca
lea rax, [0x1800deab0]
jmp 0x1800dea23
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1800dea55
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800dea43
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1800de9f0
lea rax, [0x1800dea80]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1800dea6a
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1800e01e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1800e01eb
xor eax, eax
ret
lea r11, [0x180105710]
not ecx
cmp r8, 8
jb 0x1800e02bd
mov r10, r8
shr r10, 3
imul rax, r10, 0xfffffffffffffff8
add r8, rax
nop dword [rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1800e0210
test r8, r8
je 0x1800e02ed
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r8, 1
jne 0x1800e02d0
not ecx
mov eax, ecx
ret
Function at 0x1800e3e2c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800e3e66
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800e3e6b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800e3eb4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180105d20]
cmp byte [rcx + rax], 0
je 0x1800e3eb4
dec r8
sub rdx, 1
jne 0x1800e3e9a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret