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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, rdx
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r14, rax
movabs rdx, 0x100000001b3
imul r14, rdx
inc rcx
cmp rcx, 4
jb 0x1800412e6
mov rax, qword [0x1800e5290]
and rax, r14
add rax, rax
mov rcx, qword [0x1800e5278]
mov rbx, qword [rcx + rax*8 + 8]
mov rbp, qword [0x1800e5268]
cmp rbx, rbp
jne 0x180041351
mov rbx, rbp
mov rdi, rbp
movabs rax, 0x2e8ba2e8ba2e8ba
cmp qword [0x1800e5270], rax
jne 0x18004138f
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x180041363
cmp rbx, rdx
je 0x180041385
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x18004135a
mov rbp, qword [rbx]
mov rdi, rbp
mov rax, rbx
mov rbx, rbp
test rax, rax
je 0x180041330
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x180041509
mov rbp, rbx
xor eax, eax
mov rdi, rbx
jmp 0x180041374
lea rdx, [0x1800e5268]
lea rcx, [rsp + 0x30]
call fcn.180041f58
nop
mov rdx, qword [0x1800e5270]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1800413bb
cvtsi2ss xmm0, rcx
jmp 0x1800413d0
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x1800e5298]
xorps xmm1, xmm1
test rcx, rcx
js 0x1800413e6
cvtsi2ss xmm1, rcx
jmp 0x1800413fb
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x1800e5260]
seta al
test al, al
je 0x180041476
call fcn.180041a94
mov rcx, qword [rsp + 0x38]
mov rdx, qword [0x1800e5290]
and rdx, r14
add rdx, rdx
mov r8, qword [0x1800e5278]
mov rax, qword [r8 + rdx*8 + 8]
mov rbx, qword [0x1800e5268]
cmp rax, rbx
je 0x180041459
mov r9, qword [r8 + rdx*8]
mov edx, dword [rcx + 0x10]
jmp 0x180041451
mov rbx, rax
cmp rax, r9
je 0x18004146f
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x180041445
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rdi, rbx
mov rbp, qword [rsp + 0x20]
mov rdx, qword [0x1800e5270]
jmp 0x18004147b
mov qword [rsp + 0x20], rax
jmp 0x18004145e
mov rcx, qword [rsp + 0x38]
and qword [rsp + 0x38], 0
mov r8, qword [rbx + 8]
inc rdx
mov qword [0x1800e5270], rdx
mov qword [rcx], rbp
mov qword [rcx + 8], r8
mov qword [r8], rcx
mov qword [rbx + 8], rcx
mov rax, qword [0x1800e5290]
and rax, r14
add rax, rax
mov rdx, qword [0x1800e5278]
mov r9, qword [rdx + rax*8]
cmp r9, qword [0x1800e5268]
jne 0x1800414c4
mov qword [rdx + rax*8], rcx
jmp 0x1800414d6
cmp r9, rdi
jne 0x1800414cf
mov qword [rdx + rax*8], rcx
jmp 0x1800414db
cmp qword [rdx + rax*8 + 8], r8
jne 0x1800414db
mov qword [rdx + rax*8 + 8], rcx
mov qword [rsi], rcx
mov byte [rsi + 8], 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180041509
add rcx, 0x18
call fcn.180040918
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180041509
mov edx, 0x58
call fcn.18009c69c
mov rax, rsi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180041a94
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rcx, qword [0x1800e5270]
xorps xmm0, xmm0
add rcx, 1
js 0x180041ab5
cvtsi2ss xmm0, rcx
jmp 0x180041aca
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1800e5260]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x1800da374]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x180041afc
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x180041afc
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x1800e5298]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x180041b31
cmp rdx, 0x200
jae 0x180041b2e
shl rdx, 3
cmp rdx, rcx
jae 0x180041b31
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x180041b5a
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [0x1800e5268]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1800e5278]
lea rdx, [rdi + rdi]
call fcn.180040dcc
mov rax, qword [0x1800e5268]
lea r9, [rdi - 1]
mov qword [0x1800e5290], r9
mov qword [0x1800e5298], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180041ca8
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [r8 + rax + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x180041bc2
mov rdi, qword [0x1800e5278]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x180041c00
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x180041c6e
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x180041c43
mov r10, qword [r10]
cmp r10, rax
je 0x180041bf9
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 0x180041bf9
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x180041c82
cmp qword [rdi + r11*8], r10
jne 0x180041c39
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 [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x180041ca8
mov r9, qword [0x1800e5290]
jmp 0x180041bb2
mov r10, qword [r10]
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 0x180041c6e
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.180041ce0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180041db4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x38], rcx
mov rbp, r8
mov r13, rdx
cmp rdx, r8
je 0x180041e84
mov rax, qword [rcx + 8]
mov rsi, rdx
mov r14, qword [rdx + 8]
movabs r15, 0xcbf29ce484222325
mov r12, qword [rcx + 0x18]
xor edx, edx
mov qword [rsp + 0x20], rax
movabs r8, 0x100000001b3
movzx eax, byte [rdx + r13 + 0x10]
inc rdx
xor r15, rax
imul r15, r8
cmp rdx, 4
jb 0x180041e0e
and r15, qword [rcx + 0x30]
add r15, r15
mov rax, qword [r12 + r15*8]
mov qword [rsp + 0x30], rax
mov rax, qword [r12 + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x18]
call fcn.180040918
mov edx, 0x58
mov rcx, rbx
call fcn.18009c69c
mov rdx, qword [rsp + 0x38]
dec qword [rdx + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x180041ea5
cmp rsi, rbp
jne 0x180041e3e
cmp qword [rsp + 0x30], r13
jne 0x180041e7d
mov qword [r12 + r15*8], rsi
mov qword [r14], rsi
mov qword [rsi + 8], r14
lea r11, [rsp + 0x40]
mov rax, rbp
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp qword [rsp + 0x30], r13
jne 0x180041eba
mov r13, qword [rsp + 0x20]
mov qword [r12 + r15*8], r13
mov rax, r13
jmp 0x180041ebd
mov rax, r14
mov qword [r12 + r15*8 + 8], rax
cmp rsi, rbp
je 0x180041e7d
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movabs r13, 0x100000001b3
movzx eax, byte [rsi + r8 + 0x10]
inc r8
xor rcx, rax
imul rcx, r13
cmp r8, 4
jb 0x180041ede
mov r15, qword [rdx + 0x30]
mov r13, qword [rsp + 0x20]
and r15, rcx
add r15, r15
mov rax, qword [r12 + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x18]
call fcn.180040918
mov edx, 0x58
mov rcx, rbx
call fcn.18009c69c
mov rdx, qword [rsp + 0x38]
dec qword [rdx + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x180041f47
cmp rsi, rbp
je 0x180041e79
jmp 0x180041f0d
mov qword [r12 + r15*8], r13
mov qword [r12 + r15*8 + 8], r13
jmp 0x180041ec2
Function at 0x18004f6c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1800e1010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rdi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov esi, dword [rbx + 0x14]
mov eax, esi
mov r14d, dword [rbx + 4]
cmp esi, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x18004f7f3
cmp esi, r14d
mov eax, r14d
cmovg eax, esi
cmp r9d, eax
jg 0x18004f7f3
cmp esi, r14d
jne 0x18004f756
sub rbx, 0x10
jmp 0x18004f83d
mov edx, dword [rdi + 0x88]
xor r9d, r9d
cmp esi, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x18004f7b6
mov eax, dword [rdi + 4]
mov ecx, eax
neg ecx
cmp esi, r14d
jge 0x18004f784
dec eax
add eax, esi
and eax, ecx
sub eax, esi
jmp 0x18004f78a
and ecx, esi
mov eax, esi
sub eax, ecx
cmp eax, dword [rdi + 8]
setge r10b
test edx, edx
je 0x18004f7a4
mov dl, r10b
mov rcx, rdi
call fcn.18004ef5c
test al, al
jne 0x18004f7ef
mov r8b, r10b
mov edx, r9d
mov rcx, rdi
call fcn.18004ee90
test al, al
jne 0x18004f7ef
mov ecx, dword [rdi + 0x60]
lea r9, [0x18004f078]
mov eax, dword [rdi + 0x64]
mov r8, rbx
mov dword [rsp + 0x28], eax
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rdi
cmp esi, r14d
jge 0x18004f7e2
call fcn.18004f31c
jmp 0x18004f7e7
call fcn.18004f490
test al, al
je 0x18004f74d
mov al, 1
jmp 0x18004f857
mov eax, dword [rbx + 8]
lea r8, [rbx + 0x10]
mov ecx, dword [r8]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], esi
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [rsi + r9]
mov dword [r8], eax
mov eax, ecx
sar eax, 1
sar edx, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0xc], edx
mov dword [rbx + 0x14], eax
mov rbx, r8
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x18004f84e
mov ebp, dword [rbx]
jmp 0x18004f719
mov dword [rdi + 0x58], ebp
xor al, al
mov dword [rdi + 0x5c], r14d
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18009c310
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18004f880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x350
mov rax, qword [0x1800e1010]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov r14d, dword [rsp + 0x398]
mov rdi, rcx
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x5c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x390]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3a0]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], r14d
mov esi, dword [rbx + 0x1c]
mov ecx, esi
mov ebp, dword [rbx + 4]
cmp esi, ebp
mov r8d, dword [rbx + 0x14]
mov eax, r8d
mov edx, dword [rbx + 0xc]
cmovg ecx, ebp
cmp r8d, edx
cmovg eax, edx
cmp eax, ecx
jl 0x18004f9d0
cmp esi, ebp
mov eax, ebp
cmovg eax, esi
cmp r8d, edx
cmovg edx, r8d
cmp edx, eax
jg 0x18004f9d0
cmp esi, ebp
jne 0x18004f936
sub rbx, 0x18
jmp 0x18004f9dc
mov edx, dword [rdi + 0x88]
xor r9d, r9d
cmp esi, ebp
setg r9b
inc r9d
cmp edx, r9d
je 0x18004f994
mov eax, dword [rdi + 4]
mov ecx, eax
neg ecx
cmp esi, ebp
jg 0x18004f962
dec eax
add eax, esi
and eax, ecx
sub eax, esi
jmp 0x18004f968
and ecx, esi
mov eax, esi
sub eax, ecx
cmp eax, dword [rdi + 8]
setge r10b
test edx, edx
je 0x18004f982
mov dl, r10b
mov rcx, rdi
call fcn.18004ef5c
test al, al
jne 0x18004f9cc
mov r8b, r10b
mov edx, r9d
mov rcx, rdi
call fcn.18004ee90
test al, al
jne 0x18004f9cc
mov ecx, dword [rdi + 0x60]
lea r9, [fcn.18004f0d0]
mov eax, dword [rdi + 0x64]
mov r8, rbx
mov dword [rsp + 0x28], eax
mov edx, 3
mov dword [rsp + 0x20], ecx
mov rcx, rdi
cmp esi, ebp
jg 0x18004f9bf
call fcn.18004f31c
jmp 0x18004f9c4
call fcn.18004f490
test al, al
je 0x18004f92d
mov al, 1
jmp 0x18004f9f7
mov rcx, rbx
call fcn.18004f0d0
add rbx, 0x18
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x18004f9ee
mov r14d, dword [rbx]
jmp 0x18004f8ee
mov dword [rdi + 0x58], r14d
xor al, al
mov dword [rdi + 0x5c], ebp
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.18009c310
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18004fd28
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
lea r15d, [r14 + 1]
mov dword [rcx + 0x3c], r14d
mov esi, r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x18004fe76
movzx r10d, r14w
mov edi, r14d
mov r8, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + r8]
call fcn.18004fa20
test al, al
jne 0x18004ff0e
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x18004fe05
cmp edx, dword [rbx + 0x60]
jl 0x18004fe05
cmp edx, dword [rbx + 0x64]
jg 0x18004fe05
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x18004fe05
mov rax, qword [rbx + 0x70]
mov cl, byte [rax + 0x18]
xor cl, byte [r9 + 0x18]
test cl, 8
jne 0x18004fe05
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x18004fe28
test byte [r9 + 0x18], 8
je 0x18004fe28
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x18004fe39
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.18004ef5c
test al, al
jne 0x18004ff0e
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x18004fe5c
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
add esi, r15d
add rdi, 2
add r10w, r15w
cmp esi, eax
jl 0x18004fd8e
movzx r11d, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp r11w, r15w
jbe 0x18004ff13
test rdx, rdx
je 0x18004ff13
lea rdi, [rdx + 8]
cmp r11w, r15w
jbe 0x18004feaa
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x18004fead
mov r10, r14
mov qword [rdi], r10
test byte [rdx + 0x18], 8
mov r10d, dword [rdx + 0x20]
mov r8d, r10d
mov eax, dword [rdx + 0x1c]
je 0x18004fec8
dec r10d
add r10d, eax
jmp 0x18004fedf
sub r8d, eax
add r8d, r15d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.18004eff0
test al, al
jne 0x18004ff0e
lea edx, [r10 + 1]
mov rcx, rbx
call fcn.18004eff0
test al, al
jne 0x18004ff0e
mov rdx, qword [rdi]
mov eax, 0xffff
add r11w, ax
je 0x18004ff17
jmp 0x18004fe92
mov al, r15b
jmp 0x18004ff22
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x18009b11c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor r10d, r10d
mov r11, rdx
mov r9d, ecx
test rdx, rdx
je 0x18009b1a1
lea rdi, [0x1800c42b0]
not r9d
cmp r8d, 8
jb 0x18009b178
mov edx, r8d
shr rdx, 3
add r8d, 0xfffffff8
mov ebx, 8
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r11
xor r9d, dword [rdi + rax*4]
sub rbx, 1
jne 0x18009b154
sub rdx, 1
jne 0x18009b14b
test r8d, r8d
je 0x18009b19b
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r11
xor r9d, dword [rdi + rax*4]
add r8d, 0xffffffff
jne 0x18009b17d
not r9d
mov r10d, r9d
mov rbx, qword [rsp + 8]
mov eax, r10d
mov rdi, qword [rsp + 0x10]
ret
Function at 0x404520
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x6e8
mov rax, qword [0x00423d58]
mov qword [rsp + 0x6d0], rax
mov dword [rsp + 0x470], 1
mov qword [rsp + 0x478], 0xffffffffffffffff
mov r9, qword [rsp + 0x6f8]
lea r8, [0x00419800]
mov edx, 0x104
lea rcx, [rsp + 0x260]
call fcn.00402d00
lea rdx, [rsp + 0x480]
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x478], rax
cmp qword [rsp + 0x478], 0xffffffffffffffff
jne 0x4045ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4047b1
xor eax, eax
cmp eax, 1
je 0x404785
mov eax, dword [rsp + 0x480]
and eax, 0x400
test eax, eax
je 0x4045e8
lea rdx, [rsp + 0x480]
mov rcx, qword [rsp + 0x478]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4045e6
jmp 0x404785
jmp 0x4045ac
mov eax, dword [rsp + 0x480]
and eax, 0x10
test eax, eax
je 0x404720
lea rdx, [0x00419810]
lea rcx, [rsp + 0x4ac]
call qword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
je 0x40462c
lea rdx, [0x00419814]
lea rcx, [rsp + 0x4ac]
call qword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
jne 0x404650
lea rdx, [rsp + 0x480]
mov rcx, qword [rsp + 0x478]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40464b
jmp 0x404785
jmp 0x4045ac
lea rax, [rsp + 0x4ac]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x6f8]
lea r8, [0x00419820]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.00402d00
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 2
mov rcx, qword [rsp + 0x6f0]
call fcn.004048a0
test eax, eax
je 0x4046c0
jmp 0x404785
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x6f0]
call fcn.00404520
mov dword [rsp + 0x470], eax
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x470]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 3
mov rcx, qword [rsp + 0x6f0]
call fcn.004048a0
test eax, eax
je 0x40471e
jmp 0x404785
jmp 0x404764
lea rax, [rsp + 0x4ac]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x6f8]
lea r8, [0x00419830]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.00402d00
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x6f0]
call fcn.004039b0
mov dword [rsp + 0x470], eax
lea rdx, [rsp + 0x480]
mov rcx, qword [rsp + 0x478]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x404780
jmp 0x404785
jmp 0x4045ac
cmp qword [rsp + 0x478], 0xffffffffffffffff
je 0x4047aa
mov rcx, qword [rsp + 0x478]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x478], 0xffffffffffffffff
mov eax, dword [rsp + 0x470]
mov rcx, qword [rsp + 0x6d0]
call fcn.00418760
add rsp, 0x6e8
ret
Function at 0x4047d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0x57
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xffffffff
je 0x40482d
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
je 0x404842
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.00404520
mov dword [rsp + 0x20], eax
jmp 0x404855
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.004039b0
mov dword [rsp + 0x20], eax
mov eax, dword [0x00423d94]
test eax, eax
jle 0x40486c
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x404855
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x10], 0
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x408c90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov rax, qword [0x00423d58]
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0xd0], 0
mov qword [rsp + 0x48], 0xffffffffffffffff
mov dword [rsp + 0xd4], 0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov r8d, 0x6a
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x408d43
jmp 0x408d8d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xd4]
mov r8d, 0x6a
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x408d83
jmp 0x408d8d
xor eax, eax
test eax, eax
jne 0x408cff
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x408da0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [rsp + 0x96]
lea rcx, [0x0041cb9c]
call fcn.00404ef0
mov eax, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0xf0]
call fcn.00418760
add rsp, 0x108
ret
Function at 0x409ff0
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x490
mov rax, qword [0x00423d58]
mov qword [rsp + 0x488], rax
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 0x42c
rep stosb byte [rdi], al
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x480], 0
mov qword [rsp + 0x470], 0
lea rax, [rsp + 0x478]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov word [rsp + 0x20], 0
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x4a0]
mov qword [rsp + 0x470], rax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [rsp + 0x20], ax
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x20]
mov edx, 0x600018
mov rcx, qword [rsp + 0x4a0]
call fcn.00404a60
mov dword [rsp + 0x480], eax
cmp dword [rsp + 0x480], 0
je 0x40a0c9
mov eax, dword [rsp + 0x480]
jmp 0x40a19c
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_time]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x54], 0
cmp dword [0x00424de4], 0
je 0x40a103
mov eax, dword [0x00424de4]
mov dword [rsp + 0x4c], eax
jmp 0x40a10b
mov dword [rsp + 0x4c], 0
cmp dword [0x00424de8], 0
je 0x40a120
mov eax, dword [0x00424de8]
mov dword [rsp + 0x50], eax
jmp 0x40a128
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x50], eax
lea rax, [0x00409f30]
mov qword [rsp + 0x458], rax
lea rax, [0x00409f90]
mov qword [rsp + 0x460], rax
lea rax, [rsp + 0x470]
mov qword [rsp + 0x468], rax
lea r8, [rsp + 0x40]
mov edx, 0x71021a
mov rcx, qword [rsp + 0x4a0]
call fcn.00404b30
mov dword [rsp + 0x480], eax
cmp dword [rsp + 0x480], 0
je 0x40a187
mov eax, dword [rsp + 0x480]
jmp 0x40a19c
cmp dword [rsp + 0x44], 8
je 0x40a195
mov eax, 0x32
jmp 0x40a19c
mov eax, dword [rsp + 0x480]
mov rcx, qword [rsp + 0x488]
call fcn.00418760
add rsp, 0x490
pop rdi
ret