joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180a6f840
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180a6f9c7
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180a6f871
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180a6f857
add dl, dl
jne 0x180a6f87e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180a6f8de
xor eax, eax
add dl, dl
jne 0x180a6f88d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180a6f995
add dl, dl
jne 0x180a6f89e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a6f8ab
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a6f8b8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a6f8c5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180a6f8d2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180a6f866
mov eax, 1
add dl, dl
jne 0x180a6f8ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180a6f8fb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180a6f8e3
sub eax, ebx
mov ebx, 1
jne 0x180a6f934
mov ecx, 1
add dl, dl
jne 0x180a6f916
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180a6f923
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180a6f90b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180a6f866
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180a6f950
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180a6f95d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180a6f945
cmp eax, 0x7d00
jae 0x180a6f983
cmp eax, 0x500
jb 0x180a6f97e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180a6f866
cmp eax, 0x7f
ja 0x180a6f986
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180a6f866
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180a6f9ba
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x180a6f866
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180004d20
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x18009da48]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea ebp, [rcx + 0x21b]
mov r14, rdx
mov edi, ecx
cmp ecx, ebp
jae 0x180004f45
mov r12, qword [rsp + 0x48]
mov r15d, dword [rsp + 0x44]
mov r13, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x48]
nop dword [rax + rax]
cmp edi, 0xc7
ja 0x180004eb6
je 0x180004ea5
mov eax, edi
sub eax, 0x33
je 0x180004e7a
sub eax, 0x47
je 0x180004e4f
cmp eax, 6
jne 0x180004f3a
test rsi, rsi
je 0x180004df7
mov ebx, 0xf8
nop dword [rax]
cmp ebx, 0xf8
je 0x180004dd7
cmp ebx, 0x7b08
jne 0x180004de9
mov al, 1
jmp 0x180004f4a
mov r9d, 0x77
mov r8, rsi
xor edx, edx
xor ecx, ecx
call fcn.1800125e0
add ebx, 0x7a10
cmp ebx, 0xf420
jbe 0x180004dc0
xor r9d, r9d
mov dword [rsp + 0x50], 0
xor r8d, r8d
mov dword [rsp + 0x20], 0x32
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.180047120
test rax, rax
je 0x180004f3a
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
lea ecx, [rdx + 0x1d]
call fcn.1800701b0
jmp 0x180004f4a
xorps xmm0, xmm0
mov qword [rsp + 0x48], 0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x44], 0x36
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
jmp 0x180004f3a
xor r9d, r9d
mov dword [rsp + 0x58], 2
xor r8d, r8d
mov dword [rsp + 0x20], 0x32
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.180047120
mov rsi, rax
jmp 0x180004f3a
xor r13d, r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r12, rax
jmp 0x180004f3a
mov eax, edi
sub eax, 0xcd
je 0x180004f7b
sub eax, 0x47
je 0x180004f37
cmp eax, 0x4d
jne 0x180004f3a
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcessIoCounters]
mov edx, dword [rsp + 0x44]
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
mov r9d, r15d
mov qword [rsp + 0x28], rax
mov r8, r13
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirA]
mov rdx, qword [0x18009dbd0]
cmp rdx, qword [0x18009dbd8]
je 0x180004f26
mov rax, qword [r14]
mov qword [rdx], rax
add qword [0x18009dbd0], 8
jmp 0x180004f3a
mov r8, r14
lea rcx, [0x18009dbc8]
call fcn.180001d50
jmp 0x180004f3a
xor r15d, r15d
add edi, 0x4d
cmp edi, ebp
jb 0x180004d80
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.180083f10
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor al, al
jmp 0x180004f4a
Function at 0x18001e720
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
imul r12d, edx, 0x23c
mov r13, r9
mov rbx, r8
mov r15d, edx
mov rsi, rcx
mov ebp, edx
cmp edx, r12d
ja 0x18001e9af
mov edi, dword [rsp + 0x88]
mov r14d, dword [rsp + 0x88]
nop word [rax + rax]
cmp ebp, 0x459
ja 0x18001e88d
je 0x18001e853
mov eax, ebp
sub eax, 4
je 0x18001e829
sub eax, 0x11
je 0x18001e805
sub eax, 0xbf
je 0x18001e9af
sub eax, 0x13
je 0x18001e7bc
cmp eax, 0x35
jne 0x18001e976
mov ecx, dword [rsi]
not ecx
inc ecx
and ecx, dword [rsi]
mov dword [rsp + 0x30], ecx
jmp 0x18001e976
xor r9d, r9d
mov rdx, rsi
xor ecx, ecx
lea r8d, [r9 + 0x14]
call fcn.1800481c0
cmp dword [r13], eax
jb 0x18001e987
xor r9d, r9d
mov rdx, rsi
xor ecx, ecx
lea r8d, [r9 + 0x14]
call fcn.1800481c0
xor edx, edx
mov dword [r13], eax
mov r9, rbx
mov r8, rsi
lea ecx, [rdx + 0x3e]
call fcn.1800567d0
mov dword [rsp + 0x30], eax
jmp 0x18001e976
mov rdx, qword [0x18009db28]
xor r9d, r9d
mov r8d, 0x162
xor ecx, ecx
call fcn.180077d30
test al, al
je 0x18001e9a7
jmp 0x18001e976
mov r8, qword [rsi]
lea r9, [rsp + 0x88]
mov rdx, rsi
mov byte [rsp + 0x88], 0
mov ecx, reloc.SHELL32.dll_SHSetFolderPathW
call fcn.180022820
mov qword [rsp + 0x30], rax
jmp 0x18001e976
mov rax, qword [0x18009db28]
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov ecx, 0x10e
mov byte [rsp + 0x88], 1
call fcn.180057a70
jmp 0x18001e976
cmp ebp, 0x89d
je 0x18001e8e5
cmp ebp, 0xce1
je 0x18001e8c6
cmp ebp, 0x1125
je 0x18001e9af
cmp ebp, 0x2fd3
je 0x18001e9af
cmp ebp, 0x3acc
je 0x18001e9af
jmp 0x18001e976
mov rcx, qword [0x18009db28]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x62]
call fcn.180040e40
mov dword [rsp + 0x30], edi
jmp 0x18001e976
mov r9d, 0xa8
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.180015d80
test al, al
je 0x18001e991
mov rcx, qword [rsi + 0x28]
xor edi, edi
call qword [rsi + 0x20]
test al, al
je 0x18001e976
mov ebx, 0xd0
mov eax, ebx
sub eax, 0xd0
je 0x18001e95a
sub eax, 0x1a
je 0x18001e936
cmp eax, 0x1a
jne 0x18001e963
mov eax, 0x10624dd3
mul edi
mov edi, edx
shr edi, 6
call qword [rsi + 0x50]
jmp 0x18001e963
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor edx, edx
xor ecx, ecx
mov r8d, 0x120
call fcn.18005d6a0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sub edi, r14d
jmp 0x18001e963
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
add ebx, 0x1a
cmp ebx, 0x11e
jb 0x18001e912
mov rbx, qword [rsp + 0x90]
imul ecx, r15d, 0x34
add ebp, ecx
cmp ebp, r12d
jbe 0x18001e770
jmp 0x18001e9af
mov dword [rsp + 0x30], 0xfffffffd
jmp 0x18001e9af
mov rcx, qword [0x18009db28]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x62]
call fcn.180040e40
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180001070
Capabilities:
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r14
mov eax, 0x10250
call fcn.180010db0
sub rsp, rax
mov rax, qword [0x18001c008]
xor rax, rsp
mov qword [rsp + 0x10240], rax
cmp rcx, rdx
mov qword [rsp + 0x10280], rdi
mov ebp, edx
mov rbx, rdx
cmova ebp, ecx
mov rsi, rcx
xor r14d, r14d
nop dword [rax]
nop word [rax + rax]
mov qword [rsp + 0x38], rsi
mov eax, r14d
mov dword [rsp + 0x30], 1
mov ecx, eax
cmp qword [rsp + rcx*8 + 0x38], rbx
je 0x1800010e0
inc eax
cmp eax, 1
jb 0x1800010d0
cmp eax, 1
jne 0x1800010f2
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x30], 2
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea ecx, [rbp + 1]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x180001119
call fcn.180004db8
cmp dword [rax], 4
je 0x1800010c0
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x180001167
xor r9d, r9d
lea rdx, [rsp + 0x240]
mov r8d, 0x10000
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
je 0x1800011f1
mov r8d, ecx
lea rdx, [rsp + 0x240]
mov rcx, rbx
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1800010c0
xor r9d, r9d
lea rdx, [rsp + 0x240]
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
movsxd rdi, eax
test eax, eax
je 0x1800011f1
cmp rdi, 0xa
jb 0x1800011bd
lea rdx, str.1AYSX
lea rcx, [rsp + 0x240]
call fcn.180002570
test rax, rax
jne 0x1800011d9
xor r9d, r9d
lea rdx, [rsp + 0x240]
mov r8d, edi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
jmp 0x1800010c0
lea r8d, [rdi - 0xa]
xor r9d, r9d
lea rdx, [rsp + 0x240]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
mov rdi, qword [rsp + 0x10280]
mov rcx, qword [rsp + 0x10240]
xor rcx, rsp
call fcn.180001770
mov rbx, qword [rsp + 0x10288]
add rsp, 0x10250
pop r14
pop rsi
pop rbp
ret
Function at 0x1800015c0
Capabilities:
Initialize winsock library
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x480
mov rax, qword [0x18001c008]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov edi, edx
mov rbp, rcx
mov ecx, 2
lea rdx, [rsp + 0x2d0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, 1
nop word [rax + rax]
movsxd rsi, ebx
lea r8, [rsp + 0x40]
mov rcx, rsi
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x18000166d
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rbp
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180001655
inc rax
test ecx, ecx
jne 0x180001642
test edx, edx
jne 0x18000166d
test edi, edi
je 0x1800016a2
movzx ecx, di
call qword [sym.imp.WS2_32.dll_htons]
cmp word [rsp + 0x32], ax
je 0x1800016a2
inc ebx
cmp ebx, 0x10000
jl 0x180001610
xor eax, eax
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.180001770
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
test ebx, ebx
jle 0x180001677
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [rsp + 0x50]
mov rcx, rsi
mov edx, eax
call qword [sym.imp.WS2_32.dll_WSADuplicateSocketW]
test eax, eax
jne 0x180001738
mov edx, 0xffffffff
mov dword [rsp + 0x28], eax
mov ecx, edx
mov dword [rsp + 0x20], eax
mov r8d, edx
lea r9, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180001738
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
xor r9d, r9d
lea rdx, str.hello_n
mov rcx, rbx
lea r8d, [r9 + 7]
call qword [sym.imp.WS2_32.dll_send]
mov rcx, rbx
call fcn.180001220
cmp eax, 0xffffffff
jne 0x180001706
xor r9d, r9d
lea r8d, [rax + 4]
lea rdx, [0x180019e24]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x180001677
mov eax, 0xffffffff
jmp 0x180001679

Function at 0x141454488
Capabilities:
Encode data using xor

Disassembly:
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1414544b1
pop rbp
sub rbp, 0x29
sub rbp, 0x1454488
jmp 0x141454511
sub rsp, 0x20
jmp 0x141454521
mov rax, 0x1454488
add rax, rbp
add rax, 0xcb
mov rcx, 0x64a
mov rdx, 0x64a98582
xor byte [rax], dl
inc rax
dec rcx
jne 0x141454540
jmp 0x141454557
retf 0x6b0b
Function at 0x140002b90
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
test rax, rax
je 0x140002c16
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140002c0d
nop
lea rdx, str.gta_sa.exe
lea rcx, [rsp + 0x4c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140002c09
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140002be0
jmp 0x140002c0d
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140002cc0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret

Function at 0x140003810
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000385a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000385a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000385a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000385a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000385a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000385c
xor al, al
add rsp, 0x28
ret
Function at 0x180002370
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov r14, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov edi, dword [rdx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x180002417
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180002417
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x4f6c8bbd
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180002412
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1800023f0
cmp r8d, 0xd6059f2f
je 0x18000241c
test r9d, r9d
jne 0x1800023d0
mov rax, qword [rax]
jmp 0x1800023a0
mov eax, dword [rdi + 0x24]
mov ecx, dword [rdi + 0x1c]
add rax, r10
add rcx, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
mov rcx, r14
add rdx, r10
call rdx
mov rcx, 0xffffffffffffffff
lea rbp, [rax + 1]
mov eax, 2
mul rbp
cmovo rax, rcx
mov rcx, rax
call fcn.180010390
mov rcx, qword gs:[0x60]
mov rsi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov r11d, dword [rdx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x1800024e7
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x1800024e7
mov edi, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
mov r8d, 0x4c5d7c7a
lea rax, [rdi + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x1800024e2
nop
movsx eax, al
lea rdx, [rdx + 1]
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx - 1]
test al, al
jne 0x1800024c0
cmp r8d, 0xfaa8e7ee
je 0x1800024ec
test r9d, r9d
jne 0x1800024a0
mov rcx, qword [rcx]
jmp 0x180002470
mov ecx, dword [r11 + 0x24]
mov r8, rbp
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rdx, r14
add rax, r10
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180002530
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1800025d7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1800025d7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x9cd5e767
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1800025d2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1800025b0
cmp r8d, 0x706ca62b
je 0x1800025dc
test r9d, r9d
jne 0x180002590
mov rax, qword [rax]
jmp 0x180002560
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rsp + 0x30]
add rax, r10
call rax
movd xmm0, dword [rsp + 0x30]
mov rax, rsi
movd xmm2, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x38]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
movsd qword [rsi], xmm1
movsd qword [rsi + 8], xmm0
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800053b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x180073010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [0x18005e7f0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x1800054e5
lea rsi, [rdi + 0x58]
mov rdx, qword [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x180005405
xor ebp, ebp
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x30], rbp
mov ebx, 7
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x20]
call fcn.18000a250
lea rax, [rsp + 0x20]
cmp rsi, rax
je 0x180005495
mov rdx, qword [rdi + 0x70]
cmp rdx, 8
jb 0x180005475
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180005470
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800054ce
mov rcx, r8
call fcn.18005a734
mov qword [rdi + 0x68], rbp
mov qword [rdi + 0x70], rbx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x10], xmm1
mov word [rsp + 0x20], bp
jmp 0x18000549a
mov rbx, qword [rsp + 0x38]
cmp rbx, 8
jb 0x1800054da
lea rdx, [rbx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800054d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800054d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
call fcn.180059e00
lea rcx, str.R3101
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 5
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.180004dd0
lea rcx, [rdi + 0x58]
lea rdx, [rsp + 0x20]
call fcn.180005000
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x180005564
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000555e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000555e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18005a350
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1800080b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x1800080e7
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x180008108
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18000810a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180008163
test ecx, ecx
jle 0x180008143
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180008163
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180008163
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180008190
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1800081b2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1800081c8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1800081e4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800081e6
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x180008220
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1800082c7
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x18000825b
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x1800082a1
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x1800082e0
cmp rbx, rax
ja 0x180008270
mov r8, rdi
test rdi, rdi
je 0x1800082c7
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x1800082ca