joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009004
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
sub rsp, 0x60
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], r14
mov rax, qword [0x140015508]
xor rax, rbp
mov qword [rbp + 0x18], rax
mov rcx, qword [rbp + 0x50]
xor r14d, r14d
mov rdi, r8
mov word [r8], r14w
lea r8, str.not_loaded
lea edx, [r14 + 0x32]
call fcn.140001530
mov rsi, qword [rbp + 0x60]
lea rcx, str.comsvcs.dll
mov word [rsi], r14w
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400091f5
xor r9d, r9d
lea edx, [r14 + 0x10]
lea r8d, [r14 + 1]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
nop dword [rax + rax]
test rax, rax
je 0x1400091f5
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
nop dword [rax + rax]
test rax, rax
je 0x1400091f5
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
nop dword [rax + rax]
mov r9, rax
test rax, rax
je 0x1400091f5
movzx r8d, word [rax]
mov ecx, r8d
shr ecx, 1
add ecx, r8d
mov edx, ecx
lea rax, [rcx + 0xf]
cmp rax, rdx
ja 0x1400090ec
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14000d770
sub rsp, rax
mov rdx, r9
lea rbx, [rsp + 0x40]
mov rcx, rbx
call sub.msvcrt.dll_memcpy
lea r9, [rbp]
mov rcx, rbx
lea r8, [rbp + 0x10]
lea rdx, str.VarFileInfoTranslation
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
nop dword [rax + rax]
test eax, eax
je 0x140009168
mov rax, qword [rbp + 0x10]
lea r9, [0x14000e0e0]
mov ecx, r14d
movzx edx, word [rax]
mov rax, r9
cmp dx, word [rax]
je 0x140009150
inc ecx
add rax, 0x10
cmp ecx, 0x27
jb 0x14000913e
jmp 0x140009168
mov r8d, ecx
mov edx, 5
add r8, r8
mov rcx, rdi
mov r8, qword [r9 + r8*8 + 8]
call fcn.140001530
lea r9, [rbp]
mov rcx, rbx
lea r8, [rbp + 8]
lea rdx, [0x14000ee3c]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
nop dword [rax + rax]
test eax, eax
je 0x1400091f5
mov r10, qword [rbp + 8]
mov r9d, dword [r10 + 8]
cmp r9d, 0xffffffff
je 0x1400091d1
movzx r8d, word [r10 + 0xe]
mov edx, 0x32
movzx eax, word [r10 + 0xc]
mov rcx, qword [rbp + 0x50]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r8d
lea r8, str._u._u._u._u
movzx r10d, r9w
shr r9d, 0x10
mov dword [rsp + 0x20], r10d
call fcn.140001c0c
mov r10, qword [rbp + 8]
test byte [r10 + 0x1c], 1
lea rax, [0x14000ffd0]
lea r8, [0x14000ffd8]
mov edx, 5
cmovne r8, rax
mov rcx, rsi
call fcn.140001530
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14000cd20
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x40]
mov r14, qword [rbp + 0x48]
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x1400092e8
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], r9
push rsi
push rdi
push r15
sub rsp, 0x50
mov eax, edx
movzx ebp, cx
shr eax, 0x1e
mov r15d, 1
mov esi, edx
cmp eax, r15d
jbe 0x14000932c
lea ebx, [r15 + 1]
cmp eax, ebx
je 0x140009331
cmp eax, 3
jne 0x140009327
movzx ebx, r15w
jmp 0x140009331
mov ebx, r15d
jmp 0x140009331
mov ebx, 4
mov rax, qword [0x1400176c0]
test rax, rax
je 0x1400093b3
and qword [rsp + 0x88], 0
lea rcx, [rsp + 0x88]
call qword [0x14000ea58]
test eax, eax
js 0x1400093b3
mov rdi, qword [rsp + 0x88]
test rdi, rdi
je 0x1400093b3
and qword [rsp + 0x40], 0
mov r8d, ebp
mov r9, qword [rsp + 0x98]
mov rcx, rdi
mov rax, qword [rdi]
mov qword [rsp + 0x38], r9
mov r9d, esi
and dword [rsp + 0x30], 0
movzx edx, bx
mov rax, qword [rax + 0x18]
mov dword [rsp + 0x28], r15d
and qword [rsp + 0x20], 0
call qword [0x14000ea58]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [0x14000ea58]
jmp 0x14000941c
lea rdx, str.COM
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14000941c
and qword [rsp + 0x40], 0
mov r9d, esi
mov rcx, qword [rsp + 0x98]
movzx r8d, bp
mov qword [rsp + 0x38], rcx
movzx edx, bx
and dword [rsp + 0x30], 0
mov rcx, rax
mov word [rsp + 0x28], r15w
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r15
pop rdi
pop rsi
ret
Function at 0x1400094b8
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x140015508]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov esi, r8d
mov r14, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x5a0]
call sub.msvcrt.dll_memset
mov edi, 0x20a
lea rcx, [rbp + 0x390]
mov r8d, edi
xor edx, edx
call sub.msvcrt.dll_memset
mov r8d, edi
lea rcx, [rbp + 0x180]
xor edx, edx
call sub.msvcrt.dll_memset
xor r15d, r15d
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x250
mov edi, r15d
call sub.msvcrt.dll_memset
mov r9, r14
mov qword [rsp + 0x20], rbx
lea r8, str._s_s.dmp
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.140001c0c
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
nop dword [rax + rax]
mov rbx, rax
mov r12d, 0x105
cmp rax, 0xffffffffffffffff
je 0x1400095e1
inc edi
cmp word [rbp + 0x390], r15w
je 0x1400095b5
lea rdx, [rsp + 0x5c]
lea rcx, [rbp + 0x390]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jle 0x1400095c9
lea r8, [rsp + 0x5c]
mov rdx, r12
lea rcx, [rbp + 0x390]
call fcn.140001530
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14000958d
cmp edi, esi
jb 0x140009698
lea rax, [rbp + 0x390]
mov r9, r14
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov rdx, r12
lea rcx, [rbp + 0x180]
call fcn.140001c0c
mov edi, 0x80
lea rcx, [rbp + 0x180]
mov edx, edi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
nop dword [rax + rax]
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
lea edx, [rdi - 0x52]
lea rcx, [rbp + 0x180]
call qword [sym.imp.msvcrt.dll_wcsrchr]
nop dword [rax + rax]
test rax, rax
je 0x140009698
lea r8, str..txt
mov word [rax], r15w
mov rdx, r12
lea rcx, [rbp + 0x180]
call fcn.140001b34
mov edx, edi
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
nop dword [rax + rax]
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
cmp rbx, 0xffffffffffffffff
je 0x1400096ad
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.14000cd20
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400096e0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbp
push rdi
lea rbp, [rax - 0x418]
sub rsp, 0x508
mov rax, qword [0x140015508]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
xor edi, edi
lea r9, [rbp + 0x428]
mov r8, rcx
mov word [rbp - 0x20], di
lea rcx, [rbp - 0x20]
mov word [rbp + 0x3ee], di
mov edx, 0x208
call fcn.1400025e8
test eax, eax
js 0x14000981f
xor edx, edx
lea r8d, [rdi + 0x68]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea eax, [rdi + 6]
mov dword [rsp + 0x70], 0x68
mov word [rbp - 0x50], ax
lea rdx, [rbp - 0x20]
lea rax, [rsp + 0x58]
mov dword [rbp - 0x54], 0x81
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
nop dword [rax + rax]
test eax, eax
je 0x140009803
mov rcx, qword [rsp + 0x58]
or edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov eax, dword [rsp + 0x50]
jmp 0x14000980f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.14000cd20
add rsp, 0x508
pop rdi
pop rbp
ret
Function at 0x140009ebc
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
mov rcx, rax
mov edx, 0x7f0ea553
add rsp, 0x28
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
Function at 0x14000a2f8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x140015508]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0xf0
mov qword [rsp + 0x28], rax
mov rbx, r8
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
xor edx, edx
test eax, eax
jne 0x14000a37a
cmp dword [rsp + 0x30], 2
jb 0x14000a3c4
mov eax, dword [rsp + 0x40]
lea ecx, [rdx + 0x4e]
and eax, 0xffdf
cmp eax, ecx
je 0x14000a376
cmp eax, 0x59
jne 0x14000a3c4
mov dword [rbx], 1
jmp 0x14000a3c4
mov dword [rbx], edx
jmp 0x14000a3c4
mov eax, dword [rbx]
mov r9d, 1
neg eax
mov word [rsp + 0x42], dx
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
sbb r8w, r8w
mov qword [rsp + 0x20], rax
and r8w, 0xb
mov rdx, rsi
add r8w, 0x4e
mov rcx, rdi
mov word [rsp + 0x40], r8w
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14000cd20
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000a3e8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x30
mov ebx, dword [0x140015524]
lea rax, [r11 + 0x10]
mov qword [r11 - 0x10], rax
lea rbp, [0x140015524]
lea r9, [r11 + 0x18]
mov qword [r11 - 0x18], rbp
xor r8d, r8d
mov dword [rsp + 0x48], 4
lea rdx, str.EventDispatchTtime
mov dword [rsp + 0x50], 4
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000a459
cmp dword [rsp + 0x50], 4
je 0x14000a48b
mov dword [0x140015524], ebx
jmp 0x14000a48b
mov dword [rsp + 0x28], 4
lea rdx, str.EventDispatchTtime
mov r9d, 4
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov dword [0x140015524], ebx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14000bae4
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], rsp
lea rcx, [0x1400153e8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
cmp byte [0x1400179c0], 0
jne 0x14000bb9e
lea rax, [0x1400179c8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftMSDTCTracing
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14000bb92
and qword [0x1400179c8], 0
lea rcx, str.Unable_to_open_MSDTCTracing_settings_key_n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
movzx ecx, bx
or ecx, 0x80070000
test ebx, ebx
cmovle ecx, ebx
mov dword [rsp + 0x50], ecx
lea rdx, [0x14000bb87]
mov rcx, rsp
call sub.msvcrt.dll__local_unwind
nop
nop
mov eax, dword [rsp + 0x50]
add rsp, 0x40
pop rbx
ret
call fcn.14000bbbc
mov byte [0x1400179c0], 1
lea rcx, [0x1400153e8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
xor eax, eax
jmp 0x14000bb8b
Function at 0x14000c384
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov rax, qword [0x140015508]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
xor ebx, ebx
mov edi, 0x105
mov qword [rsp + 0x38], rbx
mov rsi, rdx
mov dword [rsp + 0x30], edi
mov r14, rcx
test rdx, rdx
jne 0x14000c3d7
mov eax, 0x80070057
jmp 0x14000c5ac
mov qword [rcx], rbx
mov qword [rdx], rbx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
lea r9, [rsp + 0x30]
xor edx, edx
mov rcx, rax
lea r8, [rbp + 0xd0]
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_QueryFullProcessImageNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c429
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14000c5aa
lea r9, [rsp + 0x38]
mov edx, edi
lea r8, [rbp + 0x2e0]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFullPathNameW]
nop dword [rax + rax]
test eax, eax
je 0x14000c40a
mov rdx, qword [rsp + 0x38]
lea rcx, str.dllhost.exe
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14000c59b
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineA]
nop dword [rax + rax]
mov rcx, rax
mov edx, 0x20
call qword [sym.imp.msvcrt.dll_strchr]
nop dword [rax + rax]
test rax, rax
je 0x14000c59b
add rax, 1
je 0x14000c59b
movzx ecx, word [0x1400113f8]
lea rdx, [rsp + 0x40]
movsd xmm0, qword [str._ProcessID]
mov word [rsp + 0x50], cx
mov cl, byte [0x1400113fa]
mov byte [rsp + 0x52], cl
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x40], rcx
mov rcx, rax
movsd qword [rsp + 0x48], xmm0
call fcn.14000c294
cmp eax, 1
jl 0x14000c59b
mov al, byte [rbp - 0x40]
lea rdi, [rbp - 0x40]
jmp 0x14000c4fa
lea rcx, [rdi + 1]
cmp al, 0x3a
je 0x14000c500
mov al, byte [rcx]
mov rdi, rcx
test al, al
jne 0x14000c4ed
jmp 0x14000c505
mov byte [rdi], bl
mov rdi, rcx
cmp byte [rdi], bl
je 0x14000c522
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call qword [sym.imp.msvcrt.dll__stricmp]
nop dword [rax + rax]
test eax, eax
je 0x14000c526
lea rdi, [rbp - 0x40]
mov rcx, rbx
test rdi, rdi
je 0x14000c554
mov ecx, 0x28
mov r8, rdi
mov edx, ecx
mov eax, ebx
cmp byte [r8], bl
je 0x14000c548
inc r8
sub rdx, 1
jne 0x14000c53a
test rdx, rdx
jne 0x14000c5d4
mov rcx, rbx
mov eax, 0x80070057
test eax, eax
js 0x14000c59b
lea r9d, [rcx + 1]
mov dword [rsp + 0x28], 0x29
lea rax, [rsp + 0x60]
xor ecx, ecx
mov r8, rdi
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
nop dword [rax + rax]
test eax, eax
je 0x14000c59b
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140008858
test eax, eax
js 0x14000c5aa
mov rcx, qword [rsp + 0x38]
mov rdx, r14
call fcn.140008858
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.14000cd20
lea r11, [rsp + 0x600]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
sub rcx, rdx
jmp 0x14000c559
Function at 0x14000ca80
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140017ca0], rbx
je 0x14000cae7
cmp rax, rbx
jne 0x14000cada
mov ebx, 1
mov esi, ebx
jmp 0x14000caec
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000cabf
mov ebx, 1
mov eax, dword [0x140017ca8]
cmp eax, ebx
jne 0x14000cb04
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000cb70
mov eax, dword [0x140017ca8]
test eax, eax
jne 0x14000cb65
mov dword [0x140017ca8], ebx
lea r15, [0x14000eb28]
lea rdi, [0x14000eb10]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000cb57
test eax, eax
jne 0x14000cb5b
cmp qword [rdi], r14
je 0x14000cb4c
mov rax, qword [rdi]
mov rcx, qword [0x14000ea58]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000cb2e
test eax, eax
je 0x14000cb6b
mov eax, 0xff
jmp 0x14000ccc6
mov dword [0x140015544], ebx
mov edi, 0x1f
mov eax, dword [0x140017ca8]
cmp eax, ebx
jne 0x14000cb97
lea rdx, [0x14000eb08]
lea rcx, [0x14000ea60]
call sub.msvcrt.dll__initterm
mov dword [0x140017ca8], 2
test esi, esi
jne 0x14000cba5
mov rax, r14
xchg qword [0x140017ca0], rax
cmp qword [0x140017cb0], r14
je 0x14000cbd8
lea rcx, [0x140017cb0]
call fcn.14000cef0
test eax, eax
je 0x14000cbd8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140017cb0]
mov r9, qword [0x14000ea58]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000cbf1
mov eax, 0xff
jmp 0x14000ccc6
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000cc77
test ax, ax
je 0x14000cc0c
test edx, edx
jne 0x14000cc77
sub ax, bx
cmp ax, di
ja 0x14000cc22
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000cc0c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400015bc
mov dword [0x140015540], eax
cmp dword [0x140015560], r14d
jne 0x14000cc60
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140015544], r14d
jne 0x14000cc75
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140015540]
jmp 0x14000ccc6
cmp ax, 0x22
jne 0x14000cc8b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000cbfa
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400bf000
add rsp, 0x28
jmp 0x14000ca80
Function at 0x14000cddc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000ce28
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000ce20
cmp dword [rcx + 0x3c], edx
jl 0x14000ce20
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000ce20
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000ce28
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140004ce0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x18
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
xor r8d, r8d
lea rdx, [0x1400557ce]
call fcn.14000c750
mov qword [rbx + 0x38], 0
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140005560
Capabilities:
Hash data using sha1

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rdx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov rdx, r8
mov rcx, rdi
call fcn.140009fe0
mov dword [rsp + 0x20], 1
mov ebp, r14d
mov rdx, rdi
mov rcx, rbx
call fcn.140004d50
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140005030
mov rsi, rax
cmp rdi, rax
je 0x14000561a
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400055ee
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400055e9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400056a5
mov rcx, r8
call fcn.140027894
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005653
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000564e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400056a5
call fcn.140027894
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
lea rcx, [rbx + 0x18]
xor r8d, r8d
lea rdx, [0x1400557ce]
call fcn.14000c750
mov qword [rbx + 0x38], r14
inc ebp
cmp ebp, 0xa
jb 0x140005594
mov rax, rdi
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14002e3f8
int3
Function at 0x14000e740
Capabilities:
Hash data using crc32b

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edx, edx
add rcx, 4
mov r8d, 0x3fc
call fcn.14002a0f0
xor r10d, r10d
nop dword [rax]
mov ecx, r10d
mov r8d, r10d
and ecx, 1
shr r8d, 1
shl ecx, 7
mov edx, ecx
or edx, 0x40
test r8b, 1
cmove edx, ecx
shr r8d, 1
mov ecx, edx
or ecx, 0x20
test r8b, 1
cmove ecx, edx
shr r8d, 1
mov edx, ecx
or edx, 0x10
test r8b, 1
cmove edx, ecx
shr r8d, 1
mov ecx, edx
or ecx, 8
test r8b, 1
cmove ecx, edx
shr r8d, 1
mov edx, ecx
or edx, 4
test r8b, 1
cmove edx, ecx
shr r8d, 1
mov ecx, edx
or ecx, 2
test r8b, 1
cmove ecx, edx
mov eax, ecx
or eax, 1
test r8b, 2
cmove eax, ecx
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [rcx + rcx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [rdx + rdx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [rcx + rcx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [rdx + rdx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [rcx + rcx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [rdx + rdx]
xor ecx, eax
mov eax, ecx
add ecx, ecx
sar eax, 0x1f
and eax, 0x4c11db7
xor eax, ecx
xor r9d, r9d
lea r8d, [r9 + 0x1e]
nop dword [rax]
test al, 1
je 0x14000e872
lea ecx, [r8 + 1]
mov edx, 1
shl edx, cl
or r9d, edx
shr eax, 1
test al, 1
je 0x14000e885
mov ecx, r8d
mov edx, 1
shl edx, cl
or r9d, edx
shr eax, 1
sub r8d, 2
cmp r8d, 0xfffffffe
jg 0x14000e860
mov dword [rbx], r9d
inc r10d
add rbx, 4
cmp r10d, 0xff
jle 0x14000e760
add rsp, 0x20
pop rbx
ret

Function at 0x14000e8b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000e928
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000e928
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000e915
nop
cmp rbx, rcx
jae 0x14000e928
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000e900
cmp rbx, rcx
jae 0x14000e928
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x14000e92a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret