joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400149d0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rdx
mov rdi, rcx
call fcn.1400148f0
test eax, eax
je 0x140014a08
lea rcx, str._INFO___Warning__Duplicate_injection_prevented__n
call fcn.1400023e0
xor eax, eax
jmp 0x140014be6
lea rcx, [0x14001bf60]
mov qword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140014a2d
mov eax, 2
jmp 0x140014be6
lea rdx, [0x14001bf80]
mov qword [rsp + 0x50], r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x140014a53
lea eax, [r14 + 3]
jmp 0x140014be1
test rdi, rdi
jne 0x140014a60
lea eax, [rdi + 4]
jmp 0x140014be1
mov qword [rsp + 0x80], rbx
mov rbx, 0xffffffffffffffff
mov r8, rbx
mov qword [rsp + 0x88], rbp
nop word [rax + rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x140014a80
inc r8
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
jne 0x140014ad0
lea rcx, str._PICH___Error__Failed_to_allocate_virtual_memory__n
call fcn.1400023e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [rbp + 5]
jmp 0x140014bd1
cmp byte [rsi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140014ad0
lea rax, [rsp + 0x40]
mov r8, rsi
lea r9, [rbx + 1]
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140014b30
lea rcx, str._PICH___Error__Failed_to_write_remote_process_memory__n
call fcn.1400023e0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 6
jmp 0x140014bd1
mov qword [rsp + 0x30], 0
mov r9, r14
mov dword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
jne 0x140014b8e
lea rcx, str._PICH___Error__CreateRemoteThread_failed__n
call fcn.1400023e0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [rbx + 7]
jmp 0x140014bd1
lea rcx, str._PICH___SUCCESS__Remote_thread_started__n
call fcn.1400023e0
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001a080
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x140019610
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400196aa
nop dword [rax]
lea rcx, [rsp + 0x4c]
mov r8, rdi
sub r8, rcx
nop dword [rax + rax]
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x140019694
add rcx, 2
test eax, eax
jne 0x140019680
mov rcx, rbx
test edx, edx
je 0x1400196d6
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140019670
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001a080
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x1400196b5
Function at 0x14001a988
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001a9d2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001a9d2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001a9d2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001a9d2
cmp dword [rcx + 0x84], 0xe
jbe 0x14001a9d2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001a9d4
xor al, al
add rsp, 0x28
ret
Function at 0x140ae60b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140ae6237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140ae60e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ae60c7
add dl, dl
jne 0x140ae60ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ae614e
xor eax, eax
add dl, dl
jne 0x140ae60fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ae6205
add dl, dl
jne 0x140ae610e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ae611b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ae6128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ae6135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ae6142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ae60d6
mov eax, 1
add dl, dl
jne 0x140ae615e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ae616b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ae6153
sub eax, ebx
mov ebx, 1
jne 0x140ae61a4
mov ecx, 1
add dl, dl
jne 0x140ae6186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ae6193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ae617b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ae60d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ae61c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ae61cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ae61b5
cmp eax, 0x7d00
jae 0x140ae61f3
cmp eax, 0x500
jb 0x140ae61ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ae60d6
cmp eax, 0x7f
ja 0x140ae61f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ae60d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ae622a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140ae60d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140014d20
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140014d2d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140014d3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140014d25
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140014d55
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140014d42
sub eax, 3
jb 0x140014d6f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140014da6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140014d96
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140014d94
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140014d83
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140014ce2
jmp 0x140014d2d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x3000
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140014df2
cmp rsi, rcx
jae 0x140014dfa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140014dd9
cmp al, 0x8f
ja 0x140014dd9
cmp byte [rsi - 2], 0xf
je 0x140014ddf
sub al, 0xe8
cmp al, 1
ja 0x140014dc3
cmp rsi, rcx
jae 0x140014dfa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140014dc9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140014dfa
lodsb al, byte [rsi]
jmp 0x140014dd9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x12000]
mov eax, dword [rdi]
or eax, eax
je 0x140014e57
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x14000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140014e07
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140014e51
mov qword [rbx], rax
add rbx, 8
jmp 0x140014e27
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140014e91
cmp al, 0xef
ja 0x140014e83
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140014e63
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140014e72
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.140014f10], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140014f10
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140014f00
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x1000113bc
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
call sub.MpClient.dll_MpConfigInitialize
mov edi, eax
test eax, eax
js 0x1000113df
mov ebx, 0x12345678
xor edi, edi
test edi, edi
jns 0x1000113f4
test rbx, rbx
je 0x1000113ed
call sub.MpClient.dll_MpConfigUninitialize
mov eax, edi
jmp 0x1000114c1
and qword [rsp + 0x50], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [0x100004dc0]
lea rcx, [rsp + 0x50]
mov r8, rax
call fcn.1000211f0
mov edi, eax
test eax, eax
jns 0x10001142c
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1000113e3
call qword [sym.imp.msvcrt.dll_free]
jmp 0x1000113e3
mov rdi, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.100011288
mov esi, eax
test eax, eax
jns 0x1000114a7
mov rcx, qword [0x10002d220]
lea rax, [0x10002d220]
cmp rcx, rax
je 0x100011479
test byte [rcx + 0x1c], 1
je 0x100011479
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001a58]
mov edx, 0xc
mov r9, rdi
mov dword [rsp + 0x20], esi
call fcn.1000206c0
lea rcx, [0x100004de0]
mov r8d, esi
mov rdx, rdi
call fcn.10000eea8
test rdi, rdi
je 0x100011499
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
test rbx, rbx
je 0x1000114a3
call sub.MpClient.dll_MpConfigUninitialize
mov eax, esi
jmp 0x1000114c1
test rdi, rdi
je 0x1000114b5
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
test rbx, rbx
je 0x1000114bf
call sub.MpClient.dll_MpConfigUninitialize
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1000114d8
Capabilities:
Impersonate user

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdi
push r12
sub rsp, 0x50
and qword [r11 - 0x28], 0
and qword [r11 - 0x20], 0
lea rax, [r11 - 0x28]
mov rdi, rdx
mov qword [r11 - 0x30], rax
and dword [rsp + 0x20], 0
lea r8, [0x100003414]
lea rdx, [0x100004e38]
lea rcx, [0x100004ce0]
mov r9d, 5
call qword [sym.imp.ADVAPI32.dll_LogonUserW]
lea r12, [0x10002d220]
test eax, eax
jne 0x100011599
call fcn.10001e9f0
mov ebx, eax
mov rcx, qword [0x10002d220]
cmp rcx, r12
je 0x100011568
test byte [rcx + 0x1c], 1
je 0x100011568
mov rcx, qword [rcx + 0x10]
lea r9, [0x100004ce0]
lea r8, [0x100001a58]
mov edx, 0xd
mov dword [rsp + 0x20], eax
call fcn.1000206c0
lea rdx, [0x100004ce0]
lea rcx, [0x100004e60]
mov r8d, ebx
call fcn.10000eea8
test ebx, ebx
jns 0x100011599
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x100011592
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x1000116bc
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
call fcn.100011c30
mov ebx, eax
test eax, eax
jns 0x10001160b
mov rcx, qword [0x10002d220]
cmp rcx, r12
je 0x1000115d8
test byte [rcx + 0x1c], 1
je 0x1000115d8
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001a58]
mov edx, 0xe
mov r9d, eax
call fcn.10000f078
lea rcx, [0x100004eb0]
mov edx, ebx
call fcn.10000eea8
mov rbx, qword [rsp + 0x38]
and qword [rsp + 0x40], 0
test rbx, rbx
je 0x100011610
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x38], rbx
jmp 0x100011610
mov rbx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x38]
test rbx, rbx
cmove rcx, rax
and qword [rsp + 0x20], 0
lea r8, [0x100004ce0]
mov rcx, qword [rcx]
xor r9d, r9d
mov rdx, rdi
call fcn.100011944
mov edi, eax
test eax, eax
jns 0x10001169c
mov rcx, qword [0x10002d220]
cmp rcx, r12
je 0x10001166c
test byte [rcx + 0x1c], 1
je 0x10001166c
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001a58]
mov edx, 0xf
mov r9d, eax
call fcn.10000f078
lea rcx, [0x100004f10]
mov edx, edi
call fcn.10000eea8
test rbx, rbx
je 0x100011688
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x100011698
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x1000116bc
test rbx, rbx
je 0x1000116aa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1000116ba
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop r12
ret
Function at 0x100012578
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, esi
mov rcx, rbp
mov ebx, eax
call fcn.10002092c
test al, al
je 0x1000125f9
lea edi, [rsi + 0x3a98]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, ebx
cmp edi, ecx
ja 0x1000125c1
sub ebx, eax
cmp edi, ebx
jbe 0x1000125e3
lea rcx, [0x100005390]
mov edx, esi
call fcn.10000eea8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0x5b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, esi
mov rcx, rbp
mov ebx, eax
call fcn.10002092c
test al, al
jne 0x1000125ad
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1000170c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov edi, 0xea60
mov r15, rdx
mov rbx, rcx
mov dword [rsp + 0x50], edi
call sub.MpClient.dll_MpClientUtilExportFunctions
lea r8, [rsp + 0x50]
lea rcx, [0x100008090]
mov edx, edi
call qword [rax + 0xa0]
mov edi, dword [rsp + 0x50]
mov esi, 0x1d4c0
mov dword [rsp + 0x50], esi
call sub.MpClient.dll_MpClientUtilExportFunctions
lea r8, [rsp + 0x50]
lea rcx, [0x1000080e0]
mov edx, esi
call qword [rax + 0xa0]
mov esi, 0x2bf20
mov dword [rsp + 0x60], esi
call sub.MpClient.dll_MpClientUtilExportFunctions
lea r8, [rsp + 0x60]
lea rcx, [0x100008130]
mov edx, esi
call qword [rax + 0xa0]
mov r12d, dword [rsp + 0x60]
cmp edi, dword [rsp + 0x50]
jbe 0x10001715f
mov eax, 0xaaaaaaab
mul dword [rsp + 0x50]
mov edi, edx
shr edi, 2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbx + 0x10]
mov edx, edi
mov esi, eax
call fcn.10002092c
test al, al
je 0x1000171ea
lea r14d, [rdi + 0x3a98]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, esi
cmp r14d, ecx
ja 0x10001719b
sub esi, eax
cmp r14d, esi
jbe 0x1000171d3
mov ecx, dword [rbx + 0x28]
test ecx, ecx
je 0x1000171b6
mov eax, ebp
sub eax, ecx
cmp r12d, eax
ja 0x1000171b6
sub ecx, ebp
cmp r12d, ecx
jbe 0x100017254
mov ecx, dword [rbx + 0x24]
test ecx, ecx
je 0x1000171d3
mov eax, ebp
sub eax, ecx
cmp dword [rsp + 0x50], eax
ja 0x1000171d3
sub ecx, ebp
cmp dword [rsp + 0x50], ecx
jbe 0x100017291
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbx + 0x10]
mov edx, edi
mov esi, eax
call fcn.10002092c
test al, al
jne 0x10001717d
mov edx, dword [rbx + 0x20]
test edx, edx
jns 0x10001723d
cmp edx, 0x80070008
je 0x10001723d
cmp edx, 0x8007000e
je 0x10001723d
cmp edx, 0x800705aa
je 0x10001723d
cmp edx, 0x8077ffff
je 0x10001723d
cmp edx, 0x800106b5
je 0x10001723d
cmp edx, 0x800106ba
je 0x10001723d
cmp edx, 0x800106bd
jle 0x100017231
cmp edx, 0x800106bf
jle 0x10001723d
lea rcx, [0x100008180]
call fcn.10000eea8
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rcx, qword [0x10002d220]
lea rax, [0x10002d220]
cmp rcx, rax
je 0x100017282
test byte [rcx + 0x1c], 1
je 0x100017282
mov rcx, qword [rcx + 0x10]
lea r8, [0x1000019c8]
mov edx, 0xa
call fcn.10000f054
lea rcx, [0x1000081d0]
mov edx, r12d
call fcn.10000eea8
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x18]
mov rcx, qword [rbx + 0x10]
mov edx, r12d
call fcn.100012578
jmp 0x10001723d
Function at 0x100017bd8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov ebx, 0x1b7740
mov r14, rdx
mov rsi, rcx
mov dword [rsp + 0x70], ebx
call sub.MpClient.dll_MpClientUtilExportFunctions
lea r8, [rsp + 0x70]
lea rcx, [0x1000085e0]
mov edx, ebx
call qword [rax + 0xa0]
mov ebx, dword [rsp + 0x70]
mov dword [rsp + 0x70], 0x36ee80
call sub.MpClient.dll_MpClientUtilExportFunctions
lea r8, [rsp + 0x70]
lea rcx, [0x100008630]
mov edx, 0x36ee80
call qword [rax + 0xa0]
mov dword [rsp + 0x80], 0x927c0
call sub.MpClient.dll_MpClientUtilExportFunctions
lea r8, [rsp + 0x80]
lea rcx, [0x100008680]
mov edx, 0x927c0
call qword [rax + 0xa0]
cmp ebx, dword [rsp + 0x70]
jbe 0x100017c76
mov eax, 0xaaaaaaab
mul dword [rsp + 0x70]
mov ebx, edx
shr ebx, 2
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x20], rax
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [rsp + 0x78], 0
mov ebp, eax
call sub.MpClient.dll_MpUtilsExportFunctions
lea r9, [rsp + 0x78]
lea rdx, [rsp + 0x20]
mov r8d, ebx
mov ecx, 2
call qword [rax + 0x80]
lea r15, [0x10002d220]
cmp eax, 0x80070102
jne 0x100017d6b
lea r13d, [rbx + 0x3a98]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, ebp
cmp r13d, ecx
ja 0x100017cea
sub ebp, eax
cmp r13d, ebp
jbe 0x100017d01
mov ecx, dword [rsi + 0x40]
mov eax, r12d
sub eax, ecx
cmp dword [rsp + 0x70], eax
ja 0x100017d01
sub ecx, r12d
cmp dword [rsp + 0x70], ecx
jbe 0x100017d34
call qword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [rsp + 0x78], 0
mov ebp, eax
call sub.MpClient.dll_MpUtilsExportFunctions
lea r9, [rsp + 0x78]
lea rdx, [rsp + 0x20]
mov r8d, ebx
mov ecx, 2
call qword [rax + 0x80]
cmp eax, 0x80070102
jne 0x100017d6b
jmp 0x100017ccb
mov rcx, qword [0x10002d220]
cmp rcx, r15
je 0x100017d5b
test byte [rcx + 0x1c], 1
je 0x100017d5b
mov rcx, qword [rcx + 0x10]
lea r8, [0x1000019b8]
mov edx, 0xa
call fcn.10000f054
mov edx, dword [rsp + 0x70]
lea rcx, [0x1000086d0]
call fcn.10000eea8
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x18]
mov edx, dword [rsp + 0x80]
mov rcx, qword [rsi + 0x30]
call fcn.100012578
mov rcx, qword [rsi + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov edx, dword [rsp + 0x80]
mov rcx, qword [rsi + 0x20]
call fcn.100012578
mov r9d, dword [rsi + 0x28]
test r9d, r9d
jns 0x100017e01
cmp r9d, 0x800106b5
je 0x100017e01
cmp r9d, 0x800106ba
je 0x100017e01
cmp r9d, 0x800106bd
jle 0x100017dcb
cmp r9d, 0x800106bf
jle 0x100017e01
mov rcx, qword [0x10002d220]
cmp rcx, r15
je 0x100017df2
test byte [rcx + 0x1c], 1
je 0x100017df2
mov rcx, qword [rcx + 0x10]
lea r8, [0x1000019b8]
mov edx, 0xb
call fcn.10000f078
mov edx, dword [rsi + 0x28]
lea rcx, [0x100008740]
call fcn.10000eea8
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret
Function at 0x10001a61c
Capabilities:
Query service status

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x70
and qword [rax + 0x20], 0
and qword [rax - 0x48], 0
and dword [rax - 0x30], 0
mov rbx, rdx
xor edx, edx
mov rsi, rcx
lea r8d, [rdx + 0x20]
lea rcx, [rax - 0x2c]
call sub.msvcrt.dll_memset
and dword [rsp + 0x90], 0
lea rcx, [0x100009378]
mov rdx, rbx
call fcn.10000f014
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x10001a710
mov r8d, 4
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x10001a6fc
lea rax, [rsp + 0x90]
lea r8, [rsp + 0x48]
mov r9d, 0x24
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x10001a6dc
call fcn.10001e9f0
mov rcx, rbx
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10001a703
lea rdx, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x24
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor esi, esi
jmp 0x10001a703
call fcn.10001e9f0
mov esi, eax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
jmp 0x10001a715
call fcn.10001e9f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x10001b1bc
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov rdi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r12, [0x10002d220]
lea r13, [0x100001968]
mov esi, eax
mov rcx, qword [rbp + 0x10]
mov edx, 0x3a98
call fcn.10002092c
test al, al
je 0x10001b2d2
mov rcx, rdi
call fcn.100020c74
mov ebx, eax
test eax, eax
jns 0x10001b2ab
cmp eax, 0x80070002
jne 0x10001b27d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x249f00
ja 0x10001b253
mov rcx, qword [0x10002d220]
cmp rcx, r12
je 0x10001b1f0
test byte [rcx + 0x1c], 0x10
je 0x10001b1f0
mov rcx, qword [rcx + 0x10]
mov edx, 0xc
mov r8, r13
call fcn.10000f054
jmp 0x10001b1f0
mov rcx, qword [0x10002d220]
cmp rcx, r12
je 0x10001b276
test byte [rcx + 0x1c], 1
je 0x10001b276
mov rcx, qword [rcx + 0x10]
mov edx, 0xb
mov r8, r13
call fcn.10000f054
mov eax, 0x800702df
jmp 0x10001b2fa
mov rcx, qword [0x10002d220]
cmp rcx, r12
je 0x10001b2a7
test byte [rcx + 0x1c], 1
je 0x10001b2a7
mov rcx, qword [rcx + 0x10]
mov edx, 0xd
mov r9, rdi
mov r8, r13
mov dword [rsp + 0x20], eax
call fcn.1000206c0
mov eax, ebx
jmp 0x10001b2fa
mov rcx, qword [0x10002d220]
cmp rcx, r12
je 0x10001b2ce
test byte [rcx + 0x1c], 4
je 0x10001b2ce
mov rcx, qword [rcx + 0x10]
mov edx, 0xa
mov r8, r13
call fcn.10000f054
xor eax, eax
jmp 0x10001b2fa
mov rcx, qword [0x10002d220]
cmp rcx, r12
je 0x10001b2f5
test byte [rcx + 0x1c], 1
je 0x10001b2f5
mov rcx, qword [rcx + 0x10]
mov edx, 0xe
mov r8, r13
call fcn.10000f054
mov eax, 0x800704db
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret