joyce8/EMBER2024-capa huggingface dataset:
Function at 0x211d413c0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
je 0x211d413d8
mov eax, 1
add rsp, 0x38
ret
mov rax, qword [0x21204bb60]
xor r9d, r9d
lea r8, [sym.RunInjectorThreadProxy_void_]
xor edx, edx
mov qword [rax], rcx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x211d41960
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x211d419d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x21204e064]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x211d41b80
mov rax, qword [0x21204e068]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x211d41a1c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x211d41aa7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x211d41a00
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x211d41bdd
mov rax, qword [0x21204e068]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x21204e068]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x211d41bc2
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x211d41aa0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x211d41b30
add dword [0x21204e064], 1
cmp ebx, 8
jae 0x211d41ad8
test bl, 4
jne 0x211d41b90
test ebx, ebx
je 0x211d41ac9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x211d41bb0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x211d41ac9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x211d41b0a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x21204e068]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x211d41aa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
xor edi, edi
jmp 0x211d41a27
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x211d41ac9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x211d41ac9
mov rax, qword [0x21204e068]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop dword [rax]
Function at 0x211d41ee0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x21204e0a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x21204e080]
test rbx, rbx
je 0x211d41f34
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x211d41f2b
test r12, r12
je 0x211d41f2b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x211d41f10
lea rcx, [0x21204e0a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x211d42160
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x211d42170
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x211d42180
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x211d421c5
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x211d421bc
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x211d421c7
add rax, 0x28
cmp rax, r9
jne 0x211d421a8
xor eax, eax
ret

Function at 0x211d42270
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x21204bae0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x211d422e9
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x211d422e9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x211d422e6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x211d422dd
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x211d422e9
add r8, 0x28
cmp r8, r9
jne 0x211d422c8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x211d423d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x21204bae0]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x211d4243f
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x211d4243f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x211d4243d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x211d42434
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x211d42448
add rax, 0x28
cmp rax, r9
jne 0x211d42420
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x211d42460
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x21204bae0]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x211d424d8
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x211d424d8
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x211d424d8
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x211d424d8
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x211d424cc
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x211d424e0
add rdx, 0x28
cmp rdx, r10
jne 0x211d424b8
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x211d424f0
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x211d424fe
mov edx, dword [rax + 0xc]
test edx, edx
je 0x211d424d5
test r8d, r8d
jg 0x211d424e8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x1400074d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rdi
push r13
push r14
sub rsp, 0x38
mov qword [rsp + 0x60], rbx
mov r14, r8
mov qword [rsp + 0x68], rsi
mov rdi, rdx
mov rsi, qword [rdx + 0x10]
mov r13, rcx
mov qword [rsp + 0x70], r12
mov r8, rdx
mov r12, qword [rdx + 0x18]
cmp r12, 0xf
jbe 0x140007507
mov r8, qword [rdx]
xor ebp, ebp
movabs rdx, 0xcbf29ce484222325
mov ecx, ebp
test rsi, rsi
je 0x140007544
movabs r9, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, rsi
jb 0x140007530
mov rcx, qword [r13 + 0x30]
mov rax, qword [r13 + 0x18]
and rcx, rdx
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 8]
je 0x1400075b2
mov qword [rsp + 0x30], r15
mov r15, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x140007582
mov rdx, qword [rdx]
mov rcx, rdi
cmp r12, 0xf
jbe 0x14000758e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x14000759f
mov r8, rsi
call fcn.14005e860
test eax, eax
je 0x1400075aa
cmp rbx, r15
je 0x1400075ad
mov rbx, qword [rbx + 8]
jmp 0x140007570
mov rbp, rbx
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
test rbp, rbp
je 0x140007641
cmp rbp, qword [r13 + 8]
je 0x140007641
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.14001dfa0
mov rcx, qword [rax]
add rcx, 0x30
cmp qword [rcx + 0x18], 0xf
mov r8, qword [rcx + 0x10]
jbe 0x1400075f1
mov rcx, qword [rcx]
cmp r8, 5
jne 0x140007641
lea rdx, str.false
call fcn.14005e860
test eax, eax
jne 0x140007641
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.14001dfa0
mov rcx, qword [rax]
add rcx, 0x30
cmp rcx, r14
je 0x140007639
cmp qword [r14 + 0x18], 0xf
mov r8, qword [r14 + 0x10]
jbe 0x140007631
mov r14, qword [r14]
mov rdx, r14
call fcn.140017550
mov rcx, r13
call fcn.140007840
add rsp, 0x38
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x140007650
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rsi, r8
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x48], rdx
xor edi, edi
mov dword [rsp + 0x20], edi
mov rbp, qword [r8 + 0x10]
mov r15, qword [r8 + 0x18]
cmp r15, 0xf
jbe 0x140007691
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
mov rcx, rdi
test rbp, rbp
je 0x1400076c4
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rbp
jb 0x1400076b0
mov rcx, qword [r13 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 8]
je 0x14000771e
mov r14, qword [rax + rcx*8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400076f3
mov rdx, qword [rdx]
mov rcx, rsi
cmp r15, 0xf
jbe 0x1400076ff
mov rcx, qword [rsi]
cmp rbp, rax
jne 0x140007710
mov r8, rbp
call fcn.14005e860
test eax, eax
je 0x14000771b
cmp rbx, r14
je 0x14000771e
mov rbx, qword [rbx + 8]
jmp 0x1400076e1
mov rdi, rbx
test rdi, rdi
jne 0x140007727
mov rdi, qword [r13 + 8]
cmp rdi, qword [r13 + 8]
je 0x140007743
lea rdx, [rdi + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140013c30
nop
mov ebx, 1
jmp 0x140007775
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8d, 5
lea rdx, str.false
lea rcx, [rsp + 0x28]
call fcn.14001f010
lea rax, [rsp + 0x28]
mov ebx, 2
mov dword [rsp + 0x20], ebx
mov rdx, rax
mov rcx, r12
call fcn.140013c30
or ebx, 4
test bl, 2
je 0x1400077c9
and ebx, 0xfffffffd
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400077c9
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400077c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000782e
call fcn.140036370
nop
test bl, 1
je 0x140007807
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140007807
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007802
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007828
call fcn.140036370
mov rax, r12
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140046048
nop
call fcn.140046048
nop
int3
Function at 0x140007e00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14007d100]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140007ea3
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140007e9a
cmp qword [rbx + 0x18], 7
mov r8, rbx
jbe 0x140007e5f
mov r8, qword [rbx]
lea rax, [rsp + 0x4c]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140007e84
add rax, 2
test ecx, ecx
jne 0x140007e70
mov rcx, rdi
test edx, edx
je 0x140007ec6
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140007e52
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140036350
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x140007ea5
Function at 0x1400096b0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x14007d100]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rbx, rcx
mov dword [rsp + 0x28], pe_nt_image_headers64
lea rcx, [rsp + 0x30]
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
test eax, eax
je 0x140009720
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140009710
lea rdx, [rsp + 0x30]
jmp 0x14000972d
mov r8d, 0x18
lea rdx, str.Error_getting_user_name.
mov rcx, rbx
call fcn.14001f010
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140036350
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rdi
ret
Function at 0x140012580
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 0x1400125a4
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 0x140012632
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 0x140012600
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x140012600
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.14005dd80
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14001261d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140012625
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x1400125c1
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x140012710
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140012649
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001264b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001267d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.14005dd80
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 0x14001270d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400126b8
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 0x1400126ee
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.140045838
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14001270d
cmp rsi, rax
ja 0x1400126c1
test rsi, rsi
je 0x14001270d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140045838
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 0x140031d70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14, r9
mov rbx, r8
mov r12, rdx
mov rbp, rcx
mov r8, qword [r9 + 0x10]
mov rdx, r9
cmp qword [r9 + 0x18], 0xf
jbe 0x140031da1
mov rdx, qword [r9]
movabs rdi, 0xcbf29ce484222325
xor ecx, ecx
test r8, r8
je 0x140031dd3
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor rdi, rax
imul rdi, r9
inc rcx
cmp rcx, r8
jb 0x140031dc0
mov qword [rsp + 0x20], rdi
mov r9, r14
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140031fc0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140031dfe
mov qword [r12], rax
jmp 0x140031f90
movabs rax, 0x333333333333333
cmp qword [rbp + 0x10], rax
je 0x140031fab
lea r13, [rbp + 8]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 0
mov ecx, 0x50
call fcn.140036378
mov rsi, rax
mov qword [rsp + 0x48], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.140013c30
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
xor eax, eax
mov qword [rsi + 0x40], rax
mov qword [rsi + 0x48], rax
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rsi + 0x30], xmm0
movups xmm1, xmmword [r14 + 0x30]
movups xmmword [rsi + 0x40], xmm1
mov qword [r14 + 0x30], rax
mov qword [r14 + 0x38], 0xf
mov byte [r14 + 0x20], al
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x140031e89
cvtsi2ss xmm0, rcx
jmp 0x140031e9e
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140031eb1
cvtsi2ss xmm1, rcx
jmp 0x140031ec6
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x140031f3c
mov rcx, rbp
call fcn.140025df0
cmp rbx, qword [r13]
je 0x140031f1d
lea rcx, [rbx + 0x10]
lea rdx, [rsi + 0x10]
cmp qword [rsi + 0x28], 0xf
jbe 0x140031ef1
mov rdx, qword [rsi + 0x10]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x140031eff
mov rcx, qword [rcx]
cmp r8, qword [rsi + 0x20]
jne 0x140031f1d
call fcn.14005e860
test eax, eax
jne 0x140031f1d
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
jmp 0x140031f31
mov r9, rdi
lea r8, [rsi + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140029b60
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov rdx, qword [rsp + 0x30]
mov r8, qword [rdx + 8]
inc qword [rbp + 0x10]
mov qword [rsi], rdx
mov qword [rsi + 8], r8
mov qword [r8], rsi
mov qword [rdx + 8], rsi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rdi
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r13]
jne 0x140031f75
mov qword [rcx + rax*8], rsi
jmp 0x140031f87
cmp r9, rdx
jne 0x140031f80
mov qword [rcx + rax*8], rsi
jmp 0x140031f8c
cmp qword [rcx + rax*8 + 8], r8
jne 0x140031f8c
mov qword [rcx + rax*8 + 8], rsi
mov qword [r12], rsi
mov rax, r12
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.1400337fc
int3
Function at 0x1400326a0
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 0x1400326da
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400326df
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 0x140032728
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400635d0]
cmp byte [rcx + rax], 0
je 0x140032728
dec r8
sub rdx, 1
jne 0x14003270e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400371d4
Capabilities:
Parse pe header

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

Function at 0x14003bf8c
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 0x14003bffb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003bffb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003bffb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003bffb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003bffb
cmp dword [rcx + 0x84], 0xe
jbe 0x14003bffb
cmp dword [rcx + 0xf8], 0
je 0x14003bffb
mov ecx, ebx
call fcn.14003c0ac
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.14003be88
nop
cmp dword [rbp + 0x20], 0
je 0x14003c049
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003c054
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003bf8c

Function at 0x14003c190
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 0x14003bffb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003bffb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003bffb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003bffb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003bffb
cmp dword [rcx + 0x84], 0xe
jbe 0x14003bffb
cmp dword [rcx + 0xf8], 0
je 0x14003bffb
mov ecx, ebx
call fcn.14003c0ac
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.14003be88
nop
cmp dword [rbp + 0x20], 0
je 0x14003c049
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003c054
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003bf8c