joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140294bd0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x68
call fcn.1403cb200
sub rsp, rax
mov rax, qword [0x1404f2b48]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, qword [rcx + 0x68]
xor edi, edi
mov r15, r9
mov qword [rbp - 0x28], r8
shr r15, 4
mov r13, r9
mov r12, rdx
mov rbx, rcx
lea r14d, [rdi + 2]
lea rax, [rsi + r15]
mov qword [rbp - 0x20], rax
test r15, r15
je 0x140294c90
cmp qword [rcx + 0x20], rdi
je 0x140294c90
mov edx, edi
jmp 0x140294c33
inc rdx
shr rax, 1
jne 0x140294c30
call fcn.140295560
test rax, rax
je 0x140294d8d
mov rdx, qword [rbx + 0x68]
lea rax, [rbx + 0xa0]
mov rsi, qword [rbp - 0x28]
lea rcx, [rbx + 0x90]
mov r9, qword [rbx + 0x18]
inc rdx
mov qword [rsp + 0x38], rax
mov r8, r15
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov rcx, r12
mov qword [rsp + 0x20], rdx
mov rdx, rsi
call qword [rbx + 0x20]
mov r15, qword [rbp - 0x20]
jmp 0x140294d97
inc rsi
mov r15, rax
cmp rsi, rax
ja 0x140294d94
mov rax, rsi
mov ecx, edi
test sil, 1
jne 0x140294cb3
shr rax, 1
inc ecx
test al, 1
je 0x140294caa
mov edx, ecx
mov rcx, rbx
call fcn.140295560
test rax, rax
je 0x140294d8d
lea rdx, [rbx + 0x90]
sub rax, rbx
mov r8, r14
mov rcx, qword [rax + rdx - 0x90]
xor qword [rdx], rcx
lea rdx, [rdx + 8]
sub r8, 1
jne 0x140294cd3
mov r8d, 0x10
lea rcx, [rbp - 0x20]
mov rdx, r12
call fcn.1403cc5a0
add r12, 0x10
mov rcx, rdi
mov rax, qword [rbx + rcx*8 + 0x90]
xor qword [rbp + rcx*8 - 0x20], rax
inc rcx
cmp rcx, r14
jl 0x140294d01
mov r8, qword [rbx + 0x18]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x20]
call qword [rbx + 8]
mov rcx, rdi
mov rax, qword [rbx + rcx*8 + 0x90]
xor qword [rbp + rcx*8 - 0x20], rax
inc rcx
cmp rcx, r14
jl 0x140294d28
lea rdx, [rbp - 0x20]
mov r8, r14
sub rdx, rbx
lea rcx, [rbx + 0xa0]
mov rax, qword [rdx + rcx - 0xa0]
xor qword [rcx], rax
lea rcx, [rcx + 8]
sub r8, 1
jne 0x140294d4e
mov rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
mov r8d, 0x10
call fcn.1403cc5a0
add qword [rbp - 0x28], 0x10
inc rsi
cmp rsi, r15
jbe 0x140294c9f
mov rsi, qword [rbp - 0x28]
jmp 0x140294d97
xor eax, eax
jmp 0x140294e43
mov rsi, r8
and r13d, 0xf
jbe 0x140294e3a
lea rcx, [rbx + 0x90]
mov r8, r14
mov rdx, rcx
mov rax, qword [rdx - 0x58]
xor qword [rdx], rax
lea rdx, [rdx + 8]
sub r8, 1
jne 0x140294dae
mov r8, qword [rbx + 0x10]
lea rdx, [rbp - 0x20]
call qword [rbx]
lea rax, [rbp - 0x20]
mov r9, rsi
sub r12, rax
lea rax, [rbp - 0x20]
sub r9, rax
lea rcx, [rbp - 0x20]
add rcx, rdi
inc rdi
mov al, byte [rcx + r12]
xor al, byte [rcx]
mov byte [rcx + r9], al
cmp rdi, r13
jb 0x140294dda
xor edx, edx
lea rcx, [rbp - 0x20]
lea r8d, [rdx + 0x10]
call fcn.1403ccc50
mov r8, r13
lea rcx, [rbp - 0x20]
mov rdx, rsi
call fcn.1403cc5a0
lea r8, [rbp - 0x20]
mov byte [rbp + r13 - 0x20], 0x80
sub r8, rbx
lea rdx, [rbx + 0xa0]
mov rcx, qword [r8 + rdx - 0xa0]
xor qword [rdx], rcx
lea rdx, [rdx + 8]
sub r14, 1
jne 0x140294e25
mov qword [rbx + 0x68], r15
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1403cb150
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140294e60
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x68
call fcn.1403cb200
sub rsp, rax
mov rax, qword [0x1404f2b48]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, qword [rcx + 0x68]
xor edi, edi
mov r15, r9
mov qword [rbp - 0x28], rdx
shr r15, 4
mov r13, r9
mov r12, r8
mov rbx, rcx
lea r14d, [rdi + 2]
lea rax, [rsi + r15]
mov qword [rbp - 0x20], rax
test r15, r15
je 0x140294f20
cmp qword [rcx + 0x20], rdi
je 0x140294f20
mov edx, edi
jmp 0x140294ec3
inc rdx
shr rax, 1
jne 0x140294ec0
call fcn.140295560
test rax, rax
je 0x14029501c
mov rdx, qword [rbx + 0x68]
lea rax, [rbx + 0xa0]
mov rsi, qword [rbp - 0x28]
lea rcx, [rbx + 0x90]
mov r9, qword [rbx + 0x10]
inc rdx
mov qword [rsp + 0x38], rax
mov r8, r15
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov rcx, rsi
mov qword [rsp + 0x20], rdx
mov rdx, r12
call qword [rbx + 0x20]
mov r15, qword [rbp - 0x20]
jmp 0x140295026
inc rsi
mov r15, rax
cmp rsi, rax
ja 0x140295023
mov rax, rsi
mov ecx, edi
test sil, 1
jne 0x140294f43
shr rax, 1
inc ecx
test al, 1
je 0x140294f3a
mov edx, ecx
mov rcx, rbx
call fcn.140295560
test rax, rax
je 0x14029501c
lea rdx, [rbx + 0x90]
sub rax, rbx
mov r8, r14
mov rcx, qword [rax + rdx - 0x90]
xor qword [rdx], rcx
lea rdx, [rdx + 8]
sub r8, 1
jne 0x140294f63
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x20]
mov r8d, 0x10
call fcn.1403cc5a0
add qword [rbp - 0x28], 0x10
lea rdx, [rbp - 0x20]
sub rdx, rbx
lea rcx, [rbx + 0xa0]
mov r8, r14
mov rax, qword [rdx + rcx - 0xa0]
xor qword [rcx], rax
lea rcx, [rcx + 8]
sub r8, 1
jne 0x140294fa1
mov rcx, rdi
mov rax, qword [rbx + rcx*8 + 0x90]
xor qword [rbp + rcx*8 - 0x20], rax
inc rcx
cmp rcx, r14
jl 0x140294fb9
mov r8, qword [rbx + 0x10]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x20]
call qword [rbx]
mov rcx, rdi
mov rax, qword [rbx + rcx*8 + 0x90]
xor qword [rbp + rcx*8 - 0x20], rax
inc rcx
cmp rcx, r14
jl 0x140294fdf
mov r8d, 0x10
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.1403cc5a0
add r12, 0x10
inc rsi
cmp rsi, r15
jbe 0x140294f2f
mov rsi, qword [rbp - 0x28]
jmp 0x140295026
xor eax, eax
jmp 0x1402950d2
mov rsi, rdx
and r13d, 0xf
jbe 0x1402950c9
lea rcx, [rbx + 0x90]
mov r8, r14
mov rdx, rcx
mov rax, qword [rdx - 0x58]
xor qword [rdx], rax
lea rdx, [rdx + 8]
sub r8, 1
jne 0x14029503d
mov r8, qword [rbx + 0x10]
lea rdx, [rbp - 0x20]
call qword [rbx]
lea rax, [rbp - 0x20]
mov r9, rsi
sub r9, rax
lea rax, [rbp - 0x20]
sub r12, rax
lea rcx, [rbp - 0x20]
add rcx, rdi
inc rdi
mov al, byte [rcx + r9]
xor al, byte [rcx]
mov byte [rcx + r12], al
cmp rdi, r13
jb 0x140295069
xor edx, edx
lea rcx, [rbp - 0x20]
lea r8d, [rdx + 0x10]
call fcn.1403ccc50
mov r8, r13
lea rcx, [rbp - 0x20]
mov rdx, rsi
call fcn.1403cc5a0
lea r8, [rbp - 0x20]
mov byte [rbp + r13 - 0x20], 0x80
sub r8, rbx
lea rdx, [rbx + 0xa0]
mov rcx, qword [r8 + rdx - 0xa0]
xor qword [rdx], rcx
lea rdx, [rdx + 8]
sub r14, 1
jne 0x1402950b4
mov qword [rbx + 0x68], r15
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1403cb150
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140295250
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
mov eax, 0x70
call fcn.1403cb200
sub rsp, rax
mov rax, qword [0x1404f2b48]
xor rax, rsp
mov qword [rbp - 8], rax
lea rax, [r8 - 1]
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r14, rcx
cmp rax, 0xe
ja 0x140295378
lea rax, [r9 - 1]
cmp rax, 0xf
ja 0x140295378
xor edx, edx
add rcx, 0x60
lea r8d, [rdx + 0x50]
call fcn.1403ccc50
xor edx, edx
shl bl, 4
lea rcx, [rbp - 0x4f]
mov byte [rbp - 0x50], bl
lea r8d, [rdx + 0xf]
call fcn.1403ccc50
lea rcx, [rbp - 0x40]
mov r8, rdi
sub rcx, rdi
mov rdx, rsi
call fcn.1403cc5a0
lea rax, [rbp - 0x41]
mov ebx, 0x10
sub rax, rdi
lea rdx, [rbp - 0x50]
mov r8d, ebx
lea rcx, [rbp - 0x40]
or byte [rax], 1
call fcn.1403cc5a0
mov r8, qword [r14 + 0x10]
lea rdx, [rbp - 0x30]
and byte [rbp - 0x31], 0xc0
lea rcx, [rbp - 0x40]
call qword [r14]
mov r8d, ebx
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.1403cc5a0
xor ecx, ecx
lea esi, [rbx - 8]
mov al, byte [rbp + rcx - 0x2f]
xor al, byte [rbp + rcx - 0x30]
mov byte [rbp + rcx - 0x10], al
inc rcx
cmp rcx, rsi
jb 0x14029531a
movzx edi, byte [rbp - 0x41]
lea rcx, [rbp - 0x20]
and edi, 0x3f
lea r8, [r14 + 0x90]
mov ebx, edi
shr rdi, 3
and ebx, 7
add rcx, rdi
mov edx, ebx
call fcn.1402953c0
mov ecx, esi
mov edx, 0xff
sub cl, bl
sub sil, bl
shl dl, cl
mov eax, 1
and dl, byte [rbp + rdi - 0x10]
mov cl, sil
shr dl, cl
or byte [r14 + 0x9f], dl
jmp 0x14029537b
or eax, 0xffffffff
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1403cb150
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140295460
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.1403cb200
sub rsp, rax
xor r9d, r9d
add rsp, 0x28
jmp 0x140295460
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x40
call fcn.1403cb200
sub rsp, rax
mov rax, qword [0x1404f2b48]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [r8 - 1]
mov ebp, r9d
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp rax, 0xf
ja 0x140295534
lea rdx, [rcx + 0x90]
mov r8d, 2
lea rcx, [rsp + 0x20]
sub rcx, rbx
mov rax, qword [rdx + 0x10]
xor rax, qword [rdx]
mov qword [rcx + rdx - 0x90], rax
lea rdx, [rdx + 8]
sub r8, 1
jne 0x1402954b3
xor ecx, ecx
mov rax, qword [rbx + rcx*8 + 0x48]
xor qword [rsp + rcx*8 + 0x20], rax
inc rcx
cmp rcx, 2
jl 0x1402954ce
mov r8, qword [rbx + 0x10]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call qword [rbx]
xor r9d, r9d
mov rdx, qword [rbx + r9*8 + 0x80]
xor qword [rsp + r9*8 + 0x20], rdx
inc r9
cmp r9, 2
jl 0x1402954f4
mov r8, rdi
test ebp, ebp
je 0x140295525
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1403cc5a0
mov eax, 1
jmp 0x140295537
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.1400102b0
jmp 0x140295537
or eax, 0xffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1403cb150
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402a3740
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.140298650
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x14025c7d9.0
mov rcx, rdi
mov rsi, rax
call case.0x14025c7d9.0
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.kernel32.dll_MoveFileExA]
test eax, eax
jne 0x1402a37f0
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.140298650
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1402986e0
cmp rax, 0x3e8
ja 0x1402a3821
mov ecx, 1
call qword [sym.imp.kernel32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.kernel32.dll_MoveFileExA]
test eax, eax
je 0x1402a37a0
test rsi, rsi
je 0x1402a37fd
mov rcx, rsi
call fcn.1403d8820
test rbx, rbx
je 0x1402a380a
mov rcx, rbx
call fcn.1403d8820
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x1402a382e
mov rcx, rsi
call fcn.1403d8820
test rbx, rbx
je 0x1402a383b
mov rcx, rbx
call fcn.1403d8820
mov eax, 1
jmp 0x1402a380c
Function at 0x1402a3850
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1404f2b48]
xor rax, rsp
mov qword [rbp - 8], rax
mov edx, 1
mov dword [rbp - 0x40], 0x10
mov esi, 2
mov dword [rbp - 0x3c], 1
mov ecx, esi
mov rdi, r9
lea r8d, [rdx + 5]
call qword [sym.imp.ws2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1402a38a2
jmp 0x1402a3a6b
mov qword [rsp + 0x90], r14
mov ecx, 0x7f000001
xor r14d, r14d
mov word [rbp - 0x38], si
mov qword [rbp - 0x30], r14
call qword [sym.imp.ws2_32.dll_htonl]
lea r9, [rbp - 0x3c]
mov word [rbp - 0x36], r14w
mov edx, 0xffff
mov dword [rbp - 0x34], eax
lea r8d, [r14 + 4]
mov qword [rdi + 8], 0xffffffffffffffff
mov rcx, rbx
mov qword [rdi], 0xffffffffffffffff
mov dword [rsp + 0x20], 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1402a3a42
lea r8d, [r14 + 0x10]
mov rcx, rbx
lea rdx, [rbp - 0x38]
call qword [sym.imp.ws2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1402a3a42
lea r8, [rbp - 0x40]
mov rcx, rbx
lea rdx, [rbp - 0x38]
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1402a3a42
cmp dword [rbp - 0x40], 0x10
jl 0x1402a3a42
lea edx, [r14 + 1]
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_listen]
cmp eax, 0xffffffff
je 0x1402a3a42
xor r8d, r8d
lea edx, [r14 + 1]
mov ecx, esi
call qword [sym.imp.ws2_32.dll_socket]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
je 0x1402a3a42
lea r8d, [r14 + 0x10]
mov rcx, rax
lea rdx, [rbp - 0x38]
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1402a3a42
lea edx, [r14 + 1]
mov rcx, rbx
call fcn.1402be300
test eax, eax
js 0x1402a3a42
lea edx, [r14 + 1]
mov qword [rbp - 0x18], rbx
mov r8d, 0x2710
mov dword [rbp - 0x10], 0x300
lea rcx, [rbp - 0x18]
call fcn.1402a0f40
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_accept]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x1402a3a42
mov rcx, qword [rdi]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x38]
mov dword [rbp - 0x40], 0x10
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1402a3a42
cmp dword [rbp - 0x40], 0x10
jl 0x1402a3a42
mov rcx, qword [rdi + 8]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov dword [rbp - 0x40], 0x10
call qword [sym.imp.ws2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x1402a3a42
cmp dword [rbp - 0x40], 0x10
jl 0x1402a3a42
movzx eax, word [rbp - 0x28]
cmp word [rbp - 0x38], ax
jne 0x1402a3a42
mov eax, dword [rbp - 0x24]
cmp dword [rbp - 0x34], eax
jne 0x1402a3a42
movzx eax, word [rbp - 0x26]
cmp word [rbp - 0x36], ax
jne 0x1402a3a42
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_closesocket]
xor eax, eax
jmp 0x1402a3a63
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_closesocket]
mov rcx, qword [rdi]
call qword [sym.imp.ws2_32.dll_closesocket]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ws2_32.dll_closesocket]
mov eax, 0xffffffff
mov r14, qword [rsp + 0x90]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1403cb150
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1402a3ac0
Capabilities:
Resolve dns

Disassembly:
push rbp
push r12
push r13
push r15
sub rsp, 0x28
mov r13, r9
xor ebp, ebp
mov qword [r9], rbp
xor r15d, r15d
lea r9, [rsp + 0x68]
call qword [sym.imp.ws2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x1402a3c5e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rdi
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x1402a3c3e
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1402a3b2e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1402a3b20
inc rbx
jmp 0x1402a3b30
xor ebx, ebx
mov eax, dword [rdi + 4]
cmp eax, 2
jne 0x1402a3b3e
lea r14d, [rax + 0xe]
jmp 0x1402a3b4b
cmp eax, 0x17
jne 0x1402a3be4
lea r14d, [rax + 5]
cmp qword [rdi + 0x20], 0
je 0x1402a3be4
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1402a3be4
cmp rax, r14
jb 0x1402a3be4
lea rcx, [rbx + 0x30]
add rcx, r14
call qword [section._________1]
mov rsi, rax
test rax, rax
je 0x1402a3bf3
mov ecx, dword [rdi]
mov r8, r14
mov dword [rax], ecx
mov ecx, dword [rdi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rdi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rdi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [rsi + 0x30]
mov dword [rax + 0x10], r14d
xor eax, eax
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x20], rcx
mov rdx, qword [rdi + 0x20]
call fcn.1403cc5a0
test rbx, rbx
je 0x1402a3bd1
mov rcx, qword [rsi + 0x20]
mov r8, rbx
add rcx, r14
mov qword [rsi + 0x18], rcx
mov rdx, qword [rdi + 0x18]
call fcn.1403cc5a0
test rbp, rbp
cmove rbp, rsi
test r15, r15
je 0x1402a3be1
mov qword [r15 + 0x28], rsi
mov r15, rsi
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x1402a3b10
jmp 0x1402a3bf9
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x58]
test rcx, rcx
je 0x1402a3c13
call qword [sym.imp.ws2_32.dll_FreeAddrInfoW]
test r12d, r12d
je 0x1402a3c39
test rbp, rbp
je 0x1402a3c35
nop dword [rax]
mov rbx, qword [rbp + 0x28]
mov rcx, rbp
call qword [fcn.1403d8820]
mov rbp, rbx
test rbx, rbx
jne 0x1402a3c20
xor ebp, ebp
jmp 0x1402a3c4d
test rbp, rbp
jne 0x1402a3c4d
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.ws2_32.dll_WSASetLastError]
mov rdi, qword [rsp + 0x60]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rbp
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
ret
Function at 0x1402a73e0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [fcn.1403de9e0]
mov rdi, rax
test rax, rax
je 0x1402a745d
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x1402a7488
cmp ebx, esi
je 0x1402a7488
cmp ebx, 0x8000
ja 0x1402a7488
cmp ebx, esi
jb 0x1402a7483
mov edx, ebx
mov rcx, rdi
call qword [fcn.1403de9e0]
mov rdi, rax
test rax, rax
jne 0x1402a7420
mov rcx, rbp
call qword [fcn.1403d8820]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x1402a7468
mov rcx, rdi
jmp 0x1402a7460

Function at 0x1402ada80
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, 0xc0
mov rax, qword [0x1404f2b48]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, qword [rcx + 0x18]
lea r8, [rsp + 0x20]
mov rdi, rcx
lea rdx, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov rbp, qword [rsi + 0x1f0]
mov rcx, rbp
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
jne 0x1402adafb
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_accept]
mov rbx, rax
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.140268640
mov rcx, rdi
cmp rbx, 0xffffffffffffffff
jne 0x1402adb23
lea rdx, [0x140445280]
call fcn.140267cd0
lea eax, [rbx + 0x1f]
jmp 0x1402adb9f
lea rdx, [0x1404452a8]
call fcn.140267e40
mov edx, 1
mov byte [rsi + 0x3da], 0
mov rcx, rbx
mov qword [rsi + 0x1f0], rbx
call fcn.1402be300
mov byte [rsi + 0x3ed], 1
cmp qword [rdi + 0x288], 0
je 0x1402adb9d
mov dl, 1
mov rcx, rdi
call fcn.1402573e0
mov rcx, qword [rdi + 0x290]
mov r8d, 1
mov rdx, rbx
call qword [rdi + 0x288]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.1402573e0
test ebx, ebx
je 0x1402adb9d
mov rdx, rsi
mov rcx, rdi
call fcn.1402ae0a0
mov eax, 0x2a
jmp 0x1402adb9f
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1403cb150
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1402af630
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b0]
mov rbx, rcx
mov rdx, qword [rcx + 0x18]
cmp dword [rax + 0x10], 0
je 0x1402af666
mov dword [rdx + 0x7d0], 0xd
mov r8d, 0xd
mov dl, 1
add rsp, 0x20
pop rbx
jmp fcn.1402af750
cmp byte [rcx + 0xb26], 0
je 0x1402af67b
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.1402b01d0
cmp byte [rcx + 0xb29], 0
je 0x1402af6fc
mov r9, qword [rdx + 0x790]
test r9, r9
jne 0x1402af6be
mov r9, qword [rcx + 0x7c8]
test r9, r9
jne 0x1402af6b5
cmp byte [rbx + 0x12f9], 0
lea rcx, [0x140445620]
lea r9, [0x140444724]
cmovne r9, rcx
lea r8, [0x140445628]
jmp 0x1402af6d5
cmp byte [rcx + 0xb35], 0
lea r8, [0x140445630]
jne 0x1402af6d5
lea r8, [0x140445640]
add rdx, 0x700
mov rcx, rbx
call fcn.1402ff040
test eax, eax
jne 0x1402af706
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x7d0], 0x1d
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.1402b0120
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b0]
add rdx, 0x700
mov rbx, rcx
cmp dword [rax + 0x10], 0
je 0x1402afa6e
cmp qword [rdx + 0x90], 0
je 0x1402afa6e
xor r9d, r9d
lea r8, [0x140445650]
call fcn.1402ff040
test eax, eax
jne 0x1402afa78
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x7d0], 0x1a
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.1402af630
add rsp, 0x20
pop rbx
ret
Function at 0x1402afd40
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, qword [rcx + 0x18]
lea eax, [rdx - 0xc8]
xor edi, edi
mov esi, r8d
mov rbx, rcx
cmp eax, 0x64
jb 0x1402afd7f
lea rdx, [0x140445950]
call fcn.140267cd0
lea eax, [rdi + 0x11]
jmp 0x1402afeeb
cmp edx, 0xc8
je 0x1402afd96
mov r8d, edx
lea rdx, [0x140445970]
call fcn.140267e40
cmp esi, 0x13
jne 0x1402afdab
mov rdx, rbp
mov rcx, rbx
call fcn.1402afc40
jmp 0x1402afee7
cmp esi, 0x14
jne 0x1402afec9
cmp dword [rbx + 0x760], 2
mov rbp, qword [rbx + 0x18]
jne 0x1402afe2e
mov rax, qword [rbx + 0x1b0]
mov rdx, qword [rax]
test rdx, rdx
je 0x1402afe2e
mov dword [rsp + 0x28], 3
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov qword [rsp + 0x40], rdi
call fcn.1402bd660
test eax, eax
jne 0x1402afee7
mov rcx, qword [rsp + 0x40]
lea edx, [rsi + 0x1b]
call fcn.1403cc1b0
test rax, rax
je 0x1402afe23
mov rdi, qword [rsp + 0x40]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], 0
jmp 0x1402afe2e
mov rcx, qword [rsp + 0x40]
call qword [fcn.1403d8820]
mov rdx, qword [rbx + 0x7c8]
test rdx, rdx
jne 0x1402afe53
cmp byte [rbx + 0x12f9], 0
lea rax, [0x140445620]
lea rdx, [0x140444724]
cmovne rdx, rax
lea r8, [0x1404c05a8]
test rdi, rdi
mov r9, r8
lea rax, [0x1404c05e8]
cmovne r9, rdi
lea rcx, [0x140422ab4]
cmovne r8, rax
call fcn.14026cc20
mov rcx, rdi
mov rsi, rax
call qword [fcn.1403d8820]
test rsi, rsi
jne 0x1402afe91
lea edi, [rsi + 0x1b]
jmp 0x1402afee9
lea rdx, [rbp + 0x700]
mov r9, rsi
lea r8, [0x1404ca228]
mov rcx, rbx
call fcn.1402ff040
mov rcx, rsi
mov edi, eax
call qword [fcn.1403d8820]
test edi, edi
jne 0x1402afee9
mov rcx, qword [rbx + 0x18]
mov dword [rcx + 0x7d0], 0x1f
jmp 0x1402afee9
cmp esi, 0x15
jne 0x1402afed4
lea r8d, [rsi - 8]
jmp 0x1402afedd
cmp esi, 0x16
jne 0x1402afee9
lea r8d, [rsi - 8]
mov dl, 1
mov rcx, rbx
call fcn.1402af750
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret