joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180083900
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, qword [rsp + 0xb0]
mov rbx, rcx
xor ecx, ecx
mov rsi, r8
mov rdi, rdx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor ebp, ebp
lea r9, [rsp + 0x50]
mov r8d, esi
mov qword [rsp + 0x30], rbp
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x50], ebp
call qword [sym.imp.WS2_32.dll_WSASend]
mov edi, eax
call fcn.1800d2570
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
mov ecx, dword [r14]
cmp ecx, 0x40
jne 0x18008398f
mov dword [rsp + 0x40], 0x2746
jmp 0x18008399f
cmp ecx, 0x4d2
jne 0x1800839b2
mov dword [rsp + 0x40], 0x274d
call fcn.1800d2570
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
test edi, edi
je 0x1800839bb
or eax, 0xffffffff
jmp 0x1800839d6
mov dword [rsp + 0x40], ebp
call fcn.1800d2570
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x50]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800aeb60
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180083b00
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov esi, ecx
xor ecx, ecx
mov rbp, r9
mov edi, r8d
mov ebx, edx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r9d, r9d
mov r8d, edi
mov edx, ebx
mov ecx, esi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
call fcn.1800d2570
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
cmp rdi, 0xffffffffffffffff
jne 0x180083b78
or rax, rdi
jmp 0x180083bc0
cmp esi, 0x17
jne 0x180083ba2
lea r9, [rsp + 0x40]
lea edx, [rsi + 0x12]
lea r8d, [rsi + 4]
mov rcx, rdi
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x30], 0
call fcn.1800d2570
mov qword [rsp + 0x38], rax
mov rax, rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800aeb60
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180083be0
Capabilities:
Get socket status

Disassembly:
push rbx
push rdi
sub rsp, 0x278
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, r8
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180083c29
mov dword [rsp + 0x30], 0x2719
call fcn.1800d2570
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x180083cbd
mov qword [rsp + 0x298], rbp
mov qword [rsp + 0x58], rcx
xor ebp, ebp
xor ecx, ecx
mov qword [rsp + 0x270], rsi
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x40], rbp
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rbx + 1]
lea rdx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.1800d2570
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
je 0x180083c95
jle 0x180083cab
mov dword [rsp + 0x30], ebp
call fcn.1800d2570
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov rbp, qword [rsp + 0x298]
mov eax, esi
mov rsi, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800aeb60
add rsp, 0x278
pop rdi
pop rbx
ret

Function at 0x180083ce0
Capabilities:
Get socket status

Disassembly:
push rbx
push rdi
sub rsp, 0x278
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, r8
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180083d29
mov dword [rsp + 0x30], 0x2719
call fcn.1800d2570
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x180083dbc
mov qword [rsp + 0x298], rbp
mov qword [rsp + 0x58], rcx
xor ebp, ebp
xor ecx, ecx
mov qword [rsp + 0x270], rsi
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x40], rbp
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rbx + 1]
lea r8, [rsp + 0x50]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.1800d2570
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
je 0x180083d94
jle 0x180083daa
mov dword [rsp + 0x30], ebp
call fcn.1800d2570
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov rbp, qword [rsp + 0x298]
mov eax, esi
mov rsi, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800aeb60
add rsp, 0x278
pop rdi
pop rbx
ret
Function at 0x180083de0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180083e2c
mov dword [rsp + 0x30], 0x2719
call fcn.1800d2570
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x180083ec6
mov qword [rsp + 0x258], rcx
mov qword [rsp + 0x48], rcx
xor ecx, ecx
mov qword [rsp + 0x490], rsi
mov dword [rsp + 0x250], 1
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rbx + 1]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x250]
xor edx, edx
mov qword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.1800d2570
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
js 0x180083ebc
mov dword [rsp + 0x30], 0
call fcn.1800d2570
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov eax, esi
mov rsi, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1800aeb60
mov rbx, qword [rsp + 0x498]
add rsp, 0x470
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x40]
mov rbx, rcx
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 1
call fcn.1800d2570
mov rbx, qword [rbx + 8]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
lea r9, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x48]
lea r8d, [rax + 1]
mov rcx, rbx
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call fcn.1800d2570
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
je 0x1800840e4
cmp eax, 0x4d2
jne 0x1800840e9
call fcn.1800d2570
test ebx, ebx
jne 0x1800840f2
call fcn.1800d2570
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800aeb60
add rsp, 0x60
pop rbx
ret

Function at 0x1800862e0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movzx edi, dl
mov rbx, rcx
mov eax, 1
lock xadd dword [0x1800f05b0], eax
inc eax
cmp eax, 1
jne 0x18008632d
lea ecx, [rax + 1]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x1800f05b4], eax
test dil, dil
je 0x180086340
xor eax, eax
lock xadd dword [0x1800f05b4], eax
test eax, eax
jne 0x180086364
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1800aeb60
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], rcx
call fcn.1800d2570
lea rdx, str.winsock
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
call fcn.180081fe0
int3
Function at 0x180087bf0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rdx
mov rbx, rcx
call fcn.1800d2570
mov rbp, qword [rbx]
mov edi, dword [rsi + 4]
cmp rbp, 0xffffffffffffffff
jne 0x180087c2c
mov dword [rsp + 0x30], 0x2719
jmp 0x180087c88
cmp edi, 0x80
jne 0x180087c38
or byte [rbx + 8], 8
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r9, rsi
mov r8d, edi
mov edx, 0xffff
mov rcx, rbp
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.1800d2570
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
test edi, edi
jne 0x180087c9d
mov dword [rsp + 0x30], edi
call fcn.1800d2570
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
cmp dword [rsp + 0x30], 0
jne 0x180087cc1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800aeb60
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.set_option
lea rcx, [rsp + 0x30]
call fcn.180081fe0
int3
Function at 0x1800b2b98
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1800b2a00
Function at 0x1800d3f40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x1800d4120
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov ecx, dword [0x180002d20]
cmp ecx, 0xffffffff
jne 0x1800d414d
xor r14d, r14d
jmp 0x1800d4156
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov qword [rsp + 0x50], r14
test r14, r14
je 0x1800d4288
mov rdi, qword [r14 + 0x18]
cmp qword [r14 + 0x28], 0
jne 0x1800d417a
test rdi, rdi
je 0x1800d4261
jmp 0x1800d4180
test rdi, rdi
je 0x1800d41d4
nop
mov rax, qword [rdi + 8]
mov qword [r14 + 0x18], rax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800d41b7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rdi]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [r14 + 0x18]
test rdi, rdi
jne 0x1800d4180
mov rsi, qword [r14 + 0x20]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x1800d4164
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x1800d422e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1800d420e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1800d422e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800d4200
jmp 0x1800d422e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800d422b
cmp rbx, qword [rax + 0x10]
jne 0x1800d422b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800d4218
mov rbx, rax
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1800d4246
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x1800d4246
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rdi
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0x20]
call fcn.1800d3a30
cmp rbx, rsi
jne 0x1800d41e0
jmp 0x1800d4164
lea rdx, [0x1800d39f0]
lea rcx, [0x1800edcc8]
call fcn.1800d3610
mov ecx, dword [0x180002d20]
cmp ecx, 0xffffffff
je 0x1800d4288
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test r14, r14
je 0x1800d42b2
lock dec dword [r14 + 8]
jne 0x1800d42b2
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1800d4120
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x1800d4120
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov ecx, dword [0x180002d20]
cmp ecx, 0xffffffff
jne 0x1800d414d
xor r14d, r14d
jmp 0x1800d4156
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov qword [rsp + 0x50], r14
test r14, r14
je 0x1800d4288
mov rdi, qword [r14 + 0x18]
cmp qword [r14 + 0x28], 0
jne 0x1800d417a
test rdi, rdi
je 0x1800d4261
jmp 0x1800d4180
test rdi, rdi
je 0x1800d41d4
nop
mov rax, qword [rdi + 8]
mov qword [r14 + 0x18], rax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800d41b7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rdi]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [r14 + 0x18]
test rdi, rdi
jne 0x1800d4180
mov rsi, qword [r14 + 0x20]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x1800d4164
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x1800d422e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1800d420e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1800d422e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800d4200
jmp 0x1800d422e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800d422b
cmp rbx, qword [rax + 0x10]
jne 0x1800d422b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800d4218
mov rbx, rax
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1800d4246
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x1800d4246
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rdi
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0x20]
call fcn.1800d3a30
cmp rbx, rsi
jne 0x1800d41e0
jmp 0x1800d4164
lea rdx, [0x1800d39f0]
lea rcx, [0x1800edcc8]
call fcn.1800d3610
mov ecx, dword [0x180002d20]
cmp ecx, 0xffffffff
je 0x1800d4288
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test r14, r14
je 0x1800d42b2
lock dec dword [r14 + 8]
jne 0x1800d42b2
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14001119a
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001cca0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x70
lea rbp, [rsp + 0x20]
lea rcx, [0x14004b099]
call fcn.140012149
mov rax, qword [rbp + 0x60]
cmp qword [rax + 0x68], 0
je 0x14001cce7
mov r8, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001cdb7
mov rax, qword [rbp + 0x70]
mov qword [rbp], rax
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 8], rax
cmp qword [rbp + 0x70], 0
jle 0x14001cd68
cmp qword [rbp + 8], 0
jle 0x14001cd68
mov rax, qword [rbp + 8]
cmp qword [rbp + 0x70], rax
jge 0x14001cd1d
mov rax, qword [rbp + 0x70]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x68]
mov rcx, rax
call fcn.140012009
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x70], rax
mov edx, dword [rbp + 8]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x70], 0
jle 0x14001cda9
mov rax, qword [rbp + 0x60]
cmp qword [rax + 0x80], 0
je 0x14001cda9
mov rax, qword [rbp + 0x60]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x70]
mov edx, 1
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x70]
mov rcx, qword [rbp]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x140011523
Capabilities:
Read file via mapping

Disassembly:
jmp 0x140014fe0
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x14004b038]
call fcn.140012149
lea r8, [0x140041870]
lea rdx, str.nidie
mov ecx, 0x115000
call fcn.140011889
lea r8, [0x140041870]
lea rdx, str.nidie
mov ecx, 0x115000
call fcn.140011889
mov qword [rbp + 8], rax
mov rax, qword [0x140041870]
mov qword [rax + 0x10], 0x4300
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 6
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x48], 0
mov rax, qword [rbp + 0x28]
add rax, 0x20
mov r8d, 8
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.140011839
mov rax, qword [rbp + 0x28]
add rax, 0x28
mov r8d, 8
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.140011839
mov rax, qword [rbp + 0x28]
add rax, 0x30
mov r8d, 8
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.140011839
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
mov rax, qword [rbp + 0x28]
add rax, 0x30
mov r8d, 8
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.140011839
mov rax, qword [rbp + 0x28]
add rax, 0x28
mov r8d, 8
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140011839
mov rax, qword [rbp + 0x28]
add rax, 0x20
mov r8d, 8
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.140011839
mov qword [rbp + 0x48], 0
mov rax, qword [rbp + 0x28]
add rax, 0x10
mov r8d, 8
lea rdx, [rbp + 0x68]
mov rcx, rax
call fcn.140011839
mov rax, qword [rbp + 0x28]
add rax, 0x18
mov r8d, 8
lea rdx, [rbp + 0x88]
mov rcx, rax
call fcn.140011839
mov rax, qword [rbp + 0x28]
add rax, 0x20
mov r8d, 8
lea rdx, [rbp + 0xa8]
mov rcx, rax
call fcn.140011839
mov rax, qword [rbp + 0x28]
add rax, 0x38
mov r8d, 8
lea rdx, [rbp + 0x48]
mov rcx, rax
call fcn.140011839
mov eax, 1
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x140037e00]
call fcn.140011e51
mov eax, edi
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140011569
Capabilities:
Create thread

Disassembly:
jmp 0x1400289b0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140041018]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor r14d, r14d
mov rbp, r9
mov edi, r8d
mov esi, edx
mov rbx, rcx
cmp qword [rcx + 0x6b0], r14
je 0x1400289f4
call fcn.1400115a5
mov qword [rbx + 0x6b0], r14
mov dword [rbx + 8], esi
mov dword [rbx + 0xc], edi
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
movzx edi, byte [rsp + 0xb0]
test rax, rax
mov qword [0x140042090], rax
setne al
mov byte [rbx + 0x88], al
test al, al
jne 0x140028a84
test dil, dil
je 0x140028a84
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call fcn.140012275
mov r9, rax
lea rcx, [rbx + 0x6a0]
lea r8, [0x14003aaf8]
lea rdx, str.CONOUT_
call fcn.140011073
xor ecx, ecx
call fcn.140012275
mov r9, rax
lea rcx, [rbx + 0x6a8]
lea r8, [0x14003ab20]
lea rdx, str.CONIN_
call fcn.140011073
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [0x140042090], rax
jmp 0x140028a8b
mov rax, qword [0x140042090]
test rax, rax
je 0x140028aa4
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov rax, qword [0x140042090]
cmp byte [rbx + 0x88], r14b
je 0x140028ade
test dil, dil
jne 0x140028ade
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x50]
test eax, eax
cmovs eax, r14d
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x54]
test eax, eax
cmovs eax, r14d
mov dword [rsp + 0x34], eax
jmp 0x140028ae7
mov qword [rsp + 0x30], 0xffffffffffffffff
movzx eax, byte [rsp + 0xb8]
lea r9, [rsp + 0x30]
mov byte [rsp + 0x38], al
lea r8, [0x1400115be]
movzx eax, byte [rsp + 0xc0]
xor edx, edx
mov byte [rsp + 0x39], al
xor ecx, ecx
movzx eax, byte [rsp + 0xc8]
mov byte [rsp + 0x3a], al
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x40], rbp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x90]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x1400420c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x6b0]
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, dword [rbx + 0xc]
mov rcx, rbx
mov edx, dword [rbx + 8]
mov qword [rbx + 0x6b8], rax
call fcn.140011947
lea rcx, [0x1400420c0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
call fcn.140011d48
mov rax, qword [rbx + 0x6b0]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14001182f
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret