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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1400f6010]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400c20bd
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400c20c4
mov al, 1
jmp 0x1400c221e
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.14001bba0
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.14001bba0
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.14001bc00
movzx eax, al
test eax, eax
je 0x1400c211b
xor al, al
jmp 0x1400c221e
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
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]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400c218b
cmp dword [rsp + 0x30], 1
je 0x1400c2197
cmp dword [rsp + 0x30], 3
je 0x1400c220c
jmp 0x1400c221c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1400c21e3
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x1400c21e3
xor al, al
jmp 0x1400c221e
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400c21fd
mov dword [rsp + 0x34], 1
jmp 0x1400c2205
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400c221e
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400c221e
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400c58c0
add rsp, 0xa8
ret

Function at 0x1400c4f14
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 0x1400c4f98
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400cbf20]
cmp byte [rcx + rax], 0
je 0x1400c4f98
dec r8
sub rdx, 1
jne 0x1400c4f7e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400c6714
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400c675e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400c675e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400c675e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400c675e
cmp dword [rcx + 0x84], 0xe
jbe 0x1400c675e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400c6760
xor al, al
add rsp, 0x28
ret
Function at 0x6d8d3390
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d8f45e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d8d3518
mov rax, qword [0x6d8f45e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d8d33dc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8d3465
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d8d33c0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8d354d
mov rax, qword [0x6d8f45e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d8f45e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8d3530
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8d345e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d8d34c0
add dword [0x6d8f45e4], 1
cmp edi, 8
jae 0x6d8d3493
test dil, 4
jne 0x6d8d3504
test edi, edi
je 0x6d8d3488
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8d351f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d8d3488
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d8d34ac
jmp 0x6d8d3488
add rsi, qword [0x6d8f45e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d8d345e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d8d3488
xor esi, esi
jmp 0x6d8d33e7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d8d3488
mov rax, qword [0x6d8f45e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d8d3ca0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d8f48c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d8f48a0]
test rbx, rbx
je 0x6d8d3cf4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d8d3ceb
test rsi, rsi
je 0x6d8d3ceb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8d3cd0
lea rcx, [0x6d8f48c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d8d3f30
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d8d3f40
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d8d3f50
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d8d3f91
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d8d3f88
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d8d3f93
add rax, 0x28
cmp rax, r9
jne 0x6d8d3f74
xor eax, eax
ret

Function at 0x6d8d4030
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8f11f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d8d409d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8d409d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8d409d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8d4094
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8d409f
add rax, 0x28
cmp rax, r9
jne 0x6d8d4080
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d8d41a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8f11f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d8d41c0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8d41b8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d8d421d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8d4214
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8d4224
add rax, 0x28
cmp rax, r9
jne 0x6d8d4200
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d8d4240
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d8f11f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d8d42ae
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8d42ae
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d8d42ae
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d8d42ae
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d8d42a5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d8d42b5
add rcx, 0x28
cmp rcx, rax
jne 0x6d8d4290
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d8d42c8
jmp 0x6d8d42ae
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d8d42d6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d8d42ae
test r9d, r9d
jg 0x6d8d42c0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8d4640
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x18007aab0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r8d, ecx
mov r9d, ecx
xor ecx, ecx
and r8d, 0xe0000000
cmp r8d, 0xe0000000
mov eax, 0x40
cmovne eax, ecx
mov edx, eax
bts edx, 7
cmp r8d, 0xa0000000
cmovne edx, eax
mov eax, edx
or eax, 0x20
cmp r8d, 0x60000000
cmovne eax, edx
mov ecx, eax
or ecx, 0x10
cmp r8d, 0x20000000
cmovne ecx, eax
mov eax, ecx
or eax, 4
cmp r8d, 0xc0000000
cmovne eax, ecx
mov ecx, eax
or ecx, 8
cmp r8d, 0x80000000
cmovne ecx, eax
mov eax, ecx
or eax, 2
cmp r8d, 0x40000000
cmovne eax, ecx
mov ecx, eax
or ecx, 1
test r8d, r8d
cmovne ecx, eax
mov eax, ecx
bts eax, 9
bt r9d, 0x1a
cmovae eax, ecx
ret
Function at 0x451140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x45130e
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x4512c8
mov ecx, dword [rax + 0x18]
mov qword [rsp], rax
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 8], rdx
mov dword [rsp + 0x10], ecx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], 0
movzx ebx, byte [rsp + 0x88]
mov byte [rsp + 0x28], bl
call fcn.00450a20
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
mov edx, dword [rcx + 0x1c]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 8], rcx
mov dword [rsp + 0x10], edx
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0
movzx edx, byte [rsp + 0x88]
mov byte [rsp + 0x28], dl
call fcn.00450a20
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
cmp rcx, 0xffffffffffffffff
jne 0x45123c
lea rax, [0x00819e70]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
mov dword [rsp + 0xa0], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
cmp eax, 0xffffffff
je 0x45120c
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rdx + 0x38]
mov rsi, qword [rdx + 0x30]
cmp rcx, rbx
jge 0x45120c
mov rdi, qword [rdx]
mov rdx, qword [rdx + 8]
jae 0x451302
mov ebx, dword [rsi + rcx*4]
cmp rbx, rdx
jae 0x4512f8
mov dword [rsp + 0x3c], eax
lea rax, [rdi + rbx]
mov qword [rsp + 0x48], rax
mov qword [rsp], rax
call fcn.0044ec40
mov rax, qword [rsp + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0xa0], eax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
lea rax, [0x00819e70]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
mov dword [rsp + 0xa0], 0
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov eax, ebx
mov rcx, rdx
call fcn.00463d20
mov rax, rcx
mov rcx, rbx
call fcn.00463d20
nop
call fcn.00461330
jmp fcn.00451140
Function at 0x4513a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x451502
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x14]
mov qword [rsp], rax
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 8], rdx
mov dword [rsp + 0x10], ecx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rcx
mov rbx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x28], 1
call fcn.00450a20
mov eax, dword [rsp + 0x30]
test eax, 7
jne 0x451422
mov dword [rsp + 0x90], eax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 8], rcx
call fcn.00450fe0
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x10]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rdx]
mov qword [rsp + 0x48], rbx
movsxd rdx, dword [rdx + 0x14]
mov qword [rsp + 0x40], rdx
call fcn.004377f0
lea rax, [0x00821a0a]
mov qword [rsp], rax
mov qword [rsp + 8], 0x10
call fcn.004381a0
mov rax, qword [rsp + 0x58]
mov qword [rsp], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 8], rax
call fcn.004381a0
call fcn.00437a40
mov rax, qword [rsp + 0x48]
mov qword [rsp], rax
call fcn.00438030
call fcn.00437a40
mov rax, qword [rsp + 0x80]
mov qword [rsp], rax
call fcn.00438030
call fcn.00437a40
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
call fcn.00438030
call fcn.00437a40
mov eax, dword [rsp + 0x3c]
movsxd rcx, eax
mov qword [rsp], rcx
call fcn.00437fc0
call fcn.00437a90
call fcn.00437880
mov eax, dword [rsp + 0x3c]
jmp 0x451411
call fcn.00461330
jmp fcn.004513a0
Function at 0x4598d0
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4599b0
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x18], xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [0x00460b90]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.004611e0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
call fcn.00461330
jmp fcn.004598d0
Function at 0x4632d0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x00b70740]
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*8]
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rax, rcx
movabs rcx, 0x83cf8eadf876d2d7
imul rcx, rax
mov rax, rcx
shr rcx, 0x20
xor rax, rcx
mov qword [rsp + 0x18], rax
ret
cmp byte [0x00b70305], 0
je 0x46330d
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00b709a0]
aesenc xmm0, xmmword [0x00b709b0]
aesenc xmm0, xmmword [0x00b709c0]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x4093b0

Function at 0x4be910
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rdx + 8]
lea rsi, [rbx + 0x2e]
imul rsi, rsi, 0xffffffffffffffe4
movabs rax, 0x5816058160581606
mov rcx, rdx
imul rsi
sar rsi, 0x3f
sar rdx, 5
sub rdx, rsi
lea rsi, [rdx + 0x15c]
sar rsi, 0x3f
shr rsi, 0x3d
lea rdx, [rsi + rdx]
lea rdx, [rdx + 0x15c]
sar rdx, 3
cmp rdx, 0x57
jae 0x4be9e8
lea rsi, [rdx + rdx*2]
lea rdi, [0x00b10e80]
mov r8, qword [rdi + rsi*8 + 8]
lea r9, [r8 + rbx]
lea r9, [r9 + 0x40]
cmp r9, 0xffffffffffffffc4
jge 0x4be991
inc rdx
jmp 0x4be968
cmp r9, 0xffffffffffffffe0
jle 0x4be99c
dec rdx
jmp 0x4be968
mov rbx, qword [rdi + rsi*8]
mov rax, qword [rcx]
mov rsi, rdx
mul rbx
shr rax, 0x3f
add rdx, rax
mov qword [rcx], rdx
mov rdx, qword [rcx + 8]
lea rdx, [rdx + r8]
lea rdx, [rdx + 0x40]
mov qword [rcx + 8], rdx
mov rcx, rsi
shl rsi, 3
lea rdx, [rsi - 0x15c]
neg rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, rdx
mov ecx, 0x57
call fcn.00463d20
nop
int3
Function at 0x4cbcb0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov edx, dword [rsp + 8]
xor ebx, ebx
jmp 0x4cbcd1
movzx esi, byte [rax + rbx]
inc rbx
imul edx, edx, 0x1000193
xor edx, esi
cmp rbx, rcx
jl 0x4cbcc2
mov dword [rsp + 0x28], edx
ret
Function at 0x51fd10
Capabilities:
Encode data using base64

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x51ff0e
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
lea rbx, [rcx + 7]
sar rbx, 0x3f
shr rbx, 0x3d
lea rbx, [rbx + rcx]
lea rbx, [rbx + 7]
sar rbx, 3
mov rdx, qword [rsp + 0x60]
cmp rbx, rdx
jg 0x51fe58
ja 0x51ff05
mov rax, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
mov r8, rcx
xor r9d, r9d
jmp 0x51fd8d
bswap r10
mov qword [rax + r9*8], r10
inc r9
mov rcx, r11
cmp rcx, 8
jl 0x51fdc0
lea r10, [rcx - 8]
mov r11, r10
sub r10, rdi
sub rcx, r11
sar r10, 0x3f
and r10, r11
nop
cmp rcx, 7
jbe 0x51fefb
mov r10, qword [rsi + r10]
cmp r9, rbx
jb 0x51fd80
jmp 0x51fef0
test rcx, rcx
jle 0x51fe14
xor edi, edi
xor r9d, r9d
jmp 0x51fdef
cmp rdi, 0x40
sbb r11, r11
lea r12, [rdi + 8]
movzx r13d, byte [rcx + rsi - 1]
mov rcx, rdi
shl r13, cl
and r13, r11
or r9, r13
mov rcx, r10
mov rdi, r12
test rcx, rcx
jle 0x51fe02
lea r10, [rcx - 1]
cmp r10, r8
jb 0x51fdcc
jmp 0x51fee5
lea rsi, [rbx - 1]
cmp rsi, rbx
jae 0x51feda
mov qword [rax + rbx*8 - 8], r9
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
call fcn.00514750
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], rdx
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
cmp rbx, 1
jne 0x51fe99
lea rax, [0x007977c0]
mov qword [rsp], rax
mov qword [rsp + 8], 1
mov qword [rsp + 0x10], 1
call fcn.00449c50
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x70]
mov edx, 1
mov ebx, 1
jmp 0x51fd6e
mov qword [rsp + 0x30], rbx
lea rax, [0x007977c0]
mov qword [rsp], rax
mov qword [rsp + 8], rbx
lea rax, [rbx + 4]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x10], rax
call fcn.00449c50
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
jmp 0x51fd6e
mov rax, rsi
mov rcx, rbx
call fcn.00463d20
mov rax, r10
mov rcx, r8
call fcn.00463d20
mov rax, r9
mov rcx, rbx
call fcn.00463d20
mov eax, 7
call fcn.00463d20
mov rcx, rbx
call fcn.00463d60
nop
call fcn.00461330
jmp fcn.0051fd10
Function at 0x53d8b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x53da21
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x53da12
xor ecx, ecx
jmp 0x53d8f4
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
cmp rcx, rax
jge 0x53da03
mov rdx, qword [rsp + 0x48]
movzx ebx, byte [rdx + rcx]
cmp ebx, 0x80
jge 0x53d9e2
inc rcx
mov dword [rsp + 0x2c], ebx
mov qword [rsp + 0x30], rcx
lea rax, [0x00827b39]
mov qword [rsp], rax
mov qword [rsp + 8], 0x1b
mov dword [rsp + 0x10], ebx
call fcn.004fc150
cmp qword [rsp + 0x18], 0
jge 0x53d8ea
mov eax, dword [rsp + 0x2c]
cmp eax, 0xff
ja 0x53d9bc
movzx ecx, al
lea rdx, [0x00b03360]
movzx ecx, byte [rcx + rdx]
test cl, 0x60
setne cl
test cl, cl
je 0x53d97f
xor eax, eax
test al, al
je 0x53d8ea
mov byte [rsp + 0x58], 0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
cmp eax, 0xff
jg 0x53d99a
cmp eax, 0x30
jl 0x53d996
cmp eax, 0x39
setle al
xor eax, 1
jmp 0x53d968
xor eax, eax
jmp 0x53d991
mov rcx, qword [0x00b332d0]
mov qword [rsp], rcx
mov dword [rsp + 8], eax
call fcn.00475600
movzx eax, byte [rsp + 0x10]
lea rdx, [0x00b03360]
jmp 0x53d991
mov rcx, qword [0x00b33440]
mov qword [rsp], rcx
mov dword [rsp + 8], eax
call fcn.00475600
movzx ecx, byte [rsp + 0x10]
mov eax, dword [rsp + 0x2c]
lea rdx, [0x00b03360]
jmp 0x53d962
mov qword [rsp], rdx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rcx
call fcn.0045cfd0
mov ebx, dword [rsp + 0x18]
mov rcx, qword [rsp + 0x20]
jmp 0x53d915
mov byte [rsp + 0x58], 1
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov byte [rsp + 0x58], 0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
call fcn.00461330
jmp fcn.0053d8b0