joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140059a70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
xor eax, eax
lea r8, [0x1400fe6ad]
mov dword [rsp + 0x2c], eax
lea r11, [0x1400df5f0]
mov qword [rsp + 0x38], rax
mov r10d, 0xffffffff
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x140059ac6
cmp byte [r8], r9b
jne 0x140059ac6
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140059ab3
mov ecx, dword [rbx + 0x303c]
lea rax, [0x140066070]
mov edi, dword [rbx + 0x3038]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x140066100]
mov qword [rsp + 0x40], rax
lea rax, [0x1400661f0]
mov qword [rsp + 0x48], rax
lea rax, [0x1400662d0]
mov qword [rsp + 0x50], rax
lea rax, [0x140066420]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x140059be6
inc edi
test ecx, ecx
je 0x140059b4a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140059b4f
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x140059be6
mov rax, qword [0x1401414b0]
mov qword [rsp + 0x80], rsi
test rax, rax
je 0x140059b76
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*8]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x3040]
mov rsi, rax
test rdx, rdx
je 0x140059bd1
movsxd rcx, dword [rbx + 0x3038]
lea r8, [rcx + rcx*8]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x3040]
test rcx, rcx
je 0x140059bcb
mov rax, qword [0x1401414b0]
test rax, rax
je 0x140059bcb
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3040], rsi
mov rsi, qword [rsp + 0x80]
mov dword [rbx + 0x303c], edi
movsxd rax, dword [rbx + 0x3038]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x3040]
movups xmmword [rax + rcx*8], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x20], xmm0
movsd xmm0, qword [rsp + 0x60]
movups xmmword [rax + rcx*8 + 0x30], xmm1
movsd qword [rax + rcx*8 + 0x40], xmm0
inc dword [rbx + 0x3038]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x14005b640
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x14005b690
lea r11, [0x1400df5f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14005b673
cmp byte [r8], r9b
jne 0x14005b673
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14005b660
mov rcx, qword [0x1401414b0]
not eax
movsxd rdx, dword [rcx + 0x1a70]
mov r9, qword [rcx + 0x1a78]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x14005b6f1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x14005b6e9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x14005b6ec
mov rdx, r8
test rdx, rdx
jne 0x14005b6c0
cmp r9, r10
je 0x14005b700
cmp dword [r9], eax
jne 0x14005b700
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x1400657a0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x1401414b0]
cmp byte [rbx + 0x3058], 0
je 0x14006588c
cmp qword [rbx + 0x3060], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3068]
je 0x140065874
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x14006581b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140067100
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.140056010
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3060]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x3070]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x14013ed99]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.140056010
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x1400714d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x140071661
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x140071540
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.140070ef0
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.140070550
mov dword [rbx + 0x80], 0
jmp 0x14007164d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14006f200
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140088ff0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x140089024
cmp ecx, r10d
jge 0x140089012
mov rcx, rbx
call fcn.1400887f0
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x14008905e
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x140089040
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x140089086
mov rax, qword gs:[0x58]
mov edx, 0x18
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x1400890b5
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x14008909f
xor dl, dl
jmp 0x1400890a8
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x140089096
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x140089062
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x14008911f
mov rax, qword gs:[0x58]
mov edx, 0x18
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x140089139
mov rcx, rbx
call fcn.140088940
test eax, eax
je 0x140089112
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1400994d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
movzx r15d, r8b
mov rsi, rdx
mov rbx, rcx
mov r10, qword [rdx + 0x10]
mov rdi, qword [rdx + 0x18]
cmp rdi, 0x10
jb 0x1400994fb
mov rdx, qword [rdx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x140099533
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r8
inc rcx
cmp rcx, r10
jb 0x140099520
mov r8, rsi
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x18]
call fcn.140016da0
mov rax, qword [rax + 8]
test rax, rax
jne 0x140099551
mov rax, qword [rbx + 0x20]
cmp rax, qword [rbx + 0x20]
je 0x14009955f
mov eax, dword [rax + 0x30]
jmp 0x140099703
mov rax, qword [sym.l2mapconv2.exe___glewGetUniformLocation]
mov rdx, rsi
cmp rdi, 0x10
jb 0x140099572
mov rdx, qword [rsi]
mov ecx, dword [rbx + 0x10]
call rax
mov ebp, eax
test r15b, r15b
je 0x1400996ea
cmp eax, 0xffffffff
jne 0x1400996ea
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea r8d, [rax + 0xa]
lea rdx, str.Rendering
lea rcx, [rsp + 0x20]
call fcn.140004240
nop
lea r8, [rsp + 0x20]
lea edx, [rbp + 3]
lea rcx, [rsp + 0x40]
call fcn.1400b4710
mov rdi, rax
mov rcx, rax
call fcn.1400b4ac0
test al, al
je 0x1400995e3
lea rdx, str.Assertion__
mov rcx, qword [rdi + 0x28]
call fcn.140003f20
mov rcx, rdi
call fcn.1400b4ac0
test al, al
je 0x1400995ff
lea rdx, str._required__location____1
mov rcx, qword [rdi + 0x28]
call fcn.140003f20
mov rcx, rdi
call fcn.1400b4ac0
test al, al
je 0x14009961b
lea rdx, str.__failed_at
mov rcx, qword [rdi + 0x28]
call fcn.140003f20
mov rcx, rdi
call fcn.1400b4ac0
test al, al
je 0x140099637
lea rdx, str.C:Userso2f4p0r9m0g4k2r1_source_reposl2mapconv2l2mapconv2_rendering_srcShader.cpp
mov rcx, qword [rdi + 0x28]
call fcn.140003f20
mov rcx, rdi
call fcn.1400b4ac0
test al, al
je 0x140099653
lea rdx, [0x1400bc210]
mov rcx, qword [rdi + 0x28]
call fcn.140003f20
mov rcx, rdi
call fcn.1400b4ac0
test al, al
je 0x14009966e
mov edx, 0x8c
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rdi
call fcn.1400b4ac0
test al, al
je 0x14009968a
lea rdx, [0x1400bc2a0]
mov rcx, qword [rdi + 0x28]
call fcn.140003f20
mov rcx, rdi
call fcn.1400b4ac0
test al, al
je 0x1400996a6
lea rdx, str.Uniform_not_found:
mov rcx, qword [rdi + 0x28]
call fcn.140003f20
mov rcx, rdi
call fcn.1400b4ac0
test al, al
je 0x1400996cc
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400996bf
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, qword [rdi + 0x28]
call fcn.140004f80
mov rcx, rdi
call fcn.1400b4810
nop
lea rcx, [rsp + 0x48]
call fcn.140003b00
nop
lea rcx, [rsp + 0x20]
call fcn.140003b00
mov r8, rsi
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x18]
call fcn.140099ec0
mov rcx, qword [rax]
mov dword [rcx + 0x30], ebp
mov eax, ebp
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009a2d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x140137010]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r14, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0xa0], rdx
xor r12d, r12d
lea rbp, [rcx + 0x28]
mov r8, qword [r8 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14009a31d
mov rdx, qword [r14]
movabs r9, 0xcbf29ce484222325
mov rcx, r12
test r8, r8
je 0x14009a353
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14009a340
mov r8, r14
lea rdx, [rsp + 0x80]
mov rcx, rbp
call fcn.140016da0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14009a39d
cmp rdx, qword [rbp + 8]
je 0x14009a39d
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov rax, qword [rdx + 0x38]
test rax, rax
je 0x14009a389
lock inc dword [rax + 8]
mov rcx, qword [rdx + 0x30]
mov qword [rsi], rcx
mov rcx, qword [rdx + 0x38]
mov qword [rsi + 8], rcx
jmp 0x14009a4bc
mov r8, r14
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.14009a4f0
mov rdi, rax
mov ecx, 0x68
call fcn.1400b5790
mov r15, rax
mov qword [rsp + 0xa0], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_rendering::EntityShader_.0
mov qword [r15], rax
lea rbx, [r15 + 0x10]
mov rdx, rdi
mov rcx, rbx
call fcn.14009a1d0
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], r15
lea rax, vtable.rendering::Shader.0
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0xc], ecx
jne 0x14009a43c
xor ecx, ecx
call qword [sym.l2mapconv2.exe___glewUseProgram]
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], r12d
mov ecx, dword [rsp + 0x38]
call qword [sym.l2mapconv2.exe___glewDeleteProgram]
lea rcx, [rsp + 0x40]
call fcn.140099410
nop
mov r8, r14
lea rdx, [rsp + 0x90]
mov rcx, rbp
call fcn.14009ace0
mov rcx, qword [rax]
lock inc dword [r15 + 8]
mov rax, qword [rsp + 0xa0]
mov qword [rcx + 0x30], rax
mov rbx, qword [rcx + 0x38]
mov qword [rcx + 0x38], r15
test rbx, rbx
je 0x14009a4ad
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14009a4ad
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14009a4ad
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rsp + 0xa0]
mov qword [rsi], rax
mov qword [rsi + 8], r15
mov rax, rsi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400b5770
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a2b90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140137010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x29], 0
mov ebp, r9d
movsxd rcx, dword [rax + 4]
mov rax, qword [r8]
mov r10, qword [rcx + rdx + 0x48]
movsxd rcx, dword [rax + 4]
test r10, r10
mov qword [rsp + 0x20], r10
sete byte [rsp + 0x28]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movzx edi, byte [rsp + 0x29]
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rcx + r8 + 0x48]
test r10, r10
jne 0x1400a2c09
movzx eax, byte [rsp + 0x28]
jmp 0x1400a2c25
test rbx, rbx
je 0x1400a2c21
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x1400a2c21
movzx edi, al
jmp 0x1400a2c23
xor ebx, ebx
mov al, 1
test rbx, rbx
je 0x1400a2c77
test al, al
jne 0x1400a2c48
test rbx, rbx
je 0x1400a2c46
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x1400a2c46
movzx edi, al
jmp 0x1400a2c48
xor ebx, ebx
test rsi, rsi
je 0x1400a2c5d
movzx edx, dil
mov rcx, rsi
xor dl, bpl
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char____ptr64]
test rbx, rbx
je 0x1400a2c21
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void____ptr64]
cmp eax, 0xffffffff
je 0x1400a2c21
mov byte [rsp + 0x28], 0
jmp 0x1400a2c09
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400b5770
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400b4ac0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x38
cmp dword [rcx], 4
jg 0x1400b4b42
cmp qword [rcx + 0x18], 0
je 0x1400b4b3b
cmp qword [0x140137680], 0
je 0x1400b4b3b
cmp qword [rcx + 0x20], 0x10
lea r8, [rcx + 8]
mov r10, qword [r8 + 0x10]
mov rdx, r8
jb 0x1400b4aef
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x1400b4b23
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x1400b4b10
lea rdx, [rsp + 0x20]
lea rcx, [0x140137670]
call fcn.140016da0
cmp qword [rax + 8], 0
je 0x1400b4b42
mov al, 1
add rsp, 0x38
ret
xor al, al
add rsp, 0x38
ret

Function at 0x1400b5068
Capabilities:
Get geographical location

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

Function at 0x1400b6480
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x100004758], rdi
je 0x1000024a2
cmp rax, rdi
jne 0x100002495
mov edi, 1
mov r12d, edi
jmp 0x1000024a7
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100002479
mov edi, 1
mov eax, dword [0x100004750]
cmp eax, edi
jne 0x1000024bd
mov ecx, 0x1f
call fcn.100119000
jmp 0x10000251a
mov eax, dword [0x100004750]
test eax, eax
jne 0x100002514
mov dword [0x100004750], edi
lea r13, [0x100001290]
lea rsi, [0x100001278]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x100002506
test eax, eax
jne 0x100002506
mov rcx, qword [rsi]
test rcx, rcx
je 0x1000024fb
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x1000024e4
test eax, eax
je 0x10000251a
mov eax, 0xff
jmp 0x1000025ec
mov dword [0x100004184], edi
mov eax, dword [0x100004750]
cmp eax, edi
jne 0x100002541
lea rdx, [0x100001270]
lea rcx, [0x100001260]
call sub.msvcrt.dll__initterm
mov dword [0x100004750], 2
test r12d, r12d
jne 0x10000254f
xor eax, eax
xchg qword [0x100004758], rax
cmp qword [0x100004760], 0
je 0x100002578
lea rcx, [0x100004760]
call fcn.10000284c
test eax, eax
je 0x100002578
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100004760]
mov r8, qword [0x100004168]
mov rdx, qword [0x100004170]
mov ecx, dword [0x100004160]
call fcn.100001b54
mov dword [0x100004180], eax
cmp dword [0x100004164], 0
jne 0x1000025a8
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100004184], 0
jne 0x1000025bd
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100004180]
jmp 0x1000025ec
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.100002960
add rsp, 0x28
jmp 0x100002454
Function at 0x1400069a0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x470], rbx
mov qword [rbp + 0x480], rsi
mov qword [rbp + 0x488], rdi
mov rax, qword [0x140051010]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [0x140051058]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140006a20
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x140006a9a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140006a4b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14003d310
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x140006a9a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x140006a9d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x140006aaa
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140006ac2
inc rbx
test eax, eax
jne 0x140006ab0
test ecx, ecx
mov rcx, rsi
je 0x140006b22
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140006a10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140006b1e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140006b19
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006ba5
mov rcx, r8
call fcn.14003c6fc
xor eax, eax
jmp 0x140006b65
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140006b62
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140006b5d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006ba5
mov rcx, r8
call fcn.14003c6fc
mov rax, rbx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.14003c260
mov rbx, qword [rbp + 0x470]
mov rsi, qword [rbp + 0x480]
mov rdi, qword [rbp + 0x488]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3