joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400735a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x140466c60]
cmp byte [rbx + 0x3048], 0
jne 0x1400736e2
cmp dword [rbx + 0x3070], 0
je 0x1400735ea
mov r8d, 0x2975
lea rdx, str.D:ImGuiKeyauthExample_mainimgui_dockingimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call fcn.1402868a8
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400736db
lea rdx, [0x1403542a0]
call fcn.14005cdc0
mov rdi, rax
test rax, rax
je 0x1400736db
mov rcx, rax
call fcn.140278bc8
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400736d3
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.140279914
test eax, eax
jne 0x1400736d3
mov rcx, rdi
call fcn.140278bc8
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400736d3
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call fcn.140279914
test eax, eax
jne 0x1400736d3
cmp rsi, 0xffffffffffffffff
je 0x1400736d3
mov rax, qword [0x140466c60]
test rax, rax
je 0x140073675
inc dword [rax + 0x3b0]
mov rcx, rsi
call fcn.1402869b4
mov rbp, rax
test rax, rax
je 0x1400736d3
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call fcn.140280adc
mov rcx, rdi
cmp rax, rsi
je 0x1400736a7
call fcn.140279560
jmp 0x1400736b7
call fcn.140279560
mov rdx, rsi
mov rcx, rbp
call fcn.1400739f0
mov rax, qword [0x140466c60]
test rax, rax
je 0x1400736c9
dec dword [rax + 0x3b0]
mov rcx, rbp
call fcn.140280868
jmp 0x1400736db
mov rcx, rdi
call fcn.140279560
mov byte [rbx + 0x3048], 1
movss xmm0, dword [rbx + 0x304c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14007376f
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x304c], xmm0
jb 0x14007376f
mov rdi, qword [rbx + 0x20]
xor ebp, ebp
test rdi, rdi
je 0x140073762
mov rax, qword [0x140466c60]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x304c], ebp
call fcn.140073ed0
lea rdx, [0x1403542a4]
mov rcx, rdi
mov rsi, rax
call fcn.14005cdc0
mov rdi, rax
test rax, rax
je 0x140073769
mov r8, qword [rsp + 0x30]
lea edx, [rbp + 1]
mov r9, rax
mov rcx, rsi
call fcn.14027a340
mov rcx, rdi
call fcn.140279560
jmp 0x140073769
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x304c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140073970
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rbx]
lea r8, [rbx + 1]
test r9b, r9b
je 0x1400739c6
lea r11, [0x1403563f0]
cmp r9b, 0x23
jne 0x1400739a9
cmp byte [r8], r9b
jne 0x1400739a9
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 0x140073996
not ecx
call fcn.140073880
test rax, rax
jne 0x1400739df
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140073790
add rsp, 0x20
pop rbx
ret
Function at 0x140077fb0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x1400781eb
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1404065c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1403563f0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x1400781b3
mov rcx, rbp
call fcn.140077280
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x140078081
movsxd rdx, dword [rbp + 0x3010]
mov r8, qword [rbp + 0x3018]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x140078071
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x140078069
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14007806c
mov rdx, rcx
test rdx, rdx
jne 0x140078040
cmp r8, r10
je 0x140078081
cmp dword [r8], r9d
jne 0x140078081
mov rcx, qword [r8 + 8]
jmp 0x140078083
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb0]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb0], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x140078117
cmp qword [rcx + 0x18], 0
jne 0x14007810c
mov qword [rcx + 0x18], rbx
jmp 0x140078117
cmp qword [rcx + 0x20], 0
jne 0x140078117
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xa8], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14007814c
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140078140
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x20]
call fcn.14005cc90
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x1400781a8
cmp r9b, 0x23
jne 0x14007818b
cmp byte [r8], r9b
jne 0x14007818b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x140078178
not ecx
call fcn.140065100
mov qword [rbx + 0x78], rax
add rdi, 0x24
sub rsi, 1
jne 0x140078000
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1402662d0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x1400a3f10
Capabilities:
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
test r8, r8
je 0x1400a3fc1
test dword [rcx + 0x10], 0x100000
jne 0x1400a3f44
mov r8d, 0x1dbd
lea rdx, str.D:ImGuiKeyauthExample_mainimgui_dockingimgui_widgets.cpp
lea rcx, str.tab_bar__Flags__ImGuiTabBarFlags_DockNode
call fcn.1402868a8
movzx r9d, byte [rsi]
lea r8, [rsi + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1400a3f91
lea r11, [0x1403563f0]
cmp r9b, 0x23
jne 0x1400a3f74
cmp byte [r8], r9b
jne 0x1400a3f74
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400a3f61
mov rcx, qword [0x140466c60]
not eax
cmp dword [rcx + 0x1c78], eax
jne 0x1400a3fa8
mov dword [rcx + 0x1c7c], eax
cmp dword [rcx + 0x1cb8], eax
jne 0x1400a4046
mov byte [rcx + 0x1cbc], 1
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140466c60]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rbx + 0x1c20]
cmp dword [rdi + 0x108], 0
jg 0x1400a4002
mov r8d, 0x5d2
lea rdx, str.D:ImGuiKeyauthExample_mainimgui_dockingimgui.h
lea rcx, str.Size___0
call fcn.1402868a8
mov rbx, qword [0x140466c60]
movsxd rax, dword [rdi + 0x108]
xor edx, edx
mov r8, qword [rdi + 0x110]
mov rcx, rsi
mov r8d, dword [r8 + rax*4 - 4]
call fcn.14005cd10
mov rdi, qword [rsp + 0x38]
cmp dword [rbx + 0x1c78], eax
jne 0x1400a4032
mov dword [rbx + 0x1c7c], eax
cmp dword [rbx + 0x1cb8], eax
jne 0x1400a4041
mov byte [rbx + 0x1cbc], 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
ret
Function at 0x1400b2710
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov eax, 0x13e0
call fcn.140266fa0
sub rsp, rax
mov rax, qword [0x1404065c0]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
call fcn.140268d70
mov dword [rsp + 0x44], eax
mov edx, 1
mov dword [rsp + 0x13c4], 0xffffffff
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x44], eax
inc rdx
cmp rdx, 0x270
jb 0x1400b2760
mov dword [rsp + 0x40], 0x270
mov esi, 0x2bc
mov dword [rsp + 0x20], 3
mov r14d, 0xffffffff
nop word [rax + rax]
lea rcx, [rsp + 0x40]
call fcn.1400c6a80
mov ecx, eax
imul rbx, rcx, 0x439
cmp ebx, 0x319
ja 0x1400b27db
nop dword [rax + rax]
lea rcx, [rsp + 0x40]
call fcn.1400c6a80
mov ecx, eax
imul rbx, rcx, 0x439
cmp ebx, 0x31a
jb 0x1400b27c0
lea rcx, [rsp + 0x40]
shr rbx, 0x20
call fcn.1400c6a80
mov ecx, eax
mov ebp, ebx
imul rax, rcx, 0x7bd
mov rdi, rsi
cmp eax, 0x7bd
jae 0x1400b281f
cmp eax, 0x330
jae 0x1400b281f
lea rcx, [rsp + 0x40]
call fcn.1400c6a80
mov ecx, eax
imul rax, rcx, 0x7bd
cmp eax, 0x330
jb 0x1400b2805
mov rdx, qword [0x140466d68]
shr rax, 0x20
cmp rdx, qword [0x140466d70]
movd xmm1, ebp
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x28], xmm1
movss dword [rsp + 0x24], xmm0
je 0x1400b2864
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x140466d68], 8
movsd qword [rsp + 0x24], xmm0
jmp 0x1400b2875
lea r8, [rsp + 0x24]
lea rcx, [0x140466d60]
call fcn.1400c2860
lea rcx, [rsp + 0x40]
call fcn.1400c6a80
mov ebx, eax
lea rcx, [rsp + 0x40]
add rbx, rbx
shr rbx, 0x20
call fcn.1400c6a80
mov rdx, qword [0x140466d80]
mov ecx, eax
mov eax, 1
add rcx, rcx
shr rcx, 0x20
test ecx, ecx
cmove eax, r14d
test ebx, ebx
movd xmm0, eax
mov eax, 1
cmove eax, r14d
cmp rdx, qword [0x140466d88]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x2c], xmm0
movss dword [rsp + 0x30], xmm1
je 0x1400b28f2
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x140466d80], 8
movsd qword [rsp + 0x2c], xmm0
jmp 0x1400b2903
lea r8, [rsp + 0x2c]
lea rcx, [0x140466d78]
call fcn.1400c2860
mov rdx, qword [0x140466df0]
cmp rdx, qword [0x140466df8]
je 0x1400b2923
mov dword [rdx], 3
add qword [0x140466df0], 4
jmp 0x1400b292d
lea r8, [rsp + 0x20]
call fcn.1400c26b0
lea rsi, [rdi - 1]
test rsi, rsi
jne 0x1400b27a0
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.1402662d0
lea r11, [rsp + 0x13e0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400c6a80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1400c6ae1
lea r8, [r9 + 8]
nop dword [rax + rax]
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 r10, 1
jne 0x1400c6aa0
mov ecx, dword [r9]
jmp 0x1400c6bcb
cmp ecx, 0x4e0
jb 0x1400c6bcb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
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 [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400c6b00
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
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 [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400c6b50
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
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 [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 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, 8
ret
Function at 0x1400f4600
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x1404065c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, qword [rcx]
mov ebp, r8d
mov rsi, rcx
lea r8, [rsp + 0x20]
mov ebx, 2
xor r14d, r14d
mov ecx, ebx
mov r15, r9
mov r12, qword [r13 + 0x11b0]
mov rdi, rdx
mov dword [r9], r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400f466c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.140113c40
jmp 0x1400f474a
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rsp + 0x58]
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400f469c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.140113c40
jmp 0x1400f474a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400f46c0
cmp ecx, 1
je 0x1400f46af
mov ebx, r14d
call fcn.1400f5130
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400f46c5
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x14035610c]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, ntohs
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.140104fb0
lea rcx, [rsp + 0x58]
call fcn.1400f4490
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400f4d90
test al, al
je 0x1400f4739
mov dword [r15], 1
jmp 0x1400f4748
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.140100fa0
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1402662d0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400f4600
Function at 0x140104880
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x140461d50], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x14010492f
test rdi, rdi
je 0x14010492f
mov eax, dword [0x140461d54]
test eax, eax
jne 0x140104927
mov r8d, dword [rsp + 0x60]
lea rsi, str.recv
mov r9, rsi
lea rcx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rdx, rdi
call fcn.1401045d0
mov ecx, 2
call fcn.140278f7c
mov r9d, dword [rsp + 0x60]
lea rdx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
call fcn.140104f80
mov rcx, qword [0x140461d48]
call fcn.1402793d4
call fcn.140289744
mov dword [rax], ntohs
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x140461d54], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x140104957
mov r8d, dword [rsp + 0x60]
lea rcx, str.RECV__s:_d_recv__lu____ld_n
mov r9d, esi
mov dword [rsp + 0x20], eax
mov rdx, rdi
call fcn.1401045d0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x140461d50], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x140104a7f
test rdi, rdi
je 0x140104a7f
mov eax, dword [0x140461d54]
test eax, eax
jne 0x140104a77
mov r8d, dword [rsp + 0x60]
lea rsi, str.send
mov r9, rsi
lea rcx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rdx, rdi
call fcn.1401045d0
mov ecx, 2
call fcn.140278f7c
mov r9d, dword [rsp + 0x60]
lea rdx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
call fcn.140104f80
mov rcx, qword [0x140461d48]
call fcn.1402793d4
call fcn.140289744
mov dword [rax], ntohs
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x140461d54], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x140104aa7
mov r8d, dword [rsp + 0x60]
lea rcx, str.SEND__s:_d_send__lu____ld_n
mov r9d, esi
mov dword [rsp + 0x20], eax
mov rdx, rdi
call fcn.1401045d0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140113fc0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x1404065c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, qword [rcx]
mov ebp, r8d
mov rsi, rcx
lea r8, [rsp + 0x20]
mov ebx, 2
xor r14d, r14d
mov ecx, ebx
mov r15, r9
mov r12, qword [r13 + 0x11b0]
mov rdi, rdx
mov dword [r9], r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400f466c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.140113c40
jmp 0x1400f474a
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rsp + 0x58]
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400f469c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.140113c40
jmp 0x1400f474a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400f46c0
cmp ecx, 1
je 0x1400f46af
mov ebx, r14d
call fcn.1400f5130
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400f46c5
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x14035610c]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, ntohs
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.140104fb0
lea rcx, [rsp + 0x58]
call fcn.1400f4490
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400f4d90
test al, al
je 0x1400f4739
mov dword [r15], 1
jmp 0x1400f4748
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.140100fa0
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1402662d0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400f4600
Function at 0x140117e00
Capabilities:
Encode data using xor

Disassembly:
push r14
push r15
sub rsp, 0x1f8
mov rax, qword [0x1404065c0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp byte [0x140462010], 0
mov r14, rcx
jne 0x140117e39
call fcn.140150e20
test eax, eax
je 0x140117e57
mov byte [0x140462010], 1
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1402662d0
add rsp, 0x1f8
pop r15
pop r14
ret
mov rcx, qword [r14 + 0xcf8]
test rcx, rcx
je 0x140117e76
mov edx, 0x400
call fcn.140151ec0
call fcn.140150e20
test eax, eax
jne 0x140117e39
mov qword [rsp + 0x218], rbx
xor r15d, r15d
mov qword [rsp + 0x220], rbp
mov qword [rsp + 0x228], rsi
mov qword [rsp + 0x1f0], rdi
movaps xmmword [rsp + 0x1e0], xmm6
movaps xmmword [rsp + 0x1d0], xmm7
movsd xmm7, qword [0x1402bf778]
nop dword [rax]
nop word [rax + rax]
mov rsi, r15
lea rbp, [rsp + 0x80]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.1400f4490
mov ecx, 1
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x20], xmm6
call fcn.140100e90
lea rcx, [rsp + 0x40]
lea rdi, [rsi + 3]
call fcn.1400f4490
lea rcx, [rsp + 0x50]
movsxd rbx, dword [rax + 8]
call fcn.1400f4490
mov rdx, rbx
lea rcx, [rdi - 2]
add rdx, qword [rax]
movq rax, xmm6
imul rdx, rdi
imul rcx, rax
shl rdx, 8
xor rdx, rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
call fcn.1400f4490
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.1400f4490
mov ecx, dword [rbx + 8]
lea rbp, [rbp + 0x10]
add ecx, dword [rax]
lea eax, [rsi + 4]
imul ecx, eax
lea eax, [rsi + 2]
imul eax, dword [rsp + 0x28]
inc rsi
shl ecx, 0x10
xor ecx, eax
mov dword [rsp + 0x28], ecx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp - 0x10], xmm0
cmp rsi, 4
jb 0x140117ed0
movaps xmm2, xmm7
lea rcx, [rsp + 0x80]
mov edx, 0x40
call fcn.140150b50
call fcn.140150e20
test eax, eax
je 0x140117ec0
mov edx, 0x100
mov byte [rsp + 0xc0], r15b
lea rcx, [rsp + 0xc0]
call fcn.140151c50
movaps xmm7, xmmword [rsp + 0x1d0]
movaps xmm6, xmmword [rsp + 0x1e0]
mov rdi, qword [rsp + 0x1f0]
mov rsi, qword [rsp + 0x228]
mov rbp, qword [rsp + 0x220]
mov rbx, qword [rsp + 0x218]
cmp byte [rsp + 0xc0], r15b
je 0x14011800d
mov edx, 0x400
lea rcx, [rsp + 0xc0]
call fcn.140151ec0
call fcn.140150e20
test eax, eax
jne 0x140117e39
lea rdx, str.libcurl_is_now_using_a_weak_random_seed__n
mov rcx, r14
call fcn.140101120
call fcn.140150e20
test eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_35
cmovne ecx, r15d
mov eax, ecx
jmp 0x140117e3b
Function at 0x14011cde0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1038
call fcn.140266fa0
sub rsp, rax
mov rax, qword [0x1404065c0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
call fcn.14028e698
mov byte [rsp + 0x20], 0
test rax, rax
je 0x14011ce57
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x14011ce57
lea r8, [0x1402bf780]
mov edx, Ordinal_45
lea rcx, [rsp + 0x20]
call fcn.140104bb0
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1402662d0
add rsp, 0x1038
ret
xor eax, eax
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1402662d0
add rsp, 0x1038
ret

Function at 0x140123280
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1404065c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbp, qword [rcx + 0x260]
lea r8, [rsp + 0x30]
mov rsi, qword [rcx]
lea rdx, [rsp + 0x40]
mov rdi, rcx
mov dword [rsp + 0x30], 0x80
mov rcx, rbp
mov rbx, 0xffffffffffffffff
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14012330b
lea rax, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759lib_ftp.c
mov dword [rsp + 0x30], 0x80
mov r9d, 0x123
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
mov rcx, rbp
lea rdx, [rsp + 0x40]
call fcn.140104360
mov rbx, rax
mov rdx, rbp
mov rcx, rdi
call fcn.140101c70
mov rcx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x140123330
lea rdx, str.Error_accept__ing_server_connect
call fcn.140100fa0
lea eax, [rbx + 0x1f]
jmp 0x1401233a9
lea rdx, str.Connection_accepted_from_server_n
call fcn.140101120
mov edx, 1
mov byte [rdi + 0x3f8], 0
mov rcx, rbx
mov qword [rdi + 0x260], rbx
call fcn.140111dd0
mov byte [rdi + 0x279], 1
cmp qword [rsi + 0x728], 0
je 0x1401233a7
mov dl, 1
mov rcx, rsi
call fcn.1400ef350
mov rcx, qword [rsi + 0x730]
mov r8d, 1
mov rdx, rbx
call qword [rsi + 0x728]
xor edx, edx
mov rcx, rsi
mov ebx, eax
call fcn.1400ef350
test ebx, ebx
je 0x1401233a7
mov rcx, rdi
call fcn.1401238c0
mov eax, Ordinal_45
jmp 0x1401233a9
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1402662d0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140124480
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
add rcx, 0x798
cmp byte [rax + 0xe91], 0
jne 0x1401244a5
cmp dword [rax + 0x9f0], 0
je 0x1401244d1
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x1401244d1
lea rdx, str.MDTM__s
call fcn.14013b0f0
test eax, eax
jne 0x1401244de
mov dword [rbx + 0x850], 0x12
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140125350
add rsp, 0x20
pop rbx
ret