joyce8/EMBER2024-capa huggingface dataset:
Function at 0x36da01a80
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x36da0e0c4]
mov rbx, rcx
test esi, esi
jle 0x36da01bb0
mov rax, qword [0x36da0e0c8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x36da01acb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x36da01b55
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x36da01ab0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x36da01bd2
mov rax, qword [0x36da0e0c8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x36da0e0c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x36da01bb7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x36da01b4e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x36da01b60
add dword [0x36da0e0c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x36da0e0c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x36da01b4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x36da01ad8
mov rax, qword [0x36da0e0c8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x36da01f50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x36da0e100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x36da0e0e0]
test rbx, rbx
je 0x36da01fac
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x36da01fa3
test rsi, rsi
je 0x36da01fa3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x36da01f88
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x36da021c0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x36da021d8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x36da021e0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x36da021f0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x36da0223d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x36da02234
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x36da0223f
add rax, 0x28
cmp rax, r9
jne 0x36da02220
xor eax, eax
ret

Function at 0x36da02240
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x36da022d0
mov rdx, qword [0x36da09ed0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x36da022be
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x36da022be
cmp word [rax + 0x18], 0x20b
jne 0x36da022be
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x36da022d0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x36da022a9
add rbx, 0x28
cmp rbx, rdi
je 0x36da022d0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x36da022a0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x36da022e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x36da09ed0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x36da02300
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x36da02308
ret
cmp word [r8 + 0x18], 0x20b
jne 0x36da02300
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x36da0235d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x36da02354
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x36da02300
add rax, 0x28
cmp rax, r9
jne 0x36da02340
xor eax, eax
ret

Function at 0x36da02360
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x36da09ed0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x36da0237f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x36da02388
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x36da0237f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x36da023a0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x36da09ed0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x36da023c0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x36da023c8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x36da023c0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x36da02410
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x36da02407
test rcx, rcx
je 0x36da023c0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x36da023f8
xor eax, eax
ret
Function at 0x36da02420
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x36da09ed0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x36da0243f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x36da02448
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x36da02460
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x36da09ed0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x36da02480
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x36da02488
ret
cmp word [r8 + 0x18], 0x20b
jne 0x36da02480
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x36da02480
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x36da024d4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x36da024e0
add rdx, 0x28
cmp r9, rdx
jne 0x36da024c0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x36da024f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x36da09ed0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x36da02512
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x36da02520
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x36da02512
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x36da02512
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x36da02512
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x36da02575
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x36da02588
add rdx, 0x28
cmp rdx, r10
jne 0x36da02560
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x36da02597
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x36da025a7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x36da0257e
test ecx, ecx
jg 0x36da02590
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140004dc0
Capabilities:
Get file version info

Disassembly:
push rbx
push rdi
sub rsp, 0x288
mov rax, qword [0x1400fc3f8]
xor rax, rsp
mov qword [rsp + 0x258], rax
xor r8d, r8d
mov qword [rsp + 0x48], rcx
mov rbx, rcx
lea rax, [rsp + 0x58]
mov r9d, 0x200
mov qword [rsp + 0x20], rax
lea ecx, [r8 + 2]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
test eax, eax
je 0x140004f98
xor edi, edi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
lea rdx, [0x1400defe8]
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x58]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140004fc5
cmp dword [rsp + 0x40], 0x34
jne 0x140004ff0
mov rcx, qword [rsp + 0x30]
cmp dword [rcx], 0xfeef04bd
jne 0x140004f8e
mov eax, dword [rcx + 0xc]
mov edi, dword [rcx + 0x1c]
and edi, dword [rcx + 0x18]
mov ebx, dword [rcx + 0x2c]
mov edx, ebx
mov r9d, dword [rcx + 0x20]
mov r10d, dword [rcx + 0x24]
mov r11d, dword [rcx + 0x28]
mov r8d, dword [rcx + 0x30]
mov qword [rsp + 0x2b0], rbp
mov qword [rsp + 0x280], rsi
mov qword [rsp + 0x278], r12
mov r12d, dword [rcx + 0x10]
mov ebp, r12d
mov qword [rsp + 0x270], r13
mov r13d, dword [rcx + 8]
mov qword [rsp + 0x268], r14
mov r14d, dword [rcx + 0x14]
mov esi, r14d
mov qword [rsp + 0x260], r15
mov ecx, r8d
mov r15d, eax
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x48]
shr r15d, 0x10
mov dword [rsp + 0x50], r15d
mov r15, qword [rsp + 0x48]
mov byte [rax + 0x28], 1
mov eax, r13d
shr ebp, 0x10
shr esi, 0x10
shr edx, 0x10
shr ecx, 0x10
shr eax, 0x10
mov word [r15], ax
mov rax, r15
mov r15d, dword [rsp + 0x50]
mov word [rax + 2], r13w
mov r13, rax
mov word [rax + 4], r15w
mov eax, dword [rsp + 0x54]
mov word [r13 + 6], ax
mov rax, r13
mov word [r13 + 8], bp
mov word [r13 + 0xa], r12w
mov word [r13 + 0xc], si
mov word [r13 + 0xe], r14w
mov dword [r13 + 0x10], edi
mov dword [r13 + 0x14], r9d
mov dword [r13 + 0x18], r10d
mov dword [r13 + 0x1c], r11d
mov word [r13 + 0x20], dx
mov word [r13 + 0x22], bx
mov word [r13 + 0x24], cx
mov word [r13 + 0x26], r8w
mov r15, qword [rsp + 0x260]
mov r14, qword [rsp + 0x268]
mov r13, qword [rsp + 0x270]
mov r12, qword [rsp + 0x278]
mov rsi, qword [rsp + 0x280]
mov rbp, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.14008a6c0
add rsp, 0x288
pop rdi
pop rbx
ret
mov dword [rsp + 0x30], 0x68
jmp 0x140004ff8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rbx + 0x28], 0
xor edi, edi
mov dword [rsp + 0x30], eax
lea rax, [0x1401040c8]
mov qword [rsp + 0x38], rax
mov rax, rbx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
jmp 0x140004f74
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, [0x1401040c8]
mov qword [rsp + 0x38], rax
mov rax, rbx
movups xmm0, xmmword [rsp + 0x30]
mov byte [rbx + 0x28], dil
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
jmp 0x140004f74
mov dword [rsp + 0x30], 0x73
mov rax, qword [0x140104070]
mov qword [rsp + 0x38], rax
mov rax, rbx
movups xmm0, xmmword [rsp + 0x30]
mov byte [rbx + 0x28], dil
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
jmp 0x140004f74
Function at 0x140005410
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400fc3f8]
xor rax, rsp
mov qword [rbp + 0x168], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor esi, esi
mov qword [rbp + 0x150], rsi
lea rax, [rsp + 0x50]
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x160], 0x200
mov edx, 0x100
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test eax, eax
je 0x1400054ee
nop dword [rax]
mov edx, dword [rbp + 0x160]
mov eax, edx
shr eax, 1
mov r8d, ecx
cmp ecx, eax
jb 0x140005550
lea rbx, [r8 + r8]
cmp rbx, rdx
jbe 0x1400054d6
mov rcx, rbx
call fcn.140089c64
mov rcx, qword [rbp + 0x150]
mov qword [rbp + 0x150], rax
test rcx, rcx
je 0x1400054c5
call fcn.14008a6e0
mov rax, qword [rbp + 0x150]
mov edx, ebx
mov dword [rbp + 0x160], ebx
mov qword [rbp + 0x158], rax
jmp 0x1400054dd
mov rax, qword [rbp + 0x158]
shr edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test eax, eax
jne 0x140005480
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rax, [0x1401040c8]
mov qword [rsp + 0x28], rax
mov byte [rdi + 0x20], 0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov rcx, qword [rbp + 0x150]
test rcx, rcx
je 0x140005525
call fcn.14008a6e0
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rsp
call fcn.14008a6c0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov rdx, qword [rbp + 0x158]
lea rcx, [rsp + 0x30]
call fcn.140003c40
mov byte [rdi + 0x20], 1
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm1
jmp 0x140005514
Function at 0x14000e130
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400fc3f8]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov dword [rbp - 0x38], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea rdi, [0x1401040c8]
test eax, eax
je 0x14000e31a
cmp dword [rbp - 0x38], ebx
setne al
mov cl, 1
mov byte [rbp - 0x28], al
mov r8, qword [rbp - 0x18]
mov byte [rbp - 0x10], cl
movzx ecx, cl
test ecx, ecx
jne 0x14000e1ab
test r8, r8
je 0x14000e1ab
mov rax, qword [r8]
lea edx, [rcx + 1]
mov rcx, r8
mov rax, qword [rax]
call qword [case.0x14005f7f8.0]
nop
mov word [rbp - 0x40], bx
mov word [rbp - 0x38], bx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_IsWow64Process2]
test eax, eax
je 0x14000e2fa
jmp 0x14000e286
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x100080
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000e235
xor r9d, r9d
mov r8d, 0x100
lea rdi, [0x1400fd0e0]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleW]
test eax, eax
jne 0x14000e258
test rbx, rbx
je 0x14000e235
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14008a6c0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
cmp eax, 0x100
jae 0x14000e227
mov qword [rbp - 0x38], rdi
mov eax, eax
mov qword [rbp - 0x30], rax
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [0x1400fd2e0], xmm0
test rbx, rbx
je 0x14000e282
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14000e237
movzx ecx, word [rbp - 0x40]
movzx r8d, word [rbp - 0x38]
mov eax, r8d
test cx, cx
cmovne eax, ecx
mov dword [rbp - 0x38], eax
mov dword [rbp - 0x34], r8d
mov cl, 1
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x28], rax
mov r8, qword [rbp - 0x18]
mov byte [rbp - 0x10], cl
movzx ecx, cl
test ecx, ecx
jne 0x14000e2cf
test r8, r8
je 0x14000e2cf
mov rax, qword [r8]
lea edx, [rcx + 1]
mov rcx, r8
mov rax, qword [rax]
call qword [case.0x14005f7f8.0]
nop
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x90]
test rax, rax
lea rcx, [rax + 0x1e]
jne 0x14000e1d7
mov ecx, 0x7ffe0030
jmp 0x14000e1d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x38], eax
mov qword [rbp - 0x30], rdi
xor cl, cl
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x28], xmm0
mov r8, rbx
mov qword [rbp - 0x18], rbx
jmp 0x14000e2ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x38], eax
mov qword [rbp - 0x30], rdi
xor cl, cl
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rbp - 0x28], xmm0
mov r8, rbx
mov qword [rbp - 0x18], rbx
jmp 0x14000e189
Function at 0x140015220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x1400153b4
mov r15, qword [rsp + 0x60]
lea r9d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x1400153b4
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r9w, dx
jae 0x1400152bb
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x1400153db
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x1400152d2
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x1400152d2
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x1400152e5
movzx r8d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x140015332
mov r8d, eax
cmp eax, 0x800
jae 0x1400152ff
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x140015332
cmp eax, 0x10000
jae 0x140015319
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x140015332
shr r8d, 0x12
mov r10d, 3
movzx r11d, sil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r9d
cmp rdx, rcx
jl 0x1400153b4
add qword [r14], 2
test sil, sil
jne 0x140015353
cmp r10d, 3
jae 0x14001535f
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
test r9d, r9d
je 0x140015391
lea r8d, [r10 + r10*2]
add r8d, r8d
nop dword [rax + rax]
sub r8d, 6
mov edx, eax
mov ecx, r8d
dec r9d
shr edx, cl
mov rcx, qword [rbx]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [rbx]
test r9d, r9d
jg 0x140015370
shr eax, 0xa
mov r9d, 1
test sil, sil
mov ecx, r9d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x14001526f
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x1400153c2
Function at 0x140019afc
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1400fc3f8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rdx
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140005950
cmp qword [rsp + 0x60], 8
lea rcx, [rsp + 0x48]
mov edx, 0x80000000
cmovae rcx, qword [rsp + 0x48]
xor r9d, r9d
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000000
mov dword [rsp + 0x20], 3
lea r14d, [r9 + 1]
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140019c03
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140019bf5
mov rbp, qword [rsp + 0x40]
test rbp, rbp
jle 0x140019bf5
and qword [rsp + 0x28], 0
lea r8d, [r14 + 1]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
test rax, rax
je 0x140019bf5
and qword [rsp + 0x20], 0
lea edx, [r14 + 3]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x140019be6
mov qword [rsi + 0x10], rbp
mov qword [rsi + 8], rax
mov qword [rsi + 0x18], rdi
mov qword [rsi + 0x20], rbx
jmp 0x140019c06
cmp rbx, 0xffffffffffffffff
je 0x140019bf5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140019c03
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r14b, r14b
lea rcx, [rsp + 0x48]
call fcn.140002430
mov al, r14b
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14008a6c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14001a4d4
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x20], rdx
mov word [rsp + 0x28], r8w
mov qword [rsp + 0x30], r9
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x38], eax
mov rdi, qword [rcx]
lea r13, [rdi + 0x10]
mov qword [r11 - 0x38], r13
xor esi, esi
mov qword [r11 - 0x30], rsi
lea ecx, [rsi + 0x30]
call fcn.140089c64
mov rbx, rax
mov qword [rsp + 0x48], rax
lea r15, [rax + 0x10]
movups xmm0, xmmword [rsp + 0x20]
movdqu xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x30]
movdqu xmmword [r15 + 0x10], xmm1
mov r14, qword [r15]
movzx eax, word [r15 + 8]
lea r12, [r14 + rax*2]
mov ebp, 0x811c9dc5
jmp 0x14001a572
movzx ecx, word [r14]
call fcn.1400a1c78
movzx ecx, ax
imul rbp, rbp, 0x1000193
xor rbp, rcx
add r14, 2
cmp r14, r12
jne 0x14001a558
mov r9, rbp
mov r8, r15
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001bbbc
cmp qword [rsp + 0x28], rsi
je 0x14001a5ac
test rbx, rbx
je 0x14001a6a1
mov edx, 0x30
mov rcx, rbx
call fcn.140089ca0
jmp 0x14001a6a1
mov rdx, qword [rdi + 0x18]
movabs rax, 0x555555555555555
cmp rdx, rax
je 0x14001a6c2
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14001a5d6
cvtsi2ss xmm0, rcx
jmp 0x14001a5eb
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rdi + 0x40]
xorps xmm1, xmm1
test rcx, rcx
js 0x14001a5fe
cvtsi2ss xmm1, rcx
jmp 0x14001a613
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rdi + 8]
seta al
test al, al
je 0x14001a64a
mov rcx, rdi
call fcn.14001b8ac
mov r9, rbp
mov r8, r15
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14001bbbc
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x20], xmm0
mov rdx, qword [rdi + 0x18]
mov r8, qword [rsp + 0x20]
mov r9, qword [r8 + 8]
lea rax, [rdx + 1]
mov qword [rdi + 0x18], rax
mov qword [rbx], r8
mov qword [rbx + 8], r9
mov qword [r9], rbx
mov qword [r8 + 8], rbx
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x38]
and rax, rbp
add rax, rax
mov rdx, qword [rcx + rax*8]
cmp rdx, qword [r13]
jne 0x14001a687
mov qword [rcx + rax*8], rbx
jmp 0x14001a699
cmp rdx, r8
jne 0x14001a692
mov qword [rcx + rax*8], rbx
jmp 0x14001a69e
cmp qword [rcx + rax*8 + 8], r9
jne 0x14001a69e
mov qword [rcx + rax*8 + 8], rbx
mov sil, 1
mov al, sil
lea r11, [rsp + 0x50]
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
lea rcx, str.unordered_map_set_too_long
call fcn.140060eb8
int3
Function at 0x14001a918
Capabilities:
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbx, rcx
mov r14, rdx
mov rcx, qword [rcx + 0x10]
mov rdi, r8
lea rdx, [rcx + rcx]
movzx eax, dx
cmp rax, rdx
jne 0x14001a9b8
cmp qword [rbx + 0x18], 8
jb 0x14001a94d
mov rbx, qword [rbx]
movzx eax, cx
mov ebp, 0x811c9dc5
mov qword [rsp + 0x20], rbx
mov word [rsp + 0x28], ax
lea rsi, [rbx + rax*2]
jmp 0x14001a97e
movzx ecx, word [rbx]
call fcn.1400a1c78
imul rbp, rbp, 0x1000193
movzx ecx, ax
xor rbp, rcx
add rbx, 2
cmp rbx, rsi
jne 0x14001a965
mov r9, rbp
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.14001bbbc
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14001a9b8
cmp rcx, qword [r14 + 0x10]
je 0x14001a9b8
mov rax, qword [rcx + 0x20]
mov qword [rdi], rax
mov eax, dword [rcx + 0x28]
mov dword [rdi + 8], eax
mov al, 1
jmp 0x14001a9ba
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret