joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a098
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x160
mov rax, qword [0x140036558]
xor rax, rsp
mov qword [rsp + reloc.MFC42u.dll_CDocObjectServerItem::CDocObjectServerItem], rax
mov rsi, r9
mov rbx, r8
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov rbp, qword [rsp + 0x1b8]
lea rax, vtable.CMSInfoCategory.0
mov qword [rcx], rax
xor r14d, r14d
mov qword [rcx + 8], r14
mov rax, qword [rsp + reloc.MFC42u.dll_COleControlContainer::COleControlContainer]
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r14
mov qword [rcx + 0x20], r14
mov rax, qword [rsp + 0x1b0]
mov qword [rcx + 0x28], rax
or dword [rcx + 0x30], 0xffffffff
mov dword [rcx + 0x3c], r14d
mov qword [rcx + 0x40], 1
mov dword [rcx + 0x48], r14d
mov rax, qword [rsp + 0x1c0]
mov qword [rcx + 0x50], rax
mov dword [rcx + 0x58], r14d
mov qword [rcx + 0x60], r14
mov qword [rcx + 0x68], r14
mov qword [rcx + 0x70], r14
mov dword [rcx + 0x78], edx
mov dword [rcx + 0x7c], edx
sub rcx, 0xffffffffffffff80
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
lea rcx, [rdi + 0x88]
mov rdx, rbx
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop dword [rax + rax]
mov dword [rdi + 0x90], r14d
mov rdx, qword [rdi + 0x50]
mov rcx, rdx
test rdx, rdx
je 0x14000a1a6
cmp dword [rcx + 8], r14d
jne 0x14000a186
mov rax, qword [rcx + 0x10]
cmp dword [rax - 8], r14d
je 0x14000a18f
inc dword [rdi + 0x48]
add rcx, 0x28
jne 0x14000a176
cmp dword [rdx + 0x1c], r14d
je 0x14000a1a6
mov dword [rdi + 0x30], r14d
mov dword [rdi + 0x38], 1
mov eax, dword [rdx + 0x20]
mov dword [rdi + 0x34], eax
mov ebx, dword [rsp + 0x1d0]
test ebx, ebx
je 0x14000a1eb
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
nop dword [rax + rax]
test eax, eax
je 0x14000a1eb
mov eax, r14d
cmp ebx, 1
jne 0x14000a1e0
cmp dword [rsp + 0x40], 2
setne al
jmp 0x14000a1e8
cmp dword [rsp + 0x40], 2
sete al
mov dword [rdi + 0x3c], eax
lea rax, vtable.CMSInfoLiveCategory.0
mov qword [rdi], rax
mov dword [rdi + 0x98], r14d
mov eax, dword [rsp + 0x1a0]
mov dword [rdi + 0x9c], eax
mov qword [rdi + 0xa0], rsi
lea rcx, [rdi + 0xa8]
lea rdx, [0x140028f84]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop dword [rax + rax]
nop
lea rcx, [rdi + 0xb0]
mov rdx, rbp
call qword [sym.imp.MFC42u.dll_CControlBar::CControlBar]
nop dword [rax + rax]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14000a254
cmp qword [rax + 0x18], r14
jne 0x14000a254
mov qword [rax + 0x18], rdi
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14000a282
mov rax, qword [rcx + 0x20]
test rax, rax
jne 0x14000a26c
mov qword [rcx + 0x20], rdi
jmp 0x14000a282
mov rcx, qword [rax + 0x20]
jmp 0x14000a279
mov rax, rcx
mov rcx, qword [rcx + 0x20]
test rcx, rcx
jne 0x14000a272
mov qword [rax + 0x20], rdi
mov rax, rdi
mov rcx, qword [rsp + reloc.MFC42u.dll_CDocObjectServerItem::CDocObjectServerItem]
xor rcx, rsp
call fcn.140005280
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14000aa50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x30]
test rbx, rbx
jne 0x14000aa6d
mov eax, 0x80004005
jmp 0x14000aaf1
mov rdi, qword [rbx + 0x98]
and qword [rbx + 0x98], 0
and qword [rbx], 0
cmp qword [rbx + 0xa0], 0
jne 0x14000aadc
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x60]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
nop dword [rax + rax]
lea rcx, [rbx + 0xa8]
mov r9, rbx
mov qword [rsp + 0x28], rcx
lea r8, [0x14000afe0]
and dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [rbx + 0xa0], rax
mov rcx, rbx
call fcn.14000b738
mov eax, dword [rbx + 0x94]
mov qword [rbx + 0x98], rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14000aef8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, r8d
mov dword [rcx + 0x10], 1
mov rdi, rdx
mov rsi, rcx
call fcn.14000b738
cmp qword [rsi + 0xa0], 0
mov rcx, qword [rsi + 0x58]
mov dword [rsi + 0x10], 0
mov dword [rsi + 0x18], ebx
mov dword [rsi + 0x1c], 0
mov qword [rsi], rdi
mov dword [rsi + 0x10], 0
mov dword [rsi + 0x20], 0
jne 0x14000af9c
call qword [sym.imp.KERNEL32.dll_ResetEvent]
nop dword [rax + rax]
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
nop dword [rax + rax]
lea rax, [rsi + 0xa8]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14000afe0]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [rsi + 0xa0], rax
jmp 0x14000afb8
call qword [sym.imp.KERNEL32.dll_ResetEvent]
nop dword [rax + rax]
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000bbf0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rbx
push rdi
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140036558]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov ebx, r8d
movaps xmm6, xmm1
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x70], 0x2c
mov qword [rsp + 0x68], 0x2e
mov r9d, 4
lea r8, [rsp + 0x70]
lea edx, [r9 + 0xb]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
nop dword [rax + rax]
mov r9d, 4
lea r8, [rsp + 0x68]
lea edx, [r9 + 0xa]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
nop dword [rax + rax]
xor edx, edx
mov dword [rsp + 0x44], edx
mov qword [rsp + 0x48], 3
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x68]
lea rcx, [0x140028f84]
test ebx, ebx
cmove rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], ebx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
mov r8d, ebx
lea rdx, str.__._df
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC42u.dll_CPtrList::FreeNode]
nop dword [rax + rax]
movaps xmm2, xmm6
movq r8, xmm6
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CPtrList::FreeNode]
nop dword [rax + rax]
lea r8, [0x140029dd8]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.14001916c
mov dword [rsp + 0x28], 0x104
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x30]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
nop dword [rax + rax]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
mov rax, rdi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140005280
movaps xmm6, xmmword [rsp + 0x2a0]
add rsp, 0x2b0
pop rdi
pop rbx
pop rbp
ret
Function at 0x140014174
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x198]
sub rsp, 0x298
mov rax, qword [0x140036558]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov ebx, r9d
mov rdi, r8
mov r15, rdx
mov r14, rcx
mov dword [rsp + 0x40], 0x208
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
mov edx, ebx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
je 0x14001433f
mov edx, 0x153
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
nop dword [rax + rax]
test eax, eax
je 0x14001433f
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 1]
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140014344
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 2]
mov r8, rdi
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x140014285
movzx edi, ax
or edi, 0x80070000
mov rax, qword [r14]
movabs r10, 0xab881e03545bcb70
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, r15
mov rcx, r14
mov rax, qword [rax + 0x60]
call qword [0x1400283f8]
mov rsi, qword [r14]
test edi, edi
js 0x140014305
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop dword [rax + rax]
nop
movabs r10, 0xab881e03545bcb70
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8, rax
lea rdx, [r15 + 0x38]
mov rcx, r14
mov rax, qword [rsi + 0x60]
call qword [0x1400283f8]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
jmp 0x14001432c
movabs r10, 0xab881e03545bcb70
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [rsp + 0x48]
lea rdx, [r15 + 0x38]
mov rcx, r14
mov rax, qword [rsi + 0x60]
call qword [0x1400283f8]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140014344
mov ebx, 0x80070490
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140005280
add rsp, 0x298
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140015a00
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
lea rcx, [rbp - 0x10]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
nop
test rbx, rbx
je 0x140015b01
mov edx, 0x41b
lea rcx, [rbp - 0x10]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
nop dword [rax + rax]
mov edx, 0x153
lea rcx, [rbp + 0x38]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
nop dword [rax + rax]
or dword [rbp + 0x30], 0xffffffff
lea r9, [rbp + 0x30]
mov r8d, 1
lea rdx, [rbp + 0x20]
mov ecx, 0xca
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax + rax]
test eax, eax
js 0x140015aad
lea rcx, [rbp + 0x38]
cmp byte [rbp + 0x20], 1
mov edx, 0x2f0
je 0x140015aa1
mov edx, 0x2f1
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
nop dword [rax + rax]
mov rax, qword [rbx]
movabs r10, 0xab881e03545bcb70
and dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp - 0x10]
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 0x60]
call qword [0x1400283f8]
mov rax, qword [rbx]
lea rdx, [rdi + 0x38]
movabs r10, 0xab881e03545bcb70
and dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0x38]
mov rcx, rbx
mov rax, qword [rax + 0x60]
call qword [0x1400283f8]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
xor eax, eax
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
Function at 0x140015b34
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x10], 0
mov r15, rdx
lea rdx, str.NgscbCheckIsAOACDevice
mov byte [rbp - 0x1f], 0
mov rsi, r9
mov byte [rbp - 0x20], 0
mov r14, r8
mov byte [rbp - 0x1e], 0
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov r12, rax
test rax, rax
je 0x140015d41
lea rdx, str.NgscbCheckIsHSTIVerified
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140015d41
lea rdx, str.NgscbCheckHSTIPrerequisitesVerified
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov r13, rax
test rax, rax
je 0x140015d41
lea rdx, str.NgscbCheckDmaSecurity
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140015d41
movabs r10, 0xbe41b6203a52d870
lea rcx, [rbp - 0x1f]
mov rax, r12
call qword [0x1400283f8]
test eax, eax
js 0x140015c1a
cmp byte [rbp - 0x1f], 0
jne 0x140015d41
movabs r10, 0x8e61174f725e7b70
xor r8d, r8d
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x20]
mov rax, rdi
call qword [0x1400283f8]
test eax, eax
js 0x140015d2e
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x140015d2e
movabs r10, 0xe941af5c3ede9870
xor r8d, r8d
lea rcx, [rbp - 0x1e]
mov rax, rbx
call qword [0x1400283f8]
test eax, eax
js 0x140015c71
cmp byte [rbp - 0x1e], 0
jne 0x140015c84
mov r9, rsi
mov r8, r14
mov edx, 0x3c0
mov rcx, r15
call fcn.140017efc
cmp byte [rbp - 0x20], 0
jne 0x140015d04
and dword [rbp - 0x18], 0
lea rax, [rbp - 0x18]
and dword [rbp - 0x1c], 0
lea r8, str.HSTIVerificationRequired
mov qword [rsp + 0x30], rax
lea rdx, str.SYSTEMCurrentControlSetControlBitLockerAutoDEHSTI
lea rax, [rbp - 0x1c]
mov r9d, SafeArrayLock
mov qword [rsp + 0x28], rax
mov rcx, 0xffffffff80000002
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x140015cdd
movzx eax, ax
or eax, 0x80070000
cmp eax, 0x80070002
jne 0x140015ce8
xor ecx, ecx
jmp 0x140015cef
test eax, eax
js 0x140015d2e
mov ecx, dword [rbp - 0x1c]
movzx eax, byte [rbp - 0x20]
test ecx, ecx
mov edx, 1
cmove eax, edx
mov byte [rbp - 0x20], al
test al, al
je 0x140015d2e
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x140015d2e
movabs r10, 0xc43d87db3250a970
lea rcx, [rbp - 0x20]
mov rax, r13
call qword [0x1400283f8]
test eax, eax
js 0x140015d2e
cmp byte [rbp - 0x20], 0
jne 0x140015d41
mov r9, rsi
mov r8, r14
mov edx, 0x3bf
mov rcx, r15
call fcn.140017efc
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x140015d6a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140004580
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140065010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, rcx
mov rdi, rdx
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.LoadLibraryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, 0xffffffffffffffff
mov r14, rax
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x1400045d0
inc r8
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x14000463a
lea rdx, str.Failed_allocating_memory_in_the_target_process._GetLastError__:
lea rcx, [0x1400670a0]
call fcn.140011940
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140009e90
mov rcx, rax
lea rdx, [0x1400557ec]
call fcn.140011940
xor al, al
jmp 0x14000473d
mov qword [rsp + 0x90], r15
cmp byte [rdi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140004642
xor r15d, r15d
lea r9, [rbx + 1]
mov r8, rdi
mov qword [rsp + 0x20], r15
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140004675
lea rdx, str.Failed_writing_to_process._GetLastError__:
jmp 0x1400046a4
mov qword [rsp + 0x30], r15
mov r9, r14
mov dword [rsp + 0x28], r15d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
jne 0x1400046d6
lea rdx, str.Failed_to_create_a_thread_in_the_target_process._GetLastError__:
lea rcx, [0x1400670a0]
call fcn.140011940
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140009e90
mov rcx, rax
lea rdx, [0x1400557ec]
call fcn.140011940
xor al, al
jmp 0x140004735
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r15d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x40], r15d
jne 0x140004733
lea rdx, str.LoadLibrary_failed_with_exit_code_0._n
lea rcx, [0x1400670a0]
call fcn.140011940
xor al, al
jmp 0x140004735
mov al, 1
mov r15, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001d300
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400086c0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400086e2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000875c
mov rdi, r14
mov rcx, rbx
call fcn.14000d0e0
test rax, rax
jle 0x140008734
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.140020fd0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000874c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140008754
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400086f6
sub r14, rdi
jmp 0x14000883f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140008773
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140008775
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400087a7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140020fd0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000883c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400087e2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14000881d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14002a0c4
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000883c
cmp rbp, rax
ja 0x1400087f0
test rbp, rbp
je 0x14000883c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14002a0c4
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret

Function at 0x14001de04
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14001e728
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14004a510]
cmp byte [rcx + rax], 0
je 0x14001e728
dec r8
sub rdx, 1
jne 0x14001e70e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140025250
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140046ad0
sub rsp, rax
mov rax, qword [0x140065010]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140033b58
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002529f
mov rax, rbp
jmp 0x1400253a7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x679b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140033de8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x679b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400253a3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400253a3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140033de8
test rax, rax
js 0x1400253a3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400253a3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140025395
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140025395
cmp byte [rcx], 0xd
jne 0x14002537b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002538a
cmp byte [rcx + 1], 0xa
jne 0x14002538a
inc rcx
jmp 0x14002538a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x65460]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002535d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400253a7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14001d300
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14002fd80
Capabilities:
Parse pe header

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