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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
mov dword [rbp + 0x10], 0x342a26
mov ecx, ebx
mov byte [rbp + 0x14], 1
nop dword [rax]
lea eax, [rcx + 0x45]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 3
jb 0x140070c10
lea rcx, [rbp + 0x10]
mov byte [rbp + 0x14], bl
call fcn.140242b70
mov rcx, rbx
mov dword [rbp + 0x10], 0x1004c4f
nop word [rax + rax]
lea eax, [rcx + 0x45]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 2
jb 0x140070c40
lea rdx, [rbp + 0x10]
mov byte [rbp + 0x13], bl
call fcn.140078e70
mov rcx, qword [0x14034a3d0]
mov edx, 8
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, rbx
mov dword [rbp + 0x10], 0x1001d65
nop dword [rax + rax]
lea eax, [rcx + 0x45]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 2
jb 0x140070c80
lea rcx, [rbp + 0x10]
mov byte [rbp + 0x13], bl
call fcn.140062f40
mov rcx, qword [0x14034a3d0]
mov edx, 5
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, rbx
mov dword [rbp + 0x10], 0x27220865
mov word [rbp + 0x14], 0x100
nop
lea eax, [rcx + 0x45]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 4
jb 0x140070cc0
lea rcx, [rbp + 0x10]
mov byte [rbp + 0x15], bl
call fcn.140062f40
mov rcx, qword [0x14034a3d0]
mov edx, 8
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, rbx
mov dword [rbp + 0x10], 0x1001b65
nop dword [rax + rax]
lea eax, [rcx + 0x45]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 2
jb 0x140070d00
lea rcx, [rbp + 0x10]
mov byte [rbp + 0x13], bl
call fcn.140062f40
mov ecx, 0x226
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x14034a3d0]
mov edx, 4
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movdqa xmm0, xmmword [0x140315ed0]
movdqa xmm1, xmmword [0x140315c50]
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x10], 0x1005812
movdqa xmm0, xmmword [str._tF_t_a]
movdqu xmmword [rbp - 0x20], xmm0
movdqu xmmword [rbp - 0x30], xmm1
nop word [rax + rax]
lea eax, [rbx + 0x45]
xor byte [rbp + rbx - 0x40], al
inc rbx
cmp rbx, 0x32
jb 0x140070d70
lea rcx, [rbp - 0x40]
mov byte [rbp - 0xd], 0
call fcn.140062f40
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret

Function at 0x140070da0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 3], 0
je 0x140070dc3
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x45]
xor byte [rax + rdx], cl
inc rax
cmp rax, 2
jb 0x140070db0
mov byte [rdx + 3], 0
call fcn.140078e70
lea rax, [0x140348b70]
add rsp, 0x28
ret

Function at 0x140070de0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 3], 0
je 0x140070e03
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 2
jb 0x140070df0
mov byte [rcx + 3], 0
mov rax, rcx
ret
Function at 0x140071130
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0xe], 0
je 0x140071153
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x45]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0xd
jb 0x140071140
mov byte [rdx + 0xe], 0
call fcn.140078e70
lea rax, [0x140348b70]
add rsp, 0x28
ret

Function at 0x140071170
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x5d], 0
je 0x140071193
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x45]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x5c
jb 0x140071180
mov byte [rdx + 0x5d], 0
call fcn.140078e70
lea rax, [0x140348b70]
add rsp, 0x28
ret

Function at 0x1400711b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x15], 0
je 0x1400711d3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x14
jb 0x1400711c0
mov byte [rcx + 0x15], 0
mov rax, rcx
ret
Function at 0x1400716b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1a], 0
je 0x1400716d3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x19
jb 0x1400716c0
mov byte [rcx + 0x1a], 0
mov rax, rcx
ret
Function at 0x140072d50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x14], 0
je 0x140072d73
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x13
jb 0x140072d60
mov byte [rcx + 0x14], 0
mov rax, rcx
ret

Function at 0x140072d80
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x13], 0
je 0x140072da3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x12
jb 0x140072d90
mov byte [rcx + 0x13], 0
mov rax, rcx
ret

Function at 0x140072db0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1b], 0
je 0x140072dd3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1a
jb 0x140072dc0
mov byte [rcx + 0x1b], 0
mov rax, rcx
ret

Function at 0x140072de0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
je 0x140072e03
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x140072df0
mov byte [rcx + 0xd], 0
mov rax, rcx
ret

Function at 0x140072e10
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2f], 0
je 0x140072e33
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2e
jb 0x140072e20
mov byte [rcx + 0x2f], 0
mov rax, rcx
ret

Function at 0x140072e40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x18], 0
je 0x140072e63
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x17
jb 0x140072e50
mov byte [rcx + 0x18], 0
mov rax, rcx
ret

Function at 0x140072e70
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x12], 0
je 0x140072e93
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x11
jb 0x140072e80
mov byte [rcx + 0x12], 0
mov rax, rcx
ret

Function at 0x140072ea0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x10], 0
je 0x140072ec3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x140072eb0
mov byte [rcx + 0x10], 0
mov rax, rcx
ret
Function at 0x140073380
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 4], 0
je 0x1400733a3
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x45]
xor byte [rax + rdx], cl
inc rax
cmp rax, 3
jb 0x140073390
mov byte [rdx + 4], 0
call fcn.140078e70
lea rax, [0x140348b70]
add rsp, 0x28
ret

Function at 0x1400733c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x31], 0
je 0x1400733e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x30
jb 0x1400733d0
mov byte [rcx + 0x31], 0
mov rax, rcx
ret

Function at 0x1400733f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x19], 0
je 0x140073413
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x18
jb 0x140073400
mov byte [rcx + 0x19], 0
mov rax, rcx
ret
Function at 0x140075340
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x16], 0
je 0x140075363
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x15
jb 0x140075350
mov byte [rcx + 0x16], 0
ret

Function at 0x140075370
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2b], 0
je 0x140075393
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2a
jb 0x140075380
mov byte [rcx + 0x2b], 0
ret

Function at 0x1400753a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1c], 0
je 0x1400753c3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1b
jb 0x1400753b0
mov byte [rcx + 0x1c], 0
ret

Function at 0x1400753d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x37], 0
je 0x1400753f3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x36
jb 0x1400753e0
mov byte [rcx + 0x37], 0
ret

Function at 0x140075400
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x3d], 0
je 0x140075423
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x3c
jb 0x140075410
mov byte [rcx + 0x3d], 0
ret

Function at 0x140075430
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x3b], 0
je 0x140075453
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x3a
jb 0x140075440
mov byte [rcx + 0x3b], 0
ret

Function at 0x140075460
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x3a], 0
je 0x140075483
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x39
jb 0x140075470
mov byte [rcx + 0x3a], 0
ret

Function at 0x140075490
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x3c], 0
je 0x1400754b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x3b
jb 0x1400754a0
mov byte [rcx + 0x3c], 0
ret

Function at 0x1400754c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x30], 0
je 0x1400754e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2f
jb 0x1400754d0
mov byte [rcx + 0x30], 0
ret

Function at 0x1400754f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x25], 0
je 0x140075513
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x24
jb 0x140075500
mov byte [rcx + 0x25], 0
ret

Function at 0x140075520
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x41], 0
je 0x140075543
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x40
jb 0x140075530
mov byte [rcx + 0x41], 0
ret

Function at 0x140075550
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x40], 0
je 0x140075573
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x3f
jb 0x140075560
mov byte [rcx + 0x40], 0
ret
Function at 0x140075580
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x3f], 0
je 0x1400755a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x3e
jb 0x140075590
mov byte [rcx + 0x3f], 0
ret

Function at 0x1400755b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x22], 0
je 0x1400755d3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x21
jb 0x1400755c0
mov byte [rcx + 0x22], 0
ret

Function at 0x1400755e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x26], 0
je 0x140075603
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x25
jb 0x1400755f0
mov byte [rcx + 0x26], 0
ret

Function at 0x140075610
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x24], 0
je 0x140075633
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x23
jb 0x140075620
mov byte [rcx + 0x24], 0
ret

Function at 0x140075640
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2e], 0
je 0x140075663
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2d
jb 0x140075650
mov byte [rcx + 0x2e], 0
ret

Function at 0x140075670
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2d], 0
je 0x140075693
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x45]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2c
jb 0x140075680
mov byte [rcx + 0x2d], 0
ret
Function at 0x14008a470
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140340610]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14008a582
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14008a582
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + rdx + 0xb0]
test ecx, ecx
jne 0x14008a4e9
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x14008a58d
lea rbx, [rdx + rcx]
mov ebp, dword [rax + rdx + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x50]
cmp rbx, rbp
jae 0x14008a570
mov edx, dword [rbx + 4]
test edx, edx
je 0x14008a570
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [rdx - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, r8
je 0x14008a549
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x14008a565
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14008acd0
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x14008a501
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x14008a58d
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140226780
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14008bc40
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
mov rax, qword [0x140340610]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
lea r9, [rsp + 0x20]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov ebx, r14d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14008bcce
test rbx, rbx
je 0x14008bc96
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, ntohl
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14008bc80
test eax, eax
jns 0x14008bcef
test rbx, rbx
je 0x14008bcf4
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14008bdf1
test rbx, rbx
jne 0x14008bcfb
xor eax, eax
jmp 0x14008bdf1
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rdi
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x14008bdd1
mov eax, edi
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rbx
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r14b
jne 0x14008bd50
lea rcx, [rsp + 0x28]
call fcn.140061b70
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x14008bd70
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call fcn.140236df4
test eax, eax
je 0x14008be07
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14008bdc7
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008bdc2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008be5a
call fcn.1402267a0
inc edi
cmp edi, dword [rbx]
jb 0x14008bd14
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140226780
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14008be55
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008be50
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008be5a
call fcn.1402267a0
mov rax, rdi
jmp 0x14008bde4
call fcn.140237b6c
int3
Function at 0x1400b30a0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x140340610]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, qword [rcx]
mov ebp, r8d
mov rsi, rcx
lea r8, [rsp + 0x20]
mov ebx, 2
xor r14d, r14d
mov ecx, ebx
mov r15, r9
mov r12, qword [r13 + 0x11b0]
mov rdi, rdx
mov dword [r9], r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400b310c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1400d2730
jmp 0x1400b31ea
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rsp + 0x58]
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400b313c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1400d2730
jmp 0x1400b31ea
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400b3160
cmp ecx, 1
je 0x1400b314f
mov ebx, r14d
call fcn.1400b3bd0
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400b3165
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x1402728c4]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, ntohl
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.1400c3a40
lea rcx, [rsp + 0x58]
call fcn.1400b2f30
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400b3830
test al, al
je 0x1400b31d9
mov dword [r15], 1
jmp 0x1400b31e8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400bfa30
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140226780
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400b30a0
Function at 0x1400c3310
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x1403452a0], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400c33bf
test rdi, rdi
je 0x1400c33bf
mov eax, dword [0x1403452a4]
test eax, eax
jne 0x1400c33b7
mov r8d, dword [rsp + 0x60]
lea rsi, str.recv
mov r9, rsi
lea rcx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rdx, rdi
call fcn.1400c3060
mov ecx, 2
call fcn.14023658c
mov r9d, dword [rsp + 0x60]
lea rdx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
call fcn.1400c3a10
mov rcx, qword [0x140345298]
call fcn.1402360c0
call fcn.140242dc0
mov dword [rax], ntohl
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1403452a4], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x1400c33e7
mov r8d, dword [rsp + 0x60]
lea rcx, str.RECV__s:_d_recv__lu____ld_n
mov r9d, esi
mov dword [rsp + 0x20], eax
mov rdx, rdi
call fcn.1400c3060
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x1403452a0], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400c350f
test rdi, rdi
je 0x1400c350f
mov eax, dword [0x1403452a4]
test eax, eax
jne 0x1400c3507
mov r8d, dword [rsp + 0x60]
lea rsi, str.send
mov r9, rsi
lea rcx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rdx, rdi
call fcn.1400c3060
mov ecx, 2
call fcn.14023658c
mov r9d, dword [rsp + 0x60]
lea rdx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
call fcn.1400c3a10
mov rcx, qword [0x140345298]
call fcn.1402360c0
call fcn.140242dc0
mov dword [rax], ntohl
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1403452a4], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x1400c3537
mov r8d, dword [rsp + 0x60]
lea rcx, str.SEND__s:_d_send__lu____ld_n
mov r9d, esi
mov dword [rsp + 0x20], eax
mov rdx, rdi
call fcn.1400c3060
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400d2ab0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x140340610]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, qword [rcx]
mov ebp, r8d
mov rsi, rcx
lea r8, [rsp + 0x20]
mov ebx, 2
xor r14d, r14d
mov ecx, ebx
mov r15, r9
mov r12, qword [r13 + 0x11b0]
mov rdi, rdx
mov dword [r9], r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400b310c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1400d2730
jmp 0x1400b31ea
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rsp + 0x58]
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400b313c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1400d2730
jmp 0x1400b31ea
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400b3160
cmp ecx, 1
je 0x1400b314f
mov ebx, r14d
call fcn.1400b3bd0
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400b3165
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x1402728c4]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, ntohl
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.1400c3a40
lea rcx, [rsp + 0x58]
call fcn.1400b2f30
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400b3830
test al, al
je 0x1400b31d9
mov dword [r15], 1
jmp 0x1400b31e8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400bfa30
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140226780
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400b30a0