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

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x140f2076c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f20776
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f2079f
pop rbp
sub rbp, 0x33
sub rbp, 0xf2076c
sub rsp, 0x20
jmp 0x140f207be
mov rax, 0xf2076c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x64339727
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f207dd
jmp 0x140f207f4
outsd dx, dword [rsi]
scasb al, byte [rdi]
invalid
Function at 0x1418880b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141888237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1418880e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1418880c7
add dl, dl
jne 0x1418880ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14188814e
xor eax, eax
add dl, dl
jne 0x1418880fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141888205
add dl, dl
jne 0x14188810e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14188811b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141888128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141888135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141888142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1418880d6
mov eax, 1
add dl, dl
jne 0x14188815e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14188816b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141888153
sub eax, ebx
mov ebx, 1
jne 0x1418881a4
mov ecx, 1
add dl, dl
jne 0x141888186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141888193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14188817b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1418880d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1418881c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1418881cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1418881b5
cmp eax, 0x7d00
jae 0x1418881f3
cmp eax, 0x500
jb 0x1418881ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1418880d6
cmp eax, 0x7f
ja 0x1418881f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1418880d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14188822a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1418880d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140112420
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14011242d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14011243d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140112425
lea eax, [rcx + 1]
jmp 0x14011244b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14011245e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140112444
sub eax, 3
jb 0x14011247e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1401124cd
sar eax, 1
movsxd rbp, eax
jb 0x1401124b4
jmp 0x14011248c
add ebx, ebx
jne 0x14011248a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401124b4
inc ecx
add ebx, ebx
jne 0x14011249a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401124b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1401124ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14011249c
add ecx, 2
jmp 0x1401124b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401123e2
jmp 0x14011242d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xbe000
mov dl, 0x3a
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14011251d
cmp rsi, rcx
jae 0x140112525
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140112504
cmp al, 0x8f
ja 0x140112504
cmp byte [rsi - 2], 0xf
je 0x14011250a
sub al, 0xe8
cmp al, 1
ja 0x1401124ee
cmp rsi, rcx
jae 0x140112525
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1401124f4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140112525
lodsb al, byte [rsi]
jmp 0x140112504
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x10f000]
mov eax, dword [rdi]
or eax, eax
je 0x14011258e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x114fcc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140112532
jns 0x140112567
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140112571
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140112588
mov qword [rbx], rax
add rbx, 8
jmp 0x140112552
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1401125c8
cmp al, 0xef
ja 0x1401125ba
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14011259a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1401125a9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14011261c
sub rsp, 0xffffffffffffff80
jmp 0x14008eae4
Function at 0x14000e9f0
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400be800]
xor rax, rsp
mov qword [rsp + 0x70], rax
movabs rax, 0xccc6bb7fe84b092f
movabs rcx, 0xb3dbff77df9713ca
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0xbf909be13fbb73f2
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
movabs rax, 0xba9db8d6cf957413
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
movabs rax, 0xccb6bb0ce829095b
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
movabs rax, 0xbfe99b993fd47380
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x58], rax
movabs rax, 0xbaf1b8bacff1743d
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
movdqa xmm0, xmmword [rsp + 0x30]
movdqa xmm1, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x68], rax
xorps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x30], xmm0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14000eb77
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14000eb77
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xfdbe3115
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14000eb72
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14000eb50
cmp r8d, 0xa8462309
je 0x14000eb7c
test r9d, r9d
jne 0x14000eb30
mov rax, qword [rax]
jmp 0x14000eb00
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rsp + 0x30]
add rax, r10
call rax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140067f30
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x14000ebc0
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400be800]
xor rax, rsp
mov qword [rsp + 0x50], rax
movabs rax, 0xbec6e4789a487d28
movzx r14d, r8b
mov qword [rsp + 0x20], rax
mov rbp, rdx
mov rax, qword [rsp + 0x20]
mov rsi, rcx
mov qword [rsp + 0x40], rax
movabs rax, 0xbfe99b993fad0bef
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
movabs rax, 0xccb6bb0ce829095b
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0xbfe99b993fd47380
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movdqa xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14000ece7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14000ece7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xdbb344f1
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14000ece2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14000ecc0
cmp r8d, 0xf2169749
je 0x14000ecec
test r9d, r9d
jne 0x14000eca0
mov rax, qword [rax]
jmp 0x14000ec70
mov edx, dword [rbx + 0x24]
mov rcx, rsi
add rdx, r10
movzx r8d, word [rdx + r9*2]
mov edx, dword [rbx + 0x1c]
add rdx, r10
mov eax, dword [rdx + r8*4]
lea rdx, [rsp + 0x40]
add rax, r10
call rax
mov edx, r14d
mov rcx, rbp
call rax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140067f30
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001b430
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14001b512
call fcn.1400304e0
test al, al
jne 0x14001b512
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x14001b462
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.140039a50
test rax, rax
je 0x14001b4a7
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.140039a50
mov rsi, rax
test rax, rax
je 0x14001b4a7
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 0x14001b4db
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.14002d8e0
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x14001b4c0
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 0x1400312f0
Capabilities:
Convert ip address from string

Disassembly:
cmp qword [rsp + 0x28], 0
mov qword [r9], 0
jge 0x140031305
mov eax, 0xfffffffe
ret
mov qword [rsp + 0x28], r9
mov r9b, 1
jmp fcn.140030d10

Function at 0x1400315f0
Capabilities:
Convert ip address from string

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400be800]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor edi, edi
mov r14, rdx
mov rbp, rcx
cmp byte [rcx + 0xa4e], dil
je 0x140031812
cmp byte [rdx + 0x18], dil
mov qword [rsp + 0xc8], rsi
lea rsi, [rdx + 0x18]
je 0x14003180a
lea r8, [rsp + 0x20]
mov rdx, rsi
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x14003180a
lea r8, [rsp + 0x70]
mov rdx, rsi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x14003180a
cmp byte [rsi], dil
lea rdx, str.Host__s:_d_was_resolved.
mov r9d, dword [r14 + 0x14]
mov rcx, rbp
mov qword [rsp + 0x100], rbx
mov rbx, qword [r14]
mov qword [rsp + 0xc0], r15
lea r15, str._none_
mov r8, r15
cmovne r8, rsi
call fcn.140027750
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.14001ba70
mov edx, 0x400
lea rcx, [rsp + 0x50]
call fcn.14001ba70
test rbx, rbx
je 0x140031777
mov r14d, reloc.WLDAP32.dll_Ordinal_32
mov ecx, dword [rbx + 4]
cmp ecx, 0x17
je 0x1400316e4
cmp ecx, 2
jne 0x14003176a
xor eax, eax
mov byte [rsp + 0x80], 0
cmp ecx, 2
lea rsi, [rsp + 0x30]
cmovne rax, r14
add rsi, rax
cmp ecx, 2
je 0x140031711
cmp ecx, 0x17
jne 0x14003172c
mov rdx, qword [rbx + 0x20]
add rdx, 8
jmp 0x140031719
mov rdx, qword [rbx + 0x20]
add rdx, 4
mov r9d, reloc.WLDAP32.dll_Ordinal_46
lea r8, [rsp + 0x80]
call sub.WS2_32.dll_inet_ntop
mov rcx, rsi
call fcn.14001ba90
test rax, rax
je 0x140031750
mov r8d, 2
lea rdx, [0x14009cd24]
mov rcx, rsi
call fcn.14001ba30
mov edi, eax
test edi, edi
jne 0x140031792
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.14001b9d0
mov edi, eax
test eax, eax
jne 0x140031792
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1400316d3
lea rcx, [rsp + 0x50]
call fcn.14001ba90
test rax, rax
je 0x1400317a3
lea rcx, [rsp + 0x50]
call fcn.14001baa0
jmp 0x1400317a6
lea rdx, str.too_many_IP__cant_show
mov rcx, rbp
call fcn.140027750
jmp 0x1400317e6
mov rax, r15
mov r8, rax
lea rdx, str.IPv6:__s
mov rcx, rbp
call fcn.140027750
lea rcx, [rsp + 0x30]
call fcn.14001ba90
test rax, rax
je 0x1400317d4
lea rcx, [rsp + 0x30]
call fcn.14001baa0
mov r15, rax
mov r8, r15
lea rdx, str.IPv4:__s
mov rcx, rbp
call fcn.140027750
lea rcx, [rsp + 0x30]
call fcn.14001ba40
lea rcx, [rsp + 0x50]
call fcn.14001ba40
mov r15, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140067f30
add rsp, 0xd0
pop r14
pop rdi
pop rbp
ret
Function at 0x14003a1f0
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.14001b820
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x14001cd05.2
mov rcx, rdi
mov rsi, rax
call case.0x14001cd05.2
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x14003a2a0
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.14001b820
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.14001b8b0
cmp rax, 0x3e8
ja 0x14003a2d1
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 0x14003a250
test rsi, rsi
je 0x14003a2ad
mov rcx, rsi
call fcn.14006e05c
test rbx, rbx
je 0x14003a2ba
mov rcx, rbx
call fcn.14006e05c
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 0x14003a2de
mov rcx, rsi
call fcn.14006e05c
test rbx, rbx
je 0x14003a2eb
mov rcx, rbx
call fcn.14006e05c
mov eax, 1
jmp 0x14003a2bc
Function at 0x14003a850
Capabilities:
Resolve dns

Disassembly:
push rbp
push rdi
push r12
push r13
sub rsp, 0x28
mov r13, r9
xor edi, edi
mov qword [r9], rdi
xor ebp, ebp
lea r9, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x14003a9ef
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x14003a9cf
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x20], r15
nop dword [rax]
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14003a8be
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14003a8b0
inc rbx
jmp 0x14003a8c0
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x14003a8d0
mov r15d, reloc.WS2_32.dll_recv
jmp 0x14003a8df
cmp eax, 0x17
jne 0x14003a978
mov r15d, Ordinal_33
cmp qword [rsi + 0x20], 0
je 0x14003a978
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x14003a978
cmp rax, r15
jb 0x14003a978
lea rcx, [rbx + 0x30]
add rcx, r15
call qword [fcn.140073cf4]
mov r14, rax
test rax, rax
je 0x14003a987
mov ecx, dword [rsi]
mov r8, r15
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [r14 + 0x30]
mov dword [rax + 0x10], r15d
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x28], rax
mov qword [r14 + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call fcn.140096ee0
test rbx, rbx
je 0x14003a965
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, r15
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call fcn.140096ee0
test rdi, rdi
cmove rdi, r14
test rbp, rbp
je 0x14003a975
mov qword [rbp + 0x28], r14
mov rbp, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x14003a8a0
jmp 0x14003a98d
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x60]
test rcx, rcx
je 0x14003a9a7
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x14003a9ca
test rdi, rdi
je 0x14003a9c6
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [fcn.14006e05c]
mov rdi, rbx
test rbx, rbx
jne 0x14003a9b1
xor edi, edi
jmp 0x14003a9de
test rdi, rdi
jne 0x14003a9de
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x58]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rdi
add rsp, 0x28
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x14003b7e0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov edx, Ordinal_46
mov rsi, r8
test r8, r8
je 0x14003b897
xor ebp, ebp
nop word [rax + rax]
mov ebx, 4
cmp rsi, rbx
cmovb rbx, rsi
cmp byte [0x1400bfae4], bpl
jne 0x14003b854
mov r9d, 2
mov dword [rsp + 0x40], ebp
mov r8d, 4
lea rdx, [rsp + 0x40]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
mov ecx, eax
neg eax
sbb edx, edx
and edx, 2
test ecx, ecx
jne 0x14003b897
mov eax, dword [rsp + 0x40]
jmp 0x14003b86e
imul eax, dword [0x1400bfae0], 0x41c64e6d
mov edx, ebp
add eax, 0x3039
mov dword [0x1400bfae0], eax
ror eax, 0x10
test rbx, rbx
je 0x14003b88e
sub rsi, rbx
nop word [rax + rax]
mov byte [rdi], al
inc rdi
shr eax, 8
sub rbx, 1
jne 0x14003b880
test rsi, rsi
jne 0x14003b810
mov rbx, qword [rsp + 0x30]
mov eax, edx
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14003b8b0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, r8
mov rbx, rdx
mov ecx, esi
sub rdi, 1
je 0x14003b96c
lea rbp, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
nop
cmp byte [0x1400bfae4], sil
jne 0x14003b919
mov r9d, 2
mov dword [rsp + 0x40], esi
mov r8d, 4
lea rdx, [rsp + 0x40]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
mov edx, eax
neg eax
sbb ecx, ecx
and ecx, 2
test edx, edx
jne 0x14003b96f
mov r8d, dword [rsp + 0x40]
jmp 0x14003b938
imul r8d, dword [0x1400bfae0], 0x41c64e6d
mov ecx, esi
add r8d, 0x3039
mov dword [0x1400bfae0], r8d
ror r8d, 0x10
cmp r8d, 0xfffffffc
jae 0x14003b8e0
mov eax, 0x8421085
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x3e
sub r8d, eax
movzx eax, byte [r8 + rbp]
mov byte [rbx], al
inc rbx
sub rdi, 1
jne 0x14003b8e0
mov byte [rbx], sil
mov rbx, qword [rsp + 0x30]
mov eax, ecx
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14003b990
Capabilities:
Generate random numbers via winapi

Disassembly:
mov r11, rsp
push rbp
push r12
push r14
sub rsp, 0xe0
mov rax, qword [0x1400be800]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, r8
mov r14, r8
and rax, 0xfffffffffffffffe
mov r12, rdx
cmp rax, 0x100
jae 0x14003baf5
test r14b, 1
je 0x14003baf5
mov qword [r11 - 0x20], rsi
mov ebp, Ordinal_46
mov qword [r11 - 0x28], rdi
lea rdi, [rsp + 0x30]
mov qword [r11 - 0x38], r15
lea r15, [r8 - 1]
shr r15, 1
mov qword [r11 + 8], rbx
mov rsi, r15
mov qword [r11 - 0x30], r13
je 0x14003ba97
xor r13d, r13d
nop word [rax + rax]
mov ebx, 4
cmp rsi, rbx
cmovb rbx, rsi
cmp byte [0x1400bfae4], r13b
jne 0x14003ba55
mov r9d, 2
mov dword [rsp + 0x20], r13d
mov r8d, 4
lea rdx, [rsp + 0x20]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
mov ecx, eax
neg ecx
sbb ebp, ebp
and ebp, 2
test eax, eax
jne 0x14003baae
mov eax, dword [rsp + 0x20]
jmp 0x14003ba70
imul eax, dword [0x1400bfae0], 0x41c64e6d
mov ebp, r13d
add eax, 0x3039
mov dword [0x1400bfae0], eax
ror eax, 0x10
test rbx, rbx
je 0x14003ba8e
sub rsi, rbx
nop dword [rax + rax]
mov byte [rdi], al
inc rdi
shr eax, 8
sub rbx, 1
jne 0x14003ba80
test rsi, rsi
jne 0x14003ba10
test ebp, ebp
jne 0x14003baae
mov r9, r14
lea rcx, [rsp + 0x30]
mov r8, r12
mov rdx, r15
call fcn.14002e170
mov r13, qword [rsp + 0xc8]
mov eax, ebp
mov rbx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xd0]
mov r15, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140067f30
add rsp, 0xe0
pop r14
pop r12
pop rbp
ret
mov eax, Ordinal_46
jmp 0x14003bad8