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

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140001d58
add rsp, 0x20
pop r15
pop rdi
pop rbx
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 + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140001d7e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001d80
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001dd9
test ecx, ecx
jle 0x140001db9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140001dd9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001dd9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140001e00
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 0x140001e22
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140001e38
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 0x140001e54
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140001e56
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140001e92
mov qword [rsp + 0x20], rdi
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]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140001f2e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140001ecd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140001f0e
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]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140001f2e
cmp rbx, rax
ja 0x140001ee0
test rbx, rbx
je 0x140001f2e
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]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140002390
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400023bd
xor eax, eax
jmp 0x140002529
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400023f7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400023f7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140002529
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000251c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000243a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140002465
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002521
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400024d4
sub eax, 1
je 0x1400024d4
cmp eax, 2
jne 0x14000251c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002521
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002502
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000251c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002521
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003210
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002940
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002a13
cmp byte [rcx + 0x71], 0
je 0x140002a13
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002a0f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400029d4
sub eax, 1
je 0x1400029d8
cmp eax, 2
jne 0x140002a0f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003210
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002a06
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140002a0f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400029bc
xor al, al
jmp 0x1400029bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003210
add rsp, 0x60
pop rbx
ret

Function at 0x140003b90
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003bda
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003bda
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003bda
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003bda
cmp dword [rcx + 0x84], 0xe
jbe 0x140003bda
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003bdc
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push r14
sub rsp, 0x58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rbx, rcx
mov qword [r8], rbp
lea rcx, [rsp + 0x38]
mov dword [r9], ebp
mov r14, r9
mov rsi, r8
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], ebp
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8d, [rbp + 2]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
cmp eax, 0xc0000023
jne 0x140001141
mov rax, qword gs:[0x30]
lea edx, [rbp + 8]
mov r8d, dword [rsp + 0x30]
mov qword [rsp + 0x50], rdi
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
je 0x140001137
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8d, [rbp + 2]
mov dword [rsp + 0x20], r9d
lea rdx, [rsp + 0x38]
mov r9, rdi
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov ebx, eax
test eax, eax
js 0x140001117
mov rax, qword gs:[0x30]
lea edx, [rbp + 8]
mov r8d, dword [rdi + 8]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
je 0x140001112
mov r8d, dword [rdi + 8]
lea rdx, [rdi + 0xc]
mov rcx, rax
call fcn.140008720
mov qword [rsi], rbx
mov ebx, ebp
mov eax, dword [rdi + 8]
mov dword [r14], eax
jmp 0x140001117
mov ebx, 0xc0000017
mov rax, qword gs:[0x30]
mov r8, rdi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
jmp 0x14000113c
mov eax, 0xc0000017
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400081d0
add rsp, 0x58
pop r14
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400014a0
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push r15
sub rsp, 0xe0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xb8], rax
xor r15d, r15d
mov qword [r11 - 0x10], rsi
mov qword [r11 - 0x18], rdi
lea rdx, str.Objects
mov rdi, rcx
mov dword [r11 - 0x68], r15d
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], r15
mov esi, r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x40], r15d
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x50], 0x30
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x50]
mov qword [rsp + 0x58], rdi
mov edx, 0x20019
mov dword [rsp + 0x68], 0x40
lea rcx, [rsp + 0x38]
movdqu xmmword [rsp + 0x70], xmm0
call qword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
js 0x1400016cd
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x80]
lea r9d, [r15 + 0x30]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x88]
lea edx, [r15 + 2]
call qword [sym.imp.ntdll.dll_NtQueryKey]
test eax, eax
je 0x140001570
cmp eax, 0x80000005
jne 0x1400016cd
mov rax, qword gs:[0x30]
xor edx, edx
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], rbp
mov ebp, dword [rsp + 0x9c]
mov rcx, qword [rax + 0x60]
mov qword [rsp + 0xc0], r14
mov r14d, dword [rsp + 0xa0]
add r14, 0x1a
mov rcx, qword [rcx + 0x30]
mov r8, r14
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
je 0x1400016b5
mov qword [rsp + 0xc8], r12
lea r12, str.71A3C7FC_F751_4982_AEC1_E958357E6813
xor eax, eax
mov rdi, rbx
mov rcx, r14
mov r9, rbx
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, esi
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ntdll.dll_NtEnumerateKey]
test eax, eax
js 0x140001691
mov eax, dword [rsp + 0xa0]
add eax, 2
cmp dword [rbx + 0xc], eax
ja 0x140001691
lea rax, [rbx + 0x10]
mov r8, r12
cmp rax, r12
je 0x14000168b
test rax, rax
je 0x14000167e
mov rax, rbx
sub rax, r12
lea r9, [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
movzx edx, word [r9 + r8]
lea r8, [r8 + 2]
lea ecx, [rdx - 0x41]
cmp cx, 0x19
lea eax, [rdx + 0x20]
cmova ax, dx
movzx edx, word [r8 - 2]
lea ecx, [rdx - 0x41]
cmp cx, 0x19
lea edi, [rdx + 0x20]
cmova di, dx
test ax, ax
je 0x140001674
cmp ax, di
je 0x140001640
movzx ecx, di
movzx edx, ax
sub edx, ecx
je 0x14000168b
inc esi
add ebp, 0xffffffff
jne 0x1400015d2
jmp 0x140001691
mov r15d, 1
mov rax, qword gs:[0x30]
mov r8, rbx
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r12, qword [rsp + 0xc8]
mov r14, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0x100]
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xd8]
test rcx, rcx
je 0x1400016ed
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, r15d
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400081d0
add rsp, 0xe0
pop r15
ret
Function at 0x140002d10
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x140002e5e
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp word [rdx], 0
mov rdi, rdx
mov ebp, dword [0x14000d8d8]
mov rsi, qword [0x14000d8d0]
mov qword [rsp + 0x50], rbx
mov rbx, rdx
je 0x140002d5f
add rbx, 2
cmp word [rbx], 0
jne 0x140002d55
sub rbx, rdi
sar rbx, 1
lea rax, [rbx - 1]
cmp rax, 0x40f
ja 0x140002e3d
lea rbx, [rbx*2 + 6]
call qword [sym.imp.ntdll.dll_RtlGetCurrentPeb]
mov r8, rbx
mov edx, 8
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
je 0x140002e3d
mov rdx, rdi
mov rcx, rax
call fcn.140005990
cmp word [rbx], 0
mov r9, rbx
je 0x140002dc0
add r9, 2
cmp word [r9], 0
jne 0x140002db5
lea rcx, [0x140009904]
mov eax, 0xd
sub rcx, r9
nop
mov word [r9], ax
lea r9, [r9 + 2]
movzx eax, word [rcx + r9]
test ax, ax
jne 0x140002dd0
xor ecx, ecx
mov rax, rbx
mov word [r9], cx
cmp word [rbx], cx
je 0x140002df9
add rax, 2
cmp word [rax], cx
jne 0x140002df0
sub rax, rbx
mov qword [rsp + 0x20], rcx
sar rax, 1
lea r9, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
test ebp, ebp
je 0x140002e1e
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x140002e28
lea r8d, [rax + rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
call qword [sym.imp.ntdll.dll_RtlGetCurrentPeb]
mov r8, rbx
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400081d0
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140002d19
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x140002e5e
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp word [rdx], 0
mov rdi, rdx
mov ebp, dword [0x14000d8d8]
mov rsi, qword [0x14000d8d0]
mov qword [rsp + 0x50], rbx
mov rbx, rdx
je 0x140002d5f
add rbx, 2
cmp word [rbx], 0
jne 0x140002d55
sub rbx, rdi
sar rbx, 1
lea rax, [rbx - 1]
cmp rax, 0x40f
ja 0x140002e3d
lea rbx, [rbx*2 + 6]
call qword [sym.imp.ntdll.dll_RtlGetCurrentPeb]
mov r8, rbx
mov edx, 8
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
je 0x140002e3d
mov rdx, rdi
mov rcx, rax
call fcn.140005990
cmp word [rbx], 0
mov r9, rbx
je 0x140002dc0
add r9, 2
cmp word [r9], 0
jne 0x140002db5
lea rcx, [0x140009904]
mov eax, 0xd
sub rcx, r9
nop
mov word [r9], ax
lea r9, [r9 + 2]
movzx eax, word [rcx + r9]
test ax, ax
jne 0x140002dd0
xor ecx, ecx
mov rax, rbx
mov word [r9], cx
cmp word [rbx], cx
je 0x140002df9
add rax, 2
cmp word [rax], cx
jne 0x140002df0
sub rax, rbx
mov qword [rsp + 0x20], rcx
sar rax, 1
lea r9, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
test ebp, ebp
je 0x140002e1e
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x140002e28
lea r8d, [rax + rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
call qword [sym.imp.ntdll.dll_RtlGetCurrentPeb]
mov r8, rbx
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400081d0
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400059d0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x440
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x430], rax
xor eax, eax
lea rdi, [rsp + 0x20]
mov ecx, 0x410
xor esi, esi
rep stosb byte [rdi], al
movzx ecx, word [0x14000d980]
lea rax, [rsp + 0x20]
test cx, cx
je 0x140005a40
lea rdx, [0x14000d980]
lea rdi, [rsp + 0x20]
sub rdx, rdi
nop dword [rax]
nop dword [rax + rax]
mov word [rax], cx
add rax, 2
movzx ecx, word [rdx + rax]
test cx, cx
jne 0x140005a30
mov word [rax], si
lea rdi, [rsp + 0x20]
movzx ecx, word [rsp + 0x20]
test cx, cx
je 0x140005a5b
add rdi, 2
cmp word [rdi], si
jne 0x140005a52
lea rax, [rsp + 0x20]
sub rdi, rax
lea rax, [rsp + 0x20]
sar rdi, 1
test cx, cx
je 0x140005a79
add rax, 2
cmp word [rax], si
jne 0x140005a70
lea rdx, [0x14000ad50]
mov ecx, 0x64
sub rdx, rax
nop dword [rax + rax]
mov word [rax], cx
lea rax, [rax + 2]
movzx ecx, word [rdx + rax]
test cx, cx
jne 0x140005a90
lea rcx, [rsp + 0x20]
mov word [rax], si
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x140005c18
add rdi, rdi
cmp rdi, 0x410
jae 0x140005c3f
mov word [rsp + rdi + 0x20], si
lea rax, [rsp + 0x20]
cmp word [rsp + 0x20], si
je 0x140005ae9
nop dword [rax + rax]
add rax, 2
cmp word [rax], si
jne 0x140005ae0
lea rdx, [0x14000ad68]
mov ecx, 0x73
sub rdx, rax
nop dword [rax + rax]
mov word [rax], cx
lea rax, [rax + 2]
movzx ecx, word [rdx + rax]
test cx, cx
jne 0x140005b00
lea rcx, [rsp + 0x20]
mov word [rax], si
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140005c18
lea rdx, [0x14000ad80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000d958], rax
test rax, rax
je 0x140005c18
lea rdx, [0x14000ad90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000d908], rax
test rax, rax
je 0x140005c18
lea rdx, [0x14000ada0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000d8f0], rax
test rax, rax
je 0x140005c18
lea rdx, [0x14000adb8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000d900], rax
test rax, rax
je 0x140005c18
lea rdx, [0x14000adc8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000d918], rax
test rax, rax
je 0x140005c18
lea rdx, [0x14000ade0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000d920], rax
test rax, rax
je 0x140005c18
lea rdx, [0x14000adf0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000d8f8], rax
test rax, rax
je 0x140005c18
lea rdx, [0x14000ae00]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000d910], rax
test rax, rax
je 0x140005c18
mov esi, 1
mov eax, esi
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400081d0
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140008304
int3
Function at 0x1400060c0
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbx, qword [0x14000d940]
mov r14, r8
mov edi, ecx
test rbx, rbx
je 0x140006128
lea r9, str.KeInitAmd64SpecificState
mov rax, qword [rbx + 8]
cmp r9, rax
je 0x14000616c
test rax, rax
je 0x140006120
mov r8, r9
sub r8, rax
nop dword [rax]
movzx ecx, word [r8 + rax]
movzx edx, word [rax]
lea rax, [rax + 2]
test cx, cx
je 0x140006116
cmp cx, dx
je 0x140006100
movzx eax, dx
movzx ecx, cx
sub ecx, eax
je 0x14000616c
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400060e5
xor ebx, ebx
mov rcx, r14
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
movzx ecx, word [rax + 0x14]
lea rdx, [rax + 0x18]
add rdx, rcx
movzx ecx, word [rax + 6]
test ecx, ecx
je 0x140006289
nop word [rax + rax]
cmp dword [rdx], 0x54494e49
jne 0x14000615e
cmp byte [rdx + 4], 0
je 0x14000617b
add rdx, 0x28
add ecx, 0xffffffff
jne 0x140006150
jmp 0x140006289
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140006258
jmp 0x14000612a
mov ebp, dword [rdx + 0xc]
add rbp, r14
je 0x140006289
cmp edi, 0x295a
ja 0x1400061ba
je 0x1400061ea
cmp edi, 0x1db1
je 0x1400061b1
cmp edi, 0x23f0
je 0x1400061ea
cmp edi, 0x2580
je 0x1400061ea
cmp edi, 0x2800
jmp 0x1400061d8
lea rdi, [0x14000d0c4]
jmp 0x1400061f1
cmp edi, 0x3839
je 0x1400061ea
cmp edi, 0x3ad7
je 0x1400061ea
cmp edi, 0x3fab
je 0x1400061ea
cmp edi, 0x42ee
je 0x1400061ea
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rdi, [0x14000d038]
mov qword [rsp + 0x40], rsi
mov rbx, rbp
mov esi, dword [rdx + 8]
cmp rsi, 6
jb 0x14000624c
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rdi]
lea r8, [rsi - 6]
sub r8, rbx
mov rcx, rbx
add r8, rbp
call fcn.140007e70
mov rbx, rax
test rax, rax
je 0x14000624c
mov eax, dword [rax]
cmp eax, dword [rdi]
jne 0x14000623d
movzx eax, word [rbx + 4]
cmp ax, word [rdi + 4]
je 0x14000624e
inc rbx
lea rax, [rsi - 6]
sub rax, rbx
add rax, rbp
jne 0x140006210
xor ebx, ebx
mov rsi, qword [rsp + 0x40]
test rbx, rbx
je 0x14000628c
mov rcx, qword [rsp + 0x60]
mov r8d, ebx
sub r8d, r14d
mov rdx, r14
call qword [sym.imp.ntdll.dll_RtlAddressInSectionTable]
mov rcx, qword [rsp + 0x68]
sub rax, r14
mov qword [rcx], rax
lea rax, [0x14000d054]
mov qword [rcx + 8], rax
mov dword [rcx + 0x10], 3
test rbx, rbx
setne al
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400062a0
Capabilities:
Access pe header
Enumerate pe sections

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, 0x20
mov rbx, qword [0x14000d940]
lea r13, [0x14000d05c]
mov r15, r8
mov edi, ecx
mov r12d, 3
test rbx, rbx
je 0x140006328
lea r9, str.ExpLicenseWatchInitWorker
mov rax, qword [rbx + 8]
cmp r9, rax
je 0x14000636c
test rax, rax
je 0x140006320
mov r8, r9
sub r8, rax
nop dword [rax]
movzx ecx, word [r8 + rax]
movzx edx, word [rax]
lea rax, [rax + 2]
test cx, cx
je 0x140006316
cmp cx, dx
je 0x140006300
movzx eax, dx
movzx ecx, cx
sub ecx, eax
je 0x14000636c
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400062e1
xor ebx, ebx
mov rcx, r15
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
movzx ecx, word [rax + 0x14]
lea rdx, [rax + 0x18]
add rdx, rcx
movzx ecx, word [rax + 6]
test ecx, ecx
je 0x14000648b
nop word [rax + rax]
cmp dword [rdx], 0x54494e49
jne 0x14000635e
cmp byte [rdx + 4], 0
je 0x14000637b
add rdx, 0x28
add ecx, 0xffffffff
jne 0x140006350
jmp 0x14000648b
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140006464
jmp 0x14000632a
mov esi, dword [rdx + 0xc]
add rsi, r15
je 0x14000648b
cmp edi, 0x3839
ja 0x1400063b8
je 0x1400063e9
cmp edi, 0x23f0
je 0x1400063f8
cmp edi, 0x2580
je 0x1400063e9
cmp edi, 0x2800
je 0x1400063e9
cmp edi, 0x295a
je 0x1400063e9
xor al, al
jmp 0x140006491
cmp edi, 0x3ad7
je 0x1400063f8
cmp edi, 0x3fab
je 0x1400063e9
cmp edi, 0x42ee
jne 0x1400063b1
mov r12d, 8
lea rbp, [0x14000d190]
mov r14d, r12d
lea r13, [0x14000d218]
jmp 0x140006405
lea rbp, [0x14000d198]
mov r14d, 9
jmp 0x140006405
lea rbp, [0x14000d1a4]
mov r14d, 7
mov edi, dword [rdx + 8]
mov rbx, rsi
cmp rdi, r14
jb 0x14000645d
sub rdi, r14
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rbp]
mov r8, rdi
sub r8, rbx
mov rcx, rbx
add r8, rsi
call fcn.140007e70
mov rbx, rax
test rax, rax
je 0x14000645d
mov r8, r14
mov rdx, rbp
mov rcx, rax
call fcn.140008640
test eax, eax
je 0x14000645f
inc rbx
mov rax, rdi
sub rax, rbx
add rax, rsi
jne 0x140006420
xor ebx, ebx
test rbx, rbx
je 0x14000648e
mov rcx, qword [rsp + 0x70]
mov r8d, ebx
sub r8d, r15d
mov rdx, r15
call qword [sym.imp.ntdll.dll_RtlAddressInSectionTable]
mov rcx, qword [rsp + 0x78]
sub rax, r15
mov qword [rcx], rax
mov qword [rcx + 8], r13
mov dword [rcx + 0x10], r12d
test rbx, rbx
setne al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret