joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800b2e90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, qword [0x1802d75c8]
mov rdi, rcx
movsxd rbp, edx
imul rbx, rbp, 0x70
add rbx, qword [rcx + 0x18]
cmp rbx, qword [rcx + 0x18]
jb 0x1800b2ec5
cmp rbx, qword [rcx + 0x20]
jb 0x1800b2edf
mov r8d, 0x273
lea rdx, str.C:UsersEtoShinya_source_reposMminty_apiimguiImGuiimgui_internal.h
lea rcx, str.p___Data__p___DataEnd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [rdi + 0x188]
mov dword [rdi + 0x74], ebp
test dword [rbx], 0x10000
movss xmm2, dword [rbx + 0x34]
je 0x1800b2efe
addss xmm2, dword [rdi + 0x90]
movaps xmm0, xmm2
lea rbp, [r9 + 0x110]
subss xmm0, dword [r9 + 0x28]
movss dword [rbp], xmm2
movss xmm1, dword [rdi + 0x88]
addss xmm1, dword [rdi + 0x7c]
movss dword [r9 + 0x128], xmm2
subss xmm0, dword [r9 + 0x154]
movss dword [r9 + 0x118], xmm2
movss dword [r9 + 0x114], xmm1
movss dword [r9 + 0x158], xmm0
mov eax, dword [rdi + 0x8c]
mov dword [r9 + 0x148], eax
movsx eax, byte [rbx + 0x6a]
mov dword [r9 + 0x168], eax
movss dword [r9 + 0x22c], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x228], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x230], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1cc], eax
movzx eax, byte [rbx + 0x68]
mov byte [r9 + 0xc3], al
cmp byte [rbx + 0x68], 0
je 0x1800b2fab
xor eax, eax
mov dword [rsi + 0x49a0], eax
mov dword [rsi + 0x49a8], eax
test dword [rdi + 4], 0x100000
je 0x1800b2fbf
mov r8d, 2
jmp 0x1800b303f
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x2a8]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x248], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, word [rbx + 0x5c]
mov rdx, qword [r9 + 0x2a8]
mov rcx, qword [rdi + 0x1a0]
call fcn.1800a4f00
cmp byte [rsi + 0x5fd0], 0
je 0x1800b307d
cmp byte [rbx + 0x68], 0
jne 0x1800b307d
xor r8d, r8d
lea rdx, [0x1802ac6d0]
mov rcx, rbp
call fcn.180094ee0
mov dword [rsi + 0x6000], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800b53d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1802d75c8]
mov ebx, ecx
mov rdi, qword [rax + 0x4df0]
cmp ecx, 0xffffffff
jne 0x1800b53f6
cmp dword [rdi + 0x74], ecx
cmovne ebx, dword [rdi + 0x74]
mov eax, dword [rdi + 0x6c]
cmp ebx, eax
jne 0x1800b5404
mov ebx, 0xffffffff
jmp 0x1800b5409
cmp ebx, 0xffffffff
jl 0x1800b540d
cmp ebx, eax
jl 0x1800b5427
mov r8d, 0xcd2
lea rdx, str.C:UsersEtoShinya_source_reposMminty_apiimguiImGuiimgui_tables.cpp
lea rcx, str.column_n____1__column_n___table__ColumnsCount
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test byte [rdi + 4], 7
je 0x1800b5499
mov r10d, dword [rdi]
lea r8, [0x1802ad011]
movzx eax, word [rdi + 0x78]
lea r11, [0x18017e320]
not r10d
mov byte [rdi + 0x23b], 1
mov ecx, r10d
mov word [rdi + 0x224], bx
mov word [rdi + 0x7a], ax
mov r9b, 0x23
nop dword [rax]
cmp r9b, 0x23
jne 0x1800b5473
cmp byte [r8], r9b
jne 0x1800b5473
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1800b5460
not ecx
xor edx, edx
call fcn.18008ec70
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800ddd40
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1800dddec
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x1800ddd7a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x1800de000
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x1800dddba
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.180118be0
mov rcx, rbx
test rbx, rbx
jne 0x1800ddda0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.1800df9a0
add rsp, 0x30
pop rdi
ret
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x1800de104
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.180118be0
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x1800de110
cmp rbx, rbp
jne 0x1800de0b0
cmp qword [rsp + 0x20], r14
jne 0x1800de0dd
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x1800de11f
mov qword [r15], r12
mov rax, r12
jmp 0x1800de122
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x1800de0dd
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.180118be0
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x1800de1b6
cmp rbx, rbp
jne 0x1800de190
jmp 0x1800de0da
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x1800de130
jmp 0x1800de0dd
Function at 0x1800dde50
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x1800dde85
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.1800ddc00
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x1800ddfc4
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rbx
xor r11, rdx
imul r11, rbx
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x1800ddf3d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800ddfb3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800ddf7a
mov r10, qword [rdx]
cmp r10, rax
je 0x1800ddf74
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1800ddfb3
cmp r9, rdx
je 0x1800ddf8f
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1800ddfd5
cmp r9, rdx
jne 0x1800ddf80
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x1800ddef0
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800ddfb3
Function at 0x1800de000
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1800dddec
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x1800ddd7a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x1800de000
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x1800dddba
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.180118be0
mov rcx, rbx
test rbx, rbx
jne 0x1800ddda0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.1800df9a0
add rsp, 0x30
pop rdi
ret
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x1800de104
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.180118be0
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x1800de110
cmp rbx, rbp
jne 0x1800de0b0
cmp qword [rsp + 0x20], r14
jne 0x1800de0dd
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x1800de11f
mov qword [r15], r12
mov rax, r12
jmp 0x1800de122
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x1800de0dd
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.180118be0
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x1800de1b6
cmp rbx, rbp
jne 0x1800de190
jmp 0x1800de0da
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x1800de130
jmp 0x1800de0dd
Function at 0x1800e96c0
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, 0x20
mov eax, dword [rdx]
lea rdi, [rdx + 8]
mov ebp, r8d
mov rsi, rdx
mov rbx, rcx
cmp eax, 0xc
jne 0x1800e9722
mov rax, qword [rcx]
movsxd r10, dword [rdi]
mov r9, qword [rax + 0x38]
mov edx, dword [r9 + r10*4]
mov eax, edx
and eax, 0x3f
cmp al, 0xe
jne 0x1800e9727
dec dword [rcx + 0x20]
and edx, 0xffddffff
or edx, 0x5c0000
xor eax, eax
shr edx, 0x11
mov ecx, 0x4000
test r8d, r8d
cmove eax, ecx
or edx, eax
jmp 0x1800e9781
cmp eax, 7
je 0x1800e975e
mov rdx, qword [rbx]
movzx ecx, byte [rcx + 0x3c]
inc ecx
movzx eax, byte [rdx + 0xc]
cmp ecx, eax
jbe 0x1800e9743
cmp ecx, 0xff
jae 0x1800e97a5
mov byte [rdx + 0xc], cl
inc byte [rbx + 0x3c]
mov rdx, rsi
movzx r8d, byte [rbx + 0x3c]
mov rcx, rbx
dec r8d
call fcn.1800e9000
cmp dword [rsi], 7
jne 0x1800e9771
mov edx, dword [rdi]
bt edx, 8
jb 0x1800e9771
movzx eax, byte [rbx + 0x3a]
cmp edx, eax
jl 0x1800e9771
dec byte [rbx + 0x3c]
mov edx, dword [rdi]
shl edx, 9
or edx, ebp
shl edx, 0xe
or edx, 0x3fe3
mov rcx, rbx
call fcn.1800e8b40
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1800e8830
mov rcx, qword [rbx + 0x10]
lea rdx, str.function_or_expression_needs_too_many_registers
call fcn.1800f4d20
int3

Function at 0x1800f35c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x2050
call fcn.180119870
sub rsp, rax
mov rax, qword [0x1802d4040]
xor rax, rsp
mov qword [rsp + 0x2040], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x20], rax
mov rbx, rdx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0x2000
nop dword [rax]
mov edx, 0x2000
lea rcx, [rsp + 0x20]
call fcn.1800e53d0
mov r9, rbx
mov edx, 1
mov r8d, 0x2000
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, qword [rsp + 0x30]
add r8, rax
mov qword [rsp + 0x30], r8
cmp rax, 0x2000
je 0x1800f3610
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
call fcn.1800e3020
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x20], rax
je 0x1800f36c8
mov rax, qword [rdi + 0x18]
mov rbx, qword [rdi + 0x10]
mov rcx, qword [rax + 8]
mov r10, qword [rax]
mov eax, dword [rbx - 0x18]
and eax, 0xf
cmp eax, 2
je 0x1800f3696
cmp eax, 7
je 0x1800f368c
xor ebx, ebx
jmp 0x1800f369a
mov rbx, qword [rbx - 0x20]
add rbx, 0x28
jmp 0x1800f369a
mov rbx, qword [rbx - 0x20]
mov r8, qword [rbx + 8]
xor r9d, r9d
mov rdx, qword [rbx]
call r10
mov edx, 0xfffffffe
mov qword [rbx], rax
mov rcx, rdi
mov qword [rbx + 8], 0
lea r8d, [rdx + 1]
call fcn.1800e2cc0
add qword [rdi + 0x10], 0xfffffffffffffff0
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.180118530
mov rbx, qword [rsp + 0x2060]
add rsp, 0x2050
pop rdi
ret
Function at 0x1800f36f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov eax, 0x2050
call fcn.180119870
sub rsp, rax
mov rax, qword [0x1802d4040]
xor rax, rsp
mov qword [rsp + 0x2040], rax
mov rbx, rdx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], 0x2000
xor esi, esi
mov qword [rsp + 0x20], rax
mov rdx, r8
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x20]
mov rdi, r8
call fcn.1800e53d0
mov r9, rbx
lea edx, [rsi + 1]
mov r8, rdi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, qword [rsp + 0x30]
mov rbp, rax
mov rdi, qword [rsp + 0x38]
add r8, rax
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
mov qword [rsp + 0x30], r8
call fcn.1800e3020
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x20], rax
je 0x1800f37e4
mov rax, qword [rdi + 0x18]
mov rbx, qword [rdi + 0x10]
mov rcx, qword [rax + 8]
mov r10, qword [rax]
mov eax, dword [rbx - 0x18]
and eax, 0xf
cmp eax, 2
je 0x1800f37b6
cmp eax, 7
je 0x1800f37ac
mov ebx, esi
jmp 0x1800f37ba
mov rbx, qword [rbx - 0x20]
add rbx, 0x28
jmp 0x1800f37ba
mov rbx, qword [rbx - 0x20]
mov r8, qword [rbx + 8]
xor r9d, r9d
mov rdx, qword [rbx]
call r10
mov edx, 0xfffffffe
mov qword [rbx], rax
mov rcx, rdi
mov qword [rbx + 8], rsi
lea r8d, [rdx + 1]
call fcn.1800e2cc0
add qword [rdi + 0x10], 0xfffffffffffffff0
test rbp, rbp
setne sil
mov eax, esi
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.180118530
mov rbx, qword [rsp + 0x2070]
add rsp, 0x2050
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800f7f80
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x148
mov rax, qword [0x1802d4040]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov r14, r9
mov r15, rdx
lea r9, [0x1802b27f0]
mov rbx, r8
lea rdx, str._s_s
mov rdi, rcx
call fcn.1800e31a0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor esi, esi
mov rbp, rax
test rax, rax
jne 0x1800f7feb
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbp, rax
test rax, rax
jne 0x1800f7feb
lea rbx, [rdi + 0x10]
jmp 0x1800f8021
mov rdx, qword [rdi + 0x18]
lea r8, str.LUA_NOENV
add rdx, 0x40
mov rcx, rdi
call fcn.1800e32d0
mov rax, qword [rdi + 0x10]
lea rbx, [rdi + 0x10]
add rax, 0xfffffffffffffff0
mov ecx, dword [rax + 8]
test ecx, ecx
je 0x1800f8061
cmp ecx, 1
jne 0x1800f801e
cmp dword [rax], esi
je 0x1800f8061
mov qword [rbx], rax
test r14, r14
jne 0x1800f802e
mov rax, qword [rbx]
mov dword [rax + 8], esi
jmp 0x1800f8049
mov rdx, r14
mov rcx, rdi
call fcn.180102e80
mov rcx, qword [rbx]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or eax, 0x40
mov dword [rcx + 8], eax
mov rax, qword [rdi + 0x18]
add qword [rbx], 0x10
cmp qword [rax + 0x18], rsi
jle 0x1800f80a7
mov rcx, rdi
call fcn.1800f1ff0
jmp 0x1800f80a7
lea r9, [0x1802b27e4]
mov qword [rbx], rax
lea r8, [0x1802b28b4]
mov rdx, rbp
mov rcx, rdi
call fcn.1800e6450
mov r9, r14
lea r8, [0x1802b28b0]
mov rdx, rax
mov rcx, rdi
call fcn.1800e6450
mov edx, 0xfffffffe
mov rcx, rdi
lea r8d, [rdx + 1]
call fcn.1800e2cc0
add qword [rbx], 0xfffffffffffffff0
mov r8d, 0x105
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1800f818d
cmp eax, 0x105
je 0x1800f818d
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x1800f818d
mov byte [rax], sil
mov rax, qword [rbx]
sub rax, 0x10
mov ecx, dword [rax + 8]
and ecx, 0xf
cmp ecx, 4
je 0x1800f8124
cmp ecx, 3
jne 0x1800f812b
mov rdx, rax
mov rcx, rdi
call fcn.1800fa690
mov rax, qword [rdi + 0x18]
cmp qword [rax + 0x18], rsi
jle 0x1800f811d
mov rcx, rdi
call fcn.1800f1ff0
mov rax, qword [rbx]
sub rax, 0x10
mov rsi, qword [rax]
add rsi, 0x18
lea r9, [rsp + 0x20]
mov rdx, rsi
lea r8, [0x1802b281c]
mov rcx, rdi
call fcn.1800e6450
mov edx, 0xfffffffe
mov rcx, rdi
lea r8d, [rdx + 1]
call fcn.1800e2cc0
add qword [rbx], 0xfffffffffffffff0
mov r8, r15
mov rdx, qword [rbx]
mov rcx, rdi
add rdx, 0xffffffffffffffd0
call fcn.1800e3660
add qword [rbx], 0xfffffffffffffff0
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180118530
add rsp, 0x148
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rdx, str.unable_to_get_ModuleFileName
mov rcx, rdi
call fcn.1800e4d70
int3
Function at 0x1800fa130
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x28
mov qword [rsp + 0x70], rbx
mov r12, rdx
mov rbx, rcx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
xor edi, edi
lea r13, [0x180182c70]
xorps xmm1, xmm1
mov r10d, edi
mov esi, edi
mov r9d, edi
mov r8, qword [rax]
mov r11d, edi
movsx r14d, byte [r8]
mov qword [r12], rbx
movzx eax, byte [rbx]
test byte [rax + r13 + 1], 8
je 0x1800fa18f
nop dword [rax]
movzx eax, byte [rbx + 1]
inc rbx
test byte [rax + r13 + 1], 8
jne 0x1800fa180
mov qword [rsp + 0x20], r15
lea rdx, [rbx + 1]
mov ebp, 1
cmp al, 0x2d
jne 0x1800fa1a6
mov r15d, ebp
jmp 0x1800fa1af
cmp al, 0x2b
mov r15d, edi
cmovne rdx, rbx
cmp byte [rdx], 0x30
mov rbx, qword [rsp + 0x70]
jne 0x1800fa2e8
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x1800fa2e8
movsd xmm2, qword [0x1802b3e30]
add rdx, 2
nop word [rax + rax]
movzx r8d, byte [rdx]
movsx rcx, r8b
cmp ecx, r14d
jne 0x1800fa1fa
test r11d, r11d
jne 0x1800fa24f
mov r11d, ebp
inc rdx
jmp 0x1800fa1e0
test byte [r8 + r13 + 1], 0x10
je 0x1800fa24f
test r10d, r10d
jne 0x1800fa211
cmp r8b, 0x30
jne 0x1800fa211
inc esi
jmp 0x1800fa242
inc r10d
cmp r10d, 0x1e
jg 0x1800fa23f
test byte [rcx + r13 + 1], 2
je 0x1800fa227
add ecx, 0xffffffd0
jmp 0x1800fa22d
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x1800fa242
inc r9d
test r11d, r11d
je 0x1800fa24a
dec r9d
inc rdx
jmp 0x1800fa1e0
lea eax, [rsi + r10]
test eax, eax
je 0x1800fa2e8
mov qword [r12], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x1800fa2ce
movzx ecx, byte [rdx + 1]
cmp cl, 0x2d
jne 0x1800fa280
mov eax, 2
jmp 0x1800fa28e
cmp cl, 0x2b
mov rax, rdi
mov ebp, edi
sete al
inc rax
lea r8, [rdx + rax]
movzx edx, byte [rdx + rax]
test byte [rdx + r13 + 1], 2
je 0x1800fa2e8
nop
movsx eax, dl
lea edi, [rdi + rdi*4]
inc r8
lea edi, [rdi - 0x18]
lea edi, [rax + rdi*2]
movzx eax, byte [r8]
movzx edx, al
test byte [rax + r13 + 1], 2
jne 0x1800fa2a0
mov eax, edi
mov qword [r12], r8
neg eax
test ebp, ebp
cmove eax, edi
add r9d, eax
test r15d, r15d
je 0x1800fa2da
xorps xmm1, xmmword [0x1802b4230]
mov edx, r9d
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
jmp 0x1800fa2eb
xorps xmm0, xmm0
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180102dc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
cmp r8, 0x28
ja 0x180102de7
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.180102c30
movabs rax, 0x7fffffffffffffe7
cmp rbp, rax
jae 0x180102e74
mov qword [rsp + 0x30], rbx
lea r9, [r8 + 0x19]
xor edx, edx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov rdi, qword [rcx + 0x18]
lea r8d, [rdx + 4]
mov ebx, dword [rdi + 0x50]
call fcn.1800f7e10
movzx ecx, byte [rdi + 0x54]
mov r8, rbp
and cl, 3
mov rdx, r14
mov rsi, rax
mov byte [rax + 9], cl
mov byte [rax + 8], 0x14
mov rcx, qword [rdi + 0x58]
mov qword [rax], rcx
lea rcx, [rax + 0x18]
mov qword [rdi + 0x58], rax
mov dword [rax + 0xc], ebx
mov byte [rax + 0xa], 0
mov byte [rax + rbp + 0x18], 0
mov qword [rax + 0x10], rbp
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.1800f7df0
int3
Function at 0x180111720
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180111778
mov qword [rsp + 0x30], rbx
lea r8, [0x180112710]
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x180111460]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x38
ret