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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movabs rax, 0xfffffffffffffff
mov qword [rsp + 0x20], rcx
mov rsi, rcx
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
ja 0x18001a9cc
mov rbp, qword [rsi + 8]
lea rax, [rdx - 1]
or rax, 1
lea r12, [rsi + 0x18]
bsr rcx, rax
mov ebx, 1
mov r8, rbp
inc ecx
shl rbx, cl
mov rcx, r12
lea rdx, [rbx + rbx]
call fcn.1800017f4
lea rax, [rbx - 1]
mov qword [rsi + 0x38], rbx
mov qword [rsi + 0x30], rax
mov rbx, qword [rsi + 8]
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rbp
je 0x18001a97e
mov rdi, qword [rdi]
lea r14, [rbx + 0x10]
mov rax, qword [r14 + 0x18]
mov r8, r14
mov r13, qword [r14 + 0x10]
cmp rax, 0xf
jbe 0x18001a84e
mov r8, qword [r14]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r13, r13
je 0x18001a881
movzx eax, byte [r8 + rdx]
movabs r9, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r9
cmp rdx, r13
jb 0x18001a85f
mov rax, qword [r14 + 0x18]
mov r15, qword [rsi + 0x30]
mov r12, qword [r12]
and r15, rcx
add r15, r15
cmp qword [r12 + r15*8], rbp
jne 0x18001a8a3
mov qword [r12 + r15*8], rbx
mov qword [r12 + r15*8 + 8], rbx
jmp 0x18001a96e
mov rsi, qword [r12 + r15*8 + 8]
lea rdx, [rsi + 0x10]
cmp qword [rdx + 0x18], 0xf
mov r8, qword [rdx + 0x10]
jbe 0x18001a8ba
mov rdx, qword [rdx]
mov rcx, r14
cmp rax, 0xf
jbe 0x18001a8c6
mov rcx, qword [r14]
cmp r13, r8
jne 0x18001a93e
mov r8, r13
call sub.ucrtbase.dll_memcmp
test eax, eax
jne 0x18001a93a
mov r8, qword [rsi]
cmp r8, rbx
je 0x18001a900
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + r15*8 + 8], rbx
jmp 0x18001a969
mov rsi, qword [rsi + 8]
lea rdx, [rsi + 0x10]
cmp qword [rdx + 0x18], 0xf
mov r8, qword [rdx + 0x10]
jbe 0x18001a91d
mov rdx, qword [rdx]
mov rcx, r14
cmp rax, 0xf
jbe 0x18001a929
mov rcx, qword [r14]
cmp r13, r8
jne 0x18001a93e
mov r8, r13
call sub.ucrtbase.dll_memcmp
test eax, eax
je 0x18001a9a6
mov rax, qword [r14 + 0x18]
cmp qword [r12 + r15*8], rsi
jne 0x18001a907
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rsi
mov rax, qword [rsi + 8]
mov qword [rax], rbx
mov qword [rsi + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + r15*8], rbx
mov rsi, qword [rsp + 0x20]
lea r12, [rsi + 0x18]
mov rbx, rdi
cmp rdi, rbp
jne 0x18001a833
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.18001a9dc
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, qword [rsi]
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x18001a969
lea rcx, str.invalid_hash_bucket_count
call fcn.1800223a4
int3
Function at 0x18001aab4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r15, rdx
mov qword [rsp + 0x20], rcx
mov rbp, r8
mov rdx, rcx
cmp r15, r8
je 0x18001ac61
mov rax, qword [rcx + 8]
mov rsi, r15
mov r12, qword [rcx + 0x18]
lea rcx, [r15 + 0x10]
cmp qword [rcx + 0x18], 0xf
mov r14, qword [r15 + 8]
mov r10, qword [rcx + 0x10]
mov qword [rsp + 0x30], rax
jbe 0x18001ab0d
mov rcx, qword [rcx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r10, r10
je 0x18001ab3d
movzx eax, byte [rcx + r8]
inc r8
xor r9, rax
imul r9, r11
cmp r8, r10
jb 0x18001ab29
mov r13, qword [rdx + 0x30]
and r13, r9
add r13, r13
mov rax, qword [r12 + r13*8]
mov qword [rsp + 0x28], rax
mov rax, qword [r12 + r13*8 + 8]
mov qword [rsp + 0x38], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x10]
call fcn.180001bbc
mov rcx, qword [0x1800375e8]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rsp + 0x20]
dec qword [r8 + 0x10]
cmp rbx, qword [rsp + 0x38]
je 0x18001aba7
cmp rsi, rbp
jne 0x18001ab5a
cmp qword [rsp + 0x28], r15
jne 0x18001ac5a
mov qword [r12 + r13*8], rsi
jmp 0x18001ac5a
cmp qword [rsp + 0x28], r15
jne 0x18001abbc
mov rdx, qword [rsp + 0x30]
mov qword [r12 + r13*8], rdx
mov rax, rdx
jmp 0x18001abbf
mov rax, r14
mov qword [r12 + r13*8 + 8], rax
jmp 0x18001ac90
lea rcx, [rsi + 0x10]
cmp qword [rcx + 0x18], 0xf
mov r10, qword [rcx + 0x10]
jbe 0x18001abdb
mov rcx, qword [rcx]
xor r9d, r9d
movabs rdx, 0xcbf29ce484222325
test r10, r10
je 0x18001ac10
movabs r8, 0x100000001b3
movzx eax, byte [rcx + r9]
inc r9
xor rdx, rax
imul rdx, r8
cmp r9, r10
jb 0x18001abf7
mov r8, qword [rsp + 0x20]
mov r15, qword [r8 + 0x30]
and r15, rdx
add r15, r15
mov r13, qword [r12 + r15*8 + 8]
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x10]
call fcn.180001bbc
mov rcx, qword [0x1800375e8]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rsp + 0x20]
dec qword [r8 + 0x10]
cmp rbx, r13
je 0x18001ac82
cmp rsi, rbp
jne 0x18001ac1f
mov qword [r12 + r15*8], rsi
mov qword [r14], rsi
mov qword [rsi + 8], r14
lea r11, [rsp + 0x40]
mov rax, rbp
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rsp + 0x30]
mov qword [r12 + r15*8], rax
mov qword [r12 + r15*8 + 8], rax
cmp rsi, rbp
jne 0x18001abc9
jmp 0x18001ac5a
Function at 0x18001bf1c
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x180034040]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r15d, r15d
lea rax, [rsp + 0x30]
mov qword [r8], r15
lea rdx, [rsp + 0x30]
sub rcx, rax
mov r14, r8
mov r9d, 0x104
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x18001bf8d
movzx eax, word [rcx + rdx]
test ax, ax
je 0x18001bf8d
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x18001bf6b
test r9, r9
lea rax, [rdx - 2]
lea r8, [0x18002b1f0]
cmovne rax, rdx
lea rcx, [rsp + 0x30]
mov word [rax], r15w
call fcn.18001ad90
mov ebx, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov rdi, rax
test rax, rax
jne 0x18001bfe9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x18001bfd9
mov esi, r15d
jmp 0x18001c014
mov rcx, qword [rbp + 0x168]
call fcn.18000748c
mov esi, eax
jmp 0x18001c014
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], r15d
mov rcx, rdi
mov dword [rsp + 0x24], r15d
call fcn.18001bdfc
mov esi, eax
test eax, eax
jns 0x18001c04b
mov rcx, qword [rbp + 0x168]
mov edx, eax
call fcn.18000211c
test rdi, rdi
jne 0x18001c0d7
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.180022510
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [0x18002b1f8]
lea rcx, [rsp + 0x30]
call fcn.18001ad90
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov rbx, rax
test rax, rax
jne 0x18001c083
mov rcx, qword [rbp + 0x168]
call fcn.18000748c
mov esi, eax
jmp 0x18001c0d7
lea rdx, [rsp + 0x24]
mov rcx, rbx
call fcn.18001bdfc
mov esi, eax
test eax, eax
jns 0x18001c0b3
mov rcx, qword [rbp + 0x168]
mov edx, eax
call fcn.18000211c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18001c0f6
jmp 0x18001c0d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18001c0e9
movsxd rcx, dword [rsp + 0x24]
mov esi, r15d
movsxd rax, dword [rsp + 0x20]
shl rcx, 0x1f
or rcx, rax
mov qword [r14], rcx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18001c103
jmp 0x18001c01d
mov rcx, qword [rbp + 0x168]
call fcn.18001bde8
int3
mov rcx, qword [rbp + 0x168]
call fcn.18001bde8
int3
mov rcx, qword [rbp + 0x168]
call fcn.18001bde8
int3
Function at 0x18001d5a4
Capabilities:
Check for sandbox and av modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x2b0
mov rax, qword [0x180034040]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor esi, esi
mov byte [rcx], sil
mov dword [rcx + 4], esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x48], rsi
xorps xmm0, xmm0
movups xmmword [rcx + 0x50], xmm0
mov qword [rcx + 0x60], rsi
mov qword [rcx + 0x68], 7
mov word [rcx + 0x50], si
lea rax, str.api_ms_win_core_libraryloader_l1_1_0.dll
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x28
lea rcx, [0x18002b338]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [0x18001d3d8]
lea r8, [0x18002b2f8]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1800172a8
mov qword [rdi + 8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.dbghelp.dll_SymInitialize]
mov rcx, qword [rsp + 0x2b8]
test eax, eax
je 0x18001d7d5
mov ecx, 4
call qword [sym.imp.dbghelp.dll_SymSetOptions]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r8, rdi
lea rdx, [0x18001d27c]
call qword [sym.imp.dbghelp.dll_SymRegisterCallbackW64]
mov rcx, qword [rsp + 0x2b8]
test eax, eax
je 0x18001d7db
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x90]
call sub.ucrtbase.dll_memset
mov rbx, qword [rsp + 0x2b8]
mov r8d, 0x104
lea rdx, [rsp + 0x90]
lea rcx, [0x180000000]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x18001d7e0
mov edx, 0x104
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchRemoveFileSpec]
mov rcx, qword [rsp + 0x2b8]
test eax, eax
js 0x18001d7e8
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 4
lea rdx, str.SRV
lea rcx, [rsp + 0x30]
call fcn.180010734
nop
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180013a88
nop
lea r8, str._symbols
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180013a88
nop
lea rcx, [rsp + 0x50]
call fcn.1800074a8
nop
lea rcx, [rsp + 0x30]
call fcn.1800074a8
lea rbx, [rsp + 0x70]
cmp qword [rsp + 0x88], 7
cmova rbx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.dbghelp.dll_SymSetSearchPathW]
mov rcx, qword [rsp + 0x2b8]
test eax, eax
je 0x18001d7f0
lea rcx, [rsp + 0x70]
call fcn.1800074a8
nop
jmp 0x18001d7ad
mov rax, rdi
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.180022510
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.180010ce8
nop
call fcn.180010ce8
mov rcx, rbx
call fcn.180010ce8
mov edx, eax
call fcn.18000a404
nop
call fcn.180010ce8
int3
Function at 0x18001d7f8
Capabilities:
Check for sandbox and av modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.dbghelp.dll_SymCleanup]
mov rbx, qword [rdi + 8]
lea rax, str.api_ms_win_core_libraryloader_l1_1_0.dll
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x28
lea rcx, [0x18002b338]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov r9, rbx
lea r8, [0x18002b2f8]
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1800172a8
mov qword [rdi + 8], rax
lea rcx, [rdi + 0x50]
call fcn.1800074a8
add rdi, 0x10
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x18001d887
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
and qword [rdi + 0x38], 0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x18001e0d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.ucrtbase.dll_memset
nop
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
ja 0x18001e11c
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18001e1ea
cmp dword [rsp + 0x60], 0x1000
jne 0x18001e141
mov eax, dword [rsp + 0x64]
and eax, 0xff
cmp eax, 1
je 0x18001e141
mov eax, dword [rsp + 0x64]
and eax, 0x100
test eax, eax
je 0x18001e153
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18001e1ea
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18001e17b
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18001e1ea
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x18001e1b0
mov ecx, 0xbf
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18001e1ea
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
test eax, eax
jne 0x18001e1cc
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18001e1ea
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x28]
jmp 0x18001e1ea
add rsp, 0x78
ret

Function at 0x18001e350
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.18001e570
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18001e457
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18001e3b4
mov rax, qword [0x180034008]
cmp qword [rsp + 0x20], rax
ja 0x18001e3b4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18001e376
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.ucrtbase.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18001e3e3
jmp 0x18001e457
cmp dword [rsp + 0x50], 0x10000
jne 0x18001e43a
cmp qword [rsp + 0x48], 0x10000
jb 0x18001e43a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18001e428
mov rax, qword [rsp + 0x28]
jmp 0x18001e459
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18001e452
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18001e570
mov qword [rsp + 0x20], rax
jmp 0x18001e376
xor eax, eax
add rsp, 0x68
ret
Function at 0x18001e460
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18001e5b0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18001e563
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18001e4bb
mov rax, qword [0x180034008]
cmp qword [rsp + 0x20], rax
ja 0x18001e4bb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18001e47d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.ucrtbase.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18001e4ea
jmp 0x18001e563
cmp dword [rsp + 0x50], 0x10000
jne 0x18001e541
cmp qword [rsp + 0x48], 0x10000
jb 0x18001e541
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18001e52f
mov rax, qword [rsp + 0x28]
jmp 0x18001e565
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18001e55e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18001e5b0
mov qword [rsp + 0x20], rax
jmp 0x18001e47d
xor eax, eax
add rsp, 0x68
ret
Function at 0x18001e600
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18001eb90
mov qword [rsp + 0x28], 0
cmp qword [0x180036948], 0
jne 0x18001e648
cmp qword [0x180036940], 0
je 0x18001e648
mov rax, qword [0x180036940]
mov qword [0x180036948], rax
cmp qword [0x180036948], 0
je 0x18001e6ee
mov rax, qword [0x180036948]
cmp qword [rax + 0x10], 0
je 0x18001e6ee
mov rax, qword [0x180036948]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18001e6ee
mov rax, qword [0x180036948]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18001e6ee
mov rax, qword [0x180036948]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18001e6b4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18001e6bb
xor eax, eax
jmp 0x18001e869
mov rax, qword [0x180036948]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.ucrtbase.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x18001e869
mov rax, qword [0x180036940]
mov qword [0x180036948], rax
jmp 0x18001e710
mov rax, qword [0x180036948]
mov rax, qword [rax + 8]
mov qword [0x180036948], rax
cmp qword [0x180036948], 0
je 0x18001e75d
cmp qword [0x180036948], 0
je 0x18001e75b
mov rax, qword [0x180036948]
cmp qword [rax + 0x10], 0
je 0x18001e75b
mov rax, qword [0x180036948]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18001e75b
mov rax, qword [0x180036948]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18001e75b
jmp 0x18001e68c
jmp 0x18001e6fe
mov rcx, qword [rsp + 0x60]
call fcn.180020a40
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18001e870
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18001e867
mov rax, qword [rsp + 0x48]
mov qword [0x180036948], rax
mov rax, qword [0x180036948]
mov dword [rax], 0x52727464
mov rax, qword [0x180036948]
mov qword [rax + 0x10], 0
mov rax, qword [0x180036948]
mov rcx, qword [0x180036940]
mov qword [rax + 8], rcx
mov rax, qword [0x180036948]
mov qword [0x180036940], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180036948]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18001e818
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18001e852
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18001e80e
mov rax, qword [0x180036948]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18001e68c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800011bd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x18005b280
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
cmp qword [0x180640a20], 0
jne 0x18005b394
lea rax, [rsp + 0x60]
lea rcx, [0x180287240]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x3e
rep movsb byte [rdi], byte [rsi]
mov eax, 2
imul rax, rax, 0x1e
movzx eax, word [rsp + rax + 0x60]
test eax, eax
je 0x18005b2d1
mov dword [rsp + 0x2c], 1
jmp 0x18005b2d9
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
movzx eax, al
test eax, eax
je 0x18005b33c
mov dword [rsp + 0x24], 0
jmp 0x18005b302
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x1f
jge 0x18005b33c
movsxd rax, dword [rsp + 0x24]
movzx eax, word [rsp + rax*2 + 0x60]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x24]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
add eax, 0xa
mov ecx, dword [rsp + 0x30]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov word [rsp + rcx*2 + 0x60], ax
jmp 0x18005b2f8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
xor r9d, r9d
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.180002662
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [0x180640a20], rax
mov dword [rsp + 0x28], 0
jmp 0x18005b37f
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x1f
jge 0x18005b394
movsxd rax, dword [rsp + 0x28]
xor ecx, ecx
mov word [rsp + rax*2 + 0x60], cx
jmp 0x18005b375
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [0x180640a20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x18005b3f7
mov eax, 8
imul rax, rax, 0x4f
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x20]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x58]
nop
movzx eax, byte [rsp + 0x20]
add rsp, 0xa8
pop rdi
pop rsi
ret
Function at 0x180001410
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x18005d6a0
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
cmp qword [0x180640a90], 0
jne 0x18005d7b4
lea rax, [rsp + 0x60]
lea rcx, str.LdikcdYmdlin_Ko
mov rdi, rax
mov rsi, rcx
mov ecx, 0x50
rep movsb byte [rdi], byte [rsi]
mov eax, 2
imul rax, rax, 0x27
movzx eax, word [rsp + rax + 0x60]
test eax, eax
je 0x18005d6f1
mov dword [rsp + 0x2c], 1
jmp 0x18005d6f9
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
movzx eax, al
test eax, eax
je 0x18005d75c
mov dword [rsp + 0x24], 0
jmp 0x18005d722
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x28
jge 0x18005d75c
movsxd rax, dword [rsp + 0x24]
movzx eax, word [rsp + rax*2 + 0x60]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x24]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
add eax, 0xa
mov ecx, dword [rsp + 0x34]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov word [rsp + rcx*2 + 0x60], ax
jmp 0x18005d718
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
xor r9d, r9d
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.180002662
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [0x180640a90], rax
mov dword [rsp + 0x28], 0
jmp 0x18005d79f
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x28
jge 0x18005d7b4
movsxd rax, dword [rsp + 0x28]
xor ecx, ecx
mov word [rsp + rax*2 + 0x60], cx
jmp 0x18005d795
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov rax, qword [0x180640a90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x18005d817
mov eax, 8
imul rax, rax, 0x4f
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xd0]
call qword [rsp + 0x58]
nop
movss xmm0, dword [rsp + 0x30]
add rsp, 0xb8
pop rdi
pop rsi
ret