joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c2a0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c3b0
lea r14, [rbx + 0x68]
mov rcx, r14
call fcn.14001e820
cmp esi, dword [rbx + 0x48]
jae 0x14001c330
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r14
mov byte [rax + rsi], 1
call fcn.14001e860
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rbx + 0x50]
lea r15d, [rsi + 1]
movsxd r13, r15d
lea rdx, [r13*8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
test rax, rax
mov rdi, rax
je 0x14001c3bd
mov rcx, qword [rbx + 0x58]
mov rdx, r13
movq xmm6, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
movq xmm0, rax
test rax, rax
mov r13, rax
punpcklqdq xmm6, xmm0
je 0x14001c3bd
mov eax, dword [rbx + 0x48]
mov edx, r15d
lea rcx, [rdi + rax*8]
sub edx, eax
lea r8, [rdx*8]
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, dword [rbx + 0x48]
mov r8d, r15d
lea rcx, [r13 + rdx]
sub r8d, edx
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movaps xmmword [rbx + 0x50], xmm6
mov dword [rbx + 0x48], r15d
jmp 0x14001c2f4
call fcn.14001b550
mov rbx, rax
jmp 0x14001c2df
mov rcx, r14
call fcn.14001e860
mov eax, 0xc
jmp 0x14001c312

Function at 0x14001c440
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c468
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.14001b550
test rax, rax
jne 0x14001c45a
add rsp, 0x28
ret

Function at 0x14001c4d0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c4f8
add rax, 0x18
add rsp, 0x28
ret
call fcn.14001b550
test rax, rax
jne 0x14001c4ea
jmp 0x14001c4ee

Function at 0x14001c610
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400bf658]
test eax, eax
jne 0x14001c628
xor eax, eax
add rsp, 0x28
ret
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c658
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14001c61e
test byte [rax + 0x40], 3
je 0x14001c61e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x14001c620
call fcn.14001b550
test rax, rax
jne 0x14001c63e
jmp 0x14001c61e
Function at 0x14001c670
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c6b0
test ebx, ebx
jle 0x14001c6a0
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.14001b550
test rax, rax
jne 0x14001c68d
add rsp, 0x20
pop rbx
ret

Function at 0x14001c7a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c818
test byte [rbx + 0x40], 0xc
jne 0x14001c7cf
mov eax, dword [0x1400bf658]
test eax, eax
jne 0x14001c7e0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001a720
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001c803
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001c803
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001c82c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001aa10
call fcn.14001b550
test rax, rax
mov rbx, rax
jne 0x14001c7bf
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001c84a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001aa10
call fcn.14001c6c0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001c8d0
call fcn.14001d9b0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001c908
call fcn.14001b4a0
mov ecx, dword [0x140020678]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c960
test esi, esi
je 0x14001c8e6
call fcn.14001c7a0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c940
mov edx, edi
call fcn.14001da60
call fcn.14001c7a0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c950
call fcn.14001c7a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c7a0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b4a0
mov ecx, dword [0x140020678]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x14001c8a5
call fcn.14001b550
mov rbx, rax
jmp 0x14001c8a5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c8be
call fcn.14001b550
jmp 0x14001c8e6
call fcn.14001b550
mov rbx, rax
jmp 0x14001c8a1
Function at 0x14001c860
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c818
test byte [rbx + 0x40], 0xc
jne 0x14001c7cf
mov eax, dword [0x1400bf658]
test eax, eax
jne 0x14001c7e0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14001a720
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001c803
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001c803
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001c82c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001aa10
call fcn.14001b550
test rax, rax
mov rbx, rax
jne 0x14001c7bf
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001c84a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14001aa10
call fcn.14001c6c0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001c8d0
call fcn.14001d9b0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001c908
call fcn.14001b4a0
mov ecx, dword [0x140020678]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c960
test esi, esi
je 0x14001c8e6
call fcn.14001c7a0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c940
mov edx, edi
call fcn.14001da60
call fcn.14001c7a0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001c950
call fcn.14001c7a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c7a0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001b4a0
mov ecx, dword [0x140020678]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x14001c8a5
call fcn.14001b550
mov rbx, rax
jmp 0x14001c8a5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c8be
call fcn.14001b550
jmp 0x14001c8e6
call fcn.14001b550
mov rbx, rax
jmp 0x14001c8a1

Function at 0x14001c970
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.14001b4a0
mov ecx, dword [0x140020678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x14001c9e0
test esi, esi
je 0x14001c9c0
call fcn.14001c7a0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001c9f0
mov edx, esi
call fcn.14001da60
call fcn.14001c7a0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001c7a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001c7a0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001b550
mov rbx, rax
jmp 0x14001c991
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001c9aa
Function at 0x140002e80
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
xor ebx, ebx
lea r14, [rcx + 0xf0]
mov rax, qword [r14]
mov rbp, rcx
lea r9d, [rbx + 1]
cmp rax, r14
je 0x140002ecc
nop dword [rax + rax]
mov rbx, rax
cmp word [rax + 0x10], dx
jne 0x140002ebf
cmp byte [rax + 0x29], r8b
je 0x140002ec7
mov rax, qword [rax]
cmp rax, r14
jne 0x140002eb0
cmp rax, r14
jne 0x140002f36
lea rax, [rcx + 0x110]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140002f01
nop dword [rax + rax]
cmp byte [rbx + 0x28], 0
jge 0x140002ef9
cmp word [rbx + 0x26], r9w
jb 0x140002f01
cmp word [rbx + 0x10], dx
jne 0x140002ef9
cmp byte [rbx + 0x29], r8b
je 0x140002f33
mov rbx, qword [rbx]
cmp rbx, rax
jne 0x140002ee0
lea rax, [rcx + 0x100]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140002f31
cmp byte [rbx + 0x28], 0
jge 0x140002f29
cmp word [rbx + 0x26], r9w
jb 0x140002f31
cmp word [rbx + 0x10], dx
jne 0x140002f29
cmp byte [rbx + 0x29], r8b
je 0x140002f33
mov rbx, qword [rbx]
cmp rbx, rax
jne 0x140002f10
xor ebx, ebx
xor r9d, r9d
test rbx, rbx
jne 0x140002f4e
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
movzx eax, r8b
mov qword [rsp + 0x30], rsi
cmp rax, qword [rcx + 0x48]
jae 0x140002f99
lea r8, [rax + rax*4]
shr dx, 0xc
shl r8, 4
add r8, qword [rcx + 0x40]
movzx eax, dx
lea rcx, [r8 + rax*2]
movzx eax, word [r8 + rax*2 + 6]
test ax, ax
je 0x140002f99
sub ax, 1
mov word [rcx + 6], ax
jne 0x140002f99
movzx ecx, word [r8 + 4]
movzx eax, dx
btr ecx, eax
mov word [r8 + 4], cx
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
movzx esi, byte [rbx + 0x28]
and esi, 0xf
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
cmp qword [rbx + 0x58], 0
je 0x140003022
test r9d, r9d
je 0x140002fcb
movzx eax, word [rbx + 0x24]
sub dword [rbp + 0xd8], eax
mov rax, qword [rbx + 0x58]
dec qword [rax]
mov rax, qword [rbx + 0x58]
cmp qword [rax], 0
jne 0x140003022
or dword [rax + 8], 0x100
mov qword [rsp + 0x38], rdi
mov rdi, qword [rbx + 0x58]
test rdi, rdi
je 0x14000301d
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x140002fff
mov rcx, rdi
call rax
test byte [rdi + 8], 4
jne 0x140003014
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140003014
call qword [0x14000c0c8]
mov rcx, rdi
call qword [0x14000c0c8]
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
call qword [0x14000c0c8]
mov rcx, qword [r14]
cmp rcx, r14
je 0x14000303c
mov eax, dword [rcx + 0x18]
add eax, dword [rcx + 0x14]
mov dword [rbp + 0x70], eax
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140003e00
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp dword [r8 + 0x38], 1
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rbp, rcx
je 0x140003e2f
xor eax, eax
jmp 0x140004018
mov ecx, dword [r9 + 0x10]
mov qword [rsp + 0x30], rsi
call qword [sym.imp.WS2_32.dll_ntohl]
mov esi, eax
lea rax, [rsi - 1]
cmp rax, 0xfe
ja 0x140003faf
mov ecx, dword [rdi + 0x1c]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xa4]
jne 0x140003faf
mov ecx, dword [rdi + 0x20]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0x9c]
jne 0x140003faf
mov ecx, dword [rdi + 0x24]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xa0]
jne 0x140003faf
mov eax, dword [rbx + 0x1c]
cmp dword [rdi + 0x28], eax
jne 0x140003faf
mov edx, 1
mov r8b, 0xff
mov rcx, rbx
call fcn.140002e80
cmp rsi, qword [rbx + 0x48]
jae 0x140003eb5
mov qword [rbx + 0x48], rsi
movzx ecx, word [rdi + 4]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rbx + 0x18], ax
movzx eax, byte [rdi + 6]
mov byte [rbx + 0x21], al
movzx eax, byte [rdi + 7]
mov byte [rbx + 0x20], al
mov ecx, dword [rdi + 8]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, 0x240
mov esi, 0x1000
cmp eax, ecx
jb 0x140003eef
cmp eax, esi
mov ecx, eax
cmova ecx, esi
cmp ecx, dword [rbx + 0xd0]
jae 0x140003efd
mov dword [rbx + 0xd0], ecx
mov ecx, dword [rdi + 0xc]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, esi
jb 0x140003f16
mov ecx, 0x10000
mov esi, eax
cmp eax, ecx
cmova esi, ecx
cmp esi, dword [rbx + 0xd4]
jae 0x140003f24
mov dword [rbx + 0xd4], esi
mov ecx, dword [rdi + 0x14]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x50], eax
mov ecx, dword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x54], eax
mov dword [rbp + 0x24], 1
mov eax, dword [rbx + 0x38]
test r14, r14
je 0x140003f92
add eax, 0xfffffffb
cmp eax, 1
jbe 0x140003f6f
cmp dword [rbx + 0x50], 0
je 0x140003f64
mov rax, qword [rbx + 0x10]
inc qword [rax + 0x2af0]
mov rax, qword [rbx + 0x10]
inc qword [rax + 0x2ae8]
mov dword [rbx + 0x38], 5
mov dword [r14], 1
mov qword [r14 + 8], rbx
mov eax, dword [rbx + 0x1b8]
mov dword [r14 + 0x14], eax
xor eax, eax
jmp 0x140004013
xor r8d, r8d
mov rdx, rbx
cmp eax, 1
mov rcx, rbp
sete r8b
add r8d, 3
call fcn.140002c40
xor eax, eax
jmp 0x140004013
mov eax, dword [rbx + 0x38]
xor r8d, r8d
sub eax, 5
mov dword [rbx + 0x1b8], r8d
cmp eax, 1
ja 0x140003fe0
cmp dword [rbx + 0x50], r8d
je 0x140003fd5
mov rax, qword [rbx + 0x10]
dec qword [rax + 0x2af0]
mov rax, qword [rbx + 0x10]
dec qword [rax + 0x2ae8]
test byte [rbx + 0x130], 1
mov dword [rbx + 0x38], 9
jne 0x14000400e
mov rax, qword [rbp + 0x50]
lea rcx, [rbp + 0x48]
mov qword [rbx + 8], rax
mov qword [rbx], rcx
mov qword [rax], rbx
mov qword [rcx + 8], rbx
or word [rbx + 0x130], 1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140005b30
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, 0x101
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140005b99
movzx eax, word [rsp + 0x20]
cmp al, 1
jne 0x140005b93
shr ax, 8
cmp al, 1
jne 0x140005b93
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400077f0
add rsp, 0x1d8
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400077f0
add rsp, 0x1d8
ret

Function at 0x140005be0
Capabilities:
Resolve dns

Disassembly:
push rbx
push r14
sub rsp, 0x58
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, rcx
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x140005c25
cmp word [rax + 0x10], 2
jne 0x140005c25
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [r14], eax
xor eax, eax
jmp 0x140005cd9
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x50], rsi
xor esi, esi
mov qword [rsp + 0x48], rdi
mov ebp, esi
mov qword [rsp + 0x40], r15
mov edi, esi
mov dword [rsp + 0x28], 0
lea r15d, [rsi + 0x2e]
nop
lea rdx, [rbx + 1]
mov qword [rsp + 0x20], rdx
cmp byte [rbx], 0x30
je 0x140005c93
mov r8d, 0xa
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp eax, 0xff
ja 0x140005cbb
mov rdx, qword [rsp + 0x20]
cmp rdx, rbx
je 0x140005cbb
mov rcx, rdx
sub rcx, rbx
cmp rcx, 3
jg 0x140005cbb
mov byte [rsp + rdi + 0x28], al
movsx eax, byte [rdx]
cmp ebp, 3
mov ecx, esi
cmovl ecx, r15d
cmp eax, ecx
jne 0x140005cbb
inc ebp
lea rbx, [rdx + 1]
inc rdi
cmp rdi, 4
jl 0x140005c50
mov eax, dword [rsp + 0x28]
mov dword [r14], eax
jmp 0x140005cc0
mov esi, 0xffffffff
mov r15, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400077f0
add rsp, 0x58
pop r14
pop rbx
ret
Function at 0x1400064e0
Capabilities:
Execute command

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rdx, [rsp + 0x20]
call fcn.140005780
test eax, eax
jle 0x1400065d5
nop dword [rax + rax]
mov ecx, dword [rsp + 0x20]
sub ecx, 2
je 0x140006531
cmp ecx, 1
jne 0x1400065c0
mov rcx, qword [rsp + 0x38]
call fcn.140005ee0
jmp 0x1400065c0
lea rcx, [0x1400094e8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140009578]
call fcn.140005dc0
lea rcx, str._______________________________________________n
call fcn.140005dc0
lea rcx, str.______________________________________________n
call fcn.140005dc0
lea rcx, str._________________________________________________n
call fcn.140005dc0
lea rcx, str.____________________________________________n_n
call fcn.140005dc0
lea r8, str.11:29:10
lea rdx, str.Jun__5_2024
lea rcx, str._OnlineCTR_Client__press_CTRL__C_to_quit__n_Build__s___s__n_n
call fcn.140005dc0
lea rdx, [0x14000c7a0]
lea rcx, str._Welcome_to_OnlineCTR__s__n
call fcn.140005dc0
lea rcx, str._nClient:_Connection_Dropped__Server_Full_or_Server_Offline_...
call fcn.140005dc0
mov rax, qword [0x14000c810]
mov dword [rax], 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x20]
call fcn.140005780
test eax, eax
jg 0x140006510
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400077f0
add rsp, 0x58
ret
Function at 0x14000827c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400082c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400082c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400082c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400082c6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400082c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400082c8
xor al, al
add rsp, 0x28
ret
Function at 0x180003b80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
mov qword [rbp - 8], rcx
mov dword [rbp - 0x4c], 0
movdqa xmm0, xmmword [str.abcdefghijklmnop_]
movdqu xmmword [rbp - 0x48], xmm0
mov dword [rbp - 0x38], 0x74737271
mov dword [rbp - 0x34], 0x78777675
mov word [rbp - 0x30], 0x7a79
mov qword [rcx], 0
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
xor r8d, r8d
lea rdx, [0x18003f2db]
call fcn.18000a920
mov dword [rbp - 0x4c], 1
xor r12d, r12d
call fcn.180016354
mov ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x1a
sub ecx, eax
movsxd rax, ecx
movzx eax, byte [rbp + rax - 0x48]
mov byte [rbp - 0x50], al
mov r13, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
cmp r13, rax
je 0x180003dea
mov r15, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180003c5d
mov r15, qword [rbx]
mov qword [rbp - 0x28], 0
lea r14, [r13 + 1]
mov esi, 0xf
lea rdi, [rbp - 0x28]
cmp r14, rsi
jbe 0x180003cf1
mov rsi, r14
or rsi, 0xf
cmp rsi, rax
jbe 0x180003c88
mov rsi, rax
jmp 0x180003c95
cmp rsi, 0x16
mov eax, 0x16
cmovb rsi, rax
mov rcx, rsi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x180003cdc
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180003df0
mov rcx, rax
call fcn.18000dee4
test rax, rax
je 0x180003de4
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180003ced
test rcx, rcx
je 0x180003ceb
call fcn.18000dee4
mov rdi, rax
jmp 0x180003ced
xor edi, edi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rsi
mov r8, r13
mov rdx, r15
mov rcx, rdi
call fcn.18000fe40
movzx eax, byte [rbp - 0x50]
mov byte [rdi + r13], al
mov byte [rdi + r14], 0
or dword [rbp - 0x4c], 2
lea rax, [rbp - 0x28]
cmp rbx, rax
je 0x180003d7f
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180003d5b
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180003d56
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003de4
mov rcx, r8
call fcn.18000deb0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rbx + 0x10], xmm1
jmp 0x180003db6
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x180003db6
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003db1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003de4
call fcn.18000deb0
inc r12d
cmp r12d, 4
jl 0x180003c11
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180015cac
int3
call fcn.180001290
int3
call fcn.1800011f0
int3
Function at 0x180004900
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x180047058]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
cmp qword [rcx + 0x18], 0x10
jb 0x18000493c
mov rsi, qword [rcx]
mov rbx, rsi
add rsi, qword [rcx + 0x10]
jmp 0x180004946
mov rsi, qword [rcx + 0x10]
add rsi, rdi
mov rbx, rdi
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov ecx, r14d
mov qword [rsp + 0x40], rcx
mov r8d, 7
mov qword [rsp + 0x48], r8
mov rdx, rsi
sub rdx, rbx
cmp rdx, 8
jb 0x180004984
lea rcx, [rsp + 0x30]
call fcn.18000c850
mov ecx, r14d
mov qword [rsp + 0x40], rcx
mov r8, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov ebp, 1
cmp rbx, rsi
je 0x1800049f2
nop dword [rax + rax]
movsx r9d, byte [rbx]
cmp rcx, r8
jae 0x1800049ce
lea rax, [rcx + 1]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp r8, 8
cmovae rax, qword [rsp + 0x30]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r14w
jmp 0x1800049de
xor r8d, r8d
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.18000c9c0
inc rbx
mov r8, qword [rsp + 0x48]
cmp rbx, rsi
je 0x1800049f2
mov rcx, qword [rsp + 0x40]
jmp 0x1800049a0
lea rcx, [rsp + 0x30]
cmp r8, 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180004a10
test al, 0x10
jne 0x180004a13
mov ebp, r14d
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x180004a55
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004a50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004ad2
call fcn.18000deb0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x180004a9f
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180004a9a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180004ad8
mov rcx, r8
call fcn.18000deb0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov eax, ebp
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18000de90
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.180015cac
nop
call fcn.180015cac
int3