joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18009bb80
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x18009bba8
add rsp, 0x20
pop r14
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x18009bc1c
test rax, rax
jle 0x18009bbfc
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x18009bc1c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18009bc1c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret

Function at 0x18009bc40
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18009bc6f
xor eax, eax
mov qword [0x1802e6958], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x18009bc80]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x1800ad6c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xa0
mov ebx, dword [reloc.WS2_32.dll_accept]
movaps xmmword [rax - 0x18], xmm6
movdqa xmm6, xmmword [0x180170c10]
movaps xmmword [rax - 0x28], xmm7
movdqa xmm7, xmmword [0x180170bf0]
movaps xmmword [rax - 0x38], xmm8
movdqa xmm8, xmmword [0x180169bc0]
movaps xmmword [rax - 0x48], xmm9
movdqa xmm9, xmmword [0x1801adbf0]
movaps xmmword [rax - 0x58], xmm10
movdqa xmm10, xmmword [0x180170cb0]
movaps xmmword [rax - 0x68], xmm11
movdqa xmm11, xmmword [str.5555555555555555]
movaps xmmword [rax - 0x78], xmm12
movdqa xmm12, xmmword [str.::::]
movzx eax, word [0x1801abf7c]
xor ecx, ecx
movsd xmm0, qword [str.VYYPVIO]
mov edx, dword [0x1801abf78]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x1801abf7e]
mov byte [rsp + 0x2e], al
mov dword [rsp + 0x28], edx
movsd qword [rsp + 0x20], xmm0
cmp ebx, 2
jl 0x1800ad8a0
movdqa xmm1, xmm8
movdqa xmm0, xmm8
punpckldq xmm1, xmm8
mov ecx, recv
pmuldq xmm1, xmm9
punpckhdq xmm0, xmm8
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm8
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm8
pmulld xmm0, xmm12
psubd xmm1, xmm0
movd xmm0, dword [str.VYYPVIO]
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm11
xorps xmm1, xmm0
movdqa xmm0, xmm7
movd dword [rsp + 0x20], xmm1
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm9
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm7
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm7
pmulld xmm0, xmm12
psubd xmm1, xmm0
movd xmm0, dword [rsp + 0x24]
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm11
xorps xmm1, xmm0
movdqa xmm0, xmm6
movd dword [rsp + 0x24], xmm1
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm9
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm9
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm6
pmulld xmm0, xmm12
psubd xmm1, xmm0
movd xmm0, edx
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm11
xorps xmm1, xmm0
movd dword [rsp + 0x28], xmm1
mov eax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0xf
jl 0x1800ad8b0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [0x1802e7245], 0
mov r8, rax
je 0x1800ad91e
movzx ecx, byte [reloc.WS2_32.dll_accept]
mov rdx, qword [0x1802e6f58]
mov byte [0x1802e78d4], 1
mov byte [rdx + rax], cl
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1800ad72f
cmp byte [0x1802e78d4], 0
je 0x1800ad945
mov rax, qword [0x1802e6f60]
mov byte [0x1802e78d4], 0
movzx ecx, byte [rax + r8]
mov rax, qword [0x1802e6f58]
mov byte [rax + r8], cl
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1800ad72f
Function at 0x1800aeba0
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 0x1800aec01
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 0x1800aebc0
mov ecx, dword [r9]
jmp 0x1800aeceb
cmp ecx, 0x4e0
jb 0x1800aeceb
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 0x1800aec20
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 0x1800aec70
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 0x1800b8830
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800b89dd
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180065d70
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800b89a6
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800b8920
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800b8995
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800b895d
mov r10, qword [rdx]
cmp r10, rax
je 0x1800b8957
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1800b8995
cmp r9, rdx
je 0x1800b8971
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1800b89b7
cmp r9, rdx
jne 0x1800b8962
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1800b88d0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800b8995
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x1800ce600
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13f0
call fcn.18015a490
sub rsp, rax
mov rax, qword [0x1802e4040]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x24], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov r8d, 0x3e
lea rdx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
lea rcx, [rsp + 0x30]
call fcn.180046b60
nop
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov edx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov ecx, 1
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x1800ce690
mov dword [rsp + 0x50], 0x270
mov r15d, dword [rsp + 0x40]
dec r15d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x24], 1
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x30]
test r14, r14
je 0x1800ce7c0
mov eax, 0x80000000
xor r15d, eax
movzx ebx, byte [rsp + 0x20]
nop dword [rax]
lea rcx, [rsp + 0x50]
cmp r15d, 0x7fffffff
jne 0x1800ce717
call fcn.1800aeba0
mov ecx, eax
jmp 0x1800ce758
lea esi, [r15 - 0x7fffffff]
call fcn.1800aeba0
mov ebp, esi
mov ecx, eax
imul rcx, rbp
cmp ecx, esi
jae 0x1800ce754
mov eax, esi
neg eax
xor edx, edx
div esi
mov esi, edx
cmp ecx, edx
jae 0x1800ce754
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.1800aeba0
mov ecx, eax
imul rcx, rbp
cmp ecx, esi
jb 0x1800ce740
shr rcx, 0x20
mov r8d, 0x80000000
lea eax, [rcx + r8]
xor eax, r8d
lea rcx, [rsp + 0x30]
cmp r13, 0xf
cmova rcx, r12
cdqe
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1800ce7a5
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1800ce79a
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800ce7b6
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.180056ec0
sub r14, 1
jne 0x1800ce700
cmp r13, 0xf
jbe 0x1800ce7fb
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1800ce7f3
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ce7f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.180159e80
mov rax, rdi
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.18015a430
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1800e9790
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1800e9872
call fcn.180106110
test al, al
jne 0x1800e9872
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x1800e97c2
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.180111530
test rax, rax
je 0x1800e9807
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.180111530
mov rsi, rax
test rax, rax
je 0x1800e9807
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x1800e983b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.1800fff80
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1800e9820
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1800f1ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x48
mov rax, qword [rcx]
lea rbp, [rcx + 0x18]
mov r12, qword [rbp]
mov rdi, rdx
mov r15, r8
mov r10, rcx
mov edx, dword [rax + 8]
and edx, 0xa
cmp edx, 0xa
jne 0x1800f1f2e
add r12, 0x348
jmp 0x1800f1f35
add r12, 0x2d8
cmp edx, 0xa
mov eax, 0x5f8
mov ecx, 0x540
mov esi, 0
cmovne eax, ecx
mov qword [r9], rsi
mov bl, 1
add rax, rdi
je 0x1800f20e0
cmp byte [rax + 0x6c], sil
je 0x1800f20e0
cmp qword [rdi + 0xca0], rsi
je 0x1800f20e0
mov rax, qword [rdi + 0xf8]
mov qword [rsp + 0x88], r13
test rax, rax
je 0x1800f1f90
test byte [rax + 4], 0x10
lea r13, [rax + 0x118]
jne 0x1800f1f97
lea r13, [rdi + 0xca8]
cmp qword [rdi + 0x6c0], rsi
jbe 0x1800f208f
mov qword [rsp + 0x40], r14
mov r14, rsi
nop dword [rax]
mov rbx, qword [rdi + 0xca0]
add rbx, r14
cmp qword [rbx + 0x18], 0
je 0x1800f2069
mov rdx, qword [rbx]
mov rcx, qword [r15]
call fcn.1801000b0
test eax, eax
je 0x1800f2069
mov rcx, qword [rbp]
mov rdx, qword [rbx + 8]
cmp byte [rcx + 0x3c0], 0
jne 0x1800f1ff0
test rdx, rdx
je 0x1800f2005
jmp 0x1800f2069
test rdx, rdx
je 0x1800f2069
mov rcx, qword [rcx + 0x98]
call fcn.1801000b0
test eax, eax
je 0x1800f2069
mov rcx, qword [rbp]
mov eax, dword [rbx + 0x38]
cmp byte [rcx + 0x3c1], 0
jne 0x1800f201c
cmp eax, 0xffffffff
je 0x1800f2029
jmp 0x1800f2069
cmp eax, 0xffffffff
je 0x1800f2069
cmp dword [rcx + 0x7d0], eax
jne 0x1800f2069
mov eax, dword [rbx + 0x34]
cmp dword [r15 + 0x1c], eax
jne 0x1800f2069
mov eax, dword [rbx + 0x3c]
cmp dword [r15 + 0x20], eax
jne 0x1800f2069
mov rcx, qword [rcx + 0x3e0]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rcx]
call fcn.1801000b0
test eax, eax
je 0x1800f2069
lea r8, [rbx + 0x40]
mov rdx, r12
mov rcx, rdi
call fcn.1800f2d80
test al, al
jne 0x1800f20f0
inc rsi
add r14, 0xb0
cmp rsi, qword [rdi + 0x6c0]
jb 0x1800f1fb0
mov bl, 1
mov r10, qword [rsp + 0x80]
mov r14, qword [rsp + 0x40]
mov rax, qword [r10 + 0x18]
lea r9, str.Found
mov ecx, dword [r15 + 0x1c]
lea r8, str._s_cached_session_ID_for__s:___s:_d
mov dword [rsp + 0x30], ecx
test bl, bl
mov rcx, qword [r15]
mov rdx, qword [rax + 0x3e0]
lea rax, [0x180165da4]
mov qword [rsp + 0x28], rcx
cmovne r9, rax
mov rcx, qword [rdx]
mov rdx, r10
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call fcn.1800f9920
mov r13, qword [rsp + 0x88]
movzx eax, bl
add rsp, 0x48
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
inc dword [r13]
mov eax, dword [r13]
mov rcx, qword [rsp + 0x98]
mov dword [rbx + 0x30], eax
mov rax, qword [rbx + 0x18]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1800f211e
mov rax, qword [rbx + 0x20]
mov qword [rcx], rax
xor bl, bl
jmp 0x1800f2082
Function at 0x1800f22a0
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1802e4040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov dword [rcx + 0x20], r8d
mov rdi, rcx
mov rax, qword [rdx]
mov ebp, 0x1b
mov ecx, dword [rax + 8]
mov rax, qword [rdx + 0x18]
and ecx, 0xa
cmp cl, 0xa
jne 0x1800f22f5
mov rbx, qword [rax + 0xf0]
mov rsi, qword [rax + 0xf8]
mov ecx, dword [rax + 0x100]
jmp 0x1800f2303
mov rbx, qword [rax + 0x68]
mov rsi, qword [rax + 0x70]
mov ecx, dword [rax + 0x7cc]
xor r14d, r14d
mov dword [rdi + 0x1c], ecx
test rbx, rbx
je 0x1800f2434
cmp byte [rbx], r14b
je 0x1800f2434
mov rcx, rbx
call qword [case.0x1800f354c.1]
mov qword [rdi], rax
mov rcx, rax
test rax, rax
je 0x1800f2439
test rsi, rsi
je 0x1800f236e
mov r8, rsi
sub r8, rbx
nop
movzx edx, byte [rbx]
movzx eax, byte [rbx + r8]
sub edx, eax
jne 0x1800f2353
inc rbx
test eax, eax
jne 0x1800f2340
test edx, edx
je 0x1800f236e
mov rcx, rsi
call qword [case.0x1800f354c.1]
mov qword [rdi + 8], rax
test rax, rax
jne 0x1800f2372
jmp 0x1800f2439
mov qword [rdi + 8], rcx
mov rbx, qword [rdi]
test rbx, rbx
je 0x1800f23cb
cmp byte [rbx], r14b
je 0x1800f23cb
lea r8, [rsp + 0x20]
mov rdx, rbx
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1800f23a5
mov dword [rdi + 0x18], 1
mov eax, r14d
jmp 0x1800f246c
lea r8, [rsp + 0x20]
mov rdx, rbx
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1800f23cb
mov dword [rdi + 0x18], 2
mov eax, r14d
jmp 0x1800f246c
mov rax, qword [rdi]
mov rbx, 0xffffffffffffffff
mov dword [rdi + 0x18], r14d
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x1800f23e0
test rbx, rbx
je 0x1800f23f8
cmp byte [rax + rbx - 1], 0x2e
jne 0x1800f23f8
dec rbx
cmp rbx, 0xffff
jae 0x1800f242f
lea rdx, [rbx + 1]
mov ecx, 1
call qword [0x1802e3548]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x1800f2439
mov rdx, qword [rdi]
mov r8, rbx
mov rcx, rax
call fcn.1800fffd0
mov rax, qword [rdi + 0x10]
mov byte [rbx + rax], r14b
mov eax, r14d
jmp 0x1800f246c
mov ebp, 2
mov rcx, qword [rdi + 8]
cmp rcx, qword [rdi]
je 0x1800f2448
call qword [fcn.18015b2ca]
mov rcx, qword [rdi + 0x10]
call qword [fcn.18015b2ca]
mov rcx, qword [rdi]
call qword [fcn.18015b2ca]
mov eax, ebp
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi], r14
mov dword [rdi + 0x18], r14d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18015a430
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1800f96f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
cmp byte [rcx + 0xa6e], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x1800f97bb
cmp qword [rcx + 0x280], 0
je 0x1800f976e
mov qword [rsp + 0x40], rbx
call fcn.1800e3ad0
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.1800e4590
mov rcx, qword [rdi + 0x1f8]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x280]
movzx edx, bl
mov rcx, rdi
call fcn.1800e4590
mov rbx, qword [rsp + 0x40]
jmp 0x1800f97bb
mov ecx, esi
test edx, edx
je 0x1800f977e
sub ecx, 1
je 0x1800f977e
cmp ecx, 1
jne 0x1800f97bb
mov r9, qword [rdi + 0x1f0]
lea rax, [0x1801afd30]
lea rcx, [rsi + rsi*2]
mov edx, 2
add rcx, rax
mov r8d, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r9, qword [rdi + 0x1f0]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1800fd900
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cdqe
add rsp, 0x28
ret
Function at 0x1800fdbe0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x1800fdc0a
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, str.LoadLibraryExW
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1801b0840]
mov rcx, rbx
mov r14, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_wcspbrk
test rax, rax
je 0x1800fdc6b
mov rcx, rbx
test r14, r14
je 0x1800fdc58
xor edx, edx
mov r8d, 8
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test r14, r14
je 0x1800fdca2
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800fdca2
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r15d, eax
test eax, eax
je 0x1800fdd6c
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp word [rbx + rdx*2], bp
jne 0x1800fdcd0
lea ecx, [rax + 1]
add rcx, rdx
add rcx, rcx
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1800fdd5e
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1800fdd5e
mov rax, rdi
cmp word [rsi + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x1800fdd03
mov dword [rsi + rax*2], 0x5c
inc rdi
cmp word [rsi + rdi*2], bp
jne 0x1800fdd15
add rdi, rdi
sub rdi, rbx
add rdi, rsi
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rbx + rdi], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x1800fdd30
mov rcx, rsi
test r14, r14
je 0x1800fdd55
xor edx, edx
mov r8d, 8
call r14
jmp 0x1800fdd5b
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
mov rcx, rsi
call qword [fcn.18015b2ca]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret