joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001b1d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x14001acd0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rdi, rsp
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14001ad1c
xor eax, eax
jmp 0x14001adc9
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001ad3b
xor eax, eax
jmp 0x14001adc9
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x70]
and eax, 0xf
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jbe 0x14001ada4
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
jae 0x14001ada4
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x14001ad6e
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
jb 0x14001adb4
xor eax, eax
jmp 0x14001adc9
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
test eax, eax
jne 0x14001adc4
xor eax, eax
jmp 0x14001adc9
mov rax, qword [rsp + 0x20]
add rsp, 0x50
pop rdi
ret
Function at 0x140001e38
Capabilities:
Check for time delay via gettickcount

Disassembly:
jmp 0x14000bfd0
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rdi, rsp
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
mov byte [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x34], eax
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x14000c019
mov rcx, qword [rsp + 0x50]
call fcn.1400012f8
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.140002266
movzx eax, al
test eax, eax
je 0x14000c035
mov al, 1
jmp 0x14000c104
cmp dword [rsp + 0x60], 0xffffffff
jne 0x14000c046
mov dword [rsp + 0x38], 0xffffffff
jmp 0x14000c075
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x60], eax
ja 0x14000c065
xor al, al
jmp 0x14000c104
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
test rax, rax
jne 0x14000c0bd
lea rax, str.m_hSemaphore
mov qword [rsp + 0x28], rax
lea rax, [0x14016803c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3c
lea rdx, str...CommonCritSectEx.cpp
mov ecx, 2
call fcn.14009dc40
cmp eax, 1
jne 0x14000c0bd
int3
mov edx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x14000c0e7
cmp dword [rsp + 0x3c], 0x102
je 0x14000c0ee
jmp 0x14000c0f5
mov byte [rsp + 0x30], 0
jmp 0x14000c0ff
mov byte [rsp + 0x30], 1
jmp 0x14000c0ff
mov ecx, 1
call fcn.140001b77
jmp 0x14000c006
add rsp, 0x40
pop rdi
ret
Function at 0x140001e97
Capabilities:
Query service status

Disassembly:
jmp 0x140015540
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov rdi, rsp
mov ecx, 0x38
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x1401e0280]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xf0]
add rax, 8
mov rcx, rax
call fcn.14000110e
mov r8d, 0xf003f
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400014a1
nop
lea rcx, [rsp + 0x68]
call fcn.140001dc0
test rax, rax
je 0x1400155ef
mov dword [rsp + 0xc0], 1
jmp 0x1400155fa
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x14001562d
mov dword [rsp + 0xa8], 0
lea rcx, [rsp + 0x68]
call fcn.1400021b7
mov eax, dword [rsp + 0xa8]
jmp 0x1400157a6
xor eax, eax
test eax, eax
jne 0x1400155d3
mov rax, qword [rsp + 0xf0]
mov rcx, rax
call fcn.14000110e
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x68]
call fcn.140001dc0
mov r8d, 4
mov rcx, qword [rsp + 0xc8]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.1400014a1
nop
lea rcx, [rsp + 0x88]
call fcn.140001dc0
test rax, rax
je 0x14001569f
mov dword [rsp + 0xd0], 1
jmp 0x1400156aa
mov dword [rsp + 0xd0], 0
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
jne 0x1400156f1
mov dword [rsp + 0xac], 0
lea rcx, [rsp + 0x88]
call fcn.1400021b7
nop
lea rcx, [rsp + 0x68]
call fcn.1400021b7
mov eax, dword [rsp + 0xac]
jmp 0x1400157a6
xor eax, eax
test eax, eax
jne 0x140015680
lea rcx, [rsp + 0x88]
call fcn.140001dc0
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140015723
mov dword [rsp + 0xd4], 1
jmp 0x14001572e
mov dword [rsp + 0xd4], 0
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0
jne 0x140015772
mov dword [rsp + 0xb0], 0
lea rcx, [rsp + 0x88]
call fcn.1400021b7
nop
lea rcx, [rsp + 0x68]
call fcn.1400021b7
mov eax, dword [rsp + 0xb0]
jmp 0x1400157a6
xor eax, eax
test eax, eax
jne 0x1400156f7
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0xb4], eax
lea rcx, [rsp + 0x88]
call fcn.1400021b7
nop
lea rcx, [rsp + 0x68]
call fcn.1400021b7
mov eax, dword [rsp + 0xb4]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140170030]
call fcn.14009e8b0
mov rax, rdi
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1400a3850
add rsp, 0xe0
pop rdi
ret
Function at 0x140002158
Capabilities:
Get file version info

Disassembly:
jmp 0x14001ded0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x80]
add rax, 4
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0
je 0x14001e052
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
mov qword [rsp + 0x60], rax
mov eax, 2
mov rcx, qword [rsp + 0x60]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140050cc0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x10], 0
je 0x14001e050
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x10]
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax + 8]
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x88]
call sub.VERSION.dll_GetFileVersionInfoW
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x48]
lea rdx, [0x14017dd28]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x10]
call sub.VERSION.dll_VerQueryValueW
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x18], rcx
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x48]
lea rdx, str.VarFileInfoTranslation
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x10]
call sub.VERSION.dll_VerQueryValueW
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x48]
movzx ecx, word [rdx + rcx]
shl ecx, 0x10
add eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
jmp 0x14001e062
mov rax, qword [rsp + 0x80]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x80]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14017c7b0]
call fcn.14009e8b0
mov rax, rdi
add rsp, 0x70
pop rdi
ret

Function at 0x1400021f3
Capabilities:
Print debug messages

Disassembly:
jmp 0x140024590
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
mov eax, 0x4090
call fcn.1400accf0
sub rsp, rax
mov rdi, rsp
mov ecx, 0x1024
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40a0]
mov rax, qword [0x1401e0280]
xor rax, rsp
mov qword [rsp + 0x4080], rax
lea rax, [rsp + 0x40a8]
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40a0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wvsprintfW]
lea r8, [rsp + 0x50]
lea rdx, str._s_r_n
lea rcx, [rsp + 0x2070]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x2070]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rsp
lea rdx, [0x14017b230]
call fcn.14009e8b0
mov rcx, qword [rsp + 0x4080]
xor rcx, rsp
call fcn.1400a3850
add rsp, 0x4090
pop rdi
ret
Function at 0x140002225
Capabilities:
Check for time delay via gettickcount

Disassembly:
jmp 0x140024400
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rdi, rsp
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x98]
mov r8d, dword [rsp + 0x80]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400244ab
cmp dword [rsp + 0x50], 0x20
jne 0x1400244ab
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x1400244ab
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400244d1
cmp dword [rsp + 0x50], 0x20
jne 0x1400244d1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x40]
cmp eax, dword [rsp + 0xa8]
jb 0x140024436
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x48]
add rsp, 0x60
pop rdi
ret

Function at 0x14000238d
Capabilities:
Write file on windows

Disassembly:
jmp 0x140037c20
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rdi, rsp
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x140037c62
mov dword [rsp + 0x58], 1
jmp 0x140037c6a
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140037c85
lea rax, str.m_h___0
test rax, rax
jne 0x140037cbf
lea rax, str.__atl_condVal_m_h___0_
mov qword [rsp + 0x28], rax
lea rax, [0x1401702e4]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x9d
lea rdx, str.C:Program_Files__x86_Microsoft_Visual_Studio_12.0VC_atlmfcinclude_atlfile.h
mov ecx, 2
call fcn.14009dc40
cmp eax, 1
jne 0x140037cbf
int3
cmp dword [rsp + 0x30], 0
jne 0x140037cd0
mov ecx, 0x80004005
call fcn.1400020ae
xor eax, eax
test eax, eax
jne 0x140037c4d
xor eax, eax
test eax, eax
jne 0x140037cda
xor eax, eax
test eax, eax
jne 0x140037c4d
cmp qword [rsp + 0x88], 0
jne 0x140037d02
lea rax, [rsp + 0x44]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x88]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x140037d40
call fcn.14000125d
jmp 0x140037d42
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140179e70]
call fcn.14009e8b0
mov rax, rdi
add rsp, 0x60
pop rdi
ret
Function at 0x14000bfd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
jmp 0x14000bfd0
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rdi, rsp
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
mov byte [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x34], eax
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x14000c019
mov rcx, qword [rsp + 0x50]
call fcn.1400012f8
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.140002266
movzx eax, al
test eax, eax
je 0x14000c035
mov al, 1
jmp 0x14000c104
cmp dword [rsp + 0x60], 0xffffffff
jne 0x14000c046
mov dword [rsp + 0x38], 0xffffffff
jmp 0x14000c075
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x60], eax
ja 0x14000c065
xor al, al
jmp 0x14000c104
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
test rax, rax
jne 0x14000c0bd
lea rax, str.m_hSemaphore
mov qword [rsp + 0x28], rax
lea rax, [0x14016803c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3c
lea rdx, str...CommonCritSectEx.cpp
mov ecx, 2
call fcn.14009dc40
cmp eax, 1
jne 0x14000c0bd
int3
mov edx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x14000c0e7
cmp dword [rsp + 0x3c], 0x102
je 0x14000c0ee
jmp 0x14000c0f5
mov byte [rsp + 0x30], 0
jmp 0x14000c0ff
mov byte [rsp + 0x30], 1
jmp 0x14000c0ff
mov ecx, 1
call fcn.140001b77
jmp 0x14000c006
add rsp, 0x40
pop rdi
ret
Function at 0x14000c5b0
Capabilities:
Terminate thread

Disassembly:
jmp 0x14000c5b0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
add rax, 0x48
mov rcx, rax
call fcn.140001bc2
mov rax, qword [rsp + 0x80]
add rax, 0x50
mov rcx, rax
call fcn.1400013bb
mov edx, 0x1388
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x14000c616
mov dword [rsp + 0x60], 1
jmp 0x14000c61e
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000213a
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x20], 0
je 0x14000c654
lea rax, str.WaitForSingleObject_m_hMainThread__5000______DWORD_0xFFFFFFFF_
test rax, rax
je 0x14000c654
mov dword [rsp + 0x64], 1
jmp 0x14000c65c
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x14000c690
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0x54]
call fcn.14000159b
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
lea rdx, [0x1401df3b8]
lea rcx, [rsp + 0x50]
call fcn.1400a2ad0
xor eax, eax
test eax, eax
jne 0x14000c637
xor eax, eax
test eax, eax
jne 0x14000c5e5
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x80]
add rax, 0x50
mov rcx, rax
call fcn.1400013bb
lea rdx, [rsp + 0x34]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x14000c6d8
mov dword [rsp + 0x68], 1
jmp 0x14000c6e0
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x44], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000213a
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x44], 0
je 0x14000c716
lea rax, str.GetExitCodeThread_m_hMainThread__dwExitCode_
test rax, rax
je 0x14000c716
mov dword [rsp + 0x6c], 1
jmp 0x14000c71e
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x14000c752
mov edx, dword [rsp + 0x48]
lea rcx, [rsp + 0x5c]
call fcn.14000159b
mov eax, dword [rax]
mov dword [rsp + 0x58], eax
lea rdx, [0x1401df3b8]
lea rcx, [rsp + 0x58]
call fcn.1400a2ad0
xor eax, eax
test eax, eax
jne 0x14000c6f9
xor eax, eax
test eax, eax
jne 0x14000c6a8
cmp dword [rsp + 0x34], 0x103
jne 0x14000c78b
mov rax, qword [rsp + 0x80]
add rax, 0x50
mov rcx, rax
call fcn.1400013bb
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, rsp
lea rdx, [0x14016d2d0]
call fcn.14009e8b0
add rsp, 0x70
pop rdi
ret
Function at 0x140013a60
Capabilities:
Create thread

Disassembly:
jmp 0x140013a60
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.1400a23e0
add rsp, 0x30
pop rdi
ret
Function at 0x14001aa60
Capabilities:
Query service status
Resolve function by parsing pe exports

Disassembly:
jmp 0x14001aa60
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rdi, rsp
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x24], eax
xor eax, eax
cmp eax, 1
je 0x14001ac38
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14001aad7
mov dword [rsp + 0x48], 1
jmp 0x14001aadf
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000213a
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x28], 0
je 0x14001ab15
lea rax, str.QueryServiceStatus_hService__status_
test rax, rax
je 0x14001ab15
mov dword [rsp + 0x4c], 1
jmp 0x14001ab1d
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14001ab51
mov edx, dword [rsp + 0x2c]
lea rcx, [rsp + 0x44]
call fcn.14000159b
mov eax, dword [rax]
mov dword [rsp + 0x40], eax
lea rdx, [0x1401df3b8]
lea rcx, [rsp + 0x40]
call fcn.1400a2ad0
xor eax, eax
test eax, eax
jne 0x14001aaf8
xor eax, eax
test eax, eax
jne 0x14001aab6
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x70]
cmp dword [rax + 4], ecx
jne 0x14001ab7c
mov eax, 1
jmp 0x14001ac3d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x78]
cmp eax, dword [rsp + 0x80]
jbe 0x14001ab96
xor eax, eax
jmp 0x14001ac3d
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x20], eax
je 0x14001abc7
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x38], eax
jmp 0x14001abed
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x24]
cmp dword [rax + 0x14], ecx
jb 0x14001abe9
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x24], eax
jmp 0x14001abed
xor eax, eax
jmp 0x14001ac3d
xor edx, edx
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x18]
mov ecx, 0xa
div ecx
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0x3e8
jae 0x14001ac17
mov dword [rsp + 0x3c], 0x3e8
cmp dword [rsp + 0x3c], 0x2710
jbe 0x14001ac29
mov dword [rsp + 0x3c], 0x2710
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001aaab
mov eax, 1
add rsp, 0x50
pop rdi
ret
Function at 0x14001ded0
Capabilities:
Get file version info

Disassembly:
jmp 0x14001ded0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x80]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x80]
add rax, 4
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 0
je 0x14001e052
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
mov qword [rsp + 0x60], rax
mov eax, 2
mov rcx, qword [rsp + 0x60]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140050cc0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x10], 0
je 0x14001e050
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x10]
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax + 8]
mov rax, qword [rsp + 0x80]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x88]
call sub.VERSION.dll_GetFileVersionInfoW
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x48]
lea rdx, [0x14017dd28]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x10]
call sub.VERSION.dll_VerQueryValueW
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x18], rcx
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x48]
lea rdx, str.VarFileInfoTranslation
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x10]
call sub.VERSION.dll_VerQueryValueW
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x48]
movzx ecx, word [rdx + rcx]
shl ecx, 0x10
add eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
jmp 0x14001e062
mov rax, qword [rsp + 0x80]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x80]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14017c7b0]
call fcn.14009e8b0
mov rax, rdi
add rsp, 0x70
pop rdi
ret