joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ba240
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov rbx, rdx
jb 0x1400ba259
mov rcx, qword [rdx]
jmp 0x1400ba25c
mov rcx, rbx
mov qword [rsp + 0x40], rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
lea rdi, [0x14029a620]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400ba3c1
test sil, 0x10
je 0x1400ba36e
test sil, 2
je 0x1400ba31b
mov rcx, qword [0x14029a620]
cmp rcx, rdi
je 0x1400ba2d0
test byte [rcx + 0x44], 0x40
je 0x1400ba2d0
cmp byte [rcx + 0x41], 4
jb 0x1400ba2d0
cmp qword [rbx + 0x18], 8
jb 0x1400ba2b1
mov r9, qword [rbx]
jmp 0x1400ba2b4
mov r9, rbx
mov rcx, qword [rcx + 0x38]
lea r8, [0x140213f38]
mov edx, 0x12
call fcn.1400328a0
mov rcx, qword [0x14029a620]
test sil, 4
je 0x1400ba322
cmp rcx, rdi
je 0x1400ba309
test byte [rcx + 0x44], 0x40
je 0x1400ba309
cmp byte [rcx + 0x41], 4
jb 0x1400ba309
cmp qword [rbx + 0x18], 8
jb 0x1400ba2f1
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
lea r8, [0x140213f38]
mov edx, 0x13
mov r9, rbx
call fcn.1400328a0
xor eax, eax
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
mov rcx, qword [0x14029a620]
cmp rcx, rdi
je 0x1400ba359
test byte [rcx + 0x44], 0x40
je 0x1400ba359
cmp byte [rcx + 0x41], 2
jb 0x1400ba359
cmp qword [rbx + 0x18], 8
jb 0x1400ba33d
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
lea r8, [0x140213f38]
mov edx, 0x14
mov dword [rsp + 0x20], esi
mov r9, rbx
call fcn.140036fd0
mov eax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
mov rcx, qword [0x14029a620]
cmp rcx, rdi
je 0x1400ba3ac
test byte [rcx + 0x44], 0x40
je 0x1400ba3ac
cmp byte [rcx + 0x41], 2
jb 0x1400ba3ac
cmp qword [rbx + 0x18], 8
jb 0x1400ba390
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
lea r8, [0x140213f38]
mov edx, 0x15
mov dword [rsp + 0x20], esi
mov r9, rbx
call fcn.140036fd0
mov eax, 0x50
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
mov rcx, qword [0x14029a620]
cmp rcx, rdi
je 0x1400ba3fb
test byte [rcx + 0x44], 0x40
je 0x1400ba3fb
cmp byte [rcx + 0x41], 4
jb 0x1400ba3fb
cmp qword [rbx + 0x18], 8
jb 0x1400ba3e3
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
lea r8, [0x140213f38]
mov edx, 0x16
mov r9, rbx
call fcn.1400328a0
mov rdi, qword [rsp + 0x40]
mov eax, 2
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
Function at 0x1400ba560
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140299ac8]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov r14d, r8d
mov rbx, rdx
mov esi, ebp
test r8d, r8d
je 0x1400ba600
xor r9d, r9d
mov dword [rsp + 0x40], ebp
lea r8, [rsp + 0x38]
mov dword [rsp + 0x30], 0x18
lea edx, [rbp + 1]
lea rcx, str.D:_A_OI_FA___SY__A_OI_FA___BA_
call sub.api_ms_win_security_sddl_l1_1_0.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x1400ba5fb
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x14029a620]
lea rdi, [0x14029a620]
cmp rcx, rdi
je 0x1400ba5f4
test byte [rcx + 0x44], 0x40
je 0x1400ba5f4
cmp byte [rcx + 0x41], 2
jb 0x1400ba5f4
mov rcx, qword [rcx + 0x38]
lea edx, [rbp + 0x19]
mov r9d, eax
lea r8, [0x140213f38]
call fcn.140024fa0
mov eax, ebx
jmp 0x1400ba6bb
lea rsi, [rsp + 0x30]
mov rcx, qword [0x14029a620]
lea rdi, [0x14029a620]
cmp rcx, rdi
je 0x1400ba643
test byte [rcx + 0x44], 0x40
je 0x1400ba643
cmp byte [rcx + 0x41], 4
jb 0x1400ba643
cmp qword [rbx + 0x18], 8
jb 0x1400ba62b
mov r9, qword [rbx]
jmp 0x1400ba62e
mov r9, rbx
mov rcx, qword [rcx + 0x38]
lea r8, [0x140213f38]
mov edx, 0x1a
call fcn.1400328a0
cmp qword [rbx + 0x18], 8
jb 0x1400ba64f
mov rcx, qword [rbx]
jmp 0x1400ba652
mov rcx, rbx
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
test eax, eax
jne 0x1400ba6a5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebp, eax
mov rcx, qword [0x14029a620]
cmp rcx, rdi
je 0x1400ba6a5
test byte [rcx + 0x44], 0x40
je 0x1400ba6a5
cmp byte [rcx + 0x41], 2
jb 0x1400ba6a5
cmp qword [rbx + 0x18], 8
jb 0x1400ba689
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
lea r8, [0x140213f38]
mov edx, 0x1b
mov dword [rsp + 0x20], eax
mov r9, rbx
call fcn.140032910
test r14d, r14d
je 0x1400ba6b9
test rsi, rsi
je 0x1400ba6b9
mov rcx, qword [rsi + 8]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov eax, ebp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401938e0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x1400bab10
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rax, qword [0x1402a0640]
test rax, rax
jne 0x1400babe8
mov ecx, 0x95080
call fcn.140193790
mov rdi, rax
mov qword [rsp + 0x40], rax
xor ebx, ebx
test rax, rax
je 0x1400bab67
xor edx, edx
mov r8d, 0x95080
mov rcx, rax
call fcn.140195ca0
mov rcx, rdi
call fcn.1400b7910
jmp 0x1400bab6a
mov rax, rbx
mov qword [0x1402a0640], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsAlloc]
mov dword [0x140297110], eax
cmp eax, 0xffffffff
jne 0x1400babde
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea rdx, [0x14029a620]
mov rcx, qword [0x14029a620]
cmp rcx, rdx
je 0x1400babbf
test byte [rcx + 0x44], 0x40
je 0x1400babbf
cmp byte [rcx + 0x41], 4
jb 0x1400babbf
mov edx, 0x34
mov r9d, eax
lea r8, [0x140213f38]
mov rcx, qword [rcx + 0x38]
call fcn.140024fa0
mov rcx, qword [0x1402a0640]
test rcx, rcx
je 0x1400babd5
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x1402a0640], rbx
jmp 0x1400babe5
mov rbx, qword [0x1402a0640]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400bb730
Capabilities:
Move file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x140299ac8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov qword [r11 - 0x20], rsi
mov qword [r11 - 0x18], 7
mov word [rsp + 0x38], si
lea r8d, [rsi + 4]
lea rdx, str.._
lea rcx, [r11 - 0x30]
call fcn.140006bd0
nop
lea r8d, [rsi + 0x12]
lea rdx, str.c:IntelOptaneData
lea rcx, [rsp + 0x38]
call fcn.14001a890
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400ba240
test eax, eax
je 0x1400bb7ba
cmp eax, 0xc
je 0x1400bb7ba
mov esi, 2
jmp 0x1400bb897
lea rbx, [0x14029a620]
mov rcx, qword [0x14029a620]
cmp rcx, rbx
je 0x1400bb813
test byte [rcx + 0x44], 0x40
je 0x1400bb813
cmp byte [rcx + 0x41], 4
jb 0x1400bb813
cmp qword [rdi + 0x18], 8
jb 0x1400bb7e5
mov rax, qword [rdi]
jmp 0x1400bb7e8
mov rax, rdi
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r9, qword [rsp + 0x38]
mov edx, 0x17
mov qword [rsp + 0x20], rax
lea r8, [0x140213f38]
mov rcx, qword [rcx + 0x38]
call fcn.14003c340
cmp qword [rdi + 0x18], 8
jb 0x1400bb81f
mov rdx, qword [rdi]
jmp 0x1400bb822
mov rdx, rdi
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_MoveFileW]
test eax, eax
jne 0x1400bb897
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
mov rcx, qword [0x14029a620]
cmp rcx, rbx
je 0x1400bb897
test byte [rcx + 0x44], 0x40
je 0x1400bb897
cmp byte [rcx + 0x41], 2
jb 0x1400bb897
cmp qword [rdi + 0x18], 8
jb 0x1400bb867
mov rdi, qword [rdi]
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r9, qword [rsp + 0x38]
mov edx, 0x18
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
lea r8, [0x140213f38]
mov rcx, qword [rcx + 0x38]
call fcn.1400bd030
nop
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x1400bb8b4
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.140007b00
mov eax, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401938e0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400bc180
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor esi, esi
mov rbx, rdx
mov dword [rsp + 0x50], esi
mov rdi, rcx
mov rcx, qword [0x14029a620]
lea rbp, [0x14029a620]
cmp rcx, rbp
je 0x1400bc1d2
test byte [rcx + 0x44], 0x40
je 0x1400bc1d2
cmp byte [rcx + 0x41], 4
jb 0x1400bc1d2
mov rcx, qword [rcx + 0x38]
lea edx, [rsi + 0x35]
lea r8, [0x140213f38]
call fcn.140022ad0
add rdi, 0x94e08
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
cmp byte [0x1402a0748], sil
jne 0x1400bc27d
mov rcx, rdi
mov byte [0x1402a0748], 1
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rax, qword [0x14029a620]
cmp rax, rbp
je 0x1400bc25c
test byte [rax + 0x44], 0x40
je 0x1400bc25c
cmp byte [rax + 0x41], 2
jb 0x1400bc25c
cmp qword [rbx + 0x18], 8
jb 0x1400bc221
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400bc990
mov esi, 1
cmp qword [rax + 0x18], 0x10
jb 0x1400bc23d
mov rax, qword [rax]
mov rcx, qword [0x14029a620]
lea r8, [0x140213f38]
mov edx, 0x37
mov r9, rax
mov rcx, qword [rcx + 0x38]
call fcn.1400293b0
test sil, 1
je 0x1400bc26c
lea rcx, [rsp + 0x20]
call fcn.140005290
call fcn.1400bd290
mov ecx, 0x2c9
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
mov rcx, qword [0x14029a620]
cmp rcx, rbp
je 0x1400bc2aa
test byte [rcx + 0x44], 0x40
je 0x1400bc2aa
cmp byte [rcx + 0x41], 5
jb 0x1400bc2aa
mov rcx, qword [rcx + 0x38]
lea r8, [0x140213f38]
mov edx, 0x36
call fcn.140022ad0
mov rcx, rdi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
Function at 0x1400bc5e0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov esi, r8d
mov rbx, rdx
jb 0x1400bc601
mov rcx, qword [rdx]
jmp 0x1400bc604
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
mov edi, eax
or edi, esi
mov rcx, qword [0x14029a620]
lea rsi, [0x14029a620]
cmp rcx, rsi
je 0x1400bc645
test byte [rcx + 0x44], 0x40
je 0x1400bc645
cmp byte [rcx + 0x41], 4
jb 0x1400bc645
mov rcx, qword [rcx + 0x38]
lea r8, [0x140213f38]
mov edx, 0x1f
mov r9d, edi
call fcn.140024fa0
cmp qword [rbx + 0x18], 8
jb 0x1400bc651
mov rcx, qword [rbx]
jmp 0x1400bc654
mov rcx, rbx
mov edx, edi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
test eax, eax
jne 0x1400bc6be
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov rcx, qword [0x14029a620]
cmp rcx, rsi
je 0x1400bc6a9
test byte [rcx + 0x44], 0x40
je 0x1400bc6a9
cmp byte [rcx + 0x41], 2
jb 0x1400bc6a9
cmp qword [rbx + 0x18], 8
jb 0x1400bc688
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
lea r8, [0x140213f38]
mov dword [rsp + 0x28], eax
mov edx, 0x20
mov r9d, edi
mov qword [rsp + 0x20], rbx
call fcn.1400bcf70
mov eax, 0x3eb
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400c0ac0
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x90
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xa8], rbx
mov rax, qword [0x140299ac8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
lea rax, [0x14029a620]
mov rcx, qword [0x14029a620]
cmp rcx, rax
je 0x1400c0b2a
test dword [rcx + 0x44], 0x8000
je 0x1400c0b2a
cmp byte [rcx + 0x41], 4
jb 0x1400c0b2a
mov edx, 0x11
mov r9d, dword [rbx + 0x58]
lea r8, [0x140216d88]
mov rcx, qword [rcx + 0x38]
call fcn.140025240
lea rcx, [rbx + 0x30]
mov qword [rsp + 0x30], rcx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov byte [rsp + 0x38], 1
mov eax, dword [rbx + 0x20]
cmp eax, 4
je 0x1400c0b50
mov edi, 0x139f
jmp 0x1400c0bed
mov dword [rbx + 0x20], 1
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1400c0b70
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
jmp 0x1400c0bed
xor edi, edi
cmp qword [rbx + 0x18], rdi
je 0x1400c0bed
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov rcx, qword [0x1402a0640]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rdx, rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], dil
mov r9d, 0xb8
lea r8, str.ServiceThread::resume
lea rcx, [rsp + 0x48]
call fcn.140074410
mov rcx, qword [rbx + 0x18]
call fcn.1400c0c20
mov qword [rbx + 0x18], rdi
cmp byte [rsp + 0x50], dil
jne 0x1400c0bed
lea rcx, [rsp + 0x48]
call fcn.140074ee0
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov eax, edi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401938e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x1400c0cc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
movzx esi, dl
mov rcx, qword [rcx + 0x60]
add rcx, 0xa0
call fcn.1400ae860
mov edi, eax
test eax, eax
je 0x14008cbb1
mov rcx, qword [0x14029a620]
lea rdx, [0x14029a620]
cmp rcx, rdx
je 0x14008cb9f
test byte [rcx + 0x44], 4
je 0x14008cb9f
cmp byte [rcx + 0x41], 2
jb 0x14008cb9f
mov edx, 0x2d
mov rcx, qword [rcx + 0x38]
lea r8, [0x14020e9d0]
call fcn.140022ad0
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x60]
mov ecx, dword [rax + 0xac]
cmp ecx, 2
je 0x14008cc18
mov rcx, qword [rbx + 0x60]
add rcx, 0xa0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, eax
test eax, eax
je 0x14008cbfd
mov rcx, qword [0x14029a620]
lea rdx, [0x14029a620]
cmp rcx, rdx
je 0x14008cb9f
test byte [rcx + 0x44], 4
je 0x14008cb9f
cmp byte [rcx + 0x41], 2
jb 0x14008cb9f
mov edx, 0x2e
jmp 0x14008cb8f
movzx edx, sil
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp method.ServiceThread.virtual_16
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
movzx ebp, dl
mov rbx, rcx
mov rcx, qword [0x14029a620]
lea rax, [0x14029a620]
cmp rcx, rax
je 0x1400c0d15
test dword [rcx + 0x44], 0x8000
je 0x1400c0d15
cmp byte [rcx + 0x41], 4
jb 0x1400c0d15
mov r9d, dword [rbx + 0x58]
lea r8, [0x140216d88]
mov rcx, qword [rcx + 0x38]
mov edx, 0x12
call fcn.140025240
lea rcx, [rbx + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov eax, dword [rbx + 0x20]
cmp eax, 3
je 0x1400c0d2e
mov edi, 0x139f
jmp 0x1400c0d83
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
movzx eax, bpl
lea r8, [0x1400c0540]
neg al
mov r9, rbx
sbb ecx, ecx
xor edi, edi
and ecx, 4
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ecx
xor edx, edx
xor ecx, ecx
call fcn.1401bba40
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x1400c0d70
lea edi, [rax + 0x6f]
jmp 0x1400c0d83
test bpl, bpl
mov edx, 1
mov eax, 4
cmovne edx, eax
mov dword [rbx + 0x20], edx
lea rcx, [rbx + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400c1140
Capabilities:
Suspend thread

Disassembly:
push rbx
sub rsp, 0x90
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140299ac8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
lea rax, [0x14029a620]
mov rcx, qword [0x14029a620]
cmp rcx, rax
je 0x1400c11a2
test dword [rcx + 0x44], 0x8000
je 0x1400c11a2
cmp byte [rcx + 0x41], 4
jb 0x1400c11a2
mov edx, 0x10
mov r9d, dword [rbx + 0x58]
lea r8, [0x140216d88]
mov rcx, qword [rcx + 0x38]
call fcn.140025240
lea rcx, [rbx + 0x30]
mov qword [rsp + 0x30], rcx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov byte [rsp + 0x38], 1
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov rcx, qword [0x1402a0640]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rdx, rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 0
mov r9d, 0x89
lea r8, str.ServiceThread::suspend
lea rcx, [rsp + 0x48]
call fcn.140074410
nop
mov rcx, qword [rbx + 0x10]
call fcn.1400c12c0
mov qword [rbx + 0x18], rax
mov eax, dword [rbx + 0x20]
cmp eax, 1
je 0x1400c1229
mov ebx, 0x139f
jmp 0x1400c1279
mov dword [rbx + 0x20], 4
mov rcx, qword [0x1402a0640]
mov rax, qword [rcx]
call qword [rax + 0x28]
lea rcx, [rax + 0x10]
call fcn.140031ad0
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SuspendThread]
mov ebx, eax
mov rcx, qword [0x1402a0640]
mov rdx, qword [rcx]
call qword [rdx + 0x28]
lea rcx, [rax + 0x10]
call fcn.140031af0
cmp ebx, 0xffffffff
jne 0x1400c1277
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
jmp 0x1400c1279
xor ebx, ebx
cmp byte [rsp + 0x50], 0
jne 0x1400c128b
lea rcx, [rsp + 0x48]
call fcn.140074ee0
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401938e0
add rsp, 0x90
pop rbx
ret
Function at 0x1400e58e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x38
mov rsi, qword [rcx + 0x98]
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
mov r12, qword [rcx]
test rsi, rsi
je 0x1400e5ae0
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r13
xor r13d, r13d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r15
nop dword [rax + rax]
movsxd rbp, dword [rsi + 0x10]
movzx eax, byte [rbx + 0x1f]
mov r14d, dword [rsi + 0x14]
shl rbp, 5
add rbp, qword [r12 + 0x20]
test al, al
jne 0x1400e5942
inc dword [rbx + 0x38]
mov r15d, dword [rbx + 0x38]
jmp 0x1400e5952
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r15d, dword [rbx + rax*4 + 0xcc]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r14 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x1400e597f
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x37
mov rcx, rdi
call fcn.1400fb2d0
jmp 0x1400e59ad
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r13
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x62
mov r9, qword [r9 + 0x68]
call fcn.14012d5d0
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x1400e59f1
mov edx, 5
mov rcx, rdi
call fcn.1400fb340
test eax, eax
jne 0x1400e5acc
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r13d
lea rdx, [rax + rcx*8]
mov eax, dword [rdi + 0x90]
mov dword [rdx + 0xc], r13d
lea ecx, [r14 + 1]
mov byte [rdx + 1], r13b
add eax, 2
mov dword [rdx + 8], eax
lea eax, [r14 - 1]
mov qword [rdx + 0x10], r13
mov word [rdx + 2], r13w
mov qword [rdx + 0x18], 0x79
mov qword [rdx + 0x20], r13
mov qword [rdx + 0x28], r13
mov qword [rdx + 0x30], 0x5c
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r13
mov qword [rdx + 0x48], 0x7a
mov qword [rdx + 0x50], r13
mov qword [rdx + 0x58], r13
mov qword [rdx + 0x60], 0x75
mov qword [rdx + 0x68], r13
mov qword [rdx + 0x70], r13
add dword [rdi + 0x90], 5
mov dword [rdx + 0x34], eax
mov eax, 8
mov word [rdx + 0x4a], ax
mov dword [rdx + 4], ecx
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x3c], r15d
mov dword [rdx + 0x50], r15d
mov dword [rdx + 0x54], ecx
test r15d, r15d
je 0x1400e5ac0
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1400e5ac0
movzx eax, al
mov dword [rbx + rax*4 + 0xcc], r15d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1400e5920
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x70]
add rsp, 0x38
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400e5d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov r13, rcx
mov r15d, edx
mov r12d, r9d
mov r11, qword [rax + 8]
mov rax, qword [rcx + 0x28]
mov r14, qword [r11]
mov r10, qword [rax + 8]
movsxd rax, dword [r10 + 0x30]
movsxd r10, dword [r11 + 0x30]
cmp eax, r10d
mov qword [rsp + 0x20], rax
mov ecx, r10d
cmovl ecx, eax
xor ebx, ebx
imul r15, rax
mov dword [rsp + 0x78], ecx
mov rcx, rax
cmp eax, r10d
je 0x1400e5d63
cmp byte [r14 + 0x10], bl
mov eax, 8
cmovne ebx, eax
mov rdi, r15
sub rdi, rcx
test ebx, ebx
jne 0x1400e5f00
mov qword [rsp + 0x88], rbp
mov rbp, r10
mov qword [rsp + 0x30], rsi
cmp rdi, r15
jge 0x1400e5ee2
mov rax, rdi
mov qword [rsp + 0x70], 0
cqo
idiv rbp
mov rsi, rdx
xor edx, edx
lea r10d, [rax + 1]
mov rax, qword [r13 + 8]
mov rcx, qword [rax + 8]
mov eax, dword [0x1402972b8]
div dword [rcx + 0x30]
inc eax
cmp r10d, eax
je 0x1400e5ed7
xor r9d, r9d
lea r8, [rsp + 0x70]
mov edx, r10d
mov rcx, r14
call qword [r14 + 0x108]
mov ebx, eax
test eax, eax
jne 0x1400e5e7e
mov rcx, qword [rsp + 0x70]
test byte [rcx + 0x34], 4
mov rdx, qword [rcx + 0x28]
je 0x1400e5e09
mov eax, dword [rcx + 0x30]
cmp dword [rdx + 0x1c], eax
jb 0x1400e5e09
cmp dword [rdx + 0x80], ebx
je 0x1400e5e05
call fcn.140157730
jmp 0x1400e5e2a
xor ebx, ebx
jmp 0x1400e5e35
mov ebx, dword [rdx + 0x2c]
test ebx, ebx
jne 0x1400e5e83
mov eax, dword [rdx + 0xbc]
cmp dword [rdx + 0xb8], eax
jbe 0x1400e5e25
call fcn.140103230
jmp 0x1400e5e2a
call fcn.140104430
mov rcx, qword [rsp + 0x70]
mov ebx, eax
test eax, eax
jne 0x1400e5e83
add rsi, qword [rcx + 8]
mov rax, rdi
movsxd r8, dword [rsp + 0x78]
cqo
idiv qword [rsp + 0x20]
mov rcx, rsi
add rdx, qword [rsp + 0x80]
call fcn.140195e50
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x10]
mov byte [rcx], 0
test rdi, rdi
jne 0x1400e5e7e
test r12d, r12d
jne 0x1400e5e7e
mov rax, qword [r13 + 0x28]
mov rcx, qword [rax + 8]
mov eax, dword [rcx + 0x3c]
bswap eax
mov dword [rsi + 0x1c], eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400e5ed7
test byte [rcx + 0x34], 0x20
je 0x1400e5ed2
mov r8, qword [rcx + 0x28]
mov rax, qword [r8 + 0xa8]
dec dword [r8 + 0x98]
mov qword [rcx + 0x20], rax
mov r9, qword [r8 + 0x48]
movsxd rax, dword [r8 + 0xbc]
mov qword [r8 + 0xa8], rcx
mov edx, dword [rcx + 0x30]
mov r8, qword [rcx + 8]
dec edx
mov r10, qword [r9]
mov rcx, r9
imul rdx, rax
call qword [r10 + 0x90]
jmp 0x1400e5ed7
call fcn.140130430
add rdi, rbp
test ebx, ebx
je 0x1400e5d81
mov rsi, qword [rsp + 0x30]
mov eax, ebx
mov rbp, qword [rsp + 0x88]
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret
mov eax, ebx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret