joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013c5f0
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x430
lea rdi, [rsp + 0x30]
mov ecx, 0x100
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x440]
mov rax, qword [0x140575740]
xor rax, rsp
mov qword [rsp + 0x420], rax
cmp dword [0x140577328], 0
jne 0x14013c6a0
xor r9d, r9d
mov r8d, 0x40
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [0x140577320], rax
cmp qword [0x1405772f0], 0
je 0x14013c6a0
mov dword [rsp + 0x28], 0x7c1
lea rax, [0x14055a0a0]
mov qword [rsp + 0x20], rax
lea r9, [0x140577320]
lea r8, [0x14055a0e8]
mov edx, 0x200
lea rcx, [rsp + 0x50]
call fcn.140015f80
mov r8d, 1
mov rdx, qword [0x1405772f8]
lea rcx, [rsp + 0x50]
call qword [0x1405772f0]
nop
mov eax, dword [0x140577328]
inc eax
mov dword [0x140577328], eax
mov eax, 2
mov word [rsp + 0x254], ax
lea rdx, [rsp + 0x270]
movzx ecx, word [rsp + 0x254]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14013c71d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 1
mov r8d, 0x7ca
lea rdx, [0x14055a100]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x7ca
lea rdx, [0x14055a150]
lea rcx, [0x14055a198]
call fcn.140015e70
mov ecx, 1
call fcn.14038e600
nop
movsxd rax, dword [rsp + 0x440]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov ecx, 0x9b0
call fcn.140138010
mov qword [rsp + 0x30], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401426d0
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x950], rax
call fcn.1401426b0
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x958], rax
mov rax, qword [rsp + 0x30]
mov dword [rax], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x28], rax
mov r8d, 1
xor edx, edx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
jne 0x14013c7a6
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x30]
mov dword [rax], 0
mov rcx, qword [rsp + 0x30]
call fcn.1401446a0
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x938], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.14037c300
mov rax, rdi
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.14037c650
add rsp, 0x430
pop rdi
ret
Function at 0x14013c8b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov r9d, 0x788
lea r8, [0x140559f10]
mov edx, 1
mov ecx, reloc.WS2_32.dll_recv
call fcn.1403ba980
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14013c93a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x788
lea rdx, [0x140559f60]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x788
lea rdx, [0x140559fb0]
lea rcx, [0x140559ff8]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov r8d, reloc.WS2_32.dll_recv
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.140410c60
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 8], rcx
mov eax, 4
imul rax, rax, 0
lea rcx, [0x14055a01c]
mov rdx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
mov dword [rdx + 0x38], eax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x78d
lea rax, [0x14055a030]
mov qword [rsp + 0x28], rax
lea rax, [0x14014e7c0]
mov qword [rsp + 0x20], rax
lea r9, [0x14014e7f0]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x938]
call fcn.140143da0
nop
add rsp, 0x50
pop rdi
ret
Function at 0x14013ce80
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x960
lea rdi, [rsp + 0x30]
mov ecx, 0x24c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x970]
mov rax, qword [0x140575740]
xor rax, rsp
mov qword [rsp + 0x950], rax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x970]
mov rcx, qword [rax + 0x950]
call fcn.140142af0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x54], 0x5265c00
mov dword [rsp + 0x710], 0
mov dword [rsp + 0x938], 0
mov dword [rsp + 0x93c], 0
mov dword [rsp + 0x944], 0
cmp qword [rsp + 0x40], 0
je 0x14013d09d
mov rcx, qword [rsp + 0x40]
call fcn.140142d00
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14013d09d
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14013d089
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x2b0], 0
mov dword [rsp + 0x4e0], 0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x2b0]
lea r8, [rsp + 0x4e0]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax]
mov r8d, 0x208
lea rdx, [rsp + 0x710]
lea rcx, [rsp + 0x80]
call fcn.1404104c0
test eax, eax
jne 0x14013d003
mov r8d, 0x208
lea rdx, [rsp + 0x710]
lea rcx, [rsp + 0x4e0]
call fcn.1404104c0
test eax, eax
jne 0x14013d003
mov r8d, 0x208
lea rdx, [rsp + 0x710]
lea rcx, [rsp + 0x2b0]
call fcn.1404104c0
test eax, eax
je 0x14013d089
lea rax, [rsp + 0x938]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x2b0]
lea r8, [rsp + 0x4e0]
lea rdx, [rsp + 0x80]
mov ecx, 0x40
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x14013d089
movsxd rax, dword [rsp + 0x944]
mov ecx, 0x1000
sub rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x944]
lea rdx, [0x14058a640]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x38]
mov r9, qword [rdx + 0x30]
lea r8, [0x14055a464]
mov rdx, rax
call fcn.140015f80
mov ecx, dword [rsp + 0x944]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x944], eax
mov rcx, qword [rsp + 0x40]
call fcn.140142b90
mov qword [rsp + 0x40], rax
jmp 0x14013cf1d
cmp dword [rsp + 0x944], 0
jle 0x14013d0b3
lea rax, [0x14058a640]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14013d0cf
cmp qword [rsp + 0x30], 0
jne 0x14013d0cf
lea rax, [0x14055a468]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_getsockname
call fcn.14037c300
mov rax, rdi
mov rcx, qword [rsp + 0x950]
xor rcx, rsp
call fcn.14037c650
add rsp, 0x960
pop rdi
ret
Function at 0x14013e640
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
cmp qword [rsp + 0xb8], 0
jne 0x14013e66f
mov qword [rsp + 0x50], 0
jmp 0x14013e686
mov edx, 0x400
mov rcx, qword [rsp + 0xb8]
call fcn.140136c70
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add eax, 8
cdqe
add rax, 0x20
mov ecx, 0xffffffff
cmp rax, rcx
jae 0x14013e70e
mov eax, dword [rsp + 0x30]
add eax, 8
cdqe
add rax, 0x20
mov ecx, 0xffffffff
sub rcx, rax
mov rax, rcx
test rax, rax
jbe 0x14013e70e
mov eax, dword [rsp + 0x30]
add eax, 8
cdqe
add rax, 0x20
mov ecx, 0xffffffe7
cmp rax, rcx
jae 0x14013e70e
xor eax, eax
cmp eax, 1
je 0x14013e70e
mov eax, dword [rsp + 0x30]
add eax, 8
cdqe
add rax, 0x38
mov r9d, 0xef8
lea r8, [0x14055aa90]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov qword [rsp + 0x58], rax
jmp 0x14013e717
mov qword [rsp + 0x58], 0
mov eax, dword [rsp + 0x30]
add eax, 8
cdqe
add rax, 0x20
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.1401375b0
mov qword [rsp + 0x38], rax
mov r9d, 0xef9
lea r8, [0x14055aae0]
mov edx, 1
mov ecx, 0x48
call fcn.1403ba980
xor r9d, r9d
xor r8d, r8d
mov edx, 0x30
mov rcx, rax
call fcn.1401375b0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x48], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x18]
mov qword [rax], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x38]
lea rcx, [0x140150610]
mov qword [rax + 8], rcx
cmp qword [rsp + 0xb8], 0
jne 0x14013e84b
lea rax, [0x140577333]
mov qword [rsp + 0x60], rax
jmp 0x14013e858
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x30]
add eax, 8
cdqe
mov rcx, qword [rsp + 0x38]
add rcx, 0x20
mov r9, qword [rsp + 0x60]
lea r8, str._s__READ_
mov rdx, rax
call fcn.140015f80
mov rax, qword [rsp + 0x38]
add rsp, 0x70
pop rdi
ret
Function at 0x14013f2c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov dword [rsp + 0x30], 0
cmp dword [rsp + 0x70], 0xffffffff
jbe 0x14013f2f2
mov eax, 0xfffffffc
jmp 0x14013f424
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14013f41f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x3e5
jne 0x14013f416
mov r9d, 0xe74
lea r8, [0x14055a780]
mov edx, 1
mov ecx, 0x50
call fcn.1403ba980
xor r9d, r9d
xor r8d, r8d
mov edx, gethostname
mov rcx, rax
call fcn.1401375b0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x70]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x14], 0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
mov qword [rax], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [fcn.140150290]
mov r8d, 0xffffffff
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
call fcn.14013e9d0
xor eax, eax
jmp 0x14013f424
mov eax, 0xfffffffc
jmp 0x14013f424
mov eax, 1
add rsp, 0x40
pop rdi
ret

Function at 0x1401416b0
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x40
mov r9d, 0x21c7
lea r8, [0x14055e0e0]
mov edx, 1
mov ecx, 0x18
call fcn.1403ba980
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140141727
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x21c7
lea rdx, [0x14055e130]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x21c7
lea rdx, [0x14055e180]
lea rcx, [0x14055e1c8]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov r8d, 0x18
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.140410c60
lea rdx, [0x140151a10]
mov rcx, qword [rsp + 0x30]
call fcn.140141830
lea r8, [0x140151970]
mov edx, 0x100
mov rcx, qword [rsp + 0x30]
call fcn.140141860
mov rax, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x140141ce0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x60]
call fcn.140138230
mov qword [rsp + 0x20], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x28], rax
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x68], 0
jne 0x140141dd6
mov rax, qword [rsp + 0x60]
cmp dword [rax + 8], 0
jbe 0x140141dd1
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 8]
mov rcx, qword [rsp + 0x28]
call fcn.1403b6030
mov r9, qword [rsp + 0x28]
mov r8d, 8
mov edx, 1
mov rcx, qword [rsp + 0x30]
call fcn.1403b55a0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
add rdx, rcx
mov rcx, rdx
mov r9, qword [rsp + 0x28]
mov r8d, eax
mov edx, 1
call fcn.1403b55a0
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 4]
cmp rax, rcx
je 0x140141dd1
mov qword [rsp + 0x38], 0
jmp 0x140141e5d
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0
jbe 0x140141e5d
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov rax, qword [rsp + 0x68]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x28]
call fcn.1403b6030
mov r9, qword [rsp + 0x28]
mov r8d, 8
mov edx, 1
mov rcx, qword [rsp + 0x30]
call fcn.1403b55a0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
add rdx, rcx
mov rcx, rdx
mov r9, qword [rsp + 0x28]
mov r8d, eax
mov edx, 1
call fcn.1403b55a0
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 4]
cmp rax, rcx
je 0x140141e5d
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x38]
add rsp, 0x50
pop rdi
ret
Function at 0x140141e70
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x38], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call fcn.1401370a0
lea r8, str.rbN
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140392bf0
test eax, eax
je 0x140141ef9
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call fcn.1401370a0
lea r8, [0x14055f7b8]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140392bf0
nop
cmp qword [rsp + 0x28], 0
jne 0x140141f08
xor eax, eax
jmp 0x14014207f
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1403b6030
mov rcx, qword [rsp + 0x28]
call fcn.1403b7090
cmp eax, 0x10
jge 0x140141fc4
mov edx, 0x104
mov rcx, qword [rsp + 0x50]
call fcn.140136c70
mov ecx, dword [rsp + 0x60]
lea eax, [rcx + rax + 0x11]
cdqe
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.140138010
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 4], ecx
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x38]
call fcn.140138230
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x28]
mov qword [rax + rcx], rdx
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call fcn.140153540
mov r9, qword [rsp + 0x28]
mov r8d, reloc.WS2_32.dll_recv
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.1403b7ca0
mov rcx, qword [rsp + 0x28]
call fcn.1403b4b00
nop
jmp 0x14014207a
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1403b6030
mov edx, 0x104
mov rcx, qword [rsp + 0x50]
call fcn.140136c70
mov ecx, dword [rsp + 0x60]
lea eax, [rcx + rax + 0x11]
cdqe
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.140138010
mov qword [rsp + 0x38], rax
mov r9, qword [rsp + 0x28]
mov r8d, reloc.WS2_32.dll_recv
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.1403b55a0
cmp rax, 0x10
je 0x140142049
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.1403ba8b0
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x28]
call fcn.1403b3fa0
nop
jmp 0x14014207a
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x38]
call fcn.140138230
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x28]
mov qword [rax + rcx], rdx
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call fcn.140153540
nop
mov rax, qword [rsp + 0x38]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.14037c300
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x140142530
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x50]
call fcn.140138230
mov qword [rsp + 0x20], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1403b6030
mov r9, qword [rsp + 0x28]
mov r8d, reloc.WS2_32.dll_recv
mov edx, 1
mov rcx, qword [rsp + 0x50]
call fcn.1403b55a0
test rax, rax
jbe 0x14014259d
mov dword [rsp + 0x30], 0
jmp 0x1401425a5
mov dword [rsp + 0x30], 1
mov eax, dword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret

Function at 0x140143500
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
cmp qword [rsp + 0x50], 0
je 0x1401435e6
mov rax, qword [rsp + 0x50]
cmp qword [rax - 0x18], 0x58
jbe 0x1401435da
mov edx, 0x20
mov rcx, qword [rsp + 0x50]
call fcn.140137f50
mov qword [rsp + 0x30], rax
mov edx, gethostname
mov rcx, qword [rsp + 0x50]
call fcn.140137f50
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x30], 0
je 0x14014355e
cmp qword [rsp + 0x38], 0
jne 0x1401435a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x1587
lea rdx, [0x14055b480]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x1587
lea rdx, [0x14055b4d0]
lea rcx, [0x14055b518]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov r8d, gethostname
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.140410c60
mov r8d, 0x20
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.140410c60
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x10], rcx
jmp 0x1401435e1
xor eax, eax
jmp 0x140143719
jmp 0x1401436ed
mov r9d, 0x1593
lea r8, [0x14055b540]
mov edx, 1
mov ecx, 0x20
call fcn.1403ba980
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140143657
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x1593
lea rdx, [0x14055b590]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x1593
lea rdx, [0x14055b5e0]
lea rcx, [0x14055b628]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov r9d, 0x1594
lea r8, [0x14055b650]
mov edx, 1
mov ecx, gethostname
call fcn.1403ba980
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1401436c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x1594
lea rdx, [0x14055b6a0]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x1594
lea rdx, [0x14055b6f0]
lea rcx, [0x14055b738]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov r8d, gethostname
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.140410c60
mov r8d, 0x20
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.140410c60
nop
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
cmp qword [rsp + 0x50], 0
jne 0x140143714
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov rcx, rax
call fcn.1401373b0
nop
mov rax, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x140143ac0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov r9d, 0x1526
lea r8, [0x14055b370]
mov edx, 1
mov ecx, 8
call fcn.1403ba980
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140143b3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x1526
lea rdx, [0x14055b3c0]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x1526
lea rdx, [0x14055b410]
lea rcx, [0x14055b458]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret

Function at 0x1401446a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov r9d, 0x1f64
lea r8, [0x14055df20]
mov edx, 1
mov ecx, 0x78
call fcn.1403ba980
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14014471b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x1f64
lea rdx, [0x14055df70]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x1f64
lea rdx, [0x14055dfc0]
lea rcx, [0x14055e008]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov r8d, 0x78
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.140410c60
xor edx, edx
lea rcx, str.ILibLifeTime
call fcn.140137750
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x30], rax
call fcn.1401426b0
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0x30]
lea rcx, [0x1401513d0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
lea rcx, [0x140151760]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x20], rcx
call fcn.14013a6e0
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x58], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.14013c810
mov rax, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x1401449e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
cmp qword [rsp + 0x58], 0
je 0x140144a09
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x140144a1d
mov edx, 0x1000
mov rcx, qword [rsp + 0x50]
call fcn.140136c70
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x68], 0
je 0x140144a2d
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x140144a41
mov edx, 0x1000
mov rcx, qword [rsp + 0x60]
call fcn.140136c70
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
lea rax, [rax + rcx + 1]
mov r9d, 0x250b
lea r8, [0x14055e7b0]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140144abf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x250b
lea rdx, [0x14055e800]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x250b
lea rdx, [0x14055e850]
lea rcx, [0x14055e898]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
lea rax, [rax + rcx + 1]
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.140136a00
mov rax, qword [rsp + 0x68]
inc rax
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
add rdx, rcx
mov rcx, rdx
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov rdx, rax
call fcn.140136a00
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret

Function at 0x140144c90
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
cmp qword [rsp + 0x58], 0
je 0x140144caf
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x140144cc3
mov edx, 0x1000
mov rcx, qword [rsp + 0x50]
call fcn.140136c70
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
inc rax
mov r9d, 0x2515
lea r8, [0x14055e8c0]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140144d3a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x2515
lea rdx, [0x14055e910]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x2515
lea rdx, [0x14055e960]
lea rcx, [0x14055e9a8]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov rax, qword [rsp + 0x58]
inc rax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.140136a00
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov byte [rax], 0
mov rax, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret