joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400475d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r14, rdx
mov rsi, rcx
movzx r12d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
movzx eax, byte [r8 + 1]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 2]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 3]
xor r12, rax
imul r12, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x140047657
mov rbx, r15
mov rbp, r15
jmp 0x14004769a
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x140047671
cmp rbx, rcx
je 0x140047694
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x140047663
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x492492492492492
cmp qword [rsi + 0x10], rax
je 0x140047800
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x38
call fcn.1401629b8
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r13]
mov dword [rdi + 0x10], eax
xorps xmm0, xmm0
movups xmmword [rdi + 0x18], xmm0
xor r13d, r13d
mov qword [rdi + 0x28], r13
mov qword [rdi + 0x30], 7
mov word [rdi + 0x18], r13w
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x140047704
cvtsi2ss xmm0, rcx
jmp 0x140047719
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14004772c
cvtsi2ss xmm1, rcx
jmp 0x140047741
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x1400477a1
mov rcx, rsi
call fcn.140048c40
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
je 0x140047794
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x140047791
nop
mov rbx, rax
cmp rax, rdx
je 0x1400477d5
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140047780
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x1400477dc
mov qword [rcx + rax*8], rdi
jmp 0x1400477ee
mov qword [rsp + 0x20], rax
jmp 0x140047799
cmp r8, rbp
jne 0x1400477e7
mov qword [rcx + rax*8], rdi
jmp 0x1400477f3
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1400477f3
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x140047679
lea rcx, str.unordered_map_set_too_long
call fcn.1401610bc
int3
Function at 0x140051ba0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140280d40]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rcx
xor r15d, r15d
call fcn.140052700
lea ecx, [r15 + 8]
call fcn.1401629b8
mov rbx, rax
mov qword [rsp + 0x50], rax
mov qword [rax], rsi
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14004e4f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x40], rax
lea rbp, [0x140285fe8]
lea r12, str.MbamBgNativeMsg
test rax, rax
je 0x140051c58
mov ebx, r15d
mov qword [rsp + 0x50], rbx
lea r14, [rsi + 0x150]
mov rdx, qword [rsi + 0x158]
cmp rdx, qword [rsi + 0x160]
je 0x140051c49
mov qword [rdx], rax
add qword [rsi + 0x158], 8
jmp 0x140051ccb
lea r8, [rsp + 0x40]
mov rcx, r14
call fcn.140048e20
jmp 0x140051ccb
mov qword [rsp + 0x40], rbp
mov rcx, rbp
call fcn.140010830
nop
mov rax, qword [0x140285fe0]
test rax, rax
je 0x140051cba
mov rax, qword [rax]
mov rdi, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Could_not_establsh_the_service_client_connection._Error_u.
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 1
mov r9d, 0x22f
lea r8, str.C:JenkinsworkspaceMBAM_WindowsN_MB4_MbamBgNativeMsg_srcMbamBgNativeMsgMessagingService.cpp
lea rdx, str.MessagingService::ServiceWorkerThread
mov rcx, qword [0x140285fe0]
call rdi
nop
lea rcx, [rsp + 0x40]
call fcn.14000fbb0
lea r14, [rsi + 0x150]
mov rdx, qword [r14]
mov rcx, qword [rsi + 0x158]
sub rcx, rdx
sar rcx, 3
mov r9d, 0xffffffff
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rsi, qword [rsi + 0x158]
mov rdi, qword [r14]
cmp rdi, rsi
je 0x140051d12
nop dword [rax]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 8
cmp rdi, rsi
jne 0x140051d00
mov rax, qword [r14]
cmp rax, qword [r14 + 8]
je 0x140051d1f
mov qword [r14 + 8], rax
mov qword [rsp + 0x48], rbp
mov rcx, rbp
call fcn.140010830
nop
mov qword [rsp + 0x40], rbp
mov rcx, rbp
call fcn.140010830
nop
mov rcx, qword [0x140285fe0]
test rcx, rcx
je 0x140051d7b
mov rax, qword [rcx]
lea rdx, str.Exited_the_BG_Native_Host_App.
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 3
mov r9d, 0x23b
lea r8, str.C:JenkinsworkspaceMBAM_WindowsN_MB4_MbamBgNativeMsg_srcMbamBgNativeMsgMessagingService.cpp
lea rdx, str.MessagingService::ServiceWorkerThread
call qword [rax + 0x18]
nop
lea rcx, [rsp + 0x40]
call fcn.14000fbb0
mov rcx, qword [0x140285fe0]
test rcx, rcx
je 0x140051d9c
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x38]
mov qword [0x140285fe0], r15
lea rcx, [rsp + 0x48]
call fcn.14000fbb0
nop
test rbx, rbx
je 0x140051dc0
mov edx, 8
mov rcx, rbx
call fcn.1401629f4
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140162ed0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140053e00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rbx, rdx
mov rsi, rcx
mov r8d, dword [0x14028a4f0]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov eax, dword [rcx + rax]
cmp dword [0x1402862e0], eax
jg 0x140053fd5
mov r8, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140053e51
mov rdx, qword [rbx]
xor edi, edi
movabs r9, 0xcbf29ce484222325
mov ecx, edi
test r8, r8
je 0x140053e83
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140053e70
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [0x140286130]
call fcn.140048fe0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140053f46
cmp rcx, qword [0x140286138]
je 0x140053f46
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x368], rax
mov ecx, 0x78
call fcn.1401629b8
mov qword [rsp + 0xa8], rax
test rax, rax
je 0x140053f33
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov qword [rax + 0x70], rcx
lea rcx, vtable.std::_Func_impl_no_alloc_class__private:_unsigned_long_int___cdecl_MessagingService::UploadMachineId_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64____ptr64::_2::_lambda_1___void___.0
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x88], rcx
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14001ad80
mov rdi, rax
mov qword [rsi + 0x188], rdi
xor edx, edx
mov rcx, rdi
call fcn.14001ae70
jmp 0x140053fbe
lea rcx, [0x140285fe8]
mov qword [rsp + 0xa8], rcx
call fcn.140010830
nop
mov rcx, qword [0x140285fe0]
test rcx, rcx
je 0x140053fb1
mov rax, qword [rcx]
cmp qword [rbx + 0x18], 0xf
jbe 0x140053f74
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rbx
lea rdx, str.Undefined_browser_type:__hs
mov qword [rsp + 0x30], rdx
lea rdx, str.MbamBgNativeMsg
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 2
mov r9d, 0x5d0
lea r8, str.C:JenkinsworkspaceMBAM_WindowsN_MB4_MbamBgNativeMsg_srcMbamBgNativeMsgMessagingService.cpp
lea rdx, str.MessagingService::UploadMachineId
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0xa8]
call fcn.14000fbb0
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rcx, [0x1402862e0]
call fcn.140162ce4
cmp dword [0x1402862e0], 0xffffffff
jne 0x140053e40
lea rcx, [0x1401aa600]
call fcn.140162c24
lea rcx, [0x1402862e0]
call fcn.140162c78
jmp 0x140053e40
Function at 0x140054740
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rbx, rdx
mov rsi, rcx
mov r8d, dword [0x14028a4f0]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov eax, dword [rcx + rax]
cmp dword [0x1402862e4], eax
jg 0x140054912
mov r8, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140054791
mov rdx, qword [rbx]
xor edi, edi
movabs r9, 0xcbf29ce484222325
mov ecx, edi
test r8, r8
je 0x1400547c3
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400547b0
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [0x140286130]
call fcn.140048fe0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400547e9
cmp rcx, qword [0x140286138]
jne 0x140054861
lea rcx, [0x140285fe8]
mov qword [rsp + 0xa0], rcx
call fcn.140010830
nop
mov rcx, qword [0x140285fe0]
test rcx, rcx
je 0x140054854
mov rax, qword [rcx]
cmp qword [rbx + 0x18], 0xf
jbe 0x140054817
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rbx
lea rdx, str.Undefined_browser_type:__hs
mov qword [rsp + 0x30], rdx
lea rdx, str.MbamBgNativeMsg
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 2
mov r9d, 0x624
lea r8, str.C:JenkinsworkspaceMBAM_WindowsN_MB4_MbamBgNativeMsg_srcMbamBgNativeMsgMessagingService.cpp
lea rdx, str.MessagingService::UploadMbamVersion
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0xa0]
call fcn.14000fbb0
cmp qword [rsi + 0x368], 0
jne 0x140054884
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x368], rax
mov ecx, 0x78
call fcn.1401629b8
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x1400548ed
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov qword [rax + 0x70], rcx
lea rcx, vtable.std::_Func_impl_no_alloc_class__private:_void___cdecl_MessagingService::UploadMbamVersion_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64____ptr64::_2::_lambda_1___void___.0
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x88], rcx
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14001ad80
mov rdi, rax
mov qword [rsi + 0x188], rdi
xor edx, edx
mov rcx, rdi
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp fcn.14001ae70
lea rcx, [0x1402862e4]
call fcn.140162ce4
cmp dword [0x1402862e4], 0xffffffff
jne 0x140054780
lea rcx, [0x1401aa670]
call fcn.140162c24
lea rcx, [0x1402862e4]
call fcn.140162c78
jmp 0x140054780
Function at 0x14005b290
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x238
mov ecx, 0x202
lea rdx, [rsp + 0x90]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14005b2b6
add rsp, 0x238
ret
lea rdx, str.Failed_to_initialize_network_subsystem
lea rcx, [rsp + 0x20]
call fcn.14000b480
nop
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14005b330
lea rdx, [0x14027a8a0]
lea rcx, [rsp + 0x40]
call fcn.140164060
int3

Function at 0x14006f620
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov edi, r8d
mov rax, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 0
je 0x14006f6e6
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x140258810]
movdqu xmmword [rsp + 0x30], xmm1
xor ecx, ecx
mov word [rsp + 0x20], cx
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14006f280
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rdx, qword [rsp + 0x20]
lea rcx, [rbx + 0x28]
cmp qword [rcx + 0x18], 7
jbe 0x14006f687
mov rcx, qword [rcx]
and edi, 1
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14006f703
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x14006f6d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f6d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006f6e0
call fcn.1401629f4
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call fcn.14017234c
int3
xor r9d, r9d
mov r8d, pe_nt_image_headers64
lea rdx, str.D:JenkinsworkspaceN_Poco_VS2022poco_1.12.4Foundation_srcFile_WIN32U.cpp
lea rcx, str.__path.empty__
call fcn.140063a80
nop
lea rcx, [rbx + 8]
call fcn.14006f920
int3

Function at 0x14006f7b0
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0
mov rbx, rcx
je 0x14006f809
call fcn.14006f890
test al, al
je 0x14006f7dd
mov rcx, rbx
call fcn.14006fd20
test al, al
je 0x14006f7dd
xor al, al
add rsp, 0x20
pop rbx
ret
cmp qword [rbx + 0x40], 7
lea rcx, [rbx + 0x28]
jbe 0x14006f7eb
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14006f7ff
mov al, 1
add rsp, 0x20
pop rbx
ret
lea rcx, [rbx + 8]
call fcn.14006f920
int3
xor r9d, r9d
lea rdx, str.D:JenkinsworkspaceN_Poco_VS2022poco_1.12.4Foundation_srcFile_WIN32U.cpp
mov r8d, 0x183
lea rcx, str.__path.empty__
call fcn.140063a80
int3

Function at 0x14006f890
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0
mov rbx, rcx
je 0x14006f8ed
add rcx, 0x28
cmp qword [rcx + 0x18], 7
jbe 0x14006f8ae
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14006f8db
call qword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 2
je 0x14006f8d3
sub eax, 1
je 0x14006f8d3
sub eax, 0xc
je 0x14006f8d3
cmp eax, 6
jne 0x14006f8e3
xor al, al
add rsp, 0x20
pop rbx
ret
mov al, 1
add rsp, 0x20
pop rbx
ret
lea rcx, [rbx + 8]
call fcn.14006f920
int3
xor r9d, r9d
lea rdx, str.D:JenkinsworkspaceN_Poco_VS2022poco_1.12.4Foundation_srcFile_WIN32U.cpp
lea rcx, str.__path.empty__
lea r8d, [r9 + 0x5e]
call fcn.140063a80
int3
Function at 0x14006fd20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0
mov rbx, rcx
je 0x14006fd5e
add rcx, 0x28
cmp qword [rcx + 0x18], 7
jbe 0x14006fd3e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006fd54
shr eax, 4
and al, 1
add rsp, 0x20
pop rbx
ret
lea rcx, [rbx + 8]
call fcn.14006f920
int3
xor r9d, r9d
lea rdx, str.D:JenkinsworkspaceN_Poco_VS2022poco_1.12.4Foundation_srcFile_WIN32U.cpp
mov r8d, 0x9f
lea rcx, str.__path.empty__
call fcn.140063a80
int3

Function at 0x14006fd80
Capabilities:
Check if file exists

Disassembly:
jmp 0x14006fd90
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0
mov rbx, rcx
je 0x14006fdd6
add rcx, 0x28
cmp qword [rcx + 0x18], 7
jbe 0x14006fdae
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006fdcc
and eax, 0x410
cmp eax, 0x400
sete al
add rsp, 0x20
pop rbx
ret
lea rcx, [rbx + 8]
call fcn.14006f920
int3
xor r9d, r9d
lea rdx, str.D:JenkinsworkspaceN_Poco_VS2022poco_1.12.4Foundation_srcFile_WIN32U.cpp
mov r8d, 0xaa
lea rcx, str.__path.empty__
call fcn.140063a80
int3

Function at 0x14006fd90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x14006fd90
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0
mov rbx, rcx
je 0x14006fdd6
add rcx, 0x28
cmp qword [rcx + 0x18], 7
jbe 0x14006fdae
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006fdcc
and eax, 0x410
cmp eax, 0x400
sete al
add rsp, 0x20
pop rbx
ret
lea rcx, [rbx + 8]
call fcn.14006f920
int3
xor r9d, r9d
lea rdx, str.D:JenkinsworkspaceN_Poco_VS2022poco_1.12.4Foundation_srcFile_WIN32U.cpp
mov r8d, 0xaa
lea rcx, str.__path.empty__
call fcn.140063a80
int3

Function at 0x140070080
Capabilities:
Delete directory
Delete file

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 0
mov rdi, rcx
je 0x1400700dd
mov qword [rsp + 0x30], rbx
lea rbx, [rcx + 0x28]
call fcn.14006fd20
test al, al
je 0x1400700c4
cmp qword [rbx + 0x18], 7
jbe 0x1400700ac
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1400700fa
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp qword [rbx + 0x18], 7
jbe 0x1400700ce
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400700fa
jmp 0x1400700b9
xor r9d, r9d
lea rdx, str.D:JenkinsworkspaceN_Poco_VS2022poco_1.12.4Foundation_srcFile_WIN32U.cpp
mov r8d, 0x160
lea rcx, str.__path.empty__
call fcn.140063a80
int3
lea rcx, [rdi + 8]
call fcn.14006f920
int3
Function at 0x140070140
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov edi, r8d
mov rax, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 0
je 0x14007023b
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x140258810]
movdqu xmmword [rsp + 0x30], xmm1
xor ecx, ecx
mov word [rsp + 0x20], cx
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14006f280
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x28]
test dil, 1
je 0x140070203
cmp qword [rsp + 0x38], 7
cmova rdx, qword [rsp + 0x20]
cmp qword [rcx + 0x18], 7
jbe 0x1400701ad
mov rcx, qword [rcx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x140070231
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x1400701f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400701f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007022b
call fcn.1401629f4
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
cmp qword [rsp + 0x38], 7
cmova rdx, qword [rsp + 0x20]
cmp qword [rcx + 0x18], 7
jbe 0x140070219
mov rcx, qword [rcx]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x140070231
jmp 0x1400701ba
call fcn.14017234c
nop
lea rcx, [rbx + 8]
call fcn.14006f920
nop
xor r9d, r9d
mov r8d, 0x133
lea rdx, str.D:JenkinsworkspaceN_Poco_VS2022poco_1.12.4Foundation_srcFile_WIN32U.cpp
lea rcx, str.__path.empty__
call fcn.140063a80
int3

Function at 0x14007b800
Capabilities:
Get mac address on windows

Disassembly:
jmp 0x14007b810
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor eax, eax
mov dword [rsp + 0x38], 0x2c0
mov dword [rcx], eax
mov rbx, rcx
mov word [rcx + 4], ax
mov ecx, 0x2c0
call fcn.140163410
lea rdx, [rsp + 0x38]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x14007b863
mov rcx, rdi
call fcn.1401629f4
mov ecx, dword [rsp + 0x38]
call fcn.140163410
mov rdi, rax
jmp 0x14007b867
test eax, eax
jne 0x14007b8be
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x14007b8b6
xor dl, dl
mov rax, rdi
test rdi, rdi
je 0x14007b8b6
test dl, dl
jne 0x14007b8b6
cmp dword [rax + 0x1a4], 6
jne 0x14007b8ae
cmp dword [rax + 0x194], 6
jne 0x14007b8ae
mov ecx, dword [rax + 0x198]
mov dl, 1
mov dword [rbx], ecx
movzx ecx, word [rax + 0x19c]
mov word [rbx + 4], cx
mov rax, qword [rax]
test rax, rax
jne 0x14007b883
mov rcx, rdi
call fcn.1401629f4
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14007b810
Capabilities:
Get mac address on windows

Disassembly:
jmp 0x14007b810
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor eax, eax
mov dword [rsp + 0x38], 0x2c0
mov dword [rcx], eax
mov rbx, rcx
mov word [rcx + 4], ax
mov ecx, 0x2c0
call fcn.140163410
lea rdx, [rsp + 0x38]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x14007b863
mov rcx, rdi
call fcn.1401629f4
mov ecx, dword [rsp + 0x38]
call fcn.140163410
mov rdi, rax
jmp 0x14007b867
test eax, eax
jne 0x14007b8be
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x14007b8b6
xor dl, dl
mov rax, rdi
test rdi, rdi
je 0x14007b8b6
test dl, dl
jne 0x14007b8b6
cmp dword [rax + 0x1a4], 6
jne 0x14007b8ae
cmp dword [rax + 0x194], 6
jne 0x14007b8ae
mov ecx, dword [rax + 0x198]
mov dl, 1
mov dword [rbx], ecx
movzx ecx, word [rax + 0x19c]
mov word [rbx + 4], cx
mov rax, qword [rax]
test rax, rax
jne 0x14007b883
mov rcx, rdi
call fcn.1401629f4
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14007bf40
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov qword [rsp + 0x50], 0
mov rbx, rdx
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov rcx, qword [rsp + 0x50]
mov r8, rbx
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14008cf40
Capabilities:
Encode data using xor

Disassembly:
push rbx
movsxd rbx, r9d
mov r10, r8
mov r11, rdx
cmp rdx, r8
je 0x14008d0a2
mov qword [rsp + 0x10], rsi
lea rsi, [rcx - 1]
not rcx
shr rsi, 0x3f
shr rcx, 0x3f
and rsi, rcx
mov ecx, dword [rdx + 8]
xor ecx, dword [r8 + 8]
dec rsi
and ecx, esi
xor dword [rdx + 8], ecx
xor dword [r8 + 8], ecx
mov ecx, dword [rdx + 0x10]
movq xmm4, rsi
xor ecx, dword [r8 + 0x10]
and ecx, esi
punpcklqdq xmm4, xmm4
xor dword [rdx + 0x10], ecx
xor dword [r8 + 0x10], ecx
mov edx, dword [rdx + 0x14]
mov ecx, dword [r8 + 0x14]
xor rcx, rdx
and ecx, 4
and rcx, rsi
mov eax, ecx
xor eax, edx
mov dword [r11 + 0x14], eax
xor dword [r8 + 0x14], ecx
xor ecx, ecx
mov edx, ecx
test r9d, r9d
jle 0x14008d05e
cmp ebx, 2
jb 0x14008d05e
mov r9, qword [r8]
lea rax, [rbx - 1]
mov r8, qword [r11]
mov qword [rsp + 0x18], rdi
lea rdi, [rbx - 1]
lea rdi, [r9 + rdi*8]
lea rax, [r8 + rax*8]
cmp r9, rax
ja 0x14008cfee
cmp rdi, r8
jae 0x14008d059
cmp r9, r10
ja 0x14008cff8
cmp rdi, r10
jae 0x14008d059
cmp r9, r11
ja 0x14008d002
cmp rdi, r11
jae 0x14008d059
cmp r8, r10
ja 0x14008d00c
cmp rax, r10
jae 0x14008d059
cmp r8, r11
ja 0x14008d016
cmp rax, r11
jae 0x14008d059
mov eax, ebx
and eax, 0xfffffffe
nop dword [rax + rax]
movdqu xmm2, xmmword [rcx + r9]
add edx, 2
movdqu xmm1, xmmword [rcx + r8]
lea rcx, [rcx + 0x10]
movdqa xmm3, xmm2
xorps xmm3, xmm1
andps xmm3, xmm4
movdqa xmm0, xmm3
xorps xmm3, xmm2
xorps xmm0, xmm1
movdqu xmmword [rcx + r8 - 0x10], xmm0
movdqu xmmword [rcx + r9 - 0x10], xmm3
cmp edx, eax
jl 0x14008d020
mov rdi, qword [rsp + 0x18]
movsxd rax, edx
cmp rax, rbx
jge 0x14008d09d
nop word [rax + rax]
mov rcx, qword [r11]
mov rdx, qword [rcx + rax*8]
lea r8, [rcx + rax*8]
mov rcx, qword [r10]
mov r9, rdx
xor r9, qword [rcx + rax*8]
and r9, rsi
xor rdx, r9
mov qword [r8], rdx
mov rcx, qword [r10]
xor qword [rcx + rax*8], r9
inc rax
cmp rax, rbx
jl 0x14008d070
mov rsi, qword [rsp + 0x10]
pop rbx
ret

Function at 0x140097290
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.140162e70
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1400977e0
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
mov r10, rdx
test r8, r8
je 0x140097807
sub r10, rcx
nop
movzx edx, byte [r10 + rcx]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
xor dl, al
or r9b, dl
sub r8, 1
jne 0x1400977f0
movzx eax, r9b
ret