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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400496c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400496a0]
test rbx, rbx
je 0x140025cac
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140025ca3
test rsi, rsi
je 0x140025ca3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140025c88
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140025ec0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140025ed8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140025ee0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140025ef0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x140025f3d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140025f34
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140025f3f
add rax, 0x28
cmp rax, r9
jne 0x140025f20
xor eax, eax
ret

Function at 0x140025f40
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140025fd0
mov rdx, qword [0x140030b20]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x140025fbe
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140025fbe
cmp word [rax + 0x18], 0x20b
jne 0x140025fbe
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140025fd0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140025fa9
add rbx, 0x28
cmp rbx, rdi
je 0x140025fd0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140025fa0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140025fe0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140030b20]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140026000
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140026008
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140026000
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14002605d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140026054
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140026000
add rax, 0x28
cmp rax, r9
jne 0x140026040
xor eax, eax
ret
Function at 0x140026060
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140030b20]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14002607f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140026088
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14002607f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400260a0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140030b20]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400260c0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400260c8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400260c0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140026110
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140026107
test rcx, rcx
je 0x1400260c0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400260f8
xor eax, eax
ret

Function at 0x140026120
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140030b20]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14002613f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140026148
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140026160
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140030b20]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140026180
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140026188
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140026180
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140026180
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400261d4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400261e0
add rdx, 0x28
cmp r9, rdx
jne 0x1400261c0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400261f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140030b20]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140026212
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140026220
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140026212
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140026212
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140026212
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140026275
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140026288
add rdx, 0x28
cmp rdx, r10
jne 0x140026260
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140026297
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400262a7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14002627e
test ecx, ecx
jg 0x140026290
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140005f3c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rdx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rcx]
movabs r9, 0x100000001b3
xor rdx, rax
inc r8
imul rdx, r9
cmp r8, 4
jb 0x140005f49
mov rax, rdx
ret

Function at 0x140013534
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x1400136c1
cmp ecx, 0x7c
je 0x1400136c1
cmp ecx, 0x29
jne 0x14001357f
cmp dword [rbx + 0x1c], 0
jne 0x1400136c1
lea rdi, [rbx + 0x80]
test dword [rdi], 0x10000000
je 0x1400136da
jmp 0x140013677
lea rdi, [rbx + 0x80]
cmp ecx, 0x2e
jne 0x1400135a6
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.140016968
mov rcx, rbx
call fcn.1400169c0
jmp 0x1400136af
cmp ecx, 0x5c
jne 0x140013603
mov rcx, rbx
call fcn.1400169c0
test byte [rdi], 0x80
je 0x1400135f6
mov al, byte [rbx + 0x78]
cmp al, 0x62
jne 0x1400135da
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.140016968
mov rcx, rbx
call fcn.1400169c0
jmp 0x1400136b7
cmp al, 0x42
jne 0x1400135f6
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140016968
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x1400135cd
mov rcx, rbx
call fcn.140013810
jmp 0x1400136af
cmp ecx, 0x5b
jne 0x140013627
mov rcx, rbx
call fcn.1400169c0
mov rcx, rbx
call fcn.1400143c0
cmp dword [rbx + 0x7c], 0x5d
jne 0x1400136e8
jmp 0x140013599
cmp ecx, 0x28
jne 0x14001364b
mov rcx, rbx
call fcn.1400169c0
mov rcx, rbx
call fcn.1400179ec
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x1400136da
jmp 0x1400136a2
cmp ecx, 0x5e
jne 0x140013658
lea edx, [rcx - 0x5c]
jmp 0x1400135c4
cmp ecx, 0x24
jne 0x140013665
lea edx, [rcx - 0x21]
jmp 0x1400135c4
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x1400136cc
cmp ecx, 0x3f
je 0x1400136cc
cmp ecx, 0x7b
je 0x1400136cc
cmp ecx, 0x7d
jne 0x140013686
test dword [rdi], 0x10000000
je 0x1400136f6
jmp 0x140013693
cmp ecx, 0x5d
jne 0x140013693
test dword [rdi], 0x10000000
je 0x1400136e8
mov dl, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140012b94
mov dil, 1
mov rcx, rbx
call fcn.1400169c0
test dil, dil
je 0x1400136b7
mov rcx, rbx
call fcn.140016a34
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x140013546
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.140015750
int3
mov edx, 5
mov rcx, rbx
call fcn.140015750
int3
mov edx, 4
mov rcx, rbx
call fcn.140015750
int3
mov edx, 6
mov rcx, rbx
call fcn.140015750
int3

Function at 0x140018d40
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x140018d7c
cmp dword [rsp + 0x68], 0
jne 0x140018d77
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x20]
neg ax
sbb eax, eax
and eax, 0x20
add eax, 0x20
jmp 0x140018d7c
mov eax, 0x20
add rsp, 0x58
ret
Function at 0x14001a210
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov ecx, 8
call fcn.140213e68
mov r9, rax
test rax, rax
je 0x14001a23a
mov rax, qword [rdi]
mov qword [r9], rax
jmp 0x14001a23d
xor r9d, r9d
mov qword [rsp + 0x40], r9
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
and dword [rsp + 0x20], 0
lea r8, [0x14001e7cc]
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 0x14001a277
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
and dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x14002c5b4
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x200
mov rax, qword [0x14069f448]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rbx, rcx
mov byte [rcx], 0
mov ecx, 0x202
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14002c644
movzx ecx, word [rsp + 0x50]
cmp cl, 2
jne 0x14002c61b
shr cx, 8
cmp cl, 2
jne 0x14002c61b
mov byte [rbx], 1
mov rax, rbx
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1402145d0
add rsp, 0x200
pop rbx
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0x20]
call fcn.14002d73c
lea rdx, [0x14047ef08]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea r9, str.WSAStartup_failed
mov edx, eax
lea r8, [0x140497808]
lea rcx, [rsp + 0x20]
call fcn.14002d9d0
lea rdx, [0x14047ee70]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x14002c830
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
test dl, dl
jne 0x14002c844
mov ecx, 2
jmp 0x14002c84e
cmp dl, 1
jne 0x14002c88f
mov ecx, reloc.WS2_32.dll_socket
mov edx, 1
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x14002c8b2
lea r8, [rsp + 0x68]
mov dword [rsp + 0x68], 1
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x14002c8e4
mov rax, rbx
add rsp, 0x50
pop rbx
ret
lea rdx, str.Unsupported_protocol
lea rcx, [rsp + 0x20]
call fcn.14002c710
lea rdx, [0x14047ef40]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_create_socket
lea r8, [0x140497808]
lea rcx, [rsp + 0x20]
call fcn.14002d9d0
lea rdx, [0x14047ee70]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov rcx, rbx
call fcn.14005ccc8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_get_socket_flags
lea r8, [0x140497808]
lea rcx, [rsp + 0x20]
call fcn.14002d9d0
lea rdx, [0x14047ee70]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x14002fcdc
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, 0x270
mov rbx, rcx
cmp dword [rcx], r9d
jne 0x14002fd2f
lea r8, [rcx + 8]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x14002fcf4
jmp 0x14002fd3c
cmp dword [rcx], 0x4e0
jb 0x14002fd3c
call fcn.14005c118
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret
Function at 0x140030940
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x13d0
call fcn.1402148b0
sub rsp, rax
mov rax, qword [0x14069f448]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
or dword [rsp + 0x13b4], 0xffffffff
mov edx, eax
mov dword [rsp + 0x34], eax
mov ecx, 1
mov r8d, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, r8
jb 0x140030995
xorps xmm0, xmm0
mov dword [rsp + 0x30], r8d
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], 0
mov r8d, 0x24
and qword [rbx + 0x18], 0
mov dl, 0x20
mov rcx, rbx
call fcn.14001b75c
xor esi, esi
mov rdi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400309e4
mov rdi, qword [rbx]
mov rcx, rbx
jb 0x1400309ec
mov rcx, qword [rbx]
mov rbp, qword [rbx + 0x10]
add rbp, rcx
jmp 0x140030a32
cmp esi, 0x17
ja 0x140030a08
mov eax, 0x842100
bt eax, esi
jae 0x140030a08
mov al, 0x2d
jmp 0x140030a2b
mov r9d, recv
lea rdx, [rsp + 0x30]
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.14001e164
cmp eax, 0xa
jge 0x140030a29
add al, 0x30
jmp 0x140030a2b
add al, 0x57
inc esi
mov byte [rdi], al
inc rdi
cmp rdi, rbp
jne 0x1400309f5
mov rax, rbx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1402145d0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14005b640
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14069f448]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14005b6af
cmp byte [rcx + 0x71], 0
je 0x14005b6af
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14005b704
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14005b6c9
sub eax, 1
je 0x14005b6cd
cmp eax, 2
jne 0x14005b704
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402145d0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14005b6fb
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14005b704
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14005b6b1
xor al, al
jmp 0x14005b6b1

Function at 0x14005c118
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
lea r10, [rcx + 0x9c4]
mov r9, rcx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14005c12f
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14005c17a
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and dword [r9], ebx
mov rbx, qword [rsp + 8]
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
ret
Function at 0x14005ccd4
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
mov rbp, r9
mov rcx, qword [rcx]
mov edi, r8d
mov rsi, rdx
jmp 0x14005cd0f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14005cd30
mov rcx, qword [rbx]
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14005ccf9
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14005cd87
mov r8, rbp
mov edx, 1
mov rcx, rbx
call fcn.1400683c0
mov rcx, qword [rbx]
lea rax, [rsp + 0x70]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov dword [rsp + 0x70], 4
mov r8d, 0x1007
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x14005cdb9
mov edx, dword [rsp + 0x30]
test edx, edx
jne 0x14005cdeb
jmp 0x14005cd1a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_connect
lea r8, [0x140497808]
lea rcx, [rsp + 0x38]
call fcn.14002d9d0
lea rdx, [0x14047ee70]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_get_socket_option
lea r8, [0x140497808]
lea rcx, [rsp + 0x38]
call fcn.14002d9d0
lea rdx, [0x14047ee70]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea r9, str.Failed_to_connect
lea r8, [0x140497808]
lea rcx, [rsp + 0x38]
call fcn.14002d9d0
lea rdx, [0x14047ee70]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400612c8
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x2170
call fcn.1402148b0
sub rsp, rax
mov rax, qword [0x14069f448]
xor rax, rsp
mov qword [rsp + 0x2160], rax
xor r15d, r15d
mov qword [rsp + 0x20], rcx
mov rbp, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x140061323
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], recv
mov byte [rcx], r15b
jmp 0x1400613c1
lea r9, [rsp + 0x20]
mov r8d, 0x2000
lea rdx, [rsp + 0x50]
mov rcx, rsi
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x1400613ac
test dword [rsp + 0x20], 0xfffffff8
mov edi, r15d
jbe 0x1400613ac
mov r14d, edi
lea r8, [rsp + 0x30]
mov r9d, 0x18
mov rcx, rsi
mov rdx, qword [rsp + r14*8 + 0x50]
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x14006139f
cmp rbp, qword [rsp + 0x30]
jb 0x14006139f
mov eax, dword [rsp + 0x38]
add rax, qword [rsp + 0x30]
cmp rbp, rax
jae 0x14006139f
mov rdx, qword [rsp + r14*8 + 0x50]
lea r8, [rsp + 0x2050]
mov r9d, 0x104
mov rcx, rsi
call sub.KERNEL32.dll_K32GetModuleFileNameExA
test eax, eax
jne 0x1400613eb
mov eax, dword [rsp + 0x20]
inc edi
shr eax, 3
cmp edi, eax
jb 0x14006134c
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], recv
mov byte [rbx], r15b
mov rax, rbx
mov rcx, qword [rsp + 0x2160]
xor rcx, rsp
call fcn.1402145d0
mov rbx, qword [rsp + 0x21b0]
add rsp, 0x2170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
lea rax, [rsp + 0x2050]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
or r8, 0xffffffffffffffff
mov qword [rbx + 0x18], r15
inc r8
cmp byte [rax + r8], r15b
jne 0x140061405
lea rdx, [rsp + 0x2050]
mov rcx, rbx
call fcn.140004b9c
jmp 0x1400613c1
Function at 0x140063864
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14069f448]
xor rax, rsp
mov qword [rbp - 8], rax
or esi, 0xffffffff
mov r14d, edx
mov rdi, rcx
cmp edx, esi
jne 0x14006389e
xor eax, eax
jmp 0x1400639bd
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1400638d7
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x1400638d7
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], r14b
mov eax, r14d
jmp 0x1400639bd
cmp qword [rdi + 0x80], 0
je 0x1400639bb
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x140063911
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x140063932
movsx ecx, r14b
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, esi
jmp 0x1400639b7
lea rax, [rbp - 0x38]
mov byte [rbp - 0x40], r14b
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x3f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x40]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140063980
sub eax, 1
je 0x140063980
cmp eax, 2
jne 0x1400639bb
movsx ecx, byte [rbp - 0x40]
jmp 0x14006391e
mov rbx, qword [rbp - 0x38]
lea rax, [rbp - 0x28]
sub rbx, rax
je 0x1400639ab
mov r9, qword [rdi + 0x80]
lea rcx, [rbp - 0x28]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x1400639bb
lea rax, [rbp - 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rbp - 0x30], rax
cmovne esi, r14d
mov eax, esi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1402145d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret