joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000d3b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov rdi, rdx
mov r12d, ecx
lea rsi, str.disfunc_
lea rbx, [rdx + 0x10]
test ecx, ecx
je 0x18000d3ea
lea rbx, [rdx + 0x14]
lea rsi, str.enfunc_
xor r13d, r13d
cmp dword [rbx], r13d
je 0x18000d416
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx]
cmp eax, 0x1d4c0
ja 0x18000d416
test r12d, r12d
jne 0x18000d40e
mov esi, dword [rdi + 0x18]
jmp 0x18000d564
mov esi, dword [rdi + 0x1c]
jmp 0x18000d564
mov rax, qword [0x180087258]
mov qword [rbp + 0x48], rax
mov r9, qword [rdi + 8]
mov r8, rsi
lea rdx, [0x1800a09b0]
lea rcx, [rbp + 0x48]
call fcn.180026420
lea r14, vtable.CTConfig.0
mov qword [rbp - 0x40], r14
mov rax, qword [0x180087258]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x20]
call fcn.180028df0
nop
mov dword [rbp - 8], r13d
call fcn.180017350
nop
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x50]
call fcn.1800272d0
mov rbx, rax
mov qword [rbp + 0x58], rax
mov dword [rbp - 8], r13d
lea rcx, [rbp - 0x38]
call fcn.180027500
lea rcx, [rbp - 0x30]
call fcn.180027500
lea rcx, [rbp - 0x28]
call fcn.180027500
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.1800279b0
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.180025980
lea rcx, [rbp - 0x40]
call fcn.180017680
nop
mov rcx, rbx
call fcn.180025870
mov esi, r13d
mov dword [rbp + 0x40], r13d
cmp dword [rbp - 0x18], r13d
jle 0x18000d4f1
mov rax, qword [rbp - 0x20]
lea r8, [rbp + 0x40]
lea rdx, [0x1800a0ae8]
mov rcx, qword [rax]
call fcn.180035fc0
mov esi, dword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov rdx, rdi
lea rcx, [0x1800df5d0]
call fcn.18000dde0
mov rdx, rdi
lea rcx, [0x1800df5d0]
test r12d, r12d
jne 0x18000d524
mov dword [rax + 0x10], ebx
call fcn.18000dde0
mov dword [rax + 0x18], esi
jmp 0x18000d52f
mov dword [rax + 0x14], ebx
call fcn.18000dde0
mov dword [rax + 0x1c], esi
mov qword [rbp - 0x40], r14
lea rcx, [rbp - 0x20]
call fcn.180027980
nop
lea rcx, [rbp - 0x28]
call fcn.180025870
nop
lea rcx, [rbp - 0x30]
call fcn.180025870
nop
lea rcx, [rbp - 0x38]
call fcn.180025870
nop
lea rcx, [rbp + 0x48]
call fcn.180025870
cmp esi, 1
sete r13b
mov eax, r13d
add rsp, 0x70
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x18000e4d0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
call fcn.18004bb10
test eax, eax
jne 0x18000e4fa
call fcn.18004bb30
test eax, eax
jne 0x18000e4fa
call fcn.18004bab0
test eax, eax
jne 0x18000e4fa
mov dword [rbx + 0x218], eax
cmp dword [rbx + 0x21c], 0
jne 0x18000e6d3
cmp dword [rbx + 0x220], 3
jge 0x18000e6d3
cmp dword [rbx + 0x218], 0
je 0x18000e6d3
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
lea rsi, str.TnfcapInst.dll
call fcn.18004b880
lea rdi, str.TnfcapInst64.dll
test eax, eax
lea rax, [rbx + 0x10]
cmove rdi, rsi
cmp word [rax], 0
cmovne rdi, rax
inc dword [rbx + 0x220]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x1800e52c0], 0
mov rsi, rax
je 0x18000e594
lea r9, str.CTnfcapDrive::Initialize____08x____s_
lea r8, str.drive
lea rcx, [0x1800e5208]
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.180018f90
mov rdi, qword [rsp + 0x78]
test rsi, rsi
je 0x18000e6c2
lea rdx, str.InitTnfcapMgr
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.UninitTnfcapMgr
mov rcx, rsi
mov qword [0x1800e4e88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.InstallTnfcapModule
mov rcx, rsi
mov qword [0x1800e4e90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.UninstallTnfcapModule
mov rcx, rsi
mov qword [0x1800e4e98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.IsTnfcapInstalled
mov rcx, rsi
mov qword [0x1800e4ea0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.StartTnfcapService
mov rcx, rsi
mov qword [0x1800e4ea8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.StopTnfcapService
mov rcx, rsi
mov qword [0x1800e4eb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x1800e52c0], 0
mov qword [0x1800e4eb8], rax
je 0x18000e6b8
mov rcx, qword [0x1800e4ea8]
lea r9, str.CTnfcapDrive::Initialize____08x__08x__08x__08x__08x___08x__08x_
lea r8, str.drive
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rax
mov rax, qword [0x1800e4eb0]
mov qword [rsp + 0x40], rax
mov rax, qword [0x1800e4ea0]
lea rcx, [0x1800e5208]
mov qword [rsp + 0x38], rax
mov rax, qword [0x1800e4e98]
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x30], rax
mov rax, qword [0x1800e4e90]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1800e4e88]
mov qword [rsp + 0x20], rax
call fcn.180018f90
mov dword [rbx + 0x21c], 1
mov eax, dword [rbx + 0x21c]
mov rsi, qword [rsp + 0x70]
add rsp, 0x60
pop rbx
ret
mov eax, dword [rbx + 0x21c]
add rsp, 0x60
pop rbx
ret
Function at 0x180010390
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.orcshk364.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
mov qword [0x1800df8c8], rax
test rax, rax
je 0x180010486
lea rdx, str.SetHooks
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800df8c8]
lea rdx, str.UnSetHooks
mov qword [0x1800e4ec0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800df8c8]
lea rdx, str.SetKeyboardFilterHook
mov qword [0x1800e4ec8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800df8c8]
lea rdx, str.SetMouseFilterHook
mov qword [0x1800e4ed0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800df8c8]
lea rdx, str.GetHookThreadMsgId
mov qword [0x1800e4ed8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800df8c8]
lea rdx, str.SetLocalInputsExtraInfo
mov qword [0x1800e4ee0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800e4ee8], rax
mov rax, qword [0x1800df8c8]
test rax, rax
je 0x180010486
cmp qword [0x1800e4ec0], rbx
je 0x180010486
cmp qword [0x1800e4ec8], rbx
je 0x180010486
cmp qword [0x1800e4ed0], rbx
je 0x180010486
cmp qword [0x1800e4ed8], rbx
lea ecx, [rbx + 1]
jne 0x180010488
mov ecx, ebx
test rax, rax
mov dword [0x1800df8d0], ecx
setne bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180010590
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1800cb660]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov rsi, r8
mov rdi, rdx
lea rcx, [rsp + 0x52]
xor ebp, ebp
xor edx, edx
mov r8d, 0x1fe
mov word [rsp + 0x50], bp
call fcn.180037550
lea r8, [rbx + 8]
lea rdx, [0x18009c688]
lea rcx, [rsp + 0x50]
mov r9, rdi
call fcn.18000fe20
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x38], rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x180010650
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x34], ebp
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800356a0
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
Function at 0x180010680
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1800cb660]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov rsi, r8
mov rdi, rdx
lea rcx, [rsp + 0x52]
xor ebp, ebp
xor edx, edx
mov r8d, 0x1fe
mov word [rsp + 0x50], bp
call fcn.180037550
lea r8, [rbx + 8]
lea rdx, [0x18009c688]
lea rcx, [rsp + 0x50]
mov r9, rdi
call fcn.18000fe20
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
xorpd xmm5, xmm5
movsd qword [rsp + 0x40], xmm5
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x180010746
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x38], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsd xmm0, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800356a0
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret

Function at 0x180010770
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x250
mov rax, qword [0x1800cb660]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov rbp, r8
mov rdi, rdx
lea rcx, [rsp + 0x42]
xor r12d, r12d
xor edx, edx
mov r8d, 0x1fe
mov esi, r9d
mov word [rsp + 0x40], r12w
call fcn.180037550
lea r8, [rbx + 8]
lea rdx, [0x18009c688]
lea rcx, [rsp + 0x40]
mov r9, rdi
call fcn.18000fe20
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x180010826
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9d, [r12 + 4]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800356a0
add rsp, 0x250
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180010850
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x268
movaps xmmword [rsp + 0x250], xmm6
mov rax, qword [0x1800cb660]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov rsi, r8
mov rdi, rdx
lea rcx, [rsp + 0x42]
xor ebp, ebp
xor edx, edx
movapd xmm6, xmm3
mov r8d, 0x1fe
mov word [rsp + 0x40], bp
call fcn.180037550
lea r8, [rbx + 8]
lea rdx, [0x18009c688]
lea rcx, [rsp + 0x40]
mov r9, rdi
call fcn.18000fe20
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x38], xmm6
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x18001090c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9d, [rbp + 3]
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800356a0
movaps xmm6, xmmword [rsp + 0x250]
add rsp, 0x268
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180010930
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
xor ebx, ebx
mov rsi, rcx
lea rax, [rsp + 0x50]
mov rdx, rcx
mov rcx, qword [rdi]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, dword [rsp + 0x50]
cmp r11d, 2
jb 0x1800109d2
add r11d, 2
mov eax, 2
mov dword [rsp + 0x50], r11d
shr r11d, 1
mov ecx, r11d
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180035738
mov rbx, rax
test rax, rax
je 0x1800109d2
mov rcx, qword [rdi]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180010a20
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x30
or rbp, 0xffffffffffffffff
xor eax, eax
lea rbx, [0x1800dfaf8]
mov rdi, rbx
mov rcx, rbp
repne scasw ax, word [rdi]
not rcx
dec rcx
jne 0x180010b88
lea r8, [rsp + 0x60]
lea rdx, [0x1800df8e8]
xor ebx, ebx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x60], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x180010b07
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.PATH
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [rsp + 0x50]
cmp edx, 2
jb 0x180010afc
add edx, 2
mov eax, 2
mov dword [rsp + 0x50], edx
shr edx, 1
mov ecx, edx
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.180035738
mov rbx, rax
test rax, rax
je 0x180010afc
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.PATH
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x180010b27
xor eax, eax
mov rcx, rbp
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
jne 0x180010b7d
mov rcx, rbx
call fcn.1800356c0
mov ecx, 3
mov eax, 2
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.180035738
mov rdi, rax
test rax, rax
je 0x180010bd9
xor eax, eax
lea rcx, [0x1800a6844]
mov rdx, rdi
mov dword [rdi], eax
sub rdx, rcx
mov word [rdi + 4], ax
movzx eax, word [rcx]
add rcx, 2
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x180010b61
mov rax, rdi
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
mov rax, rbx
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
lea esi, [rcx + 1]
mov eax, 2
mul rsi
cmovo rax, rbp
mov rcx, rax
call fcn.180035738
mov rdi, rax
test rax, rax
je 0x180010bd4
lea r8, [rsi + rsi]
xor edx, edx
mov rcx, rax
call fcn.180037550
mov rcx, rdi
sub rcx, rbx
movzx eax, word [rbx]
add rbx, 2
mov word [rcx + rbx - 2], ax
test ax, ax
jne 0x180010bc0
mov rax, rdi
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
Function at 0x180012510
Capabilities:
Check for time delay via gettickcount
Check if file exists
Copy file
Get file attributes
Move file
Set file attributes

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x430
mov rax, qword [0x1800cb660]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x180012547
xor eax, eax
jmp 0x180012628
mov rcx, rdi
mov qword [rsp + 0x450], rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
je 0x180012611
test al, 1
je 0x180012575
and ebx, 0xfffffffe
mov rcx, rdi
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test bl, 0x10
je 0x180012611
lea rcx, [rsp + 0x22]
xor ebx, ebx
xor edx, edx
mov r8d, 0x3fe
mov word [rsp + 0x20], bx
call fcn.180037550
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, [0x1800a6d88]
lea rcx, [rsp + 0x20]
mov r9d, eax
mov r8, rdi
call fcn.180036368
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180012603
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, [0x1800a6d88]
lea rcx, [rsp + 0x20]
mov r9d, eax
mov r8, rdi
call fcn.180036368
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc ebx
cmp ebx, 0xa
jge 0x180012649
cmp eax, 0xffffffff
jne 0x1800125c4
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rbx, qword [rsp + 0x450]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1800356a0
mov rsi, qword [rsp + 0x458]
add rsp, 0x430
pop rdi
ret
xor eax, eax
jmp 0x180012620
Function at 0x180013690
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x250
mov rax, qword [0x1800cb660]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor eax, eax
xor ebx, ebx
mov rbp, rcx
mov rdx, rcx
lea rcx, [rsp + 0x28]
lea r8d, [rbx + 3]
mov word [rsp + 0x28], bx
mov dword [rsp + 0x2a], eax
mov word [rsp + 0x2e], ax
call fcn.180035de4
movzx edx, word [rsp + 0x28]
cmp dx, 0x43
jb 0x1800136e6
cmp dx, 0x5a
jbe 0x1800136f4
sub dx, 0x63
cmp dx, 0x17
ja 0x180013828
cmp word [rsp + 0x2a], 0x3a
jne 0x180013828
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x180013828
cmp eax, 2
je 0x180013828
cmp eax, 3
je 0x180013828
cmp eax, 5
je 0x180013828
cmp eax, 6
je 0x180013828
mov rcx, qword [0x1800e78a8]
mov qword [rsp + 0x268], rsi
mov esi, ebx
test rcx, rcx
je 0x180013754
call fcn.1800329d0
mov esi, eax
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], bx
call fcn.180037550
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x20], 0x104
mov word [rsp + 0x2c], bx
call qword [sym.imp.MPR.dll_WNetGetConnectionW]
test eax, eax
jne 0x180013813
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x270], rdi
xor eax, eax
lea rdi, [rbp + 4]
repne scasw ax, word [rdi]
lea rdi, [rsp + 0x30]
not rcx
lea rdx, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
dec rcx
add rdx, rcx
cmp rdx, 0x104
jae 0x18001380b
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
xor edx, edx
nop dword [rax]
movzx eax, word [rbp + rdx + 4]
add rdx, 2
mov word [rdi + rdx - 4], ax
test ax, ax
jne 0x1800137e0
lea rdx, [rsp + 0x30]
mov r8d, 0x103
mov rcx, rbp
call fcn.180035de4
mov ebx, 1
mov rdi, qword [rsp + 0x270]
test esi, esi
mov rsi, qword [rsp + 0x268]
je 0x180013824
call fcn.1800329b0
mov eax, ebx
jmp 0x18001382a
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800356a0
mov rbx, qword [rsp + 0x278]
add rsp, 0x250
pop rbp
ret
Function at 0x180013850
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x70
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbp, rdx
mov r12, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.1800279b0
or r8d, 0xffffffff
xor edx, edx
mov rcx, rbp
call fcn.1800279b0
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov ecx, dword [0x1800e78b4]
mov edx, dword [0x1800e78b0]
test edx, edx
je 0x1800138c9
cmp eax, edx
jne 0x1800138c9
test ecx, ecx
je 0x1800138c9
cmp edi, ecx
jb 0x1800138c9
lea eax, [rcx + 0x493e0]
cmp eax, edi
jae 0x1800138ce
mov ebx, 1
cmp dword [0x1800e52c0], 0
je 0x180013914
mov eax, dword [0x1800e78b8]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edx
lea r9, str.CProcMgr::EnumVolumesW___08x______08x____d______d____enum_:__d___loop_:__d_
lea r8, str.EnumVolumes
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800e5208]
call fcn.180018f90
test ebx, ebx
jne 0x180013955
inc dword [0x1800e78b8]
lea r8d, [rbx + 1]
lea rdx, [0x1800e78f0]
lea rcx, [rsp + 0x58]
call fcn.180029410
nop
lea rdx, [0x1800e78c0]
mov rcx, r12
call fcn.180027b20
lea rdx, [0x1800e78d8]
mov rcx, rbp
call fcn.180027b20
nop
jmp 0x1800139d1
mov dword [0x1800e78b8], 0
mov rdx, rbp
mov rcx, r12
call fcn.180013a00
mov r8d, 1
lea rdx, [0x1800e78f0]
lea rcx, [rsp + 0x58]
call fcn.180029410
nop
mov dword [0x1800e78b0], esi
mov dword [0x1800e78b4], edi
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x1800e78c0]
call fcn.1800279b0
mov rdx, r12
lea rcx, [0x1800e78c0]
call fcn.180027b20
or r8d, 0xffffffff
xor edx, edx
lea rcx, [0x1800e78d8]
call fcn.1800279b0
mov rdx, rbp
lea rcx, [0x1800e78d8]
call fcn.180027b20
nop
lea rcx, [rsp + 0x58]
call fcn.180029450
mov eax, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x180013a00
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x260
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x2a0], rbx
mov rax, qword [0x1800cb660]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r12, rdx
mov rbp, rcx
or r8d, 0xffffffff
xor edx, edx
call fcn.1800279b0
or r8d, 0xffffffff
xor edx, edx
mov rcx, r12
call fcn.1800279b0
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov edi, 1
xor r13d, r13d
mov ebx, r13d
test esi, edi
je 0x180013b28
mov eax, dword [0x1800a54fc]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1800a5500]
mov word [rsp + 0x3c], ax
xor eax, eax
mov word [rsp + 0x3e], ax
add word [rsp + 0x38], bx
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.180027390
nop
lea r8, [rsp + 0x28]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.180027bc0
mov r11, qword [0x180087258]
mov qword [rsp + 0x20], r11
mov word [rsp + 0x40], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.180037550
mov r8d, 0x103
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov word [rsp + 0x246], r13w
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1800259f0
lea r8, [rsp + 0x20]
mov edx, dword [r12 + 8]
mov rcx, r12
call fcn.180027bc0
nop
lea rcx, [rsp + 0x20]
call fcn.180025870
nop
lea rcx, [rsp + 0x28]
call fcn.180025870
inc ebx
add edi, edi
cmp ebx, 0x1a
jb 0x180013a64
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800356a0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x260
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x180013c70
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x490
mov rax, qword [0x1800cb660]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov ebp, ecx
mov rsi, rdx
lea rcx, [rsp + 0x44]
xor ebx, ebx
xor edx, edx
mov r8d, 0x434
mov dword [rsp + 0x40], ebx
call fcn.180037550
lea ecx, [rbx + 0x18]
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180013d3a
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x438
call fcn.180037550
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov dword [rsp + 0x40], 0x438
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x180013d31
nop
movsxd rbx, dword [rsi + 8]
mov rcx, rsi
lea edx, [rbx + 1]
call fcn.180014150
mov rcx, rbx
lea rdx, [rsp + 0x40]
imul rcx, rcx, 0x438
add rcx, qword [rsi]
mov r8d, 0x438
call fcn.180036e50
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x180013cf0
lea ebx, [rax + 1]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1800e52c0], 0
je 0x180013d71
mov ecx, dword [rsi + 8]
lea r9, str.CProcMgr::GetProcessModuleByToolHelp_Process___d__ret___d__Moudles_num___d_
lea r8, str.ProcMgr
mov dword [rsp + 0x30], ecx
lea rcx, [0x1800e5208]
mov edx, reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebp
call fcn.180018f90
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1800356a0
mov rbx, qword [rsp + 0x4c0]
add rsp, 0x490
pop rdi
pop rsi
pop rbp
ret