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

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1400111a0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r12, r9
mov rdi, r8
mov rax, rdx
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x70], rbx
xor edx, edx
lea r8d, [rbx + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140004ea0
call fcn.140002c1c
mov ebx, eax
jmp 0x140004faf
mov r8, r12
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x140004ec1
call fcn.140002c1c
jmp 0x140004fa3
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r12, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140004eb7
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, edi
jae 0x140004efc
mov ebx, 0x8007000e
jmp 0x140004fa5
mov ecx, eax
test eax, eax
je 0x140004f39
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140004f2f
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140004f39
lea rcx, [rsp + 0x70]
call fcn.14000358c
mov rax, qword [rsp + 0x70]
jmp 0x140004f43
mov ecx, 0x80070216
call fcn.140002c00
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140004f5a
test rax, rax
je 0x140004ef2
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r12
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x140004eb7
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], bx
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140004ccc
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x140004fc6
lea rcx, [rsp + 0x70]
call fcn.140003580
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400093b0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret

Function at 0x140005ac8
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1400111a0]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor ebx, ebx
cmp dword [0x1400113b4], ebx
je 0x140005af5
mov eax, dword [0x1400113b0]
jmp 0x140005b5a
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x11c
call sub.MSVCR100.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
mov r11d, 1
jne 0x140005b4b
cmp dword [rsp + 0x24], 6
jne 0x140005b4b
cmp dword [rsp + 0x28], ebx
jne 0x140005b4b
cmp byte [rsp + 0x13a], r11b
jne 0x140005b4b
cmp word [rsp + 0x134], bx
jne 0x140005b4b
mov ebx, r11d
mov dword [0x1400113b0], ebx
mov dword [0x1400113b4], r11d
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400093b0
add rsp, 0x150
pop rbx
ret
Function at 0x140005d98
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x450
mov rax, qword [0x1400111a0]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
lea rcx, [rsp + 0x22]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], si
call sub.MSVCR100.dll_memset
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140005e38
cmp eax, 0x104
ja 0x140005e38
lea rcx, [rsp + 0x232]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x230], si
call sub.MSVCR100.dll_memset
lea r8, [rsp + 0x20]
lea rdx, [0x14000d1e8]
lea rcx, [rsp + 0x230]
mov r9, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x140005e3a
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400093b0
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rsi
ret

Function at 0x140006068
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x68
test rdx, rdx
jne 0x140006075
xor eax, eax
jmp 0x1400060d2
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
add rsp, 0x68
ret

Function at 0x1400064f8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0xf50]
mov eax, 0x1050
call fcn.1400093e0
sub rsp, rax
mov rax, qword [0x1400111a0]
xor rax, rsp
mov qword [rbp + 0xf40], rax
mov rbx, rcx
mov edi, r8d
mov r12, rdx
lea rcx, [rsp + 0x42]
xor esi, esi
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x40], si
call sub.MSVCR100.dll_memset
lea r8, str.SOFTWAREClassesCLSID_sInprocServer32
lea rcx, [rsp + 0x40]
mov r9, rbx
mov edx, 0x400
call qword [sym.imp.MSVCR100.dll_swprintf_s]
lea rax, [rsp + 0x30]
neg edi
sbb rcx, rcx
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
add rcx, 0xffffffff80000002
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000659f
cmp eax, 2
sete sil
jmp 0x140006604
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x740]
lea rdx, [0x14000c344]
mov dword [rsp + 0x38], 0x800
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x1400065d8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x140006606
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 0x740]
sub rdx, r12
movzx eax, word [r12]
movzx ecx, word [r12 + rdx]
sub eax, ecx
jne 0x1400065fe
add r12, 2
test ecx, ecx
jne 0x1400065e8
test eax, eax
setne sil
mov eax, esi
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.1400093b0
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x1400068c8
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
test rcx, rcx
je 0x1400068f0
mov r8d, edx
mov rdx, rcx
lea rcx, str.USER_JPI_PROFILE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rbx + 1]
test eax, eax
cmovne ebx, ecx
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140007908
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400111a0]
xor rax, rsp
mov qword [rsp + 0x260], rax
movsxd r12, edx
mov rdi, rcx
xor ebx, ebx
mov word [rcx], bx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test eax, eax
jns 0x140007978
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.140008fb4
xor edx, edx
mov ecx, esi
call fcn.14000a000
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140002a54
mov rax, qword [rax]
test rax, rax
je 0x140007994
mov r8, qword [rax]
jmp 0x140007997
mov r8, rbx
mov rdx, r12
mov r9d, 0x104
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_wcsncpy_s]
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x1400079e9
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
dec eax
jne 0x1400079e9
test rdi, rdi
je 0x1400079e9
cmp qword [rdi], rbx
je 0x1400079d2
mov rcx, qword [rdi]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400079e0
call sub.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, rdi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
jmp 0x1400079f1
test esi, esi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400093b0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop r12
pop rdi
pop rsi
ret
Function at 0x140007a28
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400111a0]
xor rax, rsp
mov qword [rsp + 0x260], rax
movsxd r12, edx
mov rdi, rcx
xor ebx, ebx
mov word [rcx], bx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test eax, eax
jns 0x140007a98
mov edx, eax
lea rcx, str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.140008fb4
xor edx, edx
mov ecx, esi
call fcn.14000a000
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140002a54
mov rax, qword [rax]
test rax, rax
je 0x140007ab4
mov r8, qword [rax]
jmp 0x140007ab7
mov r8, rbx
mov rdx, r12
mov r9d, 0x104
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_wcsncpy_s]
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x140007b09
or eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
dec eax
jne 0x140007b09
test rdi, rdi
je 0x140007b09
cmp qword [rdi], rbx
je 0x140007af2
mov rcx, qword [rdi]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140007b00
call sub.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, rdi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
jmp 0x140007b11
test esi, esi
setns bl
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400093b0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop r12
pop rdi
pop rsi
ret
Function at 0x1400081a8
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x178]
sub rsp, 0x270
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1400111a0]
xor rax, rsp
mov qword [rbp + 0x160], rax
lea r8, [0x14000d7a8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCR100.dll__wdupenv_s]
test eax, eax
jne 0x140008355
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCR100.dll_free]
cmp qword [0x140011390], 0
je 0x140008216
mov eax, 1
jmp 0x140008357
lea rdx, [rsp + 0x50]
mov ebx, 0x104
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
ja 0x140008355
test eax, eax
je 0x140008355
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140002a54
nop
lea rdx, str.JavaDeployReg.log
lea rcx, [rsp + 0x30]
call fcn.140002a54
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.140005544
nop
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400082a9
or ecx, 0xffffffff
lock xadd dword [rax + 0x10], ecx
dec ecx
jne 0x1400082a9
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140008293
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400082a1
call sub.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, rbx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1400082b8
mov rdx, qword [rbx]
jmp 0x1400082ba
xor edx, edx
lea r8, [0x14000c864]
lea rcx, [0x140011390]
call qword [sym.imp.MSVCR100.dll__wfopen_s]
test eax, eax
je 0x14000830e
test rbx, rbx
je 0x140008355
or eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
dec eax
jne 0x140008355
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400082f6
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140008304
call sub.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, rbx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x140008355
test rbx, rbx
je 0x14000820c
or eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
dec eax
jne 0x14000820c
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000833a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140008348
call sub.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, rbx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x14000820c
xor eax, eax
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400093b0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rbp
ret
Function at 0x140008788
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r12, rcx
xor edi, edi
mov esi, edi
mov word [rcx], di
call fcn.140005c18
test eax, eax
je 0x1400087cc
call fcn.140008508
mov rsi, rax
test rax, rax
jne 0x1400087cc
call fcn.1400086b8
mov rsi, rax
mov dword [rsp + 0x20], 0x104
mov r9, r12
mov r8, rsi
xor edx, edx
lea rcx, [0x14000bcb0]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov ebx, eax
test eax, eax
jns 0x140008806
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.140008fb4
xor edx, edx
mov ecx, ebx
call fcn.14000a000
test rsi, rsi
je 0x140008815
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140008820
test ebx, ebx
jns 0x1400088a1
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
test eax, eax
jns 0x140008859
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
call fcn.140008fb4
xor edx, edx
mov ecx, ebx
call fcn.14000a000
nop
jmp 0x140008864
test ebx, ebx
jns 0x1400088a1
mov r9d, 1
lea r8d, [r9 + 0x19]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, eax
test eax, eax
jns 0x14000889b
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
call fcn.140008fb4
xor edx, edx
mov ecx, ebx
call fcn.14000a000
nop
jmp 0x1400088a1
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r12
pop rdi
pop rsi
ret
Function at 0x140008db4
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.1400093e0
sub rsp, rax
mov rax, qword [0x1400111a0]
xor rax, rsp
mov qword [rbp + 0xf80], rax
mov rsi, rcx
mov rdi, rdx
mov ebx, 0x7fe
lea rcx, [rbp + 0x782]
xor r13d, r13d
xor edx, edx
mov r8d, ebx
mov word [rbp + 0x780], r13w
call sub.MSVCR100.dll_memset
or r14, 0xffffffffffffffff
lea rcx, [rbp + 0x780]
mov r8, r14
mov r9, rsi
mov edx, 0x400
mov qword [rsp + 0x20], rdi
call qword [sym.imp.MSVCR100.dll__vsnwprintf_s]
test eax, eax
jns 0x140008e40
mov word [rbp + 0xf7e], r13w
xor edx, edx
lea rcx, [rsp + 0x42]
mov word [rsp + 0x40], r13w
lea r8d, [rdx + 0x3e]
call sub.MSVCR100.dll_memset
mov edi, 0x20
lea rcx, [rsp + 0x40]
mov edx, edi
call fcn.140008cf4
lea r8, [0x14000da74]
lea rcx, [rsp + 0x40]
mov edx, edi
call qword [sym.imp.MSVCR100.dll_wcscat_s]
lea rcx, [rbp - 0x7e]
mov r8, rbx
xor edx, edx
mov word [rbp - 0x80], r13w
call sub.MSVCR100.dll_memset
xor eax, eax
mov rcx, r14
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 6
jbe 0x140008ebc
lea rsi, [rsi + rcx*2 - 0xc]
lea rdi, str.__08x_
lea ecx, [rax + 7]
repe cmpsw word [rsi], word [rdi]
lea edx, [rax + 1]
je 0x140008ebf
mov edx, r13d
lea rdi, [rsp + 0x40]
mov rcx, r14
lea rbx, [0x14000da84]
repne scasw ax, word [rdi]
lea rax, str.Error:
test edx, edx
not rcx
cmovne rbx, rax
lea rsi, [rcx - 1]
lea r12, [rcx + rcx - 2]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, 0x3ff
sub rdx, rsi
lea rsi, [rbp + 0x780]
lea rcx, [rbp + r12 - 0x80]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rbx
lea r9, str.P:_04d_T:_04d__s_s
mov r8, r14
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call qword [sym.imp.MSVCR100.dll__snwprintf_s]
test eax, eax
jns 0x140008f51
mov rdx, r13
lea rax, [0x14000dbe0]
movzx eax, word [rdx + rax]
add rdx, 2
mov word [rbp + rdx + 0x774], ax
test ax, ax
jne 0x140008f35
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
mov r8, r12
call sub.MSVCR100.dll_memcpy
xor eax, eax
lea rdi, [rbp - 0x80]
mov rcx, r14
repne scasw ax, word [rdi]
mov eax, dword [0x14000dab4]
lea rcx, [rbp - 0x80]
mov dword [rdi - 2], eax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.1400093b0
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x14000999f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400111a0]
jne 0x1400093ca
rol rcx, 0x10
test cx, 0xffff
jne 0x1400093c6
repz ret
ror rcx, 0x10
jmp 0x1400098f8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400114a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140011598]
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 0x14000997d
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, [0x1400114a0]
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 0x14000999f
mov rax, qword [rsp + 0x88]
mov qword [0x140011598], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140011538], rax
mov rax, qword [0x140011598]
mov qword [0x140011410], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140011520], rax
mov dword [0x140011400], 0xc0000409
mov dword [0x140011404], 1
mov rax, qword [0x1400111a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400111a8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140011498], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000dc30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140011498], 0
jne 0x140009a26
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 0x140001390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0
jmp 0x140001441
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x20], eax
jae 0x1400014b5
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140001180
cmp eax, dword [rsp + 0x78]
jne 0x1400014b3
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
lea rcx, str.successfully_found___s____d_n
call fcn.140001100
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x1400014b7
jmp 0x140001437
xor eax, eax
add rsp, 0x68
ret
Function at 0x1400016a0
Capabilities:
Bypass uac via icmluautil

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x34], 0xc0000022
mov dword [rsp + 0x30], 0x80004005
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x78], 0
mov ecx, 0x35c206b
call fcn.1400012c0
mov qword [rsp + 0x50], rax
mov ecx, 0x200c58
call fcn.1400012c0
mov qword [rsp + 0x40], rax
mov edx, 0xf0b0381a
mov rcx, qword [rsp + 0x50]
call fcn.140001390
mov qword [rsp + 0x58], rax
lea rcx, [0x140003328]
call qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
mov edx, 0x1a56e1b0
mov rcx, qword [rsp + 0x40]
call fcn.140001390
mov qword [rsp + 0x70], rax
mov edx, 0x1a76e79e
mov rcx, qword [rsp + 0x40]
call fcn.140001390
mov qword [rsp + 0x60], rax
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x38], eax
lea r9, [rsp + 0x78]
mov r8d, 4
lea rdx, [0x140003420]
lea rcx, str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
call fcn.1400014c0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140001785
jmp 0x1400017e2
cmp qword [rsp + 0x78], 0
jne 0x140001797
mov dword [rsp + 0x30], 0x8007000e
jmp 0x1400017e2
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
call qword [rax + 0x48]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1400017d8
mov dword [rsp + 0x34], 0
xor eax, eax
test eax, eax
jne 0x14000175a
cmp qword [rsp + 0x78], 0
je 0x1400017fa
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [rax + 0x10]
cmp dword [rsp + 0x38], 0
jne 0x140001805
call qword [rsp + 0x60]
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140001d70
add rsp, 0x98
ret

Function at 0x140002764
Capabilities:
Parse pe header

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