joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14016a870
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov byte [rsp + 0x38], 0xff
mov rcx, qword [rcx + 0x18]
mov edi, r8d
mov esi, edx
mov byte [rsp + 0x3a], dil
xor r9d, r9d
mov byte [rsp + 0x39], sil
lea rdx, [rsp + 0x38]
mov rcx, qword [rcx + 0x1e8]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14016a8cf
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbx
mov r8d, eax
call fcn.140145190
mov r9d, edi
lea rdx, str.SENT
mov r8d, esi
mov rcx, rbx
call fcn.14016a090
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
cmp edx, 0x1f
jne 0x14016ac1f
push rsi
push rdi
push r15
sub rsp, 0x30
mov rdi, qword [rcx + 0x1b0]
mov rsi, rcx
mov r15, qword [rcx + 0x18]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x28], rbp
lea rbx, [rdi + 0x1eb8]
mov qword [rsp + 0x20], r14
lea r14, [rdi + 0x1cb8]
mov qword [rbx], r14
cmp r14, rbx
jae 0x14016aabb
mov byte [r14], 0xff
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14016aac9
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14016aad7
mov byte [rax], 0x1f
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx ebp, ax
mov word [rsp + 0x58], ax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rbx]
movzx r8d, ax
mov word [rsp + 0x50], ax
cmp rcx, rbx
jae 0x14016ab10
mov byte [rcx], bpl
inc qword [rbx]
mov rdx, qword [rbx]
mov rbp, qword [rsp + 0x28]
cmp rdx, rbx
jae 0x14016ab27
movzx ecx, byte [rsp + 0x59]
mov byte [rdx], cl
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14016ab35
mov byte [rax], r8b
inc qword [rbx]
mov rcx, qword [rbx]
cmp rcx, rbx
jae 0x14016ab47
movzx eax, byte [rsp + 0x51]
mov byte [rcx], al
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14016ab55
mov byte [rax], 0xff
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14016ab63
mov byte [rax], 0xf0
inc qword [rbx]
mov rax, qword [rbx]
lea r8, [rdi + 0x1cba]
mov r9, rax
mov qword [rdi + 0x1ec0], rax
sub r9, r14
mov qword [rbx], r14
sub r9, 2
mov edx, 0x3e
mov rcx, rsi
call fcn.14016a1d0
mov rcx, qword [r15 + 0x1e8]
xor r9d, r9d
mov rdx, r14
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov r14, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x60]
test eax, eax
jns 0x14016abcb
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rsi
mov r8d, eax
call fcn.140145190
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, rsi
call fcn.14016a900
mov rcx, qword [r15 + 0x1e8]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14016ac17
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rsi
mov r8d, eax
call fcn.140145190
add rsp, 0x30
pop r15
pop rdi
pop rsi
ret
Function at 0x14016ac20
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
mov r9, qword [rcx + 0x1b0]
mov rbx, rcx
movsxd r11, edx
cmp r8d, 1
jne 0x14016ac7b
mov r8d, dword [r9 + r11*4 + 8]
test r8d, r8d
je 0x14016ac64
sub r8d, 2
je 0x14016ac8f
cmp r8d, 1
jne 0x14016acc2
cmp dword [r9 + r11*4 + 0x408], 0
jne 0x14016acc2
mov dword [r9 + r11*4 + 0x408], 1
pop rbx
ret
mov edx, 0xfb
mov dword [r9 + r11*4 + 8], 2
mov r8d, r11d
pop rbx
jmp fcn.14016a870
mov ecx, dword [r9 + r11*4 + 8]
sub ecx, 1
je 0x14016aca8
sub ecx, 1
je 0x14016ac4b
cmp ecx, 1
jne 0x14016acc2
cmp dword [r9 + r11*4 + 0x408], 1
jne 0x14016acc2
mov dword [r9 + r11*4 + 0x408], 0
pop rbx
ret
mov edx, 0xfc
mov dword [r9 + r11*4 + 8], 3
mov rcx, rbx
mov r8d, r11d
pop rbx
jmp fcn.14016a870
pop rbx
ret

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

Disassembly:
push rbx
mov r9, qword [rcx + 0x1b0]
mov rbx, rcx
movsxd r11, edx
cmp r8d, 1
jne 0x14016ad35
mov r8d, dword [r9 + r11*4 + 0xc08]
test r8d, r8d
je 0x14016ad1b
sub r8d, 2
je 0x14016ad4c
cmp r8d, 1
jne 0x14016ad82
cmp dword [r9 + r11*4 + 0x1008], 0
jne 0x14016ad82
mov dword [r9 + r11*4 + 0x1008], 1
pop rbx
ret
mov edx, 0xfd
mov dword [r9 + r11*4 + 0xc08], 2
mov r8d, r11d
pop rbx
jmp fcn.14016a870
mov ecx, dword [r9 + r11*4 + 0xc08]
sub ecx, 1
je 0x14016ad65
sub ecx, 1
je 0x14016ad02
cmp ecx, 1
jne 0x14016ad82
cmp dword [r9 + r11*4 + 0x1008], 1
jne 0x14016ad82
mov dword [r9 + r11*4 + 0x1008], 0
pop rbx
ret
mov edx, 0xfe
mov dword [r9 + r11*4 + 0xc08], 3
mov rcx, rbx
mov r8d, r11d
pop rbx
jmp fcn.14016a870
pop rbx
ret
Function at 0x14016bf50
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx + 0x18]
mov rsi, rcx
xor r9d, r9d
mov rdi, qword [rax + 0x4d0]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], Ordinal_133
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8d, dword [rdi + 0x144]
lea r14, [rdi + 0x150]
mov rdx, qword [r14]
add r8d, 4
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rdi + 0x138], 0
mov dword [rdi + 0x13c], eax
jne 0x14016bfe9
movsxd r8, dword [rsp + 0x30]
lea rcx, [rdi + 0xb8]
lea rdx, [rsp + 0x40]
call fcn.140278ed0
mov eax, dword [rsp + 0x30]
mov dword [rdi + 0x138], eax
mov r9d, dword [rdi + 0x13c]
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], rbp
cmp r9d, 4
jge 0x14016c04a
lea rdx, str.Received_too_short_packet
mov rcx, rsi
call fcn.140145190
mov dword [rdi + 0xc], 7
xor eax, eax
mov rbp, qword [rsp + 0x100]
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0xd0
pop r14
pop rdi
pop rsi
ret
mov rcx, r14
call fcn.14016ba80
movzx r8d, ax
mov dword [rdi + 0xc], r8d
sub r8d, 3
je 0x14016c0f9
sub r8d, 1
je 0x14016c16b
sub r8d, 1
je 0x14016c0b5
cmp r8d, 1
je 0x14016c095
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rsi
lea rdx, [0x1402b8980]
call fcn.140145190
jmp 0x14016c16b
mov rdx, qword [r14]
lea r8d, [r9 - 2]
add rdx, 2
mov rcx, rdi
call fcn.14016bc90
test eax, eax
je 0x14016c16b
jmp 0x14016c01e
mov rbp, qword [r14]
lea eax, [r9 - 4]
mov rcx, r14
movsxd rbx, eax
call fcn.14016ba60
movzx r9d, ax
lea rcx, [rbp + 4]
mov rdx, rbx
mov dword [rdi + 8], r9d
call fcn.14016caf0
cmp rax, rbx
jae 0x14016c16b
lea r8, [rbp + 4]
mov rcx, rsi
lea rdx, str.TFTP_error:__s
call fcn.140145270
jmp 0x14016c16b
cmp r9d, 4
jle 0x14016c16b
mov rcx, r14
call fcn.14016ba60
movzx ecx, word [rdi + 0x14c]
inc ecx
cmp cx, ax
jne 0x14016c16b
mov r8, qword [r14]
lea eax, [r9 - 4]
movsxd r9, eax
add r8, 4
mov edx, 1
mov rcx, rsi
call fcn.1401450c0
mov ebx, eax
test eax, eax
je 0x14016c14a
mov edx, 5
mov rcx, rdi
call fcn.14016c9e0
mov eax, ebx
jmp 0x14016c01e
mov eax, dword [rdi + 0x13c]
mov rcx, rsi
sub eax, 4
cdqe
add qword [rsi + 0xf8], rax
mov rdx, qword [rsi + 0xf8]
call fcn.1401442e0
mov rcx, rsi
call fcn.140144580
test eax, eax
je 0x14016c01c
mov edx, 5
mov rcx, rdi
call fcn.14016c9e0
mov eax, Ordinal_46
jmp 0x14016c01e
Function at 0x14016dd60
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.1402899e0]
mov rdi, rax
test rax, rax
je 0x14016dddd
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 0x14016de08
cmp ebx, esi
je 0x14016de08
cmp ebx, 0x8000
ja 0x14016de08
cmp ebx, esi
jb 0x14016de03
mov edx, ebx
mov rcx, rdi
call qword [fcn.1402899e0]
mov rdi, rax
test rax, rax
jne 0x14016dda0
mov rcx, rbp
call qword [fcn.1402804a8]
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 0x14016dde8
mov rcx, rdi
jmp 0x14016dde0
jmp 0x14016dd60

Function at 0x14016de10
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.1402899e0]
mov rdi, rax
test rax, rax
je 0x14016dddd
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 0x14016de08
cmp ebx, esi
je 0x14016de08
cmp ebx, 0x8000
ja 0x14016de08
cmp ebx, esi
jb 0x14016de03
mov edx, ebx
mov rcx, rdi
call qword [fcn.1402899e0]
mov rdi, rax
test rax, rax
jne 0x14016dda0
mov rcx, rbp
call qword [fcn.1402804a8]
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 0x14016dde8
mov rcx, rdi
jmp 0x14016dde0
jmp 0x14016dd60
Function at 0x140172440
Capabilities:
Encode data using xor

Disassembly:
push r13
sub rsp, 0x220
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rax, qword [rcx + 0xd0]
mov r13, rcx
mov qword [rsp + 0x30], rcx
test rax, rax
je 0x140172478
cmp byte [rax + 0x184], 0
jne 0x140172494
call fcn.140172d80
test al, al
je 0x14017249b
mov rax, qword [r13 + 0xd0]
test rax, rax
je 0x140172494
mov byte [rax + 0x184], 1
xor eax, eax
jmp 0x1401726c2
mov rcx, qword [r13 + 0x8c0]
test rcx, rcx
je 0x1401724ba
mov edx, 0x400
call fcn.1401b8000
call fcn.140172d80
test al, al
jne 0x140172494
mov qword [rsp + 0x238], rbx
mov qword [rsp + 0x240], rbp
mov qword [rsp + 0x248], rsi
mov qword [rsp + 0x218], rdi
mov qword [rsp + 0x210], r12
mov r12d, 0x40
mov qword [rsp + 0x208], r14
mov qword [rsp + 0x200], r15
movaps xmmword [rsp + 0x1f0], xmm6
movaps xmmword [rsp + 0x1e0], xmm7
xorps xmm7, xmm7
cvtsi2sd xmm7, r12
test r12, r12
jns 0x14017251d
addsd xmm7, qword [0x140363c58]
mulsd xmm7, qword [0x1402c4208]
xor r13d, r13d
nop dword [rax + rax]
mov r14, r13
lea r15, [rsp + 0x90]
nop dword [rax + rax]
lea rcx, [rsp + 0x38]
call fcn.1401332d0
mov ecx, 1
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x20], xmm6
call fcn.140145f70
mov ebp, dword [rsp + 0x28]
lea rdi, [r14 + 3]
lea rax, [rdi - 2]
movq rsi, xmm6
imul rsi, rax
lea eax, [r14 + 2]
lea rcx, [rsp + 0x48]
imul ebp, eax
call fcn.1401332d0
lea rcx, [rsp + 0x58]
movsxd rbx, dword [rax + 8]
call fcn.1401332d0
mov rcx, qword [rax]
add rcx, rbx
imul rcx, rdi
shl rcx, 8
xor rsi, rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rsi
call fcn.1401332d0
lea rcx, [rsp + 0x78]
mov rbx, rax
call fcn.1401332d0
lea r15, [r15 + 0x10]
mov ecx, dword [rax]
lea eax, [r14 + 4]
add ecx, dword [rbx + 8]
inc r14
imul ecx, eax
shl ecx, 0x10
xor ebp, ecx
mov dword [rsp + 0x28], ebp
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [r15 - 0x10], xmm0
cmp r14, 4
jb 0x140172540
movaps xmm2, xmm7
lea rcx, [rsp + 0x90]
mov edx, r12d
call fcn.1401b7ca0
call fcn.140172d80
test al, al
je 0x140172530
mov edx, 0x100
mov byte [rsp + 0xd0], r13b
lea rcx, [rsp + 0xd0]
call fcn.1401b7eb0
cmp byte [rsp + 0xd0], r13b
mov r13, qword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x1e0]
movaps xmm6, xmmword [rsp + 0x1f0]
mov r15, qword [rsp + 0x200]
mov r14, qword [rsp + 0x208]
mov r12, qword [rsp + 0x210]
mov rdi, qword [rsp + 0x218]
mov rsi, qword [rsp + 0x248]
mov rbp, qword [rsp + 0x240]
mov rbx, qword [rsp + 0x238]
je 0x14017269d
mov edx, 0x400
lea rcx, [rsp + 0xd0]
call fcn.1401b8000
call fcn.140172d80
test al, al
jne 0x140172494
lea rdx, str.libcurl_is_now_using_a_weak_random_seed_
mov rcx, r13
call fcn.140145270
call fcn.140172d80
test al, al
mov ecx, 0x23
mov eax, 0
cmovne ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0x220
pop r13
ret
Function at 0x140174740
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.1401332d0
mov rcx, rbx
movups xmm6, xmmword [rax]
call fcn.140174300
mov rcx, rdi
mov rsi, rax
call fcn.140174300
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1401747f0
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.1401332d0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.140133350
cmp rax, 0x3e8
ja 0x140174821
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_MoveFileExW]
test eax, eax
je 0x1401747a0
test rsi, rsi
je 0x1401747fd
mov rcx, rsi
call fcn.1402804a8
test rbx, rbx
je 0x14017480a
mov rcx, rbx
call fcn.1402804a8
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 0x14017482e
mov rcx, rsi
call fcn.1402804a8
test rbx, rbx
je 0x14017483b
mov rcx, rbx
call fcn.1402804a8
mov eax, 1
jmp 0x14017480c
Function at 0x1401756d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [fcn.140280918]
mov rdi, rax
test rax, rax
jne 0x140175712
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140175755
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov ebp, dword [rbx + 0x20]
mov rcx, qword [rdi + 8]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1401757b2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
sub rbp, 1
jne 0x140175770
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1401757f3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1402c42e9]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1402c42ea]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1401757c0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14019a210
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
mov eax, 0x20
call fcn.14012b0b0
sub rsp, rax
mov rax, qword [rcx + 8]
lea r14d, [r9 + 1]
mov rbx, rdx
mov rsi, rcx
mov r9, qword [rax + 0xc8]
test byte [r9 + 0x70], 1
je 0x14019a276
mov ecx, dword [rdx + 4]
lea eax, [r14 + r8]
cmp eax, ecx
jbe 0x14019a263
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov eax, r8d
add qword [rdx + 0x10], rax
add qword [rdx + 0x18], rax
sub ecx, r8d
mov dword [rdx + 4], ecx
jmp 0x14019a27c
cmp r14d, dword [rdx + 4]
ja 0x14019a250
mov ecx, dword [rdx + 4]
mov rax, qword [rdx + 0x10]
dec ecx
mov qword [rsp + 0x30], rbp
or ebp, 0xffffffff
test dword [rsi + 0x19c], 0x200
mov qword [rsp + 0x38], rdi
movzx edi, byte [rcx + rax]
je 0x14019a2ef
cmp qword [rsi + 0xe0], 0
jne 0x14019a2ef
mov rcx, qword [rsi + 0x80]
lea rdx, [0x140458e38]
add rcx, 8
mov r8d, 8
call fcn.1401c3680
test eax, eax
jne 0x14019a2dd
test dil, 1
jne 0x14019a2dd
mov rax, qword [rsi + 0x80]
or dword [rax], 8
mov rax, qword [rsi + 0x80]
test byte [rax], 8
je 0x14019a2ef
test edi, edi
je 0x14019a2ef
add edi, ebp
mov rcx, qword [rsi + 0xd0]
mov rcx, qword [rcx]
call fcn.1400dd950
bt eax, 0x15
jae 0x14019a313
sub ebp, edi
mov eax, 1
add dword [rbx + 4], ebp
jmp 0x14019a3ca
mov r11d, dword [rbx + 4]
lea ecx, [rdi + r14]
mov esi, 0xff
mov r8d, r11d
sub r8d, ecx
mov eax, r11d
xor r8d, ecx
xor eax, ecx
or r8d, eax
lea eax, [r11 - 1]
xor r8d, r11d
shr r8d, 0x1f
dec r8d
cmp eax, esi
cmovb esi, eax
xor r9d, r9d
test esi, esi
je 0x14019a39a
mov rbp, qword [rbx + 0x10]
mov r10d, edi
shr r10d, 0x1f
nop word [rax + rax]
mov eax, r9d
mov ecx, edi
sub ecx, r9d
shr eax, 0x1f
shr ecx, 0x1f
xor cl, al
xor al, r10b
or cl, al
mov eax, r11d
sub eax, r9d
xor cl, r10b
dec cl
dec eax
movzx edx, cl
inc r9d
movzx ecx, byte [rax + rbp]
xor ecx, edi
and edx, ecx
not edx
and r8d, edx
cmp r9d, esi
jb 0x14019a360
not r8d
movzx eax, r8b
lea ecx, [rax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [rdi + 1]
neg ecx
and eax, ecx
sub r11d, eax
shl eax, 8
or dword [rbx], eax
mov eax, ecx
and eax, 1
mov dword [rbx + 4], r11d
not ecx
or eax, ecx
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14019eb60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x20
call fcn.14012b0b0
sub rsp, rax
mov edi, edx
mov rbx, rcx
test edx, edx
jle 0x14019ebb0
lea ecx, [rax - 0x1e]
call fcn.14028f0b4
mov rcx, rax
lea r8, [0x1403b5cf8]
mov r9d, 0x42f
lea rdx, str.invalid_state_reached__s:_d
call fcn.1400612b0
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.1401a34d0
test eax, eax
je 0x14019ebe6
mov rcx, rbx
call fcn.1401dbb60
test eax, 0x3000
jne 0x14019ebf3
cmp dword [rbx + 0x284], 0
jne 0x14019ebf3
mov rcx, rbx
call fcn.14011e2a0
mov rcx, rax
mov edx, 1
call fcn.1401ab920
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401a33e0

Function at 0x1401a33e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
mov eax, 0x20
call fcn.14012b0b0
sub rsp, rax
lea rdx, [rsp + 0x38]
mov rbx, rcx
call fcn.1401a32d0
test rax, rax
je 0x1401a34c6
cmp dword [rsp + 0x38], 0
jg 0x1401a34c6
cmp dword [rsp + 0x3c], 0
jg 0x1401a34c6
mov rcx, qword [rbx + 0x88]
movzx eax, word [rcx + 0x31c]
add ax, ax
mov word [rcx + 0x31c], ax
mov rax, qword [rbx + 0x88]
cmp word [rax + 0x31c], 0x3c
jbe 0x1401a3450
mov ecx, 0x3c
mov word [rax + 0x31c], cx
mov rcx, rbx
call fcn.1401a3700
mov rcx, rbx
call fcn.1401a2b50
test eax, eax
jns 0x1401a346d
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
mov rax, qword [rbx + 0x88]
inc dword [rax + 0x308]
mov rax, qword [rbx + 0x88]
cmp dword [rax + 0x308], 2
jbe 0x1401a3494
mov dword [rax + 0x308], 1
cmp dword [rbx + 0x284], 0
mov rcx, rbx
je 0x1401a34b4
mov dword [rbx + 0x284], 0
add rsp, 0x20
pop rbx
jmp fcn.14019e180
call fcn.1401a3700
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14019ef60
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1401aaac0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, gethostbyname
call fcn.14012b0b0
sub rsp, rax
mov rbx, rdx
mov rsi, rcx
call fcn.1401aac90
mov rdi, rax
test rax, rax
jne 0x1401aab99
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [0x1403b7110]
mov dword [rsp + 0x20], 0xaf
mov r8d, eax
lea edx, [rdi + 1]
lea ecx, [rdi + 2]
call fcn.1401bb520
lea rax, [0x1403b7128]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, [0x1403b712c]
lea rdx, [0x1403b7130]
mov qword [rsp + 0x20], rbx
lea ecx, [rdi + 5]
call fcn.1401ba990
call fcn.140289aa0
cmp dword [rax], 2
je 0x1401aab65
call fcn.140289aa0
cmp dword [rax], 6
je 0x1401aab65
mov dword [rsp + 0x20], 0xb8
lea r9, [0x1403b7150]
lea r8d, [rdi + 2]
jmp 0x1401aab7a
mov dword [rsp + 0x20], 0xb6
lea r9, [0x1403b7138]
mov r8d, Ordinal_133
mov edx, WSASetLastError
lea ecx, [rdx - 0x4d]
call fcn.1401bb520
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rcx, [0x1403b70b0]
call fcn.1401ab4b0
mov rbx, rax
test rax, rax
jne 0x1401aabc7
mov rcx, rdi
call fcn.14028ae54
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xor edx, edx
mov rcx, rbx
call fcn.1401aaf60
mov edx, 0x6a
mov r9, rdi
mov rcx, rbx
lea r8d, [rdx - 0x69]
call fcn.1401aaf90
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1401b8000
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rdi
mov eax, 0x460
call fcn.14012b0b0
sub rsp, rax
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor ebp, ebp
mov ebx, edx
mov rdi, rcx
test rcx, rcx
jne 0x1401b8036
xor eax, eax
jmp 0x1401b8123
lea rdx, [rsp + 0x20]
call fcn.14028a6f8
test eax, eax
js 0x1401b802f
xorps xmm2, xmm2
lea rcx, [rsp + 0x20]
mov edx, gethostbyname
call fcn.1401b7ca0
test ebx, ebx
je 0x1401b802f
lea rdx, [0x1403b9860]
mov qword [rsp + 0x498], r14
mov rcx, rdi
call fcn.14028adc4
mov r14, rax
test rax, rax
je 0x1401b8119
mov eax, 0x2000
mov qword [rsp + 0x490], rsi
test word [rsp + 0x26], ax
je 0x1401b80b0
cmp ebx, 0xffffffff
mov eax, 0x800
mov rcx, r14
cmove ebx, eax
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
call fcn.140299560
nop dword [rax]
mov edi, 0x400
test ebx, ebx
jle 0x1401b80be
cmp ebx, edi
cmovl edi, ebx
movsxd r8, edi
lea rcx, [rsp + 0x50]
mov r9, r14
mov edx, 1
call fcn.14028e684
mov rsi, rax
test eax, eax
jle 0x1401b80fa
movd xmm2, esi
lea rcx, [rsp + 0x50]
cvtdq2pd xmm2, xmm2
mov edx, edi
call fcn.1401b7ca0
add ebp, esi
test ebx, ebx
jle 0x1401b80b0
sub ebx, edi
test ebx, ebx
jg 0x1401b80b0
mov rcx, r14
call fcn.14028ae54
mov edx, 0x400
lea rcx, [rsp + 0x50]
call fcn.1400011e0
mov rsi, qword [rsp + 0x490]
mov r14, qword [rsp + 0x498]
mov eax, ebp
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0x460
pop rdi
pop rbp
pop rbx
ret

Function at 0x1401c3680
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
mov r10, rdx
test r8, r8
je 0x1401c36a7
sub r10, rcx
nop
movzx edx, byte [r10 + rcx]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
xor dl, al
or r9b, dl
sub r8, 1
jne 0x1401c3690
movzx eax, r9b
ret