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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, r8
mov rsi, rcx
mov r15, r8
sub r15, rdx
sub rbx, rdx
je 0x18019496b
movabs rax, 0x7ffffffffffffff8
cmp rbx, rax
ja 0x180194a43
mov rdi, rdx
movzx eax, byte [0x1802ea611]
mov r14d, 4
mov edx, 4
mov rcx, rbx
call fcn.180004690
test rax, rax
je 0x180194a46
shr r15, 3
cmp rbx, 0x80
jae 0x18019498d
xor ecx, ecx
mov rdx, rcx
or rdx, 1
test bl, 8
je 0x18019491b
mov r8d, dword [rdi + rcx*8]
mov r9d, dword [rdi + rcx*8 + 4]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rcx*8], r10d
mov dword [rax + rcx*8 + 4], r9d
mov rcx, rdx
cmp r15, rdx
je 0x180194973
mov edx, dword [rdi + rcx*8]
mov r8d, dword [rdi + rcx*8 + 4]
cmp edx, r8d
mov r9d, r8d
cmovb r9d, edx
cmova r8d, edx
mov dword [rax + rcx*8], r9d
mov dword [rax + rcx*8 + 4], r8d
mov edx, dword [rdi + rcx*8 + 8]
mov r8d, dword [rdi + rcx*8 + 0xc]
cmp edx, r8d
mov r9d, r8d
cmovb r9d, edx
cmova r8d, edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r8d
add rcx, 2
cmp r15, rcx
jne 0x180194920
jmp 0x180194973
xor r15d, r15d
mov eax, 4
mov qword [rsi], r15
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], r15
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rdx, [rax + r15*8]
add rdx, 0xfffffffffffffff8
xor ecx, ecx
cmp rdx, rax
jb 0x1801948ec
lea rdx, [rax + r15*8]
add rdx, 0xfffffffffffffffc
mov r8, rax
add r8, 4
cmp rdx, r8
jb 0x1801948ec
lea rdx, [r15 - 1]
shr rdx, 0x3d
jne 0x1801948ec
movabs rcx, 0xffffffffffffffe
and rcx, r15
xor edx, edx
movdqa xmm0, xmmword [0x180221660]
nop dword [rax]
movdqu xmm1, xmmword [rdi + rdx*8]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rdx*8], xmm2
add rdx, 2
cmp rcx, rdx
jne 0x1801949e0
cmp r15, rcx
jne 0x1801948ec
jmp 0x180194973
xor r14d, r14d
mov rcx, r14
mov rdx, rbx
call fcn.180201570
int3
Function at 0x1801d18c0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1801d1960
jmp 0x1801d194f
jae 0x1801d1a1f
cmp r8, 0x201
jae 0x1801d1960
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1801d19b7
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1801d198f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.180200470
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1801d19e0
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1801d1a8b
mov r8d, r13d
cmp r12, r8
jne 0x1801d1940
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1801d1abf
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1801d194f
jmp 0x1801d1960
cmp r14, r8
jb 0x1801d1ad9
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.1801d5880
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x1801d1a74
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.1800046a0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x1801d1a5f
jmp 0x1801d1a74
lea rcx, str.internal_error:_entered_unreachable_code_rustc_8387315ab3c26a57a1f53a90f188f0bc88514bcalibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.1802018d0
jmp 0x1801d1aee
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.180201ca0
ud2
Function at 0x1801d2fa0
Capabilities:
Create directory

Disassembly:
push rbp
mov rbp, rsp
cmp byte [rcx], 0
je 0x1801d2fb5
mov rcx, rdx
mov rdx, r8
pop rbp
jmp fcn.1801d2fd0
mov rcx, rdx
mov rdx, r8
pop rbp
jmp fcn.1801dc490

Function at 0x1801dc490
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.1801df220
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
movabs rbx, 0x8000000000000000
cmp rax, rbx
je 0x1801dc4f0
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov r8b, 1
call fcn.1801dfad0
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rdi, rbx
jne 0x1801dc4fc
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
xor edx, edx
call qword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x1801dc528
test rdi, rdi
je 0x1801dc554
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.1800046a0
xor eax, eax
jmp 0x1801dc4f3
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x1801dc4f3
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call fcn.1800046a0
jmp 0x1801dc4f0
xor eax, eax
jmp 0x1801dc4f3
Function at 0x1801ddda0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1802a0a50]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x1801dddd8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x1801dde2f
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0xc0000011
jne 0x1801dde3c
xor edx, edx
xor eax, eax
jmp 0x1801dde66
cmp eax, 0x103
je 0x1801dde70
test eax, eax
js 0x1801dde4f
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1801dde66
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x1802a0ab0]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1801d5460
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1801d0240
mov ecx, 7
int 0x29
ud2

Function at 0x1801ddec0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1802a0a50]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x1801ddef8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1801ddf56
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x1801ddf83
test eax, eax
js 0x1801ddf62
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1801ddf79
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x1802a0ab0]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1801d5460
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1801d0240
mov ecx, 7
int 0x29
ud2
Function at 0x1801f3490
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x1801f351a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1801f3510
cmp r11, r10
ja 0x1801f3596
cmp r10, rdx
ja 0x1801f35a8
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x1801f3512
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1801f34f0
jmp 0x1801f3577
ja 0x1801f351a
mov r11, r10
cmp rax, r8
jne 0x1801f34b7
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x1801f357b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1801f3550
mov r8, r10
sub ecx, r9d
jns 0x1801f356e
jmp 0x1801f357d
cmp r10, rdx
je 0x1801f358a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1801f357d
xor al, 1
cmp r8, rdx
jne 0x1801f3530
jmp 0x1801f357d
xor eax, eax
jmp 0x1801f357d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1802017d0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.180201cb0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.180201ca0
int3
Function at 0x18000cfd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18011f040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18000cffd
xor eax, eax
jmp 0x18000d169
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18000d037
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18000d037
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x18000d169
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18000d15c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000d07a
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x18000d0a5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18000d161
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18000d114
sub eax, 1
je 0x18000d114
cmp eax, 2
jne 0x18000d15c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18000d161
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18000d142
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x18000d15c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x18000d161
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800cb0c0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18000d6c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18011f040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18000d793
cmp byte [rcx + 0x71], 0
je 0x18000d793
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18000d78f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18000d754
sub eax, 1
je 0x18000d758
cmp eax, 2
jne 0x18000d78f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800cb0c0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18000d786
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x18000d78f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18000d73c
xor al, al
jmp 0x18000d73c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800cb0c0
add rsp, 0x60
pop rbx
ret
Function at 0x180025030
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x18011f040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rcx
mov qword [rsp + 0x88], rcx
xor edi, edi
lea r9, [rsp + 0x88]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1800d2e78]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea r8d, [rdi + 6]
lea rdx, str.Carbon
lea rcx, [rsp + 0x48]
call fcn.18001f4f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov rdx, qword [rsp + 0x88]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800250c0
lea rcx, [rsp + 0x28]
call fcn.18001f4f0
nop
mov r8d, 1
lea rdx, [0x1800f6728]
lea rcx, [rsp + 0x28]
call fcn.180030c00
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x68]
lea rcx, [rsp + 0x90]
call fcn.18002c140
nop
lea rcx, [rsp + 0x68]
call fcn.18001f320
nop
lea rcx, [rsp + 0x28]
call fcn.18001f320
nop
lea rcx, [rsp + 0x48]
call fcn.18001f320
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.1800296b0
nop
lea rcx, [rsp + 0x90]
call fcn.18001f320
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1800cb0c0
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret
Function at 0x180041c10
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov rax, qword [0x18011f040]
xor rax, rsp
mov qword [rsp + 0x40], rax
movzx r14d, cl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov dword [rsp + 0x20], 0x1c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180041ce6
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
je 0x180041ce6
mov qword [rsp + 0x60], rbx
nop
mov r8d, dword [rsp + 0x28]
cmp r8d, esi
je 0x180041ccf
cmp dword [rsp + 0x2c], ebp
jne 0x180041ccf
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
mov rcx, rax
test r14b, r14b
je 0x180041cc0
call qword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x180041cc6
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180041c90
mov rbx, qword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800cb0c0
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x180047490
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x18004755c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18004755c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x180047575
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18004754c
cmp byte [rax], 0x5c
jne 0x180047546
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180047546
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180047532
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x180047543
test r8b, 0x10
jne 0x180047546
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x180047546
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800435d0
test edi, edi
jne 0x1800474b0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1800435c0
int3

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180049d24
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180049d10
ret
Function at 0x18004a400
Capabilities:
Enumerate pe sections
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, 0xb0
mov rax, qword [0x18011f040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rsi, rcx
mov qword [rsp + 0x80], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x20], 1
mov rcx, qword [0x180120bd8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rcx, qword [0x180120bd8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rcx, dword [rax + 0x3c]
movzx ebp, word [rcx + rbx + 6]
mov rcx, qword [0x180120bd8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rcx, qword [0x180120bd8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rdi, dword [rax + 0x3c]
add rdi, rbx
mov rcx, qword [0x180120bd8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
mov rcx, qword [0x180120bd8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rcx, dword [rax + 0x3c]
movzx eax, word [rcx + rbx + 0x14]
lea rbx, [rdi + 0x18]
add rbx, rax
cmp r14w, bp
jae 0x18004a5c1
mov edi, ebp
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x18004a502
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.18001d0a0
nop
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x30]
call fcn.18001e7f0
movups xmm2, xmmword [rbx]
movaps xmmword [rsp + 0x50], xmm2
movups xmm3, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x60], xmm3
movsd xmm4, qword [rbx + 0x20]
movsd qword [rsp + 0x70], xmm4
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x18004a58d
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], socket
mov byte [rsp + 0x30], 0
movups xmmword [rdx + 0x20], xmm2
movups xmmword [rdx + 0x30], xmm3
movsd qword [rdx + 0x40], xmm4
add qword [rsi + 8], 0x48
jmp 0x18004a59b
lea r8, [rsp + 0x30]
mov rcx, rsi
call fcn.18004a050
nop
lea rcx, [rsp + 0x30]
call fcn.18001f2b0
nop
lea rcx, [rsp + 0x88]
call fcn.18001f2b0
add rbx, 0x28
sub rdi, 1
jne 0x18004a4e0
mov rax, rsi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1800cb0c0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret