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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rbp, rdx
test rcx, rcx
je 0x140018380
lea rdi, [0x14001b458]
mov rcx, rdi
call sym.pthread_mutex_lock
mov rcx, rsi
call sym.__pthread_get_pointer
mov rcx, rdi
mov rbx, rax
call sym.pthread_mutex_unlock
test rbx, rbx
je 0x140018380
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x140018380
lea rdx, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x140018380
test byte [rbx + 0x44], 4
jne 0x140018390
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x14001b468]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400183b0
cmp rsi, qword [rax + 0x1d8]
je 0x1400183d8
mov eax, dword [rbx + 0xbc]
mov rcx, qword [rbx + 0x28]
test eax, eax
je 0x14001830b
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001831a
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x28]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001832e
call rsi
mov qword [rbx + 0x30], 0
lea rcx, [rbx + 0x38]
test rbp, rbp
je 0x1400183c8
mov rax, qword [rbx + 8]
mov qword [rbp], rax
call sym.pthread_mutex_destroy
lea rcx, [rbx + 0x68]
call sym.pthread_spin_destroy
cmp eax, 1
je 0x1400183df
cmp qword [rbx + 0x1d0], 0
mov qword [rbx + 0x68], 0xffffffffffffffff
je 0x1400183a0
xor eax, eax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov eax, 3
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov eax, 0x16
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, rbx
call sym.push_pthread_mem.part.0
xor eax, eax
jmp 0x140018376
call sym.__pthread_self_lite.part.0
test rax, rax
jne 0x1400182e6
jmp 0x1400182f3
call sym.pthread_mutex_destroy
jmp 0x140018350
mov eax, 0x24
jmp 0x140018385
call sym.replace_spin_keys.part.0
nop
nop word cs:[rax + rax]
Function at 0x1400183f0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rbp, [0x14001b458]
mov rsi, rcx
mov rcx, rbp
mov rdi, rdx
call sym.pthread_mutex_lock
mov rcx, rsi
call sym.__pthread_get_pointer
mov rbx, rax
test rax, rax
je 0x140018510
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x140018510
lea rdx, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x140018510
test byte [rbx + 0x44], 4
jne 0x140018530
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x14001b468]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018570
mov rdx, qword [rax + 0x1d8]
cmp rsi, rdx
je 0x1400185a8
mov edx, dword [rbx + 0xbc]
mov rcx, qword [rbx + 0x28]
test edx, edx
jne 0x140018497
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140018550
mov rcx, qword [rbx + 0x28]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400184ab
call rsi
mov qword [rbx + 0x30], 0
lea rcx, [rbx + 0x38]
test rdi, rdi
je 0x140018588
mov rax, qword [rbx + 8]
mov qword [rdi], rax
call sym.pthread_mutex_destroy
lea rcx, [rbx + 0x68]
call sym.pthread_spin_destroy
cmp eax, 1
je 0x1400185ba
cmp qword [rbx + 0x1d0], 0
mov qword [rbx + 0x68], 0xffffffffffffffff
je 0x140018598
mov rcx, rbp
call sym.pthread_mutex_unlock
xor eax, eax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, rbp
call sym.pthread_mutex_unlock
mov eax, 3
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, rbp
call sym.pthread_mutex_unlock
mov eax, 0x16
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov eax, dword [rbx + 0xbc]
test eax, eax
jne 0x140018493
mov rcx, rbp
call sym.pthread_mutex_unlock
mov eax, 0x10
jmp 0x1400184fe
call sym.__pthread_self_lite.part.0
xor edx, edx
test rax, rax
jne 0x140018465
jmp 0x14001846c
call sym.pthread_mutex_destroy
jmp 0x1400184cc
mov rcx, rbx
call sym.push_pthread_mem.part.0
jmp 0x1400184f4
mov rcx, rbp
call sym.pthread_mutex_unlock
mov eax, 0x24
jmp 0x1400184fe
call sym.replace_spin_keys.part.0
nop
Function at 0x140002730
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000278d
lea rbx, [0x14003ff90]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002774
cmp r10, 2
jb 0x140002774
cmp byte [r9], r8b
jne 0x140002774
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002750
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400027cf
lea rbx, [0x14003ff90]
cmp r8b, 0x23
jne 0x1400027b3
cmp byte [r9], r8b
jne 0x1400027b3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400027a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002910
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000292a
mov qword [r8], 0
lea rdx, [0x14003fc04]
call fcn.1400027e0
mov rbx, rax
test rax, rax
jne 0x14000294a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140002a21
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002a21
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002a21
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002a21
cmp rdi, 0xffffffffffffffff
je 0x140002a21
mov rax, qword [0x14004ba30]
test rax, rax
je 0x1400029be
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002a21
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140002a0e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004ba30]
test rax, rax
je 0x140002a03
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002a2a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002a1c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002a2c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140004ea0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x14003ff90]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x14004ba30]
not ebx
cmp dword [rcx + 0x3edc], ebx
jne 0x140004f2b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140017210
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140010c00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x14004ba30]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x140010c52
cmp byte [rbx + 0x424e], 0
jne 0x140010c52
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400025f0
test dil, 1
je 0x140010d78
jmp 0x140010cdb
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5332]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140044ba4]
mulss xmm1, dword [0x140044b98]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3fc8], rax
mov dword [rbx + 0x3fb4], 1
movss dword [rbx + 0x3fc0], xmm0
movss dword [rbx + 0x3fc4], xmm1
movss xmm0, dword [rbx + 0x390c]
mulss xmm0, dword [0x140044b04]
or dword [rbx + 0x3fb0], 0x41
movss dword [rbx + 0x4010], xmm0
call fcn.1400025f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140010d30
lea r11, [0x14003ff90]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140010d13
cmp byte [r8], r9b
jne 0x140010d13
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140010d00
not ecx
call fcn.140009e20
test rax, rax
je 0x140010d78
cmp byte [rax + 0x96], 0
je 0x140010d78
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, 0x10
movsx r9d, word [rbx + 0x5332]
call fcn.1400025f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000c470
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140015dc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140015e67
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140015e1a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140017e30
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140002e30
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14004ba28]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140015e6f
mov rcx, rbx
call fcn.140002e30
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400163e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14004ba30]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140016443
mov qword [rsp], rbx
lea rbx, [0x14003ff90]
nop dword [rax]
cmp r9b, 0x23
jne 0x140016423
cmp byte [r8], r9b
jne 0x140016423
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140016410
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140016477
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001647e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140016464
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140035530
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x38
mov eax, dword [0x14004ba50]
lea rdx, [rsp + 0x20]
lea rcx, [0x140035580]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x140035572
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x140035572
mov rax, qword [rsp + 0x20]
test rax, rax
jne 0x140035574
xor eax, eax
add rsp, 0x38
ret

Function at 0x1400356e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xc0
xor edi, edi
lea r8, [0x1400355e0]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], 0x50
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
lea rbx, str.Overlay
mov edx, 0x7f00
mov qword [rsp + 0x98], rax
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [0x14004bb50]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rsp + 0x88]
mov r9d, 0x80000000
mov qword [rsp + 0x58], rdi
mov r8, rbx
mov qword [rsp + 0x50], rax
mov rdx, rbx
mov eax, dword [0x14004bb5c]
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], eax
mov eax, dword [0x14004bb58]
mov dword [rsp + 0x30], eax
mov eax, dword [0x14004bb54]
mov dword [rsp + 0x28], eax
mov eax, dword [0x14004bb50]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea edx, [rdi - 0x14]
mov r8d, 0x800a0
mov rcx, rax
mov qword [0x14004bad0], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [0x14004bad0]
lea r9d, [rdi + 2]
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x140044c30]
lea rdx, [rsp + 0x60]
mov rcx, qword [0x14004bad0]
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x14004bad0]
lea edx, [rdi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14004bad0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
Function at 0x14003c420
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14003c566
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rax, [rsp + 0x4c]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14003c470
cmp qword [rbx + 0x18], 8
mov r9, rbx
mov r10, qword [rbx + 0x10]
jb 0x14003c48b
mov r9, qword [rbx]
cmp rcx, r10
lea rdx, [rsp + 0x4c]
mov r8, r10
cmovb r8, rcx
test r8, r8
je 0x14003c4c4
lea rax, [rsp + 0x4c]
sub r9, rax
nop word [rax + rax]
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x14003c4cf
add rdx, 2
sub r8, 1
jne 0x14003c4b0
cmp r10, rcx
jb 0x14003c4cf
jbe 0x14003c5c7
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14003c55d
lea rax, [rsp + 0x4c]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14003c4f0
cmp qword [rbx + 0x18], 8
mov r9, rbx
mov r10, qword [rbx + 0x10]
jb 0x14003c50b
mov r9, qword [rbx]
cmp rcx, r10
lea rdx, [rsp + 0x4c]
mov r8, r10
cmovb r8, rcx
test r8, r8
je 0x14003c544
lea rax, [rsp + 0x4c]
sub r9, rax
nop word [rax + rax]
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x14003c54b
add rdx, 2
sub r8, 1
jne 0x14003c530
cmp r10, rcx
jb 0x14003c54b
jbe 0x14003c5c7
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14003c4e1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14003c5a5
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14003c5a0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003c633
mov rcx, r8
call fcn.14003d978
xor eax, eax
mov word [rbx], ax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rax
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
mov edi, dword [rsp + 0x28]
cmp rdx, 8
jb 0x14003c60f
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14003c60a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003c633
mov rcx, r8
call fcn.14003d978
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov eax, edi
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14003c640
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
lea rcx, str.__noer_starting...__n
call fcn.1400011e0
cmp qword [0x14004bb60], 0
jne 0x14003c6a5
nop word [rax + rax]
lea rcx, str.__waiting_for_cs2..._r
call fcn.1400011e0
lea rcx, [rsp + 0x20]
call fcn.14003cd70
mov rcx, rax
call fcn.14003c420
mov dword [0x14004ba50], eax
call fcn.140035530
mov qword [0x14004bb60], rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [0x14004bb60], 0
je 0x14003c660
call fcn.140035150
call fcn.1400351a0
mov qword [0x14004baf0], rax
call fcn.1400356e0
call fcn.1400351f0
lea rcx, [rsp + 0x20]
call fcn.14003d140
nop
mov rcx, rax
call fcn.140035110
nop
lea rcx, [rsp + 0x20]
call fcn.1400350f0
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.14003c910
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14003d140
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov ecx, 8
call fcn.14003dd24
lea rcx, [0x1400384a0]
mov qword [rax], rcx
mov qword [rsp + 0x48], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14003d880]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14003d1a6
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14003e328
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003e372
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003e372
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003e372
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003e372
cmp dword [rcx + 0x84], 0xe
jbe 0x14003e372
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003e374
xor al, al
add rsp, 0x28
ret
Function at 0x1400011b3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14006b2b0
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14019c998]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor ebx, ebx
lea r14, [0x1401ac5e0]
mov rbp, r8
mov r9, rdx
mov rdx, r14
mov edi, ebx
lea r8d, [rbx + 0x40]
call fcn.1400065c3
movzx eax, word [0x1401ac5e0]
mov rcx, r14
movzx edx, word [0x1401a7bf4]
test ax, ax
je 0x14006b336
lea esi, [rbx + 1]
nop dword [rax]
cmp ax, 0x20
je 0x14006b325
cmp ax, dx
jne 0x14006b31f
mov edi, esi
jmp 0x14006b325
cmp ax, 0x65
je 0x14006b388
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14006b310
test edi, edi
jne 0x14006b35d
mov word [rcx], dx
mov dword [rcx + 2], gethostbyname
cmp word [0x1401ac5e0], 0x20
jne 0x14006b35d
cmp word [0x1401ac5e2], 0x20
lea rax, [0x1401ac5e4]
cmove r14, rax
mov rax, r14
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400037fb
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
test rbp, rbp
je 0x14006b3a2
movzx eax, word [rbp + 0x34]
mov esi, dword [rbp + 8]
mov r9d, dword [rbp + 0x10]
test ax, ax
je 0x14006b3a8
mov word [rcx], ax
jmp 0x14006b3a8
mov r9d, 3
movzx eax, word [rcx + 2]
add rcx, 2
cmp ax, 0x2b
je 0x14006b3bc
cmp ax, 0x2d
jne 0x14006b3c4
movzx eax, word [rcx + 2]
add rcx, 2
mov rdx, rcx
cmp ax, 0x30
jne 0x14006b3de
nop dword [rax]
movzx eax, word [rcx + 2]
add rcx, 2
cmp ax, 0x30
je 0x14006b3d0
mov r8d, ebx
test ax, ax
je 0x14006b40d
mov rdi, rbx
nop dword [rax]
cmp rdi, 8
jge 0x14006b40d
movzx eax, word [rcx]
inc r8d
add rcx, 2
mov word [rsp + rdi*2 + 0x20], ax
inc rdi
cmp word [rcx], bx
jne 0x14006b3f0
movsxd rax, r8d
add rax, rax
cmp rax, 0x12
jae 0x14006b50b
mov word [rsp + rax + 0x20], bx
mov eax, ebx
test r9d, r9d
jle 0x14006b446
mov ecx, r9d
mov edi, gethostbyname
sub ecx, r8d
cmp eax, ecx
jge 0x14006b446
mov word [rdx], di
inc eax
add rdx, 2
cmp eax, r9d
jl 0x14006b434
movzx eax, word [rsp + 0x20]
test ax, ax
je 0x14006b475
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
mov word [rdx], ax
lea rcx, [rcx + 1]
movzx eax, word [rsp + rcx*2 + 0x20]
add rdx, 2
test ax, ax
jne 0x14006b460
mov word [rdx], bx
cmp esi, 1
jle 0x14006b35d
movzx eax, word [0x1401ac5e0]
mov edi, ebx
mov ecx, ebx
mov edx, ebx
test ax, ax
je 0x14006b4bf
mov r8, rbx
cmp ax, 0x20
je 0x14006b4a7
inc edi
mov eax, edx
test ecx, ecx
cmovne eax, ecx
mov ecx, eax
movzx eax, word [r14 + r8*2 + 2]
inc r8
inc edx
test ax, ax
jne 0x14006b496
cmp edi, esi
jge 0x14006b35d
movsxd rax, ecx
mov r8d, 0x40
lea rcx, [rsp + 0x40]
lea rdx, [r14 + rax*2]
call fcn.140003099
sub esi, edi
test esi, esi
jle 0x14006b4ef
mov eax, 0x20
movsxd rcx, esi
movzx eax, ax
mov rdi, r14
rep stosw word [rdi], ax
mov ebx, esi
movsxd rax, ebx
lea rdx, [rsp + 0x40]
mov r8d, 0x40
lea rcx, [r14 + rax*2]
call fcn.140003099
jmp 0x14006b35d
call fcn.140004be2
int3
Function at 0x140001627
Capabilities:
Parse pe header

Disassembly:
jmp 0x14010d0cc
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14010ce1f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14010ce1f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14010ce1f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14010ce1f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14010ce1f
cmp dword [rcx + 0x84], 0xe
jbe 0x14010ce1f
cmp dword [rcx + 0xf8], 0
je 0x14010ce1f
mov ecx, ebx
call fcn.14010cf98
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14010cb10
nop
cmp dword [rbp + 0x20], 0
je 0x14010ce6d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14010cea8
int3
xor r8d, r8d
xor edx, edx
jmp 0x14010cdb0

Function at 0x1400016cc
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x140093c90
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx eax, r8b
mov rbx, r8
mov r8, qword [0x1401a9e50]
and al, 7
mov edi, edx
mov rsi, rcx
cmp al, 6
jne 0x140093cdb
mov rax, qword [rbx + 2]
cmp rax, qword [0x1401a9e40]
je 0x140093cca
cmp rax, r8
jne 0x140093cdb
mov rcx, qword [rbx - 6]
mov rax, qword [0x1401a9fb8]
cmp qword [rcx + 0x40], rax
jne 0x140093cea
mov rdx, rbx
lea rcx, str.send
call fcn.140005777
mov rax, qword [rbx - 6]
mov rcx, qword [rax + 0x40]
test cl, 0x1f
jne 0x140093d01
call fcn.140004764
mov rbx, rax
jmp 0x140093d05
mov rbx, qword [rcx - 6]
mov r8d, 0x3ff
lea rdx, [0x1401ac790]
mov rcx, rsi
call fcn.140001406
mov rdx, rax
movsxd rcx, ebx
xor r9d, r9d
mov r8d, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.WS2_32.dll_send]