joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400094e0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edi, edi
test rcx, rcx
mov rbx, rcx
jne 0x140009510
xor eax, eax
jmp 0x140009605
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x168], rbp
mov dword [rsp + 0x20], 1
call fcn.140008560
test rax, rax
mov rbp, rax
je 0x1400095fb
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], dil
call fcn.1400c2840
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140006d40
test eax, eax
je 0x1400095ec
lea r8, [rsp + 0x30]
lea rdx, [0x1400e5c38]
mov ecx, 4
mov qword [rsp + 0x170], rsi
call fcn.140095c10
test rax, rax
mov rsi, rax
je 0x1400095d2
mov rax, qword [rax]
mov edx, 1
mov rcx, rsi
call qword [rax + 0x88]
mov r11, qword [rsi + 0x298]
add r11, 0x1464
nop
nop
nop
movzx eax, byte [r11]
add rbx, 1
add r11, 1
test al, al
mov byte [rbx - 1], al
jne 0x1400095b0
mov rax, qword [rsi]
mov edi, 1
mov rcx, rsi
mov edx, edi
call qword [rax]
cmp dword [rsp + 0x20], 0
mov rsi, qword [rsp + 0x170]
je 0x1400095fb
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [rsp + 0x20], 0
je 0x1400095fb
mov rcx, rbp
call fcn.14008c4f0
mov rbp, qword [rsp + 0x168]
mov eax, edi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400c2a20
mov rbx, qword [rsp + 0x178]
add rsp, 0x150
pop rdi
ret
Function at 0x140009630
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edi, edi
mov dword [rsp + 0x20], 1
call fcn.140008560
test rax, rax
mov rsi, rax
je 0x140009844
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], dil
call fcn.1400c2840
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140006d40
test eax, eax
je 0x140009835
lea r8, [rsp + 0x30]
lea rdx, [0x1400e5c38]
lea ecx, [rdi + 4]
mov qword [rsp + 0x160], rbx
call fcn.140095c10
test rax, rax
mov rbx, rax
je 0x14000981b
mov rax, qword [rax]
mov edx, 0x401
mov rcx, rbx
call qword [rax + 0x88]
cmp dword [0x140167ef4], edi
jne 0x1400096ef
mov rax, qword [rbx + 0x298]
mov ecx, dword [rax + 0x27f0]
mov dword [0x140167ef4], ecx
cmp dword [0x140167cd8], edi
jne 0x14000970a
mov rax, qword [rbx + 0x298]
mov ecx, dword [rax + 0x281c]
mov dword [0x140167cd8], ecx
cmp dword [0x140167cdc], edi
jne 0x140009725
mov rax, qword [rbx + 0x298]
mov ecx, dword [rax + 0x2820]
mov dword [0x140167cdc], ecx
mov rax, qword [rbx + 0x298]
mov edx, 1
mov ecx, dword [rax + 0x27f8]
mov dword [0x140161bd8], ecx
mov rax, qword [rbx + 0x298]
mov ecx, dword [rax + 0x27fc]
mov dword [0x140161bdc], ecx
mov rax, qword [rbx + 0x298]
mov ecx, dword [rax + 0x2800]
mov dword [0x140161be0], ecx
mov rax, qword [rbx + 0x298]
mov ecx, dword [rax + 0x2804]
mov dword [0x140161be4], ecx
mov rax, qword [rbx + 0x298]
mov ecx, dword [rax + 0x280c]
mov dword [0x140167ab4], ecx
mov rax, qword [rbx + 0x298]
mov ecx, dword [rax + 0x2810]
mov dword [0x140161bf0], ecx
mov rax, qword [rbx + 0x298]
mov ecx, dword [rax + 0x2814]
mov dword [0x140161bf4], ecx
mov rax, qword [rbx + 0x298]
mov ecx, dword [rax + 0x2818]
mov dword [0x140167cd4], ecx
mov rax, qword [rbx + 0x298]
mov ecx, dword [rax + 0x27ec]
mov dword [0x140168004], ecx
mov rax, qword [rbx + 0x298]
mov ecx, dword [rax + 0x58c8]
mov dword [0x140161bd0], ecx
mov rax, qword [rbx + 0x298]
mov ecx, dword [rax + 0x58cc]
mov dword [0x140161bd4], ecx
mov rax, qword [rbx + 0x298]
mov ecx, dword [rax + 0x58c4]
mov dword [0x140161bec], ecx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov edi, 1
cmp dword [rsp + 0x20], 0
mov rbx, qword [rsp + 0x160]
je 0x140009844
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [rsp + 0x20], 0
je 0x140009844
mov rcx, rsi
call fcn.14008c4f0
mov eax, edi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400c2a20
mov rsi, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x14000a8d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x60], 0xfffffffffffffffe
xor ebx, ebx
mov dword [rsp + 0x50], ebx
lea rax, [r11 + 0x20]
mov qword [r11 - 0x48], rax
lea rax, [r11 - 0x30]
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x58], rbx
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14000aa30
mov dword [rsp + 0xa0], 3
mov dword [rsp + 0x98], ebx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000aa24
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x14000aa24
mov rcx, rax
call fcn.14008c4a0
mov rdi, rax
mov ecx, dword [rsp + 0x98]
call fcn.14008c4a0
mov rsi, rax
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rdi
call fcn.1400c2840
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rsi
call fcn.1400c2840
lea r11, [rsp + 0x98]
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000aa14
mov r8d, dword [rsp + 0x98]
mov rdx, rsi
mov rcx, rdi
call fcn.1400c3e90
test eax, eax
setne bl
mov dword [rsp + 0x50], ebx
mov rcx, rdi
call fcn.14008c4f0
mov rcx, rsi
call fcn.14008c4f0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov eax, ebx
jmp 0x14000aa38
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000aa80
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
sub rsp, 0x68
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rdi, rcx
xor r12d, r12d
mov ebx, r12d
mov dword [rsp + 0x50], ebx
add dword [rcx + 0xc0], 0xffffffff
jne 0x14000abfc
cmp dword [rcx + 0x8c], 1
jne 0x14000abfc
lea rax, [r11 + 0x10]
mov qword [r11 - 0x48], rax
lea rax, [r11 + 0x20]
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x58], r12
mov dword [rsp + 0x28], 0xf003f
mov dword [r11 - 0x68], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14000abd9
mov esi, dword [rdi + 0x9c]
mov dword [rsp + 0x28], esi
mov rax, qword [rdi + 0x168]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 3]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000abcb
lea rax, [rsp + 0x98]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov rcx, 0xffffffff80000005
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14000abc2
mov dword [rsp + 0x28], esi
mov rax, qword [rdi + 0x168]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 3]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 1
mov dword [rsp + 0x50], ebx
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rdi + 0x8c], r12d
mov dword [rdi + 0x9c], r12d
mov rcx, qword [rdi + 0x168]
call fcn.14008c4f0
mov qword [rdi + 0x168], r12
jmp 0x14000ac05
mov ebx, 1
mov dword [rsp + 0x50], ebx
mov eax, ebx
jmp 0x14000ac0d
add rsp, 0x68
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000c170
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
sub rsp, 0x68
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rsp + 0x98]
call fcn.14006e440
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r8d, 8
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x98]
call fcn.14006e170
mov dword [rsp + 0x38], 0x5c3a63
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0xa8], r12d
mov dword [rsp + 0xa0], r12d
mov dword [rsp + 0x34], r12d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x14000c23c
mov eax, dword [rsp + 0xa0]
imul eax, dword [rsp + 0xa8]
imul eax, dword [rsp + 0x30]
mov dword [rsp + 0x3c], eax
lea r8d, [r12 + 4]
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x98]
call fcn.14006e170
xor ecx, ecx
call fcn.1400c2a40
mov qword [rsp + 0x48], rax
mov r8d, 8
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.14006e170
lea rdx, [rsi + 0x10c8]
mov r8d, 0x10
lea rcx, [rsp + 0x98]
call fcn.14006e170
mov r8d, 0x100
lea rdx, [rsi + 0x910]
lea rcx, [rsp + 0x98]
call fcn.14006e2b0
mov ecx, 0x10c
call fcn.14008c4a0
mov rdi, rax
xor edx, edx
mov r8d, 0x10c
mov rcx, rax
call fcn.1400c2840
mov dword [rdi], 1
mov dword [rdi + 4], 0x10c
mov dword [rdi + 8], 0x20000
lea rcx, [rdi + 0xc]
lea rdx, [rsi + 0x910]
mov r8d, 0x100
call fcn.1400c1a10
mov r11, qword [rsi]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8d, 0x10c
mov rdx, rdi
mov rcx, rsi
call qword [r11 + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rdi
call fcn.14008c4f0
nop
add rsp, 0x68
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000c9a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x50], ebx
add dword [rcx + 0xc0], 1
call fcn.14000a8d0
cmp eax, 1
jne 0x14000cbf2
cmp dword [rdi + 0x8c], ebx
jne 0x14000cbf2
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14000cbfb
mov dword [rsp + 0xa0], 3
mov dword [rsp + 0x98], ebx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000cbe5
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x14000cbe5
mov rcx, rax
call fcn.14008c4a0
mov qword [rdi + 0x168], rax
mov ecx, dword [rsp + 0x98]
call fcn.14008c4a0
mov rsi, rax
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rax
call fcn.1400c2840
mov ecx, dword [rsp + 0x98]
mov dword [rdi + 0x9c], ecx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov rcx, qword [rdi + 0x168]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000cbc4
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, dword [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000cbdd
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov rcx, 0xffffffff80000005
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14000cbaf
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, dword [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rdi + 0x8c], 1
mov ebx, 1
mov dword [rsp + 0x50], ebx
jmp 0x14000cbdd
mov rcx, qword [rdi + 0x168]
call fcn.14008c4f0
mov qword [rdi + 0x168], rbx
mov dword [rdi + 0x9c], ebx
mov rcx, rsi
call fcn.14008c4f0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000cbfb
mov ebx, 1
mov dword [rsp + 0x50], ebx
mov eax, ebx
jmp 0x14000cc03
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000dcb0
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x210
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x30]
call fcn.14006e440
mov ecx, 0x321
call fcn.14008c4a0
mov rsi, rax
xor edx, edx
mov r8d, 0x321
mov rcx, rax
call fcn.1400c2840
mov rax, qword [rbx]
lea rdx, [rsi + 0xc]
mov rcx, rbx
call qword [rax + 0x88]
cmp dword [rbx + 0x40], 0
jne 0x14000df26
mov rax, qword [rbx]
lea r8, [rsp + 0xf0]
lea rdx, [rsi + 0xc]
mov rcx, rbx
call qword [rax + 0x80]
lea rcx, [rsi + 0x121]
lea rdx, [rdi + 0xc]
mov r8d, 0x100
call fcn.1400c1a10
lea rcx, [rsp + 0x70]
call fcn.1400927a0
mov r8d, 0x100
lea rdx, [rdi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1400928d0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsi + 0xc]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1400928d0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xf0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x70]
call fcn.1400928d0
lea rcx, [rsp + 0x70]
call fcn.140092800
lea rcx, [rsp + 0xd0]
mov rax, qword [rcx]
mov qword [rsi + 0x10d], rax
mov rax, qword [rcx + 8]
mov qword [rsi + 0x115], rax
mov eax, dword [rcx + 0x10]
mov dword [rsi + 0x11d], eax
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r8d, 8
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.14006e170
mov dword [rsp + 0x44], 0x5c3a63
xor r13d, r13d
mov dword [rsp + 0x3c], r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x48], r13d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x14000de80
mov eax, dword [rsp + 0x34]
imul eax, dword [rsp + 0x38]
imul eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
lea r8d, [r13 + 4]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14006e170
xor ecx, ecx
call fcn.1400c2a40
mov qword [rsp + 0x50], rax
mov r8d, 8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14006e170
lea rdx, [rbx + 0x10c8]
mov r8d, 0x10
lea rcx, [rsp + 0x30]
call fcn.14006e170
mov dword [rsi], 2
mov dword [rsi + 4], 0x321
mov dword [rsi + 8], 0x20000
mov r8d, 0x100
lea rdx, [rsi + 0x221]
lea rcx, [rsp + 0x30]
call fcn.14006e2b0
mov rax, qword [rbx]
mov r8d, dword [rsi + 4]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov rdx, rsi
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r11, [rsp + 0xf0]
mov qword [rsp + 0x20], r11
lea r9, [rsi + 0xc]
lea r8, [rsi + 0x221]
xor edx, edx
mov rcx, rbx
call fcn.14000c350
mov rcx, rsi
call fcn.14008c4f0
nop
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400c2a20
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x140010520
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rsi
mov rdi, rdx
mov rbx, rcx
lea rax, [0x1400e7c30]
mov qword [rcx], rax
add rcx, 0xc8
xor edx, edx
call fcn.140038c80
nop
lea rcx, [rbx + 0xf0]
xor edx, edx
call fcn.140038c80
nop
lea rcx, [rbx + 0xc]
xor edx, edx
lea r8d, [rdx + 0x64]
call fcn.1400c2840
lea rcx, [rbx + 0x78]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [rbx + 0x118], rdi
mov eax, dword [rdi + 0x90]
mov dword [rbx + 0xa0], eax
xor esi, esi
mov dword [rbx + 0x70], esi
mov dword [rbx + 0x74], esi
mov qword [rbx + 0xa8], rsi
mov qword [rbx + 0xc0], rsi
mov rax, qword [rdi + 0xb0]
mov qword [rbx + 0xb8], rax
mov qword [rbx + 0xb0], rsi
mov dword [rbx + 8], esi
mov dword [rsp + 0x60], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0xb0], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x140010510]
xor edx, edx
xor ecx, ecx
call fcn.1400c45f0
mov qword [rbx + 0xa8], rax
test rax, rax
je 0x140010631
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
or edx, 0xffffffff
mov rcx, qword [rbx + 0xb0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140010631
mov dword [rbx + 0x70], 1
mov rcx, qword [rbx + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
jmp 0x140010649
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140011300
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x200
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x220], rbx
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rdx
lea rax, [0x1400e7ed0]
mov qword [rcx], rax
add rcx, 0xc8
xor edx, edx
call fcn.140038c80
nop
lea rcx, [rbx + 0xf0]
xor edx, edx
call fcn.140038c80
nop
lea rcx, [rbx + 0x118]
xor edx, edx
call fcn.140038c80
nop
lea rcx, [rbx + 0x140]
xor edx, edx
call fcn.140038c80
nop
lea rcx, [rbx + 0x170]
call fcn.14006e440
nop
mov r8d, 8
lea rdx, [rsp + 0x38]
lea rcx, [rbx + 0x170]
call fcn.14006e170
add dword [0x140164564], 1
xor edi, edi
mov dword [rbx + 0xc], edi
mov dword [rbx + 0x10], edi
mov dword [rbx + 0x14], edi
mov dword [rbx + 0x18], edi
mov dword [rbx + 0x80], edi
mov qword [rbx + 0xa0], rdi
mov rax, qword [rsp + 0x38]
mov qword [rbx + 0xb0], rax
mov qword [rbx + 0xa8], rdi
mov qword [rbx + 0xb8], rdi
mov dword [rbx + 0x84], edi
mov dword [rbx + 0x90], 5
mov dword [rbx + 0x94], 5
mov dword [rbx + 0x98], 5
mov dword [rbx + 8], edi
mov dword [rbx + 0x88], 1
mov dword [rbx + 0x9c], edi
mov dword [rbx + 0x8c], edi
mov dword [rbx + 0xc0], edi
mov qword [rbx + 0x168], rdi
lea rcx, [rbx + 0x1c]
xor edx, edx
lea r8d, [rdi + 0x64]
call fcn.1400c2840
xor edx, edx
mov r8d, 0x104
lea rcx, [0x140164460]
call fcn.1400c2840
mov rcx, rbx
call fcn.14000a2b0
test eax, eax
je 0x140011516
lea rdx, [rsp + 0x50]
mov cx, 0x101
call qword [0x140164578]
test eax, eax
jne 0x140011516
movzx eax, word [rsp + 0x50]
cmp al, 1
jne 0x140011516
shr ax, 8
cmp al, 1
jne 0x140011516
mov dword [rsp + 0x30], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0xa8], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x1400112f0]
xor edx, edx
xor ecx, ecx
call fcn.1400c45f0
mov qword [rbx + 0xa0], rax
test rax, rax
je 0x140011508
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
or edx, 0xffffffff
mov rcx, qword [rbx + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140011508
mov rcx, rbx
call fcn.1400106d0
cmp dword [rax + 0x70], edi
je 0x140011508
mov dword [rbx + 0x84], 1
mov rcx, qword [rbx + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
jmp 0x140011520
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1400c2a20
mov rbx, qword [rsp + 0x220]
add rsp, 0x200
pop rdi
ret
Function at 0x140012a90
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x160
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r13, rdx
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
test rcx, rcx
jne 0x140012ada
xor eax, eax
jmp 0x140012ca0
mov rcx, qword [rdx + 0x298]
add rcx, 0x53a0
cmp byte [rcx], 0
je 0x140012b14
nop
movzx eax, byte [rcx]
mov byte [rbx], al
add rcx, 1
add rbx, 1
test al, al
jne 0x140012af0
mov r12d, 1
mov esi, r12d
mov dword [rsp + 0x20], r12d
jmp 0x140012c98
mov r12d, 1
mov dword [rsp + 0x34], 0x104
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov r11d, esi
mov dword [rsp + 0x30], esi
nop
nop
mov r8d, r11d
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
sub rcx, r12
cmp r8, rcx
jae 0x140012b85
movsx ecx, byte [rsp + r8 + 0x40]
add ecx, r11d
mov eax, 0x51eb851f
mul ecx
shr edx, 3
imul edx, edx, 0x19
sub ecx, edx
add ecx, 0x41
mov byte [rsp + r8 + 0x40], cl
add r11d, r12d
mov dword [rsp + 0x30], r11d
jmp 0x140012b40
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
sub rcx, r12
movzx eax, byte [rsp + 0x48]
cmp rcx, 8
cmova eax, esi
mov byte [rsp + 0x48], al
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
cmp rcx, r12
je 0x140012c75
mov rax, qword [0x140160e18]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400e8a80]
lea rcx, [rsp + 0x28]
call fcn.14002d580
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.14002d580
mov rdx, qword [rsp + 0x28]
mov r8, qword [rdx - 0x10]
cmp r8, 6
jle 0x140012c0d
add r8, 0xfffffffffffffffa
mov edx, 6
lea rcx, [rsp + 0x28]
call fcn.14002def0
lea rdx, [0x1400e8a7c]
lea rcx, [rsp + 0x28]
call fcn.14002d580
lea rcx, [rsp + 0x28]
call fcn.14002d830
mov rdx, qword [rsp + 0x28]
mov rcx, rdx
movzx eax, byte [rcx]
mov byte [rbx], al
add rcx, 1
add rbx, 1
test al, al
jne 0x140012c30
mov rcx, qword [r13 + 0x298]
add rcx, 0x53a0
nop
movzx eax, byte [rdx]
mov byte [rcx], al
add rdx, 1
add rcx, 1
test al, al
jne 0x140012c50
mov esi, r12d
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x28]
call fcn.14002d2c0
jmp 0x140012c98
test r12d, r12d
je 0x140012c98
lea rcx, str.xsrmod32
movzx eax, byte [rcx]
mov byte [rbx], al
add rcx, r12
add rbx, r12
test al, al
jne 0x140012c81
mov esi, r12d
mov dword [rsp + 0x20], r12d
jmp 0x140012c9e
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400c2a20
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret