joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007dfe0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18007e010
xor eax, eax
jmp 0x18007e0d3
mov rbp, rbx
cmp word [rax], si
je 0x18007e035
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18007e01c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18007e018
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18007c6f8
movsxd r14, eax
test eax, eax
jne 0x18007e073
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18007e009
mov rcx, r14
call fcn.1800788dc
mov rdi, rax
test rax, rax
jne 0x18007e08c
xor ecx, ecx
call fcn.1800775d0
jmp 0x18007e068
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18007c6f8
test eax, eax
jne 0x18007e0bd
mov rcx, rdi
call fcn.1800775d0
jmp 0x18007e0c7
xor ecx, ecx
call fcn.1800775d0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180080e48
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1800746d0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x180080ee9
cmp ebx, dword [rsp + 0x30]
je 0x180080ee2
test esi, esi
je 0x180080ee2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180080ebd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180080eca
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180080ea7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180080ece
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180080eeb
mov eax, 1
jmp 0x180080eeb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180085174
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.18007a7f0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18007a7f0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800852c4
cmp rax, 0xffffffffffffffff
je 0x1800852c4
xor edi, edi
test rbp, rbp
jle 0x18008526f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180077bbc
mov rbx, rax
test rax, rax
jne 0x1800851fc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180085265
mov edx, 0x8000
mov ecx, r14d
call fcn.180084ff8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180077068
cmp eax, 0xffffffff
je 0x180085245
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18008520c
mov edx, r15d
mov ecx, r14d
call fcn.180084ff8
jmp 0x180085265
cmp byte [rsi + 0x38], dil
je 0x18008525c
cmp dword [rsi + 0x34], 5
jne 0x18008525c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180085265
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800775d0
jmp 0x1800852d8
jns 0x1800852d8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18007a7f0
cmp rax, 0xffffffffffffffff
jne 0x180085290
cmp byte [rsi + 0x30], dil
je 0x1800852d8
mov edi, dword [rsi + 0x2c]
jmp 0x1800852d8
mov ecx, r14d
call fcn.18007e79c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800852d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800852d8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800852d1
mov eax, dword [rsi + 0x2c]
jmp 0x1800852d6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18007a7f0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180085db0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180085dd8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180085dd8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000612c
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f170]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007200
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007190
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x1400211d0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020600]
jmp 0x14000723c
cmp qword [rbx + 0x18], rdi
je 0x140007243
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007233
jmp 0x14000725d
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020600]
call fcn.140011f98
lea rcx, [0x1400211d0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140007278
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x14000733e
lea rcx, [0x1400211d0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020600]
jmp 0x140007302
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400072ff
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x140020600]
mov rdx, rsi
call fcn.140011f98
jmp 0x140007302
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400072cf
mov rdx, qword [0x14001f100]
lea rcx, [0x140020600]
mov rdi, rdx
inc rdx
mov qword [0x14001f100], rdx
lea edx, [rbx + 0x20]
call fcn.140011fe0
lea rcx, [0x1400211d0]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x1400074d0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r12
push r13
push r15
sub rsp, 0x28
xor r15d, r15d
mov r13d, r9d
mov r12d, edx
mov ebp, r15d
cmp edx, 1
jl 0x140007634
mov qword [rsp + 0x50], rbx
test rcx, rcx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x20], r14
lea r14, [0x14001965c]
mov rbx, r14
mov edi, r15d
cmovne rbx, rcx
test r8, r8
cmovne r14, r8
mov rsi, rbx
movzx ecx, word [r14]
test cx, cx
je 0x140007600
cmp word [r14 + 2], di
je 0x140007600
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [r14 + rax*2], di
jne 0x140007540
movsxd r15, eax
nop dword [rax]
mov r8, r15
mov rdx, r14
mov rcx, rbx
call sub.msvcrt.dll_wcsncmp
test eax, eax
je 0x14000756d
cmp word [rbx], bp
je 0x14000756d
add rbx, 2
jmp 0x140007550
inc edi
cmp edi, r12d
je 0x140007582
cmp word [rbx], bp
je 0x14000758b
lea rbx, [rbx + r15*2]
mov rsi, rbx
jmp 0x140007550
mov rbp, rbx
sub rbp, rsi
sar rbp, 1
xor r15d, r15d
mov rcx, rbx
call fcn.140012980
mov r14, qword [rsp + 0x20]
mov edi, eax
test eax, eax
je 0x1400075ba
mov ecx, r13d
call fcn.1400129f0
movsxd r8, ebp
mov rdx, rsi
mov rcx, rax
add r8, r8
call sub.msvcrt.dll_memmove
mov edx, r13d
mov ecx, ebp
call fcn.140012a20
test edi, edi
mov rdi, qword [rsp + 0x60]
mov rbx, rax
jne 0x1400075de
movsxd r8, ebp
mov rdx, rsi
mov rcx, rax
call sub.msvcrt.dll_wcsncpy
mov rsi, qword [rsp + 0x58]
movsxd rcx, ebp
mov word [rbx + rcx*2], r15w
mov rbx, qword [rsp + 0x50]
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
ret
movzx eax, word [rbx]
cmp ax, cx
je 0x14000760d
test ax, ax
jne 0x140007620
inc edi
cmp edi, edx
je 0x140007626
test ax, ax
je 0x14000758e
lea rsi, [rbx + 2]
add rbx, 2
jmp 0x140007600
mov rbp, rbx
sub rbp, rsi
sar rbp, 1
jmp 0x14000758e
mov ecx, r9d
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
jmp fcn.140012b00

Function at 0x140008000
Capabilities:
Get thread local storage value

Disassembly:
mov r10, rcx
test rcx, rcx
je 0x140008031
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140008010
mov ecx, 1
mov r9d, r8d
sub ecx, edx
add eax, ecx
mov rcx, r10
mov r8d, eax
jmp 0x140008040
mov ecx, r8d
jmp fcn.140012b00
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov ebp, r8d
test r8d, r8d
mov edi, r9d
mov esi, edx
mov rbx, rcx
cmovs ebp, r15d
call fcn.140012980
mov edx, edi
mov ecx, ebp
mov r14d, eax
call fcn.140012a20
mov rdi, rax
test r14d, r14d
je 0x140008091
mov ecx, r14d
call fcn.140012b40
mov rbx, rax
test rbx, rbx
je 0x1400080d7
cmp esi, 1
jle 0x1400080b1
nop dword [rax + rax]
cmp word [rbx], r15w
je 0x1400080d7
dec esi
add rbx, 2
cmp esi, 1
jg 0x1400080a0
movzx eax, word [rbx]
test ax, ax
je 0x1400080d7
sub rbx, rdi
nop dword [rax]
test ebp, ebp
je 0x1400080d7
mov word [rdi], ax
movzx eax, word [rbx + rdi + 2]
add rdi, 2
dec ebp
test ax, ax
jne 0x1400080c0
mov ecx, ebp
call fcn.140012bf0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov word [rdi], r15w
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140008100
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov esi, 0x40
mov ecx, esi
call fcn.140012a20
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call fcn.14001677c
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rdi + rdx*2], 0
jne 0x140008130
sub esi, edx
mov ecx, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140012bf0

Function at 0x14000bb14
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x14000bb8b
movsxd rdx, ecx
lea rcx, [0x14000ba70]
call qword [sym.imp.USER32.DLL_EnumWindows]
mov rbx, qword [0x140020648]
test rbx, rbx
je 0x14000bbfe
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14000bb81
cmp byte [rbx + 0x20], 0
je 0x14000bb81
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
xor r8d, r8d
call qword [sym.imp.USER32.DLL_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x14000bb47
jmp 0x14000bbfe
mov rbx, qword [0x140020648]
test rbx, rbx
je 0x14000bbfe
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14000bbf6
cmp byte [rbx + 0x21], 0
je 0x14000bbba
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x14000bbe6
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.DLL_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020648]
call fcn.140011f98
mov rbx, rdi
test rdi, rdi
jne 0x14000bb97
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14000bd58
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [0x140021230]
call fcn.140011374
xor ebp, ebp
or esi, 0xffffffff
mov r14, rax
mov ebx, ebp
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
movzx edx, word [rax]
test dx, dx
je 0x14000be55
mov rcx, qword [rsp + 0x40]
mov r9w, 0x22
cmp dx, 0x20
jne 0x14000bdaf
add rax, 2
cmp word [rax], 0x20
je 0x14000bda5
movzx edx, word [rax]
mov r8d, 1
cmp dx, r9w
jne 0x14000bded
add rax, 2
mov rbx, rax
movzx ecx, word [rax]
test cx, cx
je 0x14000be2d
cmp cx, r9w
je 0x14000bddf
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14000bdcd
cmp word [rax], bp
je 0x14000be2d
mov rcx, rax
add rax, 2
jmp 0x14000be35
test dx, dx
je 0x14000be32
mov rbx, rax
cmp dx, 0x20
je 0x14000bddf
add rax, 2
cmp word [rax], r9w
jne 0x14000be23
add rax, 2
movzx ecx, word [rax]
test cx, cx
je 0x14000be2d
cmp cx, r9w
je 0x14000be23
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14000be11
movzx edx, word [rax]
test dx, dx
jne 0x14000bdf5
jmp 0x14000bddf
mov rcx, rax
jmp 0x14000be35
mov r8d, ebp
cmp dword [r14], esi
jne 0x14000be3f
test rdi, rdi
jne 0x14000be5f
test r8d, r8d
je 0x14000be46
inc esi
movzx edx, word [rax]
mov rbx, rbp
test dx, dx
jne 0x14000bd9f
test rdi, rdi
jne 0x14000be74
movsxd rax, esi
jmp 0x14000be76
test rbx, rbx
je 0x14000be74
sub rcx, rbx
mov rax, rbx
sar rcx, 1
mov dword [rdi], ecx
inc dword [r14]
jmp 0x14000be76
mov dword [rdi], ebp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x14000be8c
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x140021230]
call fcn.140011374
xor ecx, ecx
add rsp, 0x28
jmp fcn.14000bd58

Function at 0x14000bf20
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov ebx, ecx
mov rcx, qword [0x140021230]
xor ebp, ebp
mov esi, edx
mov dword [rax + 8], ebp
call fcn.140011374
test ebx, ebx
js 0x14000bf4f
mov dword [rax], ebx
lea rcx, [rsp + 0x30]
call fcn.14000bd58
mov edi, dword [rsp + 0x30]
mov edx, esi
mov ecx, edi
mov rbx, rax
call fcn.140012a20
mov ecx, ebp
jmp 0x14000bf8b
test edi, edi
je 0x14000bf90
movzx edx, word [rbx]
cmp dx, 0x22
jne 0x14000bf7e
inc ecx
jmp 0x14000bf85
mov word [rax], dx
add rax, 2
add rbx, 2
dec edi
cmp word [rbx], bp
jne 0x14000bf6d
mov word [rax], bp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.140012bf0
Function at 0x14003b9b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, rcx
test rcx, rcx
je 0x14003bb4d
cmp qword [rcx + 0x68], 0
je 0x14003bb4d
lea r8, str.Starting_communications_threads...
mov edx, 1
mov ecx, 0x10000
call fcn.14003de50
xor r15d, r15d
mov esi, r15d
cmp r15d, dword [r14 + 0x60]
jae 0x14003ba9e
nop word [rax + rax]
mov rax, qword [r14 + 0x68]
mov ecx, esi
mov rbx, qword [rax + rcx*8]
test rbx, rbx
je 0x14003ba9a
mov rbp, qword [rbx + 0x38]
test rbp, rbp
je 0x14003ba9a
lea rcx, [rbx + 0x60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [rbx + 0x88], 1
lea rcx, [rbx + 0x60]
je 0x14003ba94
mov byte [rbx + 0x88], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r9, qword [rbx + 0x40]
lea rax, [rbp + 0x10]
mov r8, qword [rbx + 0x48]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 8], rax
test rax, rax
je 0x14003ba7f
inc esi
cmp esi, dword [r14 + 0x60]
jb 0x14003ba10
jmp 0x14003ba9a
lea rcx, [rbx + 0x60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbx + 0x60]
mov byte [rbx + 0x88], r15b
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, dword [r14 + 0x60]
jne 0x14003baa7
mov al, 1
jmp 0x14003bb4f
test esi, esi
je 0x14003baf3
mov qword [rsp + 0x50], r12
mov r12, r15
mov ebp, esi
nop word [rax + rax]
mov rax, qword [r14 + 0x68]
mov rbx, qword [r12 + rax]
lea rcx, [rbx + 0x60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbx + 0x60]
mov byte [rbx + 0x88], r15b
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea r12, [r12 + 8]
sub rbp, 1
jne 0x14003bac0
mov r12, qword [rsp + 0x50]
mov rcx, qword [r14]
test rcx, rcx
je 0x14003bb03
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CancelIoEx]
test esi, esi
je 0x14003bb4d
mov edi, esi
nop dword [rax]
mov rax, qword [r14 + 0x68]
mov rbx, qword [r15 + rax]
test rbx, rbx
je 0x14003bb43
mov rbx, qword [rbx + 0x38]
test rbx, rbx
je 0x14003bb43
cmp qword [rbx + 8], 0
je 0x14003bb43
nop dword [rax]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14003bb30
add r15, 8
sub rdi, 1
jne 0x14003bb10
xor al, al
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14003fd30
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x14003fd52
xor eax, eax
add rsp, 0x30
pop r14
pop rbp
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x14003fdde
lfence
mov rdi, rbp
nop dword [rax]
mov rcx, rbx
call fcn.14000cfb0
test rax, rax
jle 0x14003fdae
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rsi, rdi
mov rcx, r14
cmovge rsi, rax
mov r8, rsi
mov rdx, qword [rdx]
call fcn.14007fbc0
mov rax, qword [rbx + 0x50]
sub rdi, rsi
sub dword [rax], esi
mov rcx, qword [rbx + 0x38]
movsxd rax, esi
add qword [rcx], rax
jmp 0x14003fdce
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x38]
call qword [case.0x14001dc6b.0]
cmp eax, 0xffffffff
je 0x14003fdd6
mov byte [r14], al
dec rdi
mov esi, 1
add r14, rsi
test rdi, rdi
jg 0x14003fd70
sub rbp, rdi
jmp 0x14003fec8
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14003fdf5
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003fdf7
xor ecx, ecx
movsxd rax, ecx
mov rdi, rbp
test ecx, ecx
je 0x14003fe2c
cmp rax, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.14007fbc0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
mov rdi, rsi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14003fec2
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003fe67
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rdi, 0xfff
jbe 0x14003fea0
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.14008a818
sub rsi, rax
add r14, rax
mov rdi, rsi
cmp rax, 0xfff
jne 0x14003fec2
cmp rsi, rax
ja 0x14003fe70
test rdi, rdi
je 0x14003fec2
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14008a818
mov rsi, rdi
sub rsi, rax
sub rbp, rsi
lfence
mov rsi, qword [rsp + 0x28]
mov rax, rbp
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rbp
pop rbx
ret

Function at 0x140043cd0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x148
mov rax, qword [0x1400e5010]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x140043d76
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x20]
call fcn.14007f9f0
call fcn.140077020
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x28], 3
lea rcx, [rsp + 0x30]
call fcn.140018e90
nop
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001dc6b.0]
cmp dword [rsp + 0x28], eax
setl byte [rsp + 0x128]
jl 0x140043d6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_terminate_suspended_process_with_error:__lu
lea rcx, [rsp + 0x20]
call fcn.14002e770
mov byte [rsp + 0x128], 1
lea rcx, [rsp + 0x20]
call fcn.140026c90
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140079460
add rsp, 0x148
ret
Function at 0x140043d90
Capabilities:
Resume thread

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400e5010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
call fcn.140077020
lea r9, [0x1400c186b]
lea r8, str.Windows::_anonymous_namespace::AssignProcessToJobObjectAndResumeThread
mov rdx, qword [rax]
lea rcx, [rsp + 0x78]
call fcn.14002e800
nop
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x140043e75
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x140043e26
lea rcx, [rsp + 0x78]
call fcn.140026f60
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140079460
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret
mov rcx, rsi
call fcn.140043cd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.14002e230
nop
mov r8, rax
lea rdx, str.ResumeThread_failed_with_error:
lea rcx, [rsp + 0x38]
call fcn.14000f9b0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400055d0
lea rdx, [0x1400e26d0]
lea rcx, [rsp + 0x20]
call fcn.14007f918
nop
mov rcx, rsi
call fcn.140043cd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.14002e230
nop
mov r8, rax
lea rdx, str.AssignProcessToJobObject_failed_with_error:
lea rcx, [rsp + 0x58]
call fcn.14000f9b0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400055d0
lea rdx, [0x1400e26d0]
lea rcx, [rsp + 0x20]
call fcn.14007f918
int3
Function at 0x1400452d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x88
mov rcx, rdx
mov edx, r8d
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x1400452f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1400452fa
add rsp, 0x88
ret
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.14002e230
nop
mov r8, rax
lea rdx, str.Failed_to_trigger_process_termination_with_error:
lea rcx, [rsp + 0x58]
call fcn.14000f9b0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400055d0
lea rdx, [0x1400e26d0]
lea rcx, [rsp + 0x20]
call fcn.14007f918
int3