joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14043f510
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, socket
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140818ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14085585c]
call fcn.1401df641
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14044e0e0
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.140442f10
nop
lea rax, [0x14043e960]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.140456440
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x14043f5ec
lea rcx, [rbp + 8]
call fcn.1401fcd70
nop
jmp 0x14043f605
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401d8044
nop
lea rcx, [rbp + 8]
call fcn.140445310
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401ddb7f
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401da763
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x14043f690
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, socket
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140818ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14085585c]
call fcn.1401df641
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14044e120
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.140442fe0
nop
lea rax, [0x14043ea70]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.1404564a0
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x14043f76c
lea rcx, [rbp + 8]
call fcn.1401fd490
nop
jmp 0x14043f785
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401d8044
nop
lea rcx, [rbp + 8]
call fcn.1404453a0
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401ddb7f
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401da763
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x14043f810
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, socket
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140818ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14085585c]
call fcn.1401df641
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14044e160
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.1404430b0
nop
lea rax, [0x14043eb80]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.140456500
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x14043f8ec
lea rcx, [rbp + 8]
call fcn.1401fdc50
nop
jmp 0x14043f905
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401d8044
nop
lea rcx, [rbp + 8]
call fcn.140445430
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401ddb7f
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401da763
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x14043f990
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, socket
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140818ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14085585c]
call fcn.1401df641
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14044e1a0
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.140443180
nop
lea rax, [0x14043ec90]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.140456560
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x14043fa6c
lea rcx, [rbp + 8]
call fcn.1401fde80
nop
jmp 0x14043fa85
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401d8044
nop
lea rcx, [rbp + 8]
call fcn.1404454c0
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401ddb7f
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401da763
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x14043fb10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, socket
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140818ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14085585c]
call fcn.1401df641
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14044e1e0
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.140443250
nop
lea rax, [0x14043eda0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.1404565c0
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x14043fbec
lea rcx, [rbp + 8]
call fcn.1401fe290
nop
jmp 0x14043fc05
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401d8044
nop
lea rcx, [rbp + 8]
call fcn.140445550
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401ddb7f
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401da763
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x14043fc90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, socket
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140818ac0]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14085585c]
call fcn.1401df641
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14044e220
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.140443320
nop
lea rax, [0x14043eeb0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.140456620
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x14043fd6c
lea rcx, [rbp + 8]
call fcn.1401ff4c0
nop
jmp 0x14043fd85
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401d8044
nop
lea rcx, [rbp + 8]
call fcn.1404455e0
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401ddb7f
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401da763
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x140461660
Capabilities:
Query environment variable

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x30
mov eax, dword [0x1408239c0]
mov dword [rsp + 0x20], eax
mov eax, dword [0x1408239c0]
inc eax
mov dword [0x1408239c0], eax
cmp dword [rsp + 0x20], 0
je 0x140461693
xor eax, eax
jmp 0x14046184c
movzx eax, byte [rsp + 0x48]
test eax, eax
je 0x1404616f0
lea rax, [fcn.1401db8e3]
mov qword [fcn.1401db8e3], rax
lea rax, [fcn.1401d93d6]
mov qword [fcn.1401d93d6], rax
lea rax, [0x1401d800d]
mov qword [0x1407c5d30], rax
lea rax, [0x1401df231]
mov qword [0x1407c5d38], rax
lea rax, [0x1401db596]
mov qword [0x1407c5d40], rax
lea rax, [0x1401d948a]
mov qword [0x1407c5d48], rax
call fcn.1401d8760
test eax, eax
je 0x140461718
mov ecx, 2
call fcn.1401e01a4
lea rdx, str.Error:_Curl_trc_init_failed_n
mov rcx, rax
call fcn.1401d745f
nop
jmp 0x140461839
call fcn.1401debfb
test eax, eax
jne 0x140461740
mov ecx, 2
call fcn.1401e01a4
lea rdx, str.Error:_Curl_ssl_init_failed_n
mov rcx, rax
call fcn.1401d745f
nop
jmp 0x140461839
mov ecx, dword [rsp + 0x40]
call fcn.1401dbbae
test eax, eax
je 0x14046176c
mov ecx, 2
call fcn.1401e01a4
lea rdx, str.Error:_win32_init_failed_n
mov rcx, rax
call fcn.1401d745f
nop
jmp 0x140461839
xor eax, eax
test eax, eax
je 0x140461791
mov ecx, 2
call fcn.1401e01a4
lea rdx, str.Error:_Curl_amiga_init_failed_n
mov rcx, rax
call fcn.1401d745f
nop
jmp 0x140461839
xor eax, eax
test eax, eax
je 0x1404617b6
mov ecx, 2
call fcn.1401e01a4
lea rdx, str.Error:_Curl_macos_init_failed_n
mov rcx, rax
call fcn.1401d745f
nop
jmp 0x140461839
call fcn.1401d8710
test eax, eax
je 0x1404617db
mov ecx, 2
call fcn.1401e01a4
lea rdx, str.Error:_resolver_global_init_failed_n
mov rcx, rax
call fcn.1401d745f
nop
jmp 0x140461839
xor eax, eax
test eax, eax
je 0x1404617fd
mov ecx, 2
call fcn.1401e01a4
lea rdx, str.Error:_Curl_ssh_init_failed_n
mov rcx, rax
call fcn.1401d745f
nop
jmp 0x140461839
mov eax, dword [rsp + 0x40]
mov dword [0x1408239c4], eax
lea rcx, str.CURL_GLOBAL_INIT
call fcn.1401d9070
test rax, rax
je 0x140461835
lea r8, [0x1407c5e50]
mov edx, 0xc9
mov ecx, 1
call fcn.1401de516
mov qword [0x1408239d0], rax
xor eax, eax
jmp 0x14046184c
mov eax, dword [0x1408239c0]
dec eax
mov dword [0x1408239c0], eax
mov eax, 2
add rsp, 0x30
pop rdi
ret
Function at 0x140478cc0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xd0]
mov rax, qword [0x140818ac0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x20], 0
lea rcx, str.CURL_ENTROPY
call fcn.1401d9070
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140478dd9
movzx eax, byte [0x1408239e8]
test eax, eax
jne 0x140478db4
mov dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0x28]
call fcn.1401da209
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 4
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140478d6d
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa0], rax
jmp 0x140478d7a
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x34]
call fcn.1401da7a9
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [0x1408239e4], eax
mov byte [0x1408239e8], 1
jmp 0x140478dc2
mov eax, dword [0x1408239e4]
inc eax
mov dword [0x1408239e4], eax
mov rax, qword [rsp + 0xd8]
mov ecx, dword [0x1408239e4]
mov dword [rax], ecx
xor eax, eax
jmp 0x140478f27
mov r8d, 4
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.1401d9e71
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 4
je 0x140478e08
mov eax, dword [rsp + 0x20]
jmp 0x140478f27
movzx eax, byte [0x1408239e8]
test eax, eax
jne 0x140478e39
mov edx, 4
mov rcx, qword [rsp + 0xd8]
call fcn.1401df94d
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 4
je 0x140478e39
mov eax, dword [rsp + 0x20]
jmp 0x140478f27
movzx eax, byte [0x1408239e8]
test eax, eax
jne 0x140478edd
lea rcx, [rsp + 0x90]
call fcn.1401de741
lea rcx, [rsp + 0x68]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, str.WARNING:_using_weak_random_seed
mov rcx, qword [rsp + 0xd0]
call fcn.1401de8c2
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
mov ecx, dword [0x1408239e4]
add ecx, eax
mov eax, ecx
mov dword [0x1408239e4], eax
imul eax, dword [0x1408239e4], 0x41c64e6d
add eax, 0x3039
mov dword [0x1408239e4], eax
imul eax, dword [0x1408239e4], 0x41c64e6d
add eax, 0x3039
mov dword [0x1408239e4], eax
imul eax, dword [0x1408239e4], 0x41c64e6d
add eax, 0x3039
mov dword [0x1408239e4], eax
mov byte [0x1408239e8], 1
imul eax, dword [0x1408239e4], 0x41c64e6d
add eax, 0x3039
mov dword [0x1408239e4], eax
mov eax, dword [0x1408239e4]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x84]
shl eax, 0x10
mov ecx, dword [rsp + 0x84]
shr ecx, 0x10
and ecx, 0xffff
or eax, ecx
mov rcx, qword [rsp + 0xd8]
mov dword [rcx], eax
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401ddb7f
mov rax, rdi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401da763
add rsp, 0xb8
pop rdi
pop rsi
ret
Function at 0x1404881d0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x1505
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jae 0x140488265
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
mov byte [rsp + 0x38], al
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
movzx ecx, byte [rsp + 0x38]
call fcn.1401dfe98
movsx rax, al
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
shl rax, 5
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x1404881fd
xor edx, edx
mov rax, qword [rsp + 0x28]
mov ecx, 0x3f
div rcx
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14048d290
Capabilities:
Query environment variable

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, 0x50
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x80]
mov qword [rax], 0
lea rcx, str.CURL_SMALLREQSEND
call fcn.1401d9070
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14048d310
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1401d7dd3
mov eax, eax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14048d310
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x30], rax
jae 0x14048d310
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x328], 0
je 0x14048d363
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x328]
cmp qword [rsp + 0x38], rax
jle 0x14048d363
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x328]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov r9, qword [rsp + 0x80]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1401d6906
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14048d475
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x14048d475
cmp qword [rsp + 0x78], 0
je 0x14048d3f0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp qword [rsp + 0x78], rax
jae 0x14048d3c6
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
jmp 0x14048d3d6
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x68]
mov edx, 2
mov rcx, qword [rsp + 0x60]
call fcn.1401de46c
nop
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
cmp qword [rax], rcx
jbe 0x14048d475
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rax]
sub rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov r9, qword [rsp + 0x40]
mov r8, rax
mov edx, 4
mov rcx, qword [rsp + 0x60]
call fcn.1401de46c
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x108]
add rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x108], rax
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 0x108]
mov rcx, qword [rsp + 0x60]
call fcn.1401d8d6e
nop
mov eax, dword [rsp + 0x20]
add rsp, 0x50
pop rdi
ret
Function at 0x140490980
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x40], 0
cmp qword [rsp + 0x28], 0
jne 0x1404909c6
jmp 0x140490ae5
xor eax, eax
test eax, eax
jne 0x1404909c6
mov rcx, qword [rsp + 0x70]
call fcn.1404907d0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140490a57
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.140490730
nop
xor eax, eax
test eax, eax
jne 0x1404909f3
lea r8, str.kill_all
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.1401da795
mov r8b, 1
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x80]
call fcn.1401de700
xor r9d, r9d
mov r8, qword [rsp + 0x38]
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x80]
mov rcx, qword [rsp + 0x70]
call fcn.14048f4e0
mov rcx, qword [rsp + 0x70]
call fcn.1404907d0
mov qword [rsp + 0x38], rax
jmp 0x1404909db
lea rcx, str.CURL_GRACEFUL_SHUTDOWN
call fcn.1401d9070
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140490a9f
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1401dbba9
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jle 0x140490a9f
cmp dword [rsp + 0x50], 0x7fffffff
jge 0x140490a9f
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.140490030
mov rcx, qword [rsp + 0x70]
call fcn.140490880
nop
xor eax, eax
test eax, eax
jne 0x140490ab8
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0xc8]
mov rcx, qword [rsp + 0x28]
call fcn.1401db58c
lea rcx, [rsp + 0x28]
call fcn.1401dfecf
nop
xor eax, eax
test eax, eax
jne 0x140490adf
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401ddb7f
add rsp, 0x60
pop rdi
ret

Function at 0x140496360
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov rax, qword [0x140818ac0]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x70], 0
je 0x1404963ef
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1404963ef
lea r8, [rsp + 0x28]
mov rdx, qword [rsp + 0x70]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1404963cf
mov eax, 1
jmp 0x1404963f1
lea r8, [rsp + 0x28]
mov rdx, qword [rsp + 0x70]
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1404963ef
mov eax, 2
jmp 0x1404963f1
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401ddb7f
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401da763
add rsp, 0x60
pop rdi
ret
Function at 0x1404a7670
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, 0x70
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
cmp qword [rsp + 0x88], 0
je 0x1404a76ba
mov rax, qword [rsp + 0x88]
cmp dword [rax], 0
jne 0x1404a76fc
cmp qword [rsp + 0x90], 0
je 0x1404a76d2
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
jne 0x1404a76fc
cmp qword [rsp + 0x98], 0
je 0x1404a76ea
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
jne 0x1404a76fc
mov rcx, qword [rsp + 0xa0]
call fcn.1401db578
jmp 0x1404a77cd
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x38]
call fcn.1401dd5ad
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x98], 0
je 0x1404a773a
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
je 0x1404a773a
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x50], rax
jmp 0x1404a7743
mov qword [rsp + 0x50], 0
cmp qword [rsp + 0x90], 0
je 0x1404a776a
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
je 0x1404a776a
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
jmp 0x1404a7773
mov qword [rsp + 0x58], 0
cmp qword [rsp + 0x88], 0
je 0x1404a779a
mov rax, qword [rsp + 0x88]
cmp dword [rax], 0
je 0x1404a779a
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
jmp 0x1404a77a3
mov qword [rsp + 0x60], 0
mov eax, dword [rsp + 0x80]
inc eax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1401ddb7f
mov rax, rdi
add rsp, 0x70
pop rdi
ret