joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c40
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, 1
xchg byte [0x00ec11e0], al
test al, al
je 0x401c5f
lea rcx, [0x00ec11e0]
call fcn.00438d60
movzx eax, byte [0x00ec11e1]
test al, al
je 0x401c80
mov byte [0x00ec11e0], 0
add rsp, 0x58
ret
lea rdx, [0x00f42228]
lea rcx, [0x00f42250]
mov rax, rdx
mov byte [rax], 0
add rax, 1
cmp rax, rcx
jne 0x401c91
lea rax, [0x00f42228]
xor ecx, ecx
pxor xmm0, xmm0
mov qword [0x00f42228], rax
mov qword [0x00f42230], rax
lea rax, [0x00ec1220]
mov r8, rax
add rcx, 1
movaps xmmword [r8], xmm0
add r8, 0x10
cmp rcx, 0x4000
jne 0x401cc2
mov byte [0x00f01220], 0
xor ecx, ecx
pxor xmm0, xmm0
add rcx, 1
movaps xmmword [rax + 0x40040], xmm0
add rax, 0x10
cmp rcx, 0xd8
jne 0x401ce4
lea rax, [0x00f01fe0]
mov byte [rax], 0
add rax, 1
cmp rax, rdx
jne 0x401d03
mov rax, qword [0x006891d8]
test rax, rax
jne 0x401d31
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov qword [0x006891d8], rax
mov qword [0x00f01fe0], rax
lea rax, [0x00f01ff0]
mov qword [0x00f01fe8], rax
mov byte [0x00ec11e1], 1
mov byte [0x00ec11e0], 0
add rsp, 0x58
ret
Function at 0x408630
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x48
test edx, edx
mov rsi, r8
je 0x408580
cmp edx, 1
jne 0x408604
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], 0
mov edx, 0x40000000
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
call qword [sym.imp.kernel32.dll_CreateFileA]
mov rbx, rax
cmp rbx, 1
je 0x4085b6
cmp rbx, 2
je 0x4085e0
cmp rbx, 0xffffffffffffffff
jne 0x408576
test rsi, rsi
je 0x408576
call qword [sym.imp.kernel32.dll_GetLastError]
mov dword [rsi], eax
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
ret
xor r9d, r9d
mov dword [rsp + 0x28], pe_nt_image_headers64
mov r8d, 7
mov edx, 0x80000000
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
call qword [sym.imp.kernel32.dll_CreateFileA]
mov rbx, rax
cmp rbx, 1
jne 0x408559
lea r8, str.__res_____fd_t_1_____fd_t_1_____fd_t__1_______0_
xor r9d, r9d
mov edx, 0x2564
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
call fcn.00406990
nop word [rax + rax]
lea r8, str.__res_____fd_t_2_____fd_t_2_____fd_t__1_______0_
xor r9d, r9d
mov edx, 0x2565
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
call fcn.00406990
lea r8, str.__0___unimplemented_______0_
xor r9d, r9d
mov edx, 0x2562
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
call fcn.00406990
nop
nop dword [rax]
push rsi
push rbx
sub rsp, 0x48
mov qword [rsp + 0x20], 0
cmp rcx, 0xffffffffffffffff
mov rbx, r9
je 0x408692
lea r9, [rsp + 0x3c]
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
setne sil
jne 0x408666
cmp qword [rsp + 0x80], 0
jne 0x408680
test rbx, rbx
je 0x408672
mov eax, dword [rsp + 0x3c]
mov qword [rbx], rax
mov eax, esi
add rsp, 0x48
pop rbx
pop rsi
ret
call qword [sym.imp.kernel32.dll_GetLastError]
mov rdx, qword [rsp + 0x80]
mov dword [rdx], eax
jmp 0x408666
lea r8, str.__fd_____fd_t__1_______0_
xor r9d, r9d
mov edx, 0x2571
lea rcx, str.gotsan.cpp
call fcn.00406990
nop
nop

Function at 0x4086b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x58
mov rsi, qword [rsp + 0x90]
cmp rcx, 0xffffffffffffffff
mov rbx, r9
je 0x408765
lea rax, [rsp + 0x40]
test rsi, rsi
cmove rsi, rax
test r9, r9
lea rax, [rsp + 0x48]
mov dword [rsi], 0
cmove rbx, rax
lea rax, [rcx - 1]
mov qword [rbx], 0
cmp rax, 1
ja 0x408729
cmp rcx, 1
mov qword [rsp + 0x38], r8
sete cl
mov qword [rsp + 0x30], rdx
movzx ecx, cl
sub ecx, 0xc
call qword [sym.imp.kernel32.dll_GetStdHandle]
mov rdx, qword [rsp + 0x30]
test rax, rax
mov rcx, rax
mov r8, qword [rsp + 0x38]
je 0x408790
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
call qword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x408754
mov eax, dword [rsp + 0x44]
mov qword [rbx], rax
mov eax, 1
add rsp, 0x58
pop rbx
pop rsi
ret
call qword [sym.imp.kernel32.dll_GetLastError]
mov dword [rsi], eax
xor eax, eax
add rsp, 0x58
pop rbx
pop rsi
ret
lea r8, str.__fd_____fd_t__1_______0_
xor r9d, r9d
mov edx, 0x2586
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
call fcn.00406990
nop dword [rax]
mov dword [rsi], 6
xor eax, eax
jmp 0x40874d
Function at 0x40b400
Capabilities:
Print debug messages

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov eax, 1
mov rsi, qword [rcx]
mov rbx, rcx
mov rdi, rdx
xchg byte [rsi], al
test al, al
je 0x40b42d
mov rcx, rsi
mov qword [rsp + 0x38], r8
call fcn.00438d60
mov r8, qword [rsp + 0x38]
mov rax, qword [rbx]
movzx r9d, byte [rax]
cmp r9, 1
jne 0x40b490
mov rcx, qword [rbx + 8]
lea rax, [rcx - 1]
cmp rax, 1
jbe 0x40b45e
mov rcx, rbx
mov qword [rsp + 0x38], r8
call fcn.0040bf30
mov rcx, qword [rbx + 8]
mov r8, qword [rsp + 0x38]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rdx, rdi
call fcn.004086b0
test al, al
jne 0x40b47f
mov rcx, rdi
call qword [sym.imp.kernel32.dll_OutputDebugStringA]
mov byte [rsi], 0
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret
mov qword [rsp + 0x20], 1
lea r8, str.__atomic_load_state___memory_order_relaxed_______1__
mov edx, 0x2b
lea rcx, str....._sanitizer_common_sanitizer_mutex.h
call fcn.00406990
nop
nop word cs:[rax + rax]

Function at 0x40d6b0
Capabilities:
Get system information on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rax, qword [0x00638840]
mov rsi, rcx
lea rcx, [rax - 1]
test rax, rcx
jne 0x40d784
lea rbx, [rdx + rcx]
neg rax
mov rdx, qword [rsi]
and rbx, rax
mov rax, qword [rsi + 8]
sub rdx, rax
cmp rdx, rbx
jge 0x40d74b
mov rax, qword [0x006891d8]
test rax, rax
je 0x40d790
lea rdi, [rax - 1]
test rdi, rax
jne 0x40d784
lea rdx, str.Allocate
neg rax
add rdi, rbx
and rdi, rax
mov rcx, rdi
call fcn.0040d590
mov r8, qword [0x00eb39b0]
lea rdx, [rax + rdi]
mov qword [rsi + 8], rax
mov qword [rsi], rdx
test r8, r8
je 0x40d743
mov rdx, rdi
mov rcx, rax
call r8
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
sub rdx, rax
cmp rbx, rdx
jg 0x40d760
add rbx, rax
mov qword [rsi + 8], rbx
add rsp, 0x60
pop rbx
pop rsi
pop rdi
ret
lea r8, str.__allocated_end____allocated_current_____sptr_size______0_
xor r9d, r9d
mov edx, 0x1b33
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
call fcn.00406990
call fcn.0040b4c0
nop dword [rax]
lea rcx, [rsp + 0x30]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x34]
mov qword [0x006891d8], rax
jmp 0x40d6f7
Function at 0x40e930
Capabilities:
Get system information on windows
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov rbx, qword [0x006891d8]
mov r12, qword [rsp + 0xf0]
test rbx, rbx
mov qword [rsp + 0xd0], rcx
mov rbp, rdx
mov rsi, r9
mov qword [rsp + 0xe0], r8
je 0x40eb30
mov r13, qword [sym.imp.kernel32.dll_ReadFile]
lea r14, [rsp + 0x50]
cmp r12, rbx
cmovbe rbx, r12
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rbp]
mov rdx, qword [rax]
call fcn.0040e7f0
xor ecx, ecx
mov r9d, 4
mov rdx, rbx
mov r8d, 0x3000
call qword [sym.imp.kernel32.dll_VirtualAlloc]
test rax, rax
je 0x40ebb7
mov qword [rbp], rax
mov rax, qword [rsp + 0xe0]
xor r9d, r9d
mov r8d, 7
mov edx, 0x80000000
mov rcx, qword [rsp + 0xd0]
mov qword [rax], rbx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [sym.imp.kernel32.dll_CreateFileA]
cmp rax, 1
mov rdi, rax
je 0x40eb50
cmp rax, 2
je 0x40eb74
cmp qword [rsp + 0xf8], 0
setne r15b
cmp rax, 0xffffffffffffffff
sete al
test al, r15b
jne 0x40eae1
cmp rdi, 0xffffffffffffffff
je 0x40eaf1
mov qword [rsi], 0
xor ecx, ecx
jmp 0x40ea6b
test eax, eax
mov r8d, dword [rsp + 0x50]
je 0x40eaac
mov rcx, r8
add rcx, qword [rsi]
cmp r12, rcx
mov qword [rsi], rcx
sete dl
test r8, r8
sete al
or al, dl
jne 0x40eba0
cmp rbx, rcx
jbe 0x40eb10
mov r8d, ebx
mov rdx, rcx
mov r9, r14
add rdx, qword [rbp]
mov qword [rsp + 0x20], 0
sub r8d, ecx
mov rcx, rdi
call r13
test eax, eax
jne 0x40ea45
test r15b, r15b
je 0x40ea45
call qword [sym.imp.kernel32.dll_GetLastError]
mov rsi, qword [rsp + 0xf8]
mov dword [rsi], eax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rbp]
mov rdx, qword [rax]
call fcn.0040e7f0
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
xor edx, edx
mov eax, edx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.kernel32.dll_GetLastError]
mov rdi, qword [rsp + 0xf8]
mov dword [rdi], eax
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rbp]
mov rdx, qword [rax]
call fcn.0040e7f0
xor edx, edx
jmp 0x40eacb
add rbx, rbx
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
cmp r12, rbx
cmovbe rbx, r12
jmp 0x40e984
lea rcx, [rsp + 0x50]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov ebx, dword [rsp + 0x54]
mov qword [0x006891d8], rbx
jmp 0x40e971
lea r8, str.__res_____fd_t_1_____fd_t_1_____fd_t__1_______0_
xor r9d, r9d
mov edx, 0x2564
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
call fcn.00406990
lea r8, str.__res_____fd_t_2_____fd_t_2_____fd_t__1_______0_
xor r9d, r9d
mov edx, 0x2565
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
call fcn.00406990
nop dword [rax + rax]
mov byte [rsp + 0x4f], al
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
movzx edx, byte [rsp + 0x4f]
jmp 0x40eacb
call qword [sym.imp.kernel32.dll_GetLastError]
mov dword [rsp + 0x20], 0
lea r8, str.allocate
mov rcx, rbx
lea rdx, str.ReadFileToBuffer
mov r9d, eax
call fcn.0040d4f0
nop
nop
Function at 0x40ebe0
Capabilities:
Get system information on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rax, qword [0x006891d8]
test rax, rax
mov rbx, rcx
mov rsi, rdx
mov ebp, r8d
lea r9, [rsp + 0x60]
je 0x40ed16
lea rcx, [rsp + 0x4c]
cmp rax, 0x7fff
mov edx, 0x8000
mov qword [rsp + 0x50], 0
cmovbe rax, rdx
mov qword [rsp + 0x28], rcx
mov rcx, rsi
mov qword [rsp + 0x58], 0
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x60], 0
lea r8, [rsp + 0x58]
call fcn.0040e930
test al, al
mov edi, eax
jne 0x40ec71
test bpl, bpl
je 0x40ed39
mov edi, 1
jmp 0x40ed04
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x40ecfa
movabs r13, 0x400100100002600
mov r12, qword [rbx + 0x10]
xor eax, eax
mov qword [rbx + 0x10], rcx
mov rbp, qword [rbx + 0x18]
mov qword [rbx + 0x18], 0
nop dword [rax + rax]
movzx edx, byte [rcx + rax]
cmp dl, 0x3a
jbe 0x40ecc5
mov rdx, rsi
mov rcx, rbx
call fcn.0040db90
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
movzx edx, byte [rcx + rax]
cmp dl, 0x3a
ja 0x40eca9
bt r13, rdx
jae 0x40ecd5
add rax, 1
mov qword [rbx + 0x18], rax
jmp 0x40eca0
test dl, dl
jne 0x40eca9
mov eax, dword [0x006890e4]
test eax, eax
jg 0x40eced
mov dword [0x006890e4], 1
mov rcx, qword [rsp + 0x50]
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], rbp
mov rdx, qword [rsp + 0x58]
call fcn.0040e7f0
mov eax, edi
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, r9
mov qword [rsp + 0x38], r9
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x64]
mov r9, qword [rsp + 0x38]
mov qword [0x006891d8], rax
jmp 0x40ec0d
mov r8d, dword [rsp + 0x4c]
lea rcx, str.Failed_to_read_options_from__s:_error__d_n
mov rdx, rsi
call fcn.0040c420
jmp 0x40ed04
Function at 0x414c90
Capabilities:
Get system information on windows
Read file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x414c08
movsx edx, byte [rdx]
test dl, dl
je 0x414b56
xor eax, eax
nop
add rax, 1
cmp byte [rbx + rax], 0
jne 0x414b40
cmp rax, 0xf9c
ja 0x414c43
mov rdi, qword [rsi]
mov eax, 1
xchg byte [rdi], al
test al, al
je 0x414b6c
mov rcx, rdi
call fcn.00438d60
mov rcx, qword [rsi + 8]
lea rax, [rcx - 1]
cmp rax, 1
jbe 0x414c30
cmp rcx, 0xffffffffffffffff
je 0x414c30
call qword [sym.imp.kernel32.dll_CloseHandle]
mov qword [rsi + 8], 0xffffffffffffffff
cmp byte [rbx], 0x73
jne 0x414bed
lea r8, str.stdout
mov rax, rbx
jmp 0x414bb5
test r10d, r10d
je 0x414c10
add rax, 1
add r8, 1
movzx ecx, byte [rax]
cmp byte [r8], cl
movsx r10d, byte [rax]
je 0x414bb0
lea rdx, str.stderr
mov rax, rbx
jmp 0x414bda
test r8d, r8d
je 0x414c20
add rax, 1
add rdx, 1
movzx ecx, byte [rax]
cmp byte [rdx], cl
movsx r8d, byte [rax]
je 0x414bd5
lea rcx, [rsi + 0x10]
mov r9, rbx
mov edx, 0x1000
lea r8, [0x0059ebd3]
call fcn.0040bf10
mov byte [rdi], 0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
mov qword [rsi + 8], 1
jmp 0x414c05
mov qword [rsi + 8], 2
jmp 0x414c05
mov qword [rsi + 8], 0xffffffffffffffff
cmp byte [rbx], 0x73
je 0x414b9b
jmp 0x414bed
movsx eax, byte [rbx + 7]
lea rcx, str.ERROR:_Path_is_too_long:__c_c_c_c_c_c_c_c..._n
movsx r9d, byte [rbx + 2]
movsx r8d, byte [rbx + 1]
mov dword [rsp + 0x40], eax
movsx eax, byte [rbx + 6]
mov dword [rsp + 0x38], eax
movsx eax, byte [rbx + 5]
mov dword [rsp + 0x30], eax
movsx eax, byte [rbx + 4]
mov dword [rsp + 0x28], eax
movsx eax, byte [rbx + 3]
mov dword [rsp + 0x20], eax
call fcn.0040d370
call fcn.00406930
nop
nop word [rax + rax]
mov rax, qword [rsp + 0x28]
test rax, rax
mov qword [rdx], 0
mov qword [r8], 0
mov qword [r9], 0
je 0x414cb4
jmp fcn.0040e930
mov eax, 1
ret
Function at 0x441080
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rcx, qword [rax + 0x30]
cmp qword [rcx + 0x90], rax
jne 0x441224
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x30]
nop
inc dword [rcx + 0x244]
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x30]
nop
mov rbx, rcx
mov qword [rdx + 0x138], rcx
mov rcx, qword [rbx + 0x30]
mov qword [rbx + 0xd8], rcx
mov rcx, qword [rax + 0x30]
movups xmm0, xmmword [rcx + 0x2d8]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x2e8]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rcx + 0x2f8]
movups xmmword [rsp + 0x40], xmm0
mov rcx, qword [rax + 0x70]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rax + 0x78]
mov qword [rsp + 0x18], rdx
call fcn.004a1800
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x30]
mov byte [rcx + 0xe8], 0
mov rcx, qword [rax + 0x30]
xor edx, edx
xchg dword [rcx + 0x348], edx
mov rcx, qword [rsp + 0x78]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 8], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x10], rcx
call fcn.00441280
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x58], rcx
jmp 0x4411af
nop
mov rax, qword [0x0063fc60]
mov qword [rsp], rax
mov dword [rsp + 8], 0
call fcn.004a8c00
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdx, rax
xor eax, eax
mov ebx, 1
lock cmpxchg dword [rcx + 0x348], ebx
sete sil
test sil, sil
je 0x44118c
mov rax, qword [rdx + 0x30]
mov byte [rax + 0xe8], 1
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x18]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.0047f2c0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x30]
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax + 0x2d8], xmm0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + 0x2e8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x2f8], xmm0
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
call fcn.004762e0
lea rax, [0x0056785e]
mov qword [rsp], rax
mov qword [rsp + 8], 0x1e
nop dword [rax]
call fcn.00476d60
call fcn.00476380
mov dword [rsp], 2
call fcn.004703c0
mov rax, qword [rsp + 0x60]
nop dword [rax + rax]
jmp 0x4410b4
Function at 0x45ef60
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x006831f2], 0
jne 0x45f0c5
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
sub rdx, qword [rbx + 0x18]
nop
test rdx, rdx
jne 0x45f06e
xor eax, eax
nop
nop
nop
mov rcx, rax
shr rax, 3
and rcx, 7
mov edx, 1
shl edx, cl
nop
add rax, qword [rbx + 0x50]
lock or byte [rax], dl
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x45f0ba
lea rbx, [0x00665098]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and rdx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and rcx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and rax, 7
mov rcx, rax
mov esi, 1
shl esi, cl
test sil, bl
jne 0x45f02f
lock or byte [rdx], sil
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
mov rcx, qword [rsp + 0x30]
add qword [rax + 0x16a8], rcx
mov rcx, qword [rsp + 0x38]
add qword [rax + 0x16b0], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
cmp word [rbx + 0x5e], 0
je 0x45f08a
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
shr rdx, cl
and rax, rdx
jmp 0x45ef95
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
movzx esi, byte [rbx + 0x66]
cmp sil, 0x40
sbb rdi, rdi
shr rdx, cl
and rax, rdx
movzx edx, word [rbx + 0x5c]
imul rax, rdx
mov ecx, esi
shr rax, cl
and rax, rdi
jmp 0x45ef95
mov ecx, 0x40
nop
call fcn.004a6fc0
lea rax, [0x00569d8c]
mov qword [rsp], rax
mov qword [rsp + 8], 0x2c
call fcn.00474b00
nop
int3
Function at 0x466500
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x46676e
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
nop
lea rax, [0x0066ba50]
mov qword [rsp], rax
call fcn.00448f80
lea rax, [0x0066b9c0]
mov qword [rsp], rax
call fcn.004572a0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x48], rax
nop
nop
lea rcx, [0x0066ba50]
mov qword [rsp], rcx
call fcn.004491e0
mov rax, qword [rsp + 0x48]
mov byte [rax + 0xa], 1
lea rdi, [rax + 0x10]
cmp dword [0x006834b0], 0
jne 0x46675f
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x40], rdi
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x18], rcx
cmp dword [0x006834b0], 0
nop dword [rax]
jne 0x466738
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.00466060
cmp byte [rsp + 0x10], 0
je 0x4666d6
cmp dword [0x00683230], 0
jne 0x4665f4
mov byte [rsp + 0x88], 1
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rax, qword [rsp + 0x60]
mov qword [rsp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 8], xmm0
call fcn.00451c00
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0x18]
nop
inc dword [rcx + 0xd8]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x30], rcx
mov rbx, qword [rcx + 0xa0]
test byte [rbx], al
test byte [rax], al
mov qword [rsp], rdx
lea rax, [rbx + 0x1698]
mov qword [rsp + 0x38], rax
mov qword [rsp + 8], rax
call fcn.0045e000
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
mov qword [rsp + 8], 8
lea rax, [0x006242c1]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], 0
call fcn.0045de60
nop
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rcx + 0xd8]
lea ebx, [rdx - 1]
mov dword [rcx + 0xd8], ebx
cmp edx, 1
jne 0x4665e2
cmp byte [rax + 0xb1], 0
je 0x4665e2
mov qword [rax + 0x10], 0xfffffffffffffade
jmp 0x4665e2
nop
nop
lea rax, [0x0066ba50]
mov qword [rsp], rax
call fcn.00448f80
nop
mov rax, qword [0x0066b9f0]
sub rax, qword [0x0066b9c0]
mov qword [0x0066b9f0], rax
mov rax, qword [0x0066b9d8]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
mov qword [0x0066b9d8], rcx
nop
nop
lea rax, [0x0066ba50]
mov qword [rsp], rax
call fcn.004491e0
mov byte [rsp + 0x88], 0
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
lea rcx, [rax + 0x20]
mov rdi, rcx
mov rbx, qword [rsp + 0x78]
call fcn.004a6c40
lea rdi, [rax + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.004a6c00
jmp 0x4665bb
mov rcx, qword [rsp + 0x68]
call fcn.004a6c00
jmp 0x466588
call fcn.004a4da0
jmp fcn.00466500
Function at 0x4910a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
jbe 0x491259
mov rdx, qword [rsp + 0x20]
movzx ebx, byte [rdx]
test ebx, ebx
jne 0x4910d6
movzx esi, byte [rsp + 0x48]
test sil, sil
je 0x491207
bt ebx, 7
nop word [rax + rax]
jae 0x4911f9
xor eax, eax
xor ebx, ebx
xor esi, esi
jmp 0x491100
lea esi, [rcx + 7]
mov rcx, rax
mov eax, r8d
nop word [rax + rax]
cmp rcx, rax
jbe 0x491254
movzx edi, byte [rax + rdx]
lea r8d, [rax + 1]
mov r9d, edi
and edi, 0x7f
mov rax, rcx
mov ecx, esi
shl edi, cl
or ebx, edi
test r9b, 0x80
jne 0x4910ee
mov esi, ebx
and ebx, 1
neg ebx
shr esi, 1
xor ebx, esi
mov rsi, qword [rsp + 0x40]
add dword [rsi], ebx
nop dword [rax + rax]
cmp rax, r8
jb 0x491249
sub rax, r8
mov rbx, qword [rsp + 0x30]
sub rbx, r8
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and r8, rbx
lea rbx, [rdx + r8]
test rax, rax
jbe 0x49123f
movzx edx, byte [rdx + r8]
bt edx, 7
jae 0x4911f1
xor ecx, ecx
xor edx, edx
xor edi, edi
nop
jmp 0x491188
lea edi, [rcx + 7]
mov ecx, r9d
cmp rax, rcx
jbe 0x491232
movzx r8d, byte [rcx + rbx]
lea r9d, [rcx + 1]
mov r10d, r8d
and r8d, 0x7f
mov ecx, edi
shl r8d, cl
or edx, r8d
test r10b, 0x80
jne 0x491182
cmp rax, r9
jb 0x491227
mov rcx, qword [rsp + 0x38]
add qword [rcx], rdx
sub rsi, r9
mov rcx, rsi
neg rsi
sar rsi, 0x3f
and rsi, r9
lea rdx, [rbx + rsi]
mov qword [rsp + 0x50], rdx
sub rax, r9
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rcx
mov byte [rsp + 0x68], 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov r9d, 1
jmp 0x4911af
mov rax, rcx
mov r8d, 1
jmp 0x491126
mov qword [rsp + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x68], 0
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rax
mov eax, r9d
call fcn.004a7060
mov rdx, rax
mov eax, ecx
mov rcx, rdx
call fcn.004a6fa0
mov rcx, rax
xor eax, eax
call fcn.004a6fa0
mov rcx, rax
mov eax, r8d
call fcn.004a7060
call fcn.004a6fa0
xor eax, eax
nop dword [rax + rax]
call fcn.004a6fa0
nop
int3

Function at 0x498580
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x498661
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, [0x004a04e0]
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.004a4c40
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
nop
ret
call fcn.004a4da0
jmp fcn.00498580
Function at 0x4a3c60
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4a3d03
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 8], rax
call fcn.00485f40
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rbx, qword [rax + 0x20]
mov rsi, qword [rax + 0x28]
mov rdi, qword [rax + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rdi
call fcn.00491d40
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x60], al
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
call fcn.004a4da0
jmp fcn.004a3c60