joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401d9c86
Capabilities:
Query environment variable

Disassembly:
jmp 0x1404a6e00
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov dword [rsp + 0x44], 0
cmp dword [rsp + 0x98], 0
jl 0x1404a6e50
cmp dword [rsp + 0x98], 2
jl 0x1404a6e6b
mov r8d, 0x335
lea rdx, [0x1407e1d90]
lea rcx, str.sockindex___0__sockindex___2
call fcn.1401d5938
xor eax, eax
cmp qword [rsp + 0xb0], 0
jne 0x1404a6e91
mov r8d, 0x336
lea rdx, [0x1407e1e60]
lea rcx, str.pnwritten
call fcn.1401d5938
xor eax, eax
cmp qword [rsp + 0x90], 0
jne 0x1404a6eb7
mov r8d, 0x337
lea rdx, [0x1407e1f10]
lea rcx, [0x1407e1fa0]
call fcn.1401d5938
xor eax, eax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x20], 0
jne 0x1404a6ee1
mov r8d, 0x338
lea rdx, [0x1407e1fb0]
lea rcx, [0x1407e2040]
call fcn.1401d5938
xor eax, eax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x58], rax
lea rcx, str.CURL_SMALLSENDS
call fcn.1401d8066
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1404a6f61
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1401d6da1
mov eax, eax
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1404a6f61
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xa8], rax
jae 0x1404a6f4a
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x70], rax
jmp 0x1404a6f54
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa8], rax
movsxd rax, dword [rsp + 0x98]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xa0]
mov edx, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
mov r10, qword [rsp + 0x58]
call qword [r10 + rax*8 + 0x240]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jge 0x1404a6fce
cmp dword [rsp + 0x44], 0
jne 0x1404a6fce
mov r8d, 0x347
lea rdx, [0x1407e2070]
lea rcx, str._nwritten___0___result
call fcn.1401d5938
xor eax, eax
cmp qword [rsp + 0x30], 0
jge 0x1404a6fe1
mov qword [rsp + 0x78], 0
jmp 0x1404a6feb
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
mov qword [rax], rcx
mov eax, dword [rsp + 0x44]
mov edi, eax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401dcb34
mov eax, edi
add rsp, 0x80
pop rdi
ret
Function at 0x1401da2c1
Capabilities:
Terminate process

Disassembly:
jmp 0x14058074c
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x1401dab2c
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x1404ad620
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x30]
mov ecx, 0x7c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x230]
mov rax, qword [0x140814ac0]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov eax, dword [rsp + 0x230]
and eax, 2
test eax, eax
je 0x1404ad6f7
mov eax, 0x202
mov word [rsp + 0x38], ax
lea rdx, [rsp + 0x50]
movzx ecx, word [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x1f4], eax
cmp dword [rsp + 0x1f4], 0
je 0x1404ad69d
mov eax, 2
jmp 0x1404ad84b
movzx eax, word [rsp + 0x50]
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x38]
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
jne 0x1404ad6e7
movzx eax, word [rsp + 0x50]
shr rax, 8
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x38]
shr rcx, 8
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
je 0x1404ad6f7
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
jmp 0x1404ad84b
call fcn.1401de934
mov dword [rsp + 0x1f8], eax
cmp dword [rsp + 0x1f8], 0
je 0x1404ad719
mov eax, dword [rsp + 0x1f8]
jmp 0x1404ad84b
lea rcx, str.iphlpapi.dll
call fcn.1401dd57a
mov qword [0x14081fb40], rax
cmp qword [0x14081fb40], 0
je 0x1404ad76c
lea rdx, str.if_nametoindex
mov rcx, qword [0x14081fb40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x200], rax
cmp qword [rsp + 0x200], 0
je 0x1404ad76c
mov rax, qword [rsp + 0x200]
mov qword [0x14081fb20], rax
lea rcx, str.ws2_32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1404ad7d1
lea rdx, str.FreeAddrInfoExW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14081fb28], rax
lea rdx, str.GetAddrInfoExCancel
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14081fb30], rax
lea rdx, str.GetAddrInfoExW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14081fb38], rax
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.1401dcc4c
movzx eax, al
test eax, eax
je 0x1404ad7fe
mov byte [0x14082056c], 1
jmp 0x1404ad805
mov byte [0x14082056c], 0
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
mov edx, 2
mov ecx, 6
call fcn.1401dcc4c
movzx eax, al
test eax, eax
je 0x1404ad835
mov byte [0x140820561], 1
jmp 0x1404ad83c
mov byte [0x140820561], 0
lea rcx, [0x140820570]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401dcb34
mov rax, rdi
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1401d9736
add rsp, 0x220
pop rdi
ret
Function at 0x1401dae1f
Capabilities:
Write file on windows

Disassembly:
jmp 0x1402de6d0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1401de5f1
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1401daeba
Capabilities:
Get geographical location

Disassembly:
jmp 0x14057d754
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14057d78e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14057d793
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14057d7dc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14057d7dc
dec r8
sub rdx, 1
jne 0x14057d7c2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1401db12b
Capabilities:
Query environment variable

Disassembly:
jmp 0x14048a730
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
call fcn.1401dceb8
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x80], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
jne 0x14048a76e
mov eax, 1
jmp 0x14048a80f
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x80]
mov byte [rax + 0x12bf], 1
lea rcx, str.CURL_DEBUG
call fcn.1401d8066
test rax, rax
je 0x14048a7a5
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x80]
mov byte [rax + 0xa5e], 1
mov rax, qword [rsp + 0x40]
lea rcx, [0x14048ce50]
mov qword [rsp + 0x20], rcx
lea r9, [0x1401dddef]
lea r8, [0x1401d790e]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.1401d8f2f
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x80]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0xc20], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x88], rcx
mov rax, qword [rsp + 0x40]
add rax, 0x58
xor edx, edx
mov rcx, rax
call fcn.1401da98d
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1401db2e8
Capabilities:
Read file on windows

Disassembly:
jmp 0x1402de650
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1401de5f1
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1401db310
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1402e05b0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1401de5f1
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x1405c9ad0]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1402e06f6
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1402e064a
mov dword [rbp + 0x160], 1
jmp 0x1402e0654
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1402e06f1
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x1402e06cb
cmp qword [rbp + 0x198], 2
jb 0x1402e06cb
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1402e06cb
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1402e06cb
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1402e0615
jmp 0x1402e0790
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1402e0790
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1402e0767
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1402e0767
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1402e0767
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1402e06f6
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1401db513
Capabilities:
Terminate process

Disassembly:
jmp 0x140580f7c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1401dec09
test al, al
je 0x140580e6b
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.1401dced6
mov bl, al
mov ecx, dword [0x14081fd58]
cmp ecx, 1
je 0x140580e76
test ecx, ecx
jne 0x140580da1
mov dword [0x14081fd58], 1
lea rdx, [0x1405a0b18]
lea rcx, [0x1405a07e8]
call fcn.1401d95e2
test eax, eax
je 0x140580d82
mov eax, 0xff
jmp 0x140580e5b
lea rdx, [0x1405a06d8]
lea rcx, [section..rdata]
call fcn.1401dce45
mov dword [0x14081fd58], 2
jmp 0x140580da9
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1401dca62
call fcn.1401dba31
mov rbx, rax
cmp qword [rax], 0
je 0x140580ddc
mov rcx, rax
call fcn.1401d882c
test al, al
je 0x140580ddc
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x140853020]
call fcn.1401dc15c
mov rbx, rax
cmp qword [rax], 0
je 0x140580dfe
mov rcx, rax
call fcn.1401d882c
test al, al
je 0x140580dfe
mov rcx, qword [rbx]
call fcn.1401de119
call fcn.1401d63d8
mov rdi, rax
call fcn.1401dc91d
mov rbx, qword [rax]
call fcn.1401dc03a
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.1401db3b5
mov ebx, eax
call fcn.1401db65d
test al, al
je 0x140580e80
test sil, sil
jne 0x140580e35
call fcn.1401de2ea
xor edx, edx
mov cl, 1
call fcn.1401d856b
mov eax, ebx
jmp 0x140580e5b
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.1401dcc10
nop
mov ecx, 7
call fcn.1401dcc10
mov ecx, ebx
call fcn.1401d5acd
nop
mov ecx, ebx
call fcn.1401da6e0
nop
int3
sub rsp, 0x28
call fcn.1401db7b6
add rsp, 0x28
jmp 0x140580d14

Function at 0x1401db65d
Capabilities:
Parse pe header

Disassembly:
jmp 0x140582330
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14058237a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14058237a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14058237a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14058237a
cmp dword [rcx + 0x84], 0xe
jbe 0x14058237a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14058237c
xor al, al
add rsp, 0x28
ret
Function at 0x1401db801
Capabilities:
Resolve dns

Disassembly:
jmp 0x1404ed360
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1404ed3bf
mov rax, qword [rsp + 0x58]
mov r9, qword [rax]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
lea rcx, str.ADDR__s:_d_getaddrinfo_____p_n
call fcn.1401debc3
nop
jmp 0x1404ed3d6
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
lea rcx, str.ADDR__s:_d_getaddrinfo___failed_n
call fcn.1401debc3
nop
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x1401db964
Capabilities:
Create thread

Disassembly:
jmp 0x1404ed880
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call fcn.1401de4ca
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1404ed8db
mov ecx, 0xffffffff
call fcn.1401da0aa
cmp qword [rsp + 0x30], rax
jne 0x1404ed8df
xor eax, eax
jmp 0x1404ed8e4
mov rax, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x1401dc94a
Capabilities:
Create process on windows

Disassembly:
jmp 0x140287dd0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1401de5f1
nop
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0xe0]
lea rdx, [0x1405c9110]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1401dcb9d
Capabilities:
Convert ip address from string

Disassembly:
jmp 0x1404d2be0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x20]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov rax, qword [0x140814ac0]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x24]
mov rdx, qword [rsp + 0x90]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x1404d2c4d
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1404d2c51
mov al, 1
jmp 0x1404d2c53
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401dcb34
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401d9736
add rsp, 0x80
pop rdi
ret
Function at 0x1401dd25a
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x14057ca50
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [rcx + 0x28]
cmp ecx, 0x40
jae 0x14057cc08
lea r8d, [rcx*8]
mov qword [rsp + 0x30], rsi
add qword [rbx], r8
mov byte [rcx + rbx + 0x2c], 0x80
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jbe 0x14057cac8
cmp eax, 0x40
jae 0x14057cab2
nop dword [rax]
nop word [rax + rax]
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x40
jb 0x14057caa0
lea rsi, [rbx + 0x2c]
mov rcx, rbx
mov rdx, rsi
call fcn.14057cde0
xor eax, eax
mov dword [rbx + 0x28], eax
jmp 0x14057cad0
lea rsi, [rbx + 0x2c]
jae 0x14057cae2
nop
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jb 0x14057cad0
movzx eax, byte [rbx + 7]
mov rdx, rsi
mov byte [rbx + 0x64], al
mov rcx, rbx
movzx eax, byte [rbx + 6]
mov byte [rbx + 0x65], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 0x66], al
movzx eax, byte [rbx + 4]
mov byte [rbx + 0x67], al
movzx eax, byte [rbx + 3]
mov byte [rbx + 0x68], al
movzx eax, byte [rbx + 2]
mov byte [rbx + 0x69], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 0x6a], al
movzx eax, byte [rbx]
mov byte [rbx + 0x6b], al
call fcn.14057cde0
movzx eax, byte [rbx + 0xb]
mov byte [rdi], al
movzx eax, byte [rbx + 0xa]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 9]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 8]
mov byte [rdi + 3], al
movzx eax, byte [rbx + 0xf]
mov byte [rdi + 4], al
movzx eax, byte [rbx + 0xe]
mov byte [rdi + 5], al
movzx eax, byte [rbx + 0xd]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 0xc]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 0x13]
mov byte [rdi + 8], al
movzx eax, byte [rbx + 0x12]
mov byte [rdi + 9], al
movzx eax, byte [rbx + 0x11]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0x10]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0x17]
mov byte [rdi + 0xc], al
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0x15]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0x14]
mov byte [rdi + 0xf], al
movzx eax, byte [rbx + 0x1b]
mov byte [rdi + 0x10], al
movzx eax, byte [rbx + 0x1a]
mov byte [rdi + 0x11], al
movzx eax, byte [rbx + 0x19]
mov byte [rdi + 0x12], al
movzx eax, byte [rbx + 0x18]
mov byte [rdi + 0x13], al
movzx eax, byte [rbx + 0x1f]
mov byte [rdi + 0x14], al
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 0x15], al
movzx eax, byte [rbx + 0x1d]
mov byte [rdi + 0x16], al
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 0x17], al
movzx eax, byte [rbx + 0x23]
mov byte [rdi + 0x18], al
movzx eax, byte [rbx + 0x22]
mov byte [rdi + 0x19], al
movzx eax, byte [rbx + 0x21]
mov byte [rdi + 0x1a], al
movzx eax, byte [rbx + 0x20]
mov byte [rdi + 0x1b], al
movzx eax, byte [rbx + 0x27]
mov byte [rdi + 0x1c], al
movzx eax, byte [rbx + 0x26]
mov byte [rdi + 0x1d], al
movzx eax, byte [rbx + 0x25]
mov byte [rdi + 0x1e], al
movzx eax, byte [rbx + 0x24]
mov rsi, qword [rsp + 0x30]
mov byte [rdi + 0x1f], al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1401dd430
Capabilities:
Write file on windows

Disassembly:
jmp 0x1404741c0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0xa5e]
test eax, eax
je 0x1404742cc
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x270], 0
je 0x140474256
mov rcx, qword [rsp + 0x50]
call fcn.1401db6b7
mov byte [rsp + 0x30], al
mov dl, 1
mov rcx, qword [rsp + 0x50]
call fcn.1401dca1c
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x1e8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
call qword [rax + 0x270]
movzx edx, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.1401dca1c
nop
jmp 0x1404742cc
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140474275
cmp dword [rsp + 0x34], 1
je 0x140474275
cmp dword [rsp + 0x34], 2
je 0x140474275
jmp 0x1404742cc
movsxd rax, dword [rsp + 0x58]
imul rax, rax, 3
lea rcx, [0x140627f00]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 0x1e0]
mov r8d, 1
mov edx, 2
mov rcx, rax
call fcn.1401dec04
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 0x1e0]
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1401dec04
nop
add rsp, 0x40
pop rdi
ret
Function at 0x1401dd57a
Capabilities:
Get common file path

Disassembly:
jmp 0x1404ad980
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1404ad9bd
xor eax, eax
jmp 0x1404adb6b
lea rdx, str.LoadLibraryExW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
lea rdx, [0x1407e45f8]
mov rcx, qword [rsp + 0x70]
call fcn.1401d8a34
test rax, rax
je 0x1404ada29
cmp qword [rsp + 0x28], 0
je 0x1404ada0a
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
jmp 0x1404ada1a
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
jmp 0x1404adb66
cmp qword [rsp + 0x28], 0
je 0x1404ada63
lea rdx, str.AddDllDirectory
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1404ada63
mov r8d, 0x800
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
jmp 0x1404adb66
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1404adb66
mov rcx, qword [rsp + 0x70]
call fcn.1401d594c
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x38]
inc eax
mov eax, eax
add rax, qword [rsp + 0x40]
shl rax, 1
lea r8, [0x1407e4610]
mov edx, 0xfa
mov rcx, rax
call fcn.1401dd4da
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1404adb4f
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1404adb4f
mov rcx, qword [rsp + 0x48]
call fcn.1401d594c
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2]
lea rdx, [0x1407e465c]
mov rcx, rax
call fcn.1401d80b6
mov rcx, qword [rsp + 0x48]
call fcn.1401d594c
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2]
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.1401d80b6
cmp qword [rsp + 0x28], 0
je 0x1404adb35
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
jmp 0x1404adb45
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r8, str.D:_vcpkg_buildtreescurl_srccurl_8_9_1_bb74e44024.cleanlib_system_win32.c
mov edx, 0x107
mov rcx, qword [rsp + 0x48]
call fcn.1401d55f5
nop
mov rax, qword [rsp + 0x20]
add rsp, 0x60
pop rdi
ret