joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400041d0
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 0x1400042e2
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x1400042ba
add rax, 1
cmp rax, 0x6b
je 0x1400042d7
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x1400042b0
cmp edx, 0x6a
je 0x1400042d7
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 sym.abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x1400042cb
Function at 0x140007d90
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x14000e680]
mov rax, qword [rbx]
mov r12, rcx
mov esi, edx
test rax, rax
je 0x140007e60
cmp qword [rax + 0x60], 0
jne 0x140007e80
lea rcx, [0x14000d068]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_lock
mov rcx, r12
call sym.__pthread_get_pointer
test rax, rax
je 0x140007e90
cmp qword [rax + 0x1d8], r12
jne 0x140007e90
test byte [rax + 0x40], 0xc
jne 0x140007e90
mov edx, dword [rax + 0xbc]
test edx, edx
jne 0x140007e90
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x140007e90
mov rax, qword [rbx]
test rax, rax
je 0x140007ef0
cmp qword [rax + 0x60], 0
jne 0x140007f10
lea rcx, [0x14000d068]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
test esi, esi
je 0x140007f20
lea edx, [rsi - 2]
cmp edx, 0x15
ja 0x140007f28
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.pthread_cancel
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x140007dbb
test rax, rax
jne 0x140007e80
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007dc6
mov rax, qword [rbx]
test rax, rax
je 0x140007ec0
cmp qword [rax + 0x60], 0
jne 0x140007ee0
lea rcx, [0x14000d068]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
mov eax, 3
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
call sym.__shmem3_winpthreads_tdm_init_local_region
mov r8, rax
mov rax, qword [rbx]
cmp qword [r8 + 0x60], 0
je 0x140007e9f
test rax, rax
jne 0x140007ee0
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007eaa
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x140007e2a
test rax, rax
jne 0x140007f10
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007e35
xor eax, eax
jmp 0x140007eb4
mov eax, 0x16
jmp 0x140007eb4
Function at 0x1400081a0
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 sym.pop_pthread_mem
mov r12, rax
test rax, rax
je 0x140008409
test rdi, rdi
je 0x1400081da
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 0x140008247
add ebx, 1
cmp ebx, 1
je 0x140008350
mov ecx, 0x14
call r14
cmp ebx, 5
jne 0x140008215
mov qword [r12 + 0x38], 0xffffffffffffffff
lea r14, [r12 + 0x68]
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x14000844f
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 0x1400083f2
xor edx, edx
test rsi, rsi
je 0x1400082bf
mov eax, dword [rsi]
mov edx, dword [rsi + 0x10]
mov dword [r12 + 0x44], eax
test al, 8
jne 0x140008420
mov eax, dword [rsi + 0x18]
mov dword [r12 + 0xc0], eax
lea r8, [sym.pthread_create_wrapper]
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 0x1400083b0
mov eax, dword [r12 + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x140008380
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 0x140008360
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 0x140008215
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 0x14000832f
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x140008305
mov edx, 0xf
cmp eax, 0xe
jg 0x140008305
cmp eax, 2
mov edx, 2
cmovle edx, eax
jmp 0x140008305
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x1400083c0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [r12 + 0x38]
call sym.pthread_mutex_destroy
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x14000844f
mov qword [r12 + 0x68], 0xffffffffffffffff
mov qword [r12 + 0x30], 0
mov qword [r12 + 0x28], 0
test rdi, rdi
je 0x1400083fe
mov qword [rdi], 0
cmp qword [r12 + 0x1d0], 0
je 0x140008440
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 sym.__pthread_self_lite
mov edx, dword [rsp + 0x3c]
mov eax, dword [rax + 0xc0]
mov dword [r12 + 0xc0], eax
jmp 0x1400082bf
mov rcx, r12
call sym.push_pthread_mem.part.0
mov eax, 0xb
jmp 0x14000840e
call sym.replace_spin_keys.part.0
nop
nop word cs:[rax + rax]
Function at 0x140008e90
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 0x140008eb0
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 0x140008ef8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140008ea4
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 0x140008ee5

Function at 0x140008f20
Capabilities:
Check mutex on windows

Disassembly:
push r12
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
lea r8, [0x1400112c0]
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 0x140008fd8
mov rdx, qword [0x140011200]
lea rcx, [0x140011200]
mov rax, qword [rdx + 8]
test rax, rax
je 0x140008fa8
cmp rdx, rcx
jne 0x140008f8a
mov qword [rdx], rax
cmp rax, rcx
je 0x140008f8f
nop dword [rax]
test rax, rax
je 0x140008fba
mov rdx, qword [rdx]
mov qword [rax], rdx
mov rdx, rax
mov rax, qword [rdx + 8]
cmp rax, rcx
jne 0x140008f78
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
test rax, rax
je 0x140008fba
mov rdx, rax
jmp 0x140008f86
lea rcx, [0x140011300]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140008ff6
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
lea rcx, str.failed_to_to_lock_cleanup_mutex_n
call sym.__shmem_get_error
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_DeleteAtom]
jmp 0x140008fba
Function at 0x1403375c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x1404ef628]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
lea rcx, [0x1403fde58]
call fcn.140352f70
mov rbx, rax
test rax, rax
je 0x1403376c4
xor edx, edx
mov qword [rsp + 0x78], rdi
mov rcx, rax
mov dword [rsi + 0x350], 1
call fcn.1403619f0
mov edi, eax
test eax, eax
js 0x1403376b4
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.140357de8
test eax, eax
jne 0x1403376ab
mov eax, dword [rsp + 0x34]
cmp eax, 0x10000
jg 0x140337680
inc eax
movsxd rcx, eax
call fcn.140352f80
mov rbx, rax
test rax, rax
je 0x14033766f
mov r8d, dword [rsp + 0x34]
mov rdx, rax
mov ecx, edi
call fcn.14035f228
movsxd rcx, dword [rsp + 0x34]
cmp eax, ecx
jne 0x14033766f
mov byte [rcx + rbx], 0
mov rdx, rbx
mov rcx, rsi
call fcn.1403376e0
mov rcx, rbx
call fcn.140352b10
mov ecx, edi
call fcn.14035eaec
jmp 0x1403376bf
call fcn.140327390
cmp eax, 2
jge 0x1403376ab
mov ecx, 2
call fcn.14034eae4
mov r9d, dword [rsp + 0x34]
lea rdx, [0x1403fde70]
mov rcx, rax
mov r8, rbx
call fcn.140004300
mov ecx, edi
call fcn.14035eaec
jmp 0x1403376bf
mov rdx, rbx
mov rcx, rsi
call fcn.1403376e0
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1403472d0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret

Function at 0x140358884
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1403586b0
Function at 0x2fc4ce8d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4cf9b0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4cf2d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f1108]
test eax, eax
je 0x2fc4cf36a
lea rax, [0x2fc4f10e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f1110]
mov qword [rbp - 8], rax
jmp 0x2fc4cf34e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4cf342
cmp qword [rbp - 0x10], 0
je 0x2fc4cf342
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cf308
lea rax, [0x2fc4f10e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cf36b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cf470
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4cf498
mov eax, 0
jmp 0x2fc4cf4e6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4cf4c1
mov eax, 0
jmp 0x2fc4cf4e6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4cf4e1
mov eax, 0
jmp 0x2fc4cf4e6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cf4ec
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cf56a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cf561
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cf561
mov rax, qword [rbp - 8]
jmp 0x2fc4cf57f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cf534
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, rdx
mov rdi, rcx
xor r8d, r8d
test rcx, rcx
jne 0x14000124a
xor eax, eax
jmp 0x14000130a
mov qword [rsp + 8], r8
mov qword [rsp + 0x10], r8
movsxd rax, dword [rcx + 0x3c]
mov r11d, dword [rax + rcx + 0x88]
add r11, rdi
mov esi, dword [r11 + 0x1c]
add rsi, rdi
mov ebx, dword [r11 + 0x20]
add rbx, rdi
mov qword [rsp + 8], rbx
mov r10d, dword [r11 + 0x24]
add r10, rdi
mov qword [rsp + 0x10], r10
test r14d, 0xffff0000
jne 0x140001295
movzx eax, r14w
sub eax, dword [r11 + 0x10]
jmp 0x1400012f1
mov r11d, dword [r11 + 0x18]
mov dword [rsp], r11d
nop dword [rax]
mov eax, r11d
dec r11d
mov dword [rsp], r11d
test eax, eax
je 0x1400012fd
mov eax, dword [rbx]
add rax, rdi
mov r9, r14
sub r9, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x1400012d3
inc rax
test ecx, ecx
jne 0x1400012c0
test edx, edx
jne 0x1400012dd
movzx eax, word [r10]
jmp 0x1400012f1
add rbx, 4
mov qword [rsp + 8], rbx
add r10, 2
mov qword [rsp + 0x10], r10
jmp 0x1400012a0
mov r8d, dword [rsi + rax*4]
add r8, rdi
mov qword [rsp + 0x18], r8
jmp 0x140001307
mov rax, r8
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140001320
Capabilities:
Create udp socket
Get socket status
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
lea rcx, [rbp + 0x3f0]
call fcn.140011dc4
mov ecx, 0x202
lea rdx, [rbp + 0x210]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14000152d
mov edi, 2
lea r8d, [rax + 0x11]
mov edx, edi
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
test eax, eax
js 0x14000152d
xorps xmm0, xmm0
mov word [rsp + 0x30], di
movups xmmword [rbp - 0x78], xmm0
lea ecx, [rdi + 0x79]
mov dword [rbp - 0x78], 0x1b
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
call qword [sym.imp.WS2_32.dll_htons]
movdqa xmm0, xmmword [0x14002ba50]
lea rcx, [rsp + 0x40]
movdqa xmm1, xmmword [0x14002b9f0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x32], ax
xor eax, eax
movdqa xmm0, xmmword [0x14002bae0]
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
mov word [rsp + 0x4c], ax
mov byte [rsp + 0x4e], al
movdqu xmmword [rsp + 0x60], xmm1
mov dword [rbp - 0x80], 6
mov dword [rbp - 0x7c], 0x22
call fcn.140006de0
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
xor r9d, r9d
movsxd rdi, ebx
mov dword [rsp + 0x34], eax
lea rdx, [rbp - 0x78]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], recvfrom
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x30]
call qword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x14000151e
lea rax, [rbp + 0x3e8]
mov qword [rbp + 8], rdi
lea ecx, [rbx + 1]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov dword [rbp], 1
xor r8d, r8d
mov qword [rbp + 0x3e8], 0xa
lea rdx, [rbp]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x14000151e
xor r9d, r9d
mov dword [rbp + 0x3e0], recvfrom
lea rax, [rbp + 0x3e0]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x38]
lea rax, [rbp - 0x48]
lea r8d, [r9 + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jle 0x14000151e
lea rcx, [rbp + 0x3f8]
movaps xmmword [rsp + 0x4b0], xmm6
call fcn.140011dc4
mov ecx, dword [rbp - 0x10]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rdx, qword [rbp + 0x3f0]
mov rcx, qword [rbp + 0x3f8]
mov ebx, eax
mov eax, 0x83aa7e80
sub rbx, rax
call fcn.14000f610
mov rdx, qword [rbp + 0x3f0]
mov rcx, rbx
movaps xmm6, xmm0
call fcn.14000f610
comisd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x4b0]
jbe 0x14000151e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov al, 1
add rsp, 0x4c0
pop rdi
pop rbx
pop rbp
ret
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
add rsp, 0x4c0
pop rdi
pop rbx
pop rbp
ret
Function at 0x1400018d0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x460
mov rbx, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, str.HTTP
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r15, rax
test rax, rax
je 0x140001951
cmp qword [rbx + 0x18], 0xf
jbe 0x140001921
mov rbx, qword [rbx]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbp, rax
test rax, rax
jne 0x14000196c
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov ebx, recvfrom
mov qword [rdi + 0x18], rbx
mov byte [rdi], r12b
jmp 0x140001a67
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov r14, r12
mov qword [rsp + 0x40], r12
mov ebx, recvfrom
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x30], r12b
lea r9, [rsp + 0x4a0]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001a44
nop
mov eax, dword [rsp + 0x4a0]
test eax, eax
je 0x140001a44
mov esi, eax
mov rax, rbx
sub rax, r14
cmp rsi, rax
ja 0x1400019fe
lea rax, [r14 + rsi]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rbx, 0xf
cmova rax, qword [rsp + 0x30]
lea rbx, [rax + r14]
mov r8d, esi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400205f0
mov byte [rsi + rbx], 0
jmp 0x140001a15
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x60]
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400073d0
lea r9, [rsp + 0x4a0]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001a44
mov rbx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
jmp 0x1400019b0
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm1
mov rax, rdi
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140007890
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rbx, r9
mov edi, r8d
mov r13, rdx
mov r15, rcx
test r8b, 0xf
jne 0x1400079f5
mov ecx, edi
call fcn.140008ffc
mov r12, rax
mov ecx, dword [r15 + 4]
inc ecx
shl ecx, 4
call fcn.140008ffc
mov rsi, rax
mov r8, rax
mov rdx, rbx
mov rcx, r15
call fcn.140008450
mov rcx, qword [rbp + 0x50]
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x60], xmm0
xor r14d, r14d
test edi, edi
je 0x1400079c9
nop word [rax + rax]
movzx eax, byte [r14 + r13]
xor byte [rbp - 0x60], al
movzx eax, byte [r14 + r13 + 1]
xor byte [rbp - 0x5f], al
movzx eax, byte [r14 + r13 + 2]
xor byte [rbp - 0x5e], al
movzx eax, byte [r14 + r13 + 3]
xor byte [rbp - 0x5d], al
movzx eax, byte [r14 + r13 + 4]
xor byte [rbp - 0x5c], al
movzx eax, byte [r14 + r13 + 5]
xor byte [rbp - 0x5b], al
movzx eax, byte [r14 + r13 + 6]
xor byte [rbp - 0x5a], al
movzx eax, byte [r14 + r13 + 7]
xor byte [rbp - 0x59], al
movzx eax, byte [r14 + r13 + 8]
xor byte [rbp - 0x58], al
movzx eax, byte [r14 + r13 + 9]
xor byte [rbp - 0x57], al
movzx eax, byte [r14 + r13 + 0xa]
xor byte [rbp - 0x56], al
movzx eax, byte [r14 + r13 + 0xb]
xor byte [rbp - 0x55], al
movzx eax, byte [r14 + r13 + 0xc]
xor byte [rbp - 0x54], al
movzx eax, byte [r14 + r13 + 0xd]
xor byte [rbp - 0x53], al
movzx eax, byte [r14 + r13 + 0xe]
xor byte [rbp - 0x52], al
movzx eax, byte [r14 + r13 + 0xf]
xor byte [rbp - 0x51], al
lea rbx, [r14 + r12]
mov r9, rsi
mov r8, rbx
lea rdx, [rbp - 0x60]
mov rcx, r15
call fcn.140007c50
movups xmm1, xmmword [rbx]
movups xmmword [rbp - 0x60], xmm1
add r14d, 0x10
cmp r14d, edi
jb 0x140007910
mov rcx, rsi
call fcn.140008fc8
mov rax, r12
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp - 0x48]
call fcn.140007870
nop
mov r8, rax
lea rcx, [rbp - 0x28]
call fcn.140008b10
nop
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140007810
lea rdx, [0x14002e510]
lea rcx, [rbp - 0x60]
call fcn.14000ad38
int3
Function at 0x140007a30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rbx, r9
mov esi, r8d
mov r13, rdx
mov r14, rcx
test r8b, 0xf
jne 0x140007b89
mov ecx, esi
call fcn.140008ffc
mov r12, rax
mov ecx, dword [r14 + 4]
inc ecx
shl ecx, 4
call fcn.140008ffc
mov rbp, rax
mov r8, rax
mov rdx, rbx
mov rcx, r14
call fcn.140008450
mov rcx, qword [rsp + 0xd0]
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x20], xmm0
xor r15d, r15d
test esi, esi
je 0x140007b5d
nop dword [rax]
lea rbx, [r15 + r12]
lea rdi, [r15 + r13]
mov r9, rbp
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.140008040
movzx eax, byte [rsp + 0x20]
xor byte [rbx], al
movzx eax, byte [rsp + 0x21]
xor byte [rbx + 1], al
movzx eax, byte [rsp + 0x22]
xor byte [rbx + 2], al
movzx eax, byte [rsp + 0x23]
xor byte [rbx + 3], al
movzx eax, byte [rsp + 0x24]
xor byte [rbx + 4], al
movzx eax, byte [rsp + 0x25]
xor byte [rbx + 5], al
movzx eax, byte [rsp + 0x26]
xor byte [rbx + 6], al
movzx eax, byte [rsp + 0x27]
xor byte [rbx + 7], al
movzx eax, byte [rsp + 0x28]
xor byte [rbx + 8], al
movzx eax, byte [rsp + 0x29]
xor byte [rbx + 9], al
movzx eax, byte [rsp + 0x2a]
xor byte [rbx + 0xa], al
movzx eax, byte [rsp + 0x2b]
xor byte [rbx + 0xb], al
movzx eax, byte [rsp + 0x2c]
xor byte [rbx + 0xc], al
movzx eax, byte [rsp + 0x2d]
xor byte [rbx + 0xd], al
movzx eax, byte [rsp + 0x2e]
xor byte [rbx + 0xe], al
movzx eax, byte [rsp + 0x2f]
xor byte [rbx + 0xf], al
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x20], xmm0
add r15d, 0x10
cmp r15d, esi
jb 0x140007ab0
mov rcx, rbp
call fcn.140008fc8
mov rax, r12
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsp + 0x38]
call fcn.140007870
nop
mov r8, rax
lea rcx, [rsp + 0x58]
call fcn.140008b10
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140007810
lea rdx, [0x14002e510]
lea rcx, [rsp + 0x20]
call fcn.14000ad38
int3