joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003f90
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x18004a010]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x98
call fcn.180023140
test byte [0x180176dc8], 1
lea rax, [rbp - 0x40]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0x98
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x58], 0x104
mov dword [rbp - 0x80], 0x806
je 0x180004009
lea rax, str.Zip_Archives
lea rdx, [0x180041478]
jmp 0x180004037
mov eax, dword [0x180174130]
cmp eax, 2
jne 0x180004024
lea rax, str.Log_Files
lea rdx, [0x1800414e0]
jmp 0x180004037
cmp eax, 1
jne 0x18000409e
lea rax, str.Xml_Files
lea rdx, [0x180041528]
mov rcx, qword [0x180176bb8]
lea r8, [rbp - 0x40]
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x78], rdx
call fcn.180013a5c
lea rcx, [rsp + 0x20]
call qword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x18000409e
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x180176788]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetCursor]
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [0x180176580]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test rbx, rbx
je 0x18000409e
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.180021cb0
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2e0
pop rbp
ret
sub rsp, 0x38
sub edx, 2
je 0x1800044de
sub edx, 0x3e7
je 0x1800044d0
sub edx, 1
je 0x1800044c7
sub edx, 5
je 0x1800044b9
sub edx, 1
je 0x180004491
sub edx, 4
je 0x180004488
cmp edx, 1
jne 0x1800044e6
xor eax, eax
cmp word [0x180176bc0], ax
je 0x18000447f
cmp word [0x1801769a8], ax
je 0x18000447f
add rsp, 0x38
jmp fcn.18001ae4c
cmp word [0x1801769b0], ax
je 0x1800044e6
add rsp, 0x38
jmp fcn.180019b1c
lea r9, [0x180003e9c]
mov edx, 0x68
xor eax, eax
mov r8, rcx
mov rcx, qword [0x1801769a0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_DialogBoxParamW]
add rsp, 0x38
ret
lea r9, [0x180003704]
mov edx, 0x67
jmp 0x18000449d
add rsp, 0x38
jmp 0x180003f90
lea r9, [0x18000648c]
mov edx, 0x80
jmp 0x18000449d
xor edx, edx
call qword [sym.imp.USER32.dll_EndDialog]
add rsp, 0x38
ret
Function at 0x18000442c
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x18004a010]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x98
call fcn.180023140
test byte [0x180176dc8], 1
lea rax, [rbp - 0x40]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0x98
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x58], 0x104
mov dword [rbp - 0x80], 0x806
je 0x180004009
lea rax, str.Zip_Archives
lea rdx, [0x180041478]
jmp 0x180004037
mov eax, dword [0x180174130]
cmp eax, 2
jne 0x180004024
lea rax, str.Log_Files
lea rdx, [0x1800414e0]
jmp 0x180004037
cmp eax, 1
jne 0x18000409e
lea rax, str.Xml_Files
lea rdx, [0x180041528]
mov rcx, qword [0x180176bb8]
lea r8, [rbp - 0x40]
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x78], rdx
call fcn.180013a5c
lea rcx, [rsp + 0x20]
call qword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x18000409e
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x180176788]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetCursor]
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [0x180176580]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test rbx, rbx
je 0x18000409e
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.180021cb0
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2e0
pop rbp
ret
sub rsp, 0x38
sub edx, 2
je 0x1800044de
sub edx, 0x3e7
je 0x1800044d0
sub edx, 1
je 0x1800044c7
sub edx, 5
je 0x1800044b9
sub edx, 1
je 0x180004491
sub edx, 4
je 0x180004488
cmp edx, 1
jne 0x1800044e6
xor eax, eax
cmp word [0x180176bc0], ax
je 0x18000447f
cmp word [0x1801769a8], ax
je 0x18000447f
add rsp, 0x38
jmp fcn.18001ae4c
cmp word [0x1801769b0], ax
je 0x1800044e6
add rsp, 0x38
jmp fcn.180019b1c
lea r9, [0x180003e9c]
mov edx, 0x68
xor eax, eax
mov r8, rcx
mov rcx, qword [0x1801769a0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_DialogBoxParamW]
add rsp, 0x38
ret
lea r9, [0x180003704]
mov edx, 0x67
jmp 0x18000449d
add rsp, 0x38
jmp 0x180003f90
lea r9, [0x18000648c]
mov edx, 0x80
jmp 0x18000449d
xor edx, edx
call qword [sym.imp.USER32.dll_EndDialog]
add rsp, 0x38
ret
Function at 0x1800065f4
Capabilities:
Get graphical window text

Disassembly:
test r9d, r9d
jne 0x1800067a3
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x170
mov rax, qword [0x18004a010]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
sub edx, 1
je 0x180006648
cmp edx, 1
jne 0x180006777
xor edx, edx
call qword [sym.imp.USER32.dll_EndDialog]
jmp 0x180006777
mov edx, 0x3f8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r12, 0xffffffffffffffff
lea esi, [rax + 1]
mov eax, 2
movsxd rcx, esi
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.180021c94
mov rdi, rax
test rax, rax
je 0x180006777
mov r8d, esi
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0x3fb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r14, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebp, [rax + 1]
movsxd rcx, ebp
lea eax, [r12 + 3]
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.180021c94
mov rsi, rax
test rax, rax
jne 0x1800066df
mov rcx, rdi
jmp 0x180006772
mov r8d, ebp
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.1800196d4
mov rcx, rbx
test eax, eax
jne 0x18000675c
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [0x1801769a0]
lea r8, [rsp + 0x20]
mov r9d, 0x20
lea edx, [r9 + 0x50]
call qword [sym.imp.USER32.dll_LoadStringW]
mov rcx, qword [0x1801769a0]
lea r8, [rsp + 0x60]
mov r9d, 0x80
lea edx, [r9 + 2]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, setsockopt
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x180006767
mov edx, 1
call qword [sym.imp.USER32.dll_EndDialog]
mov rcx, rdi
call fcn.180021cd4
mov rcx, rsi
call fcn.180021cd4
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180021cb0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
Function at 0x1800065fd
Capabilities:
Get graphical window text

Disassembly:
test r9d, r9d
jne 0x1800067a3
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x170
mov rax, qword [0x18004a010]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
sub edx, 1
je 0x180006648
cmp edx, 1
jne 0x180006777
xor edx, edx
call qword [sym.imp.USER32.dll_EndDialog]
jmp 0x180006777
mov edx, 0x3f8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r12, 0xffffffffffffffff
lea esi, [rax + 1]
mov eax, 2
movsxd rcx, esi
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.180021c94
mov rdi, rax
test rax, rax
je 0x180006777
mov r8d, esi
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, 0x3fb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r14, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebp, [rax + 1]
movsxd rcx, ebp
lea eax, [r12 + 3]
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.180021c94
mov rsi, rax
test rax, rax
jne 0x1800066df
mov rcx, rdi
jmp 0x180006772
mov r8d, ebp
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.1800196d4
mov rcx, rbx
test eax, eax
jne 0x18000675c
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword [0x1801769a0]
lea r8, [rsp + 0x20]
mov r9d, 0x20
lea edx, [r9 + 0x50]
call qword [sym.imp.USER32.dll_LoadStringW]
mov rcx, qword [0x1801769a0]
lea r8, [rsp + 0x60]
mov r9d, 0x80
lea edx, [r9 + 2]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, setsockopt
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x180006767
mov edx, 1
call qword [sym.imp.USER32.dll_EndDialog]
mov rcx, rdi
call fcn.180021cd4
mov rcx, rsi
call fcn.180021cd4
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180021cb0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret

Function at 0x18000774c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
lea r8, [0x1800076a0]
mov qword [rcx + 0x10], rdi
mov rbx, rcx
mov r9, rcx
mov qword [rsp + 0x28], rdi
xor ecx, ecx
mov dword [rsp + 0x20], edi
xor edx, edx
call fcn.180029cdc
test rax, rax
mov qword [rbx], rax
mov rbx, qword [rsp + 0x40]
setne dil
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x180008cf4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x18004a010]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov rsi, rcx
mov rcx, qword [rcx]
lea rdx, [rsp + 0x40]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, 0xf
call qword [sym.imp.USER32.dll_GetSysColor]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rax, qword [0x180176788]
xor r14d, r14d
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x180008d6c
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbp, rax
jmp 0x180008d6f
mov rbp, r14
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x180008d96
mov r9, qword [rsi]
mov r8, rbx
mov edx, 0x138
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
jmp 0x180008d99
mov rdi, r14
test rdi, rdi
jne 0x180008dae
mov rax, qword [0x180176788]
mov rdi, qword [rax + 0x60]
test rdi, rdi
je 0x180008dcd
mov rcx, qword [rsi]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetClientRect]
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_FillRect]
mov edx, dword [rsi + 0x218]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r14w
jne 0x180008de5
mov edx, 1
mov dword [rsp + 0x20], eax
mov r8d, edx
lea r9, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_TextOutW]
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetSysColor]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
test rbp, rbp
je 0x180008e30
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, qword [rsi]
jne 0x180008e56
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1800094fc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawFocusRect]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180021cb0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x180008e80
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov rbx, rcx
cmp word [rcx + 0x10], si
je 0x180008ed5
mov rax, qword [0x180176788]
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x180008eb0
call qword [sym.imp.USER32.dll_SetCursor]
mov dword [rsp + 0x28], 0xa
lea r8, [rbx + 0x10]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x180008f04
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
test rax, rax
je 0x180008f04
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov r9, qword [rbx]
mov edx, 0x111
movzx r8d, ax
mov rcx, rdi
call qword [sym.imp.USER32.dll_PostMessageW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1800094fc
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x18004a010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r14, rcx
mov rdi, rdx
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, qword [0x180176788]
xor ebp, ebp
mov rbx, rax
mov esi, ebp
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x180009555
mov rcx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rsi, rax
mov rcx, qword [r14]
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bp
jne 0x180009572
lea r9, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test rsi, rsi
je 0x1800095a0
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [r14]
mov rdx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [rsp + 0x20]
add eax, 3
mov qword [rdi], rbp
mov dword [rdi + 8], eax
mov eax, dword [rsp + 0x24]
add eax, 3
mov dword [rdi + 0xc], eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180021cb0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18000c7b8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x40]
call fcn.180023140
xor r8d, r8d
lea rdx, str.MAPI
lea rcx, str.MAIL
call qword [sym.imp.KERNEL32.dll_GetProfileIntW]
test eax, eax
je 0x18000c8ab
lea rcx, str.MAPI32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x18000c8ab
lea rdx, str.MAPILogon
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x10]
lea rdx, str.MAPILogoff
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x10]
lea rdx, str.MAPISendMail
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x10]
lea rdx, str.MAPIResolveName
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x10]
lea rdx, str.MAPIFreeBuffer
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [rbx + 0x18], 0
mov qword [rbx + 0x38], rax
je 0x18000c88e
cmp qword [rbx + 0x20], 0
je 0x18000c88e
cmp qword [rbx + 0x28], 0
je 0x18000c88e
cmp qword [rbx + 0x30], 0
je 0x18000c88e
test rax, rax
jne 0x18000c8ab
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18000c8ab
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x40]
call fcn.180023140
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x18000e67c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov edi, dword [rcx + 0x214]
mov r14, r9
mov rsi, r8
mov r15d, edx
mov rbp, rcx
test dil, 1
je 0x18000e6b3
mov ecx, 0xfffffff5
jmp 0x18000e6be
test dil, 2
je 0x18000e6c9
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
jmp 0x18000e6cb
xor ebx, ebx
test rbx, rbx
jne 0x18000e6da
test dil, 4
jne 0x18000e6da
xor eax, eax
jmp 0x18000e759
mov r9, qword [rsp + 0x70]
mov r8, rsi
mov edx, r15d
mov rcx, rbp
call fcn.18000e3ec
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rsi, [0x180041418]
test rbx, rbx
je 0x18000e72e
mov rax, qword [rbp + 0x248]
lea r9, [rsp + 0x50]
mov r8d, dword [rbp + 0x250]
test rax, rax
mov rdx, rsi
mov rcx, rbx
cmovne rdx, rax
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test dil, 4
je 0x18000e74b
mov rdx, qword [rbp + 0x248]
test rdx, rdx
cmovne rsi, rdx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x18000f5b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x18004a010]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r8d, dword [rcx + 8]
xor ebx, ebx
mov r15, rdx
mov rdi, rcx
test r8d, r8d
je 0x18000f712
mov r14, qword [rdi]
lea rsi, [rbx + rbx*2]
cmp qword [r14 + rsi*8], 0
je 0x18000f742
lea rcx, [rsp + 0x60]
mov r9, r15
mov edx, 0x104
cmp r8d, 1
jbe 0x18000f631
lea eax, [rbx + 1]
lea r8, str._s_u.bmp
mov dword [rsp + 0x20], eax
call fcn.180003f3c
jmp 0x18000f63d
lea r8, str._s.bmp
call fcn.180003f3c
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x18000f742
and qword [rsp + 0x4a], 0
lea r9, [rsp + 0x40]
and dword [rsp + 0x52], 0
lea rdx, [rsp + 0x48]
and qword [rsp + 0x20], 0
mov eax, 0x4d42
mov word [rsp + 0x48], ax
mov r8d, 0xe
mov ecx, dword [r14 + rsi*8 + 0x10]
add ecx, 0xe
mov dword [rsp + 0x52], ecx
add ecx, dword [r14 + rsi*8 + 0x14]
mov dword [rsp + 0x4a], ecx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [r14 + rsi*8 + 0x10]
lea r9, [rsp + 0x40]
mov rdx, qword [r14 + rsi*8]
mov rcx, r12
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [r14 + rsi*8 + 0x14]
lea r9, [rsp + 0x40]
mov rdx, qword [r14 + rsi*8 + 8]
mov rcx, r12
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rdi + 8]
inc ebx
cmp ebx, r8d
jb 0x18000f5f7
mov eax, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.180021cb0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
xor eax, eax
jmp 0x18000f717

Function at 0x180010640
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
lea rbx, str.Unknown
mov qword [rcx], rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x20]
test eax, eax
je 0x180010689
cmp eax, 6
je 0x180010680
cmp eax, 9
lea rcx, str.AMD_x64
cmove rbx, rcx
jmp 0x180010690
lea rbx, str.IA_64
jmp 0x180010690
lea rbx, str.Intel_x86
mov qword [rdi], rbx
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
mov dword [rdi + 8], eax
add rsp, 0x50
pop rdi
ret
Function at 0x1800106a8
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x18004a010]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rsi, rdx
lea r8, str.Unknown
mov ebx, ecx
mov edi, 0x80
mov edx, edi
mov rcx, rsi
call fcn.180029998
lea r15, [rsi + 0x100]
mov rcx, r15
lea r8, [0x180043018]
lea edx, [rdi - 0x70]
call fcn.180029998
lea r14, [rsi + 0x120]
mov edx, edi
mov rcx, r14
lea r8, str.Unknown
call fcn.180029998
mov r9d, ebx
lea r8, str.HARDWAREDESCRIPTIONSystemCentralProcessor_lu
mov edx, 0x104
lea rcx, [rsp + 0x50]
mov edi, 1
call fcn.180003f3c
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x180010876
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.MHz
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800107c4
cmp dword [rsp + 0x34], 4
jne 0x1800107c4
mov ecx, dword [rsp + 0x40]
lea r9d, [rdi + 9]
lea r8d, [rdi + 0xf]
mov rdx, r15
call fcn.1800261dc
jmp 0x1800107c8
mov word [r15], bx
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov r15d, 0x100
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov dword [rsp + 0x30], r15d
lea rdx, str.ProcessorNameString
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180010818
cmp dword [rsp + 0x34], edi
jne 0x180010818
lea rdx, str.__t_r_n
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_StrTrimW]
jmp 0x18001081c
mov word [r14], bx
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
lea rdx, str.Identifier
mov dword [rsp + 0x30], r15d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180010866
cmp dword [rsp + 0x34], edi
jne 0x180010866
lea rdx, str.__t_r_n
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrTrimW]
jmp 0x180010869
mov word [rsi], bx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180010878
mov edi, ebx
mov eax, edi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.180021cb0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180010d98
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x18004a010]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor edx, edx
mov dword [rsp + 0x40], 0x40
mov rbx, rcx
lea rcx, [rsp + 0x44]
lea r8d, [rdx + 0x3c]
call fcn.180023140
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r9, qword [rsp + 0x60]
mov rcx, rbx
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
shr r9, 0x14
mov qword [rsp + 0x38], r9
mov r9d, dword [rsp + 0x44]
shr r8, 0x14
mov qword [rsp + 0x30], r8
lea r8, str.Current_Memory_Load:__________u___r_nTotal_Physical_Memory:________I64u_MB_r_nAvailable_Physical_Memory:____I64u_MB_r_nTotal_Page_File_Memory:_______I64u_MB_r_nAvailable_Page_File_Memory:___I64u_MB
shr rdx, 0x14
mov qword [rsp + 0x28], rdx
mov edx, 0x100
shr rax, 0x14
mov qword [rsp + 0x20], rax
call fcn.180003f3c
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180021cb0
add rsp, 0x90
pop rbx
ret

Function at 0x18001117c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x180011205
mov rdi, rax
cmp word [rax], r14w
je 0x1800111fc
or rsi, 0xffffffffffffffff
inc rsi
cmp word [rdi + rsi*2], r14w
jne 0x1800111b6
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r14w
jne 0x1800111c4
mov rdx, rdi
mov rcx, rbp
call fcn.180021bf0
mov r8d, 2
lea rdx, [0x180041994]
mov rcx, rbp
call fcn.180021bf0
lea rdi, [rdi + rsi*2]
add rdi, 2
cmp word [rdi], r14w
jne 0x1800111b2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret