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

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc502322
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc526108]
test eax, eax
je 0x2fc5023ba
lea rax, [0x2fc5260e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc526110]
mov qword [rbp - 8], rax
jmp 0x2fc50239e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc502392
cmp qword [rbp - 0x10], 0
je 0x2fc502392
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc502358
lea rax, [0x2fc5260e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc5023bb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc5024c0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc5024e8
mov eax, 0
jmp 0x2fc502536
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc502511
mov eax, 0
jmp 0x2fc502536
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc502531
mov eax, 0
jmp 0x2fc502536
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc50253c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc5025ba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc5025b1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc5025b1
mov rax, qword [rbp - 8]
jmp 0x2fc5025cf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc502584
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140003a88
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
or ebx, 0xffffffff
lea rax, [rcx - 1]
mov rdi, rcx
cmp rax, 0xfffffffffffffffd
ja 0x140003b56
and dword [rsp + 0x40], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
nop dword [rax + rax]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
lea r8d, [rbx + 4]
mov rcx, rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
je 0x140003b56
cmp dword [rsp + 0x48], 3
jb 0x140003b56
lea rdx, [0x14000a6bc]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
nop dword [rax + rax]
test eax, eax
jne 0x140003b0d
xor ebx, ebx
jmp 0x140003b56
lea rdx, [0x14000a6c0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.cmutil.dll_CmCompareStringA]
nop dword [rax + rax]
test eax, eax
je 0x140003b56
xor ecx, ecx
xor r8d, r8d
mov al, byte [rsp + r8 + 0x40]
sub al, 0x30
cmp al, 9
ja 0x140003b51
lea edx, [rcx + rcx*4]
movsx ecx, byte [rsp + r8 + 0x40]
inc r8
lea ecx, [rcx + rdx*2]
add ecx, 0xffffffd0
cmp r8, 3
jl 0x140003b2e
test ecx, ecx
cmovne ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140006758
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, r9
mov r15, r8
mov rsi, rdx
mov rbp, rcx
test r9, r9
jne 0x140006788
xor eax, eax
jmp 0x140006822
mov edi, 0x104
mov ecx, edi
call qword [sym.imp.cmutil.dll_CmMalloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14000681f
mov qword [rsp + 0x28], r14
mov r9, rax
mov r8, r15
mov dword [rsp + 0x20], edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
nop dword [rax + rax]
lea ecx, [rdi - 2]
cmp eax, ecx
jne 0x1400067d5
test rbp, rbp
je 0x1400067e6
test rsi, rsi
je 0x1400067e6
lea ecx, [rdi - 1]
cmp eax, ecx
jne 0x14000680a
test rbp, rbp
je 0x14000680a
test rsi, rsi
je 0x14000680a
lea eax, [rdi + rdi]
mov edi, eax
cmp eax, 0x100000
ja 0x14000681f
mov edx, edi
mov rcx, rbx
call qword [sym.imp.cmutil.dll_CmRealloc]
nop dword [rax + rax]
test rax, rax
jne 0x14000679b
jmp 0x14000680e
test eax, eax
jne 0x14000681f
mov rcx, rbx
call qword [sym.imp.cmutil.dll_CmFree]
nop dword [rax + rax]
xor ebx, ebx
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140006aa4
Capabilities:
Copy file
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbp, rdx
mov rsi, rcx
test rcx, rcx
je 0x140006c73
test rdx, rdx
je 0x140006c73
cmp byte [rcx], 0
je 0x140006c73
cmp byte [rdx], 0
je 0x140006c73
mov edi, 8
call qword [sym.imp.KERNEL32.dll_lstrlenA]
nop dword [rax + rax]
lea r12, str..bak
mov ebx, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenA]
nop dword [rax + rax]
lea ecx, [rax + 1]
add ecx, ebx
mov r15d, ecx
call qword [sym.imp.cmutil.dll_CmMalloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140006c43
mov qword [rsp + 0x38], r12
lea rax, str._s_s
mov qword [rsp + 0x30], rsi
lea r14d, [rdi - 7]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x800
mov edx, r15d
mov rcx, rbx
call fcn.1400022d8
test eax, eax
jns 0x140006b73
movzx edi, ax
jmp 0x140006c43
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileA]
nop dword [rax + rax]
test eax, eax
jne 0x140006bb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [0x14000e0a0]
lea rdx, str.OverwriteVpnFileWithUpdate____CopyFile_of_the_original_file_to_the_backup_file_failed__GLE__d._Marking_as_non_fatal.
mov r8d, eax
call fcn.140007c34
xor r14d, r14d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CopyFileA]
nop dword [rax + rax]
test eax, eax
je 0x140006bcd
xor edi, edi
jmp 0x140006c2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [0x14000e0a0]
lea rdx, str.OverwriteVpnFileWithUpdate____CopyFile_of_the_new_file_over_the_original_file_failed__GLE__d
mov r8d, eax
mov edi, eax
call fcn.140007c34
test r14d, r14d
je 0x140006c43
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileA]
nop dword [rax + rax]
test eax, eax
jne 0x140006c2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [0x14000e0a0]
lea rdx, str.OverwriteVpnFileWithUpdate____CopyFile_to_restore_the_saved_backup_file_failed__GLE__d
mov r8d, eax
call fcn.140007c34
test r14d, r14d
je 0x140006c43
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.cmutil.dll_CmFree]
nop dword [rax + rax]
mov ecx, dword [0x14000e0a0]
lea rdx, str.OverwriteVpnFileWithUpdate____VPN_file_update_succeeded_
test edi, edi
je 0x140006c6a
lea rdx, str.OverwriteVpnFileWithUpdate____VPN_file_update_failed.
call fcn.140007c34
mov eax, edi
jmp 0x140006c75
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x140007630
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
and dword [rcx + 8], 0
lea r8, str.Connection_Manager_Phonebook_Access
mov rbx, rcx
lea rdx, str.CNamedMutex::Lock_____Attempting_to_acquire_mutex____s
mov ecx, dword [0x14000e0a0]
call fcn.140007c34
lea r8, str.Connection_Manager_Phonebook_Access
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
nop dword [rax + rax]
mov qword [rbx], rax
test rax, rax
je 0x1400076de
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
je 0x140007699
mov dword [rbx + 8], 1
mov eax, 1
jmp 0x1400076e0
mov ecx, dword [0x14000e0a0]
lea r8, str.Connection_Manager_Phonebook_Access
lea rdx, str.CNamedMutex::Lock_____Mutex_already_exists____s
call fcn.140007c34
mov ecx, dword [0x14000e0a0]
lea r8, str.Connection_Manager_Phonebook_Access
lea rdx, str.CNamedMutex::Lock_____Not_waiting_for_mutex____s
call fcn.140007c34
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
and qword [rbx], 0
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400076f0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
xor r9d, r9d
and qword [rax - 0x18], rbx
mov edx, 0x80000000
mov dword [rax - 0x20], 0x80
mov rdi, rcx
mov dword [rax - 0x28], 3
lea r8d, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
nop dword [rax + rax]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140007756
mov ecx, dword [0x14000e0a0]
lea rdx, str.GetVersionFromFile___CreateFile___failed____s.
mov r8, rdi
call fcn.140007c34
jmp 0x14000780d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
nop dword [rax + rax]
mov esi, eax
cmp eax, 0x7fff
jb 0x140007787
lea rdx, str.GetVersionFromFile___Version_file_is_too_large____s.
mov ecx, dword [0x14000e0a0]
mov r8, rdi
call fcn.140007c34
jmp 0x1400077fe
mov rcx, rsi
call qword [sym.imp.cmutil.dll_CmMalloc]
nop dword [rax + rax]
mov rbx, rax
mov r8d, esi
test rax, rax
je 0x1400077ec
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x1400077cb
lea rdx, str.GetVersionFromFile___ReadFile___failed____s.
jmp 0x140007777
mov cl, byte [rbx]
mov rdx, rbx
test cl, cl
je 0x1400077fe
lea eax, [rcx - 9]
test al, 0xfa
jne 0x1400077e0
cmp cl, 0xe
jne 0x1400077e7
inc rdx
mov cl, byte [rdx]
jmp 0x1400077d0
mov byte [rdx], 0
jmp 0x1400077fe
mov ecx, dword [0x14000e0a0]
lea rdx, str.GetVersionFromFile___CmMalloc__u__failed.
call fcn.140007c34
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rbp, qword [rsp + 0x60]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14000782c
Capabilities:
Create directory
Delete directory
Delete file
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14000e088]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x1400079c5
mov esi, 0x105
lea rcx, [rsp + 0x30]
mov r8d, esi
xor edx, edx
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x30]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
nop dword [rax + rax]
test eax, eax
jne 0x1400078ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [0x14000e0a0]
lea rdx, str.CreateTempDir___GetTempPath_failed__GLE_u.
mov r8d, eax
call fcn.140007c34
lea r8, [0x14000a444]
mov edx, esi
lea rax, [rsp + 0x30]
sub r8, rax
lea rcx, [rsp + 0x30]
lea rax, [rdx + 0x7ffffef9]
test rax, rax
je 0x1400078df
mov al, byte [r8 + rcx]
test al, al
je 0x1400078df
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x1400078c0
test rdx, rdx
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], bl
lea r9, [rsp + 0x140]
xor r8d, r8d
lea rdx, [0x14000a7b0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
nop dword [rax + rax]
test eax, eax
jne 0x140007928
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea rdx, str.CreateTempDir___GetTempFileName_failed__GLE_u.
jmp 0x14000796b
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14000797b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea rdx, str.CreateTempDir___CreateDirectory___failed__GLE_u.
mov ecx, dword [0x14000e0a0]
mov r8d, eax
call fcn.140007c34
jmp 0x1400079c5
lea r8, [rsp + 0x140]
mov dword [rsp + 0x28], 0x100
mov rdx, rsi
mov rcx, rdi
call fcn.140001da4
test eax, eax
jns 0x1400079c5
mov ecx, dword [0x14000e0a0]
lea rdx, str.CreateTempDir_____StringCchCopyEx_failed:_0x_x_n
mov r8d, eax
call fcn.140007c34
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
nop dword [rax + rax]
xor ebx, ebx
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400080a0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400079f4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x14000e0a0], 0xffffffff
je 0x140007a0d
mov ebx, 0xb7
jmp 0x140007b4c
xor ebx, ebx
lock inc dword [0x14000e688]
xor edx, edx
lea rcx, str.RTUTILS.DLL
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
nop dword [rax + rax]
mov qword [0x14000e698], rax
test rax, rax
je 0x140007aff
lea rdx, str.TraceRegisterExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x14000e670], rax
test rax, rax
je 0x140007aff
mov rcx, qword [0x14000e698]
lea rdx, str.TraceDeregisterExA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x14000e668], rax
test rax, rax
je 0x140007aff
mov rcx, qword [0x14000e698]
lea rdx, str.TracePrintfA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x14000e690], rax
test rax, rax
je 0x140007aff
mov rcx, qword [0x14000e698]
lea rdx, str.TracePrintfExA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x14000e678], rax
test rax, rax
je 0x140007aff
mov rcx, qword [0x14000e698]
lea rdx, str.TraceDumpExA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x14000e680], rax
test rax, rax
jne 0x140007b0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
lock dec dword [0x14000e688]
test ebx, ebx
jne 0x140007b4c
mov rax, qword [0x14000e670]
test rax, rax
je 0x140007b4c
xor edx, edx
lea rcx, [0x140009da8]
call qword [0x140009690]
mov dword [0x14000e0a0], eax
cmp eax, 0xffffffff
jne 0x140007b4c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140007e30
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
add r14, 0x18
mov r15, qword [r14]
mov r12, r15
add r12, 0x10
mov r14, qword [r12]
push rax
mov r12, qword [r14 + 0x30]
cmp r12, 0
je 0x140007e8a
mov r15, qword [r14 + 0x60]
mov rax, qword [r15]
and eax, 0xdf00df
mov r15, qword [r15 + 0xb]
add r15d, eax
shr r15d, 2
sub r15d, 0xc914cd2
cmp r15, 0
je 0x140007e92
mov r14, qword [r14]
jmp 0x140007e5b
mov r14d, dword [r12 + 0x3c]
add r14, r12
add r14, 0x10
mov r15d, dword [r14 + 0x78]
add r15, r12
push r10
mov eax, dword [r15 + 0x20]
add rax, r12
mov r10d, dword [rax]
add r10, r12
mov r14d, dword [r10 + 0xb]
sub r14d, 0x746365
cmp r14d, 0
jne 0x140007ec7
jmp 0x140007ed5
inc rax
inc rax
inc rax
inc rax
jmp 0x140007eae
mov r14d, dword [r15 + 0x20]
sub rax, r14
sub rax, r12
shr eax, 1
mov r14d, dword [r15 + 0x24]
add r14, rax
add r14, r12
mov eax, dword [r14]
mov r14d, dword [r15 + 0x1c]
shl eax, 0x10
shr eax, 0xe
add r14, r12
add r14, rax
mov eax, dword [r14]
add rax, r12
mov r14d, 0x75000
add r14, r11
push r12
push r11
push r14
push r10
push r10
push rax
mov rcx, r14
mov r9, rsp
mov r8d, 0x40
mov edx, 0x55000
call rax
pop r15
pop r10
pop r10
pop r14
pop r11
mov r12d, 0x4add
push rax
movabs r15, 0x3ae00
mov eax, 3
imul r12, rax
movabs rax, 0x377a
add rax, r11
add r12, rax
call fcn.140007f8c
mov r12d, 0x4d611
movabs r14, 0xb5000
add r12, r11
mov r15d, 0x3b30
add r14, r11
call fcn.140007f8c
pop rax
jmp 0x140007fb2
nop
ret
mov r12d, 0x8000000
mov r15d, 0x23b
movabs r14, 0x75000
mov eax, 7
imul r15d, eax
add r15d, 0x63
add r14, r11
sub r14, r15
mov r15, r14
sub r15, r12
mov r12d, 0x52211
add r12, r11
mov eax, dword [r12]
xor eax, 0xdac1bd04
dec eax
cmp eax, 0
je 0x14000800f
add rax, r14
mov r10, qword [rax]
add r10, r15
mov qword [rax], r10
add r12, 4
jmp 0x140007fed
sub rsp, 0x28
movabs r14, 0x3852
mov r12d, 0x6251
add r12, 0x8f2e9
add r12, r14
add r12, r11
push r12
dec r10
lea r15d, [eax]
jmp 0x140007fb0

Function at 0x1400082ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140008338
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140008330
cmp dword [rcx + 0x3c], edx
jl 0x140008330
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140008330
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 0x140008338
mov rax, rdx
add rsp, 0x18
ret
Function at 0x18001106e
Capabilities:
Suspend thread

Disassembly:
jmp 0x180016960
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
cmp dword [0x180028494], 0
je 0x18001697e
mov eax, dword [0x180028494]
jmp 0x180016a47
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp qword [rsp + 0x50], rax
jne 0x180016992
xor eax, eax
jmp 0x180016a47
mov ecx, 0x10
call fcn.180011046
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180016a00
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x1800169e5
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.180011433
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x180028494], eax
mov qword [0x180028498], 0
mov eax, dword [rsp + 0x20]
jmp 0x180016a47
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x180016a1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
jmp 0x1800169bb
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1800284a0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1800284a0], rax
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x18001114f
Capabilities:
Parse pe header

Disassembly:
jmp 0x180017ea0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x20]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xb0]
add rax, 0x10000
mov qword [rsp + 0x20], rax
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1800113ed
jmp 0x180017f02
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov r8d, 0x30
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
ja 0x180017f22
jmp 0x180017fc5
cmp dword [rsp + 0x58], 0x1000
jne 0x180017f47
mov eax, dword [rsp + 0x5c]
and eax, 0xff
cmp eax, 1
je 0x180017f47
mov eax, dword [rsp + 0x5c]
and eax, 0x100
test eax, eax
je 0x180017f49
jmp 0x180017eed
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x180017f7f
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x3c]
cmp rax, qword [rsp + 0x50]
ja 0x180017f7f
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x3c]
cmp rax, 0x40
jae 0x180017f84
jmp 0x180017eed
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0x4550
jne 0x180017eed
mov rax, qword [rsp + 0x78]
jmp 0x180017fc7
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180024530]
call fcn.180011447
mov rax, rdi
add rsp, 0xa0
pop rdi
ret
Function at 0x1800112da
Capabilities:
Terminate process

Disassembly:
jmp 0x18001c060
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1800113d4
Capabilities:
Resume thread

Disassembly:
jmp 0x1800160a0
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x180028490], eax
je 0x1800160cf
mov eax, 0x10dd
jmp 0x1800161f6
mov rax, qword [0x1800284a8]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x18001617a
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x34]
mov rcx, qword [rsp + 0x20]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x20]
cmp dword [rax + 8], 0
jne 0x180016145
mov rax, qword [rsp + 0x20]
cmp qword [rax + 0x20], 0
je 0x180016145
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x20]
call fcn.180014320
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x60], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x60]
call fcn.180011433
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
jmp 0x1800160db
mov qword [0x1800284a8], 0
call fcn.180015070
mov rax, qword [0x1800284a0]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1800161df
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x68]
call fcn.180011433
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
jmp 0x180016196
mov qword [0x1800284a0], 0
mov dword [0x180028490], 0
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180023b60]
call fcn.180011447
mov rax, rdi
add rsp, 0x70
pop rdi
ret