joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400fd4b0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1401cbbd0]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx ebp, dl
mov rsi, rcx
lea rdx, [rcx + 0x60]
lea rcx, [rsp + 0x28]
call fcn.14002b620
nop
xor ebx, ebx
xor r14d, r14d
mov rdi, qword [rsi + 0x38]
sub rdi, qword [rsi + 0x30]
je 0x1400fd560
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x1400fd734
cmp rdi, 0x1000
jb 0x1400fd53e
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400fd73a
call fcn.1400e8108
test rax, rax
je 0x1400fd72e
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400fd549
mov rcx, rdi
call fcn.1400e8108
mov rbx, rax
lea r14, [rbx + rdi]
mov r8, qword [rsi + 0x38]
mov rdx, qword [rsi + 0x30]
sub r8, rdx
mov rcx, rbx
call fcn.1400ea7b0
mov rax, qword [rsi + 0x38]
sub rax, qword [rsi + 0x30]
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x28]
cmp rax, 1
jne 0x1400fd57d
cmp byte [rbx], 0xcc
jmp 0x1400fd58c
cmp rax, 2
jb 0x1400fd592
cmp byte [rbx], 0xf3
jne 0x1400fd592
cmp byte [rbx + 1], 0xc3
je 0x1400fd726
lea rcx, [rsp + 0x28]
cmp r15, 0x10
cmovae rcx, rsi
mov rdi, qword [rsp + 0x38]
cmp rdi, 3
jne 0x1400fd5c6
mov r8, rdi
lea rdx, [0x14013fb88]
call fcn.1400eaeb0
test eax, eax
jne 0x1400fd5c6
test bpl, bpl
je 0x1400fd726
lea rcx, [rsp + 0x28]
cmp r15, 0x10
cmovae rcx, rsi
cmp rdi, 3
jne 0x1400fd5f0
mov r8, rdi
lea rdx, [0x1401406a8]
call fcn.1400eaeb0
test eax, eax
je 0x1400fd726
lea rbp, [rsp + 0x28]
cmp r15, 0x10
cmovae rbp, rsi
cmp rdi, 4
jb 0x1400fd688
lea r8, [rdi - 3]
add r8, rbp
sub r8, rbp
mov edx, 0x69
mov rcx, rbp
call fcn.140129560
mov r9, rax
test rax, rax
je 0x1400fd688
lea r12, str.iret
nop dword [rax]
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
inc rcx
cmp al, byte [r12 + rcx - 1]
jne 0x1400fd659
cmp rcx, 4
jne 0x1400fd640
xor eax, eax
jmp 0x1400fd65e
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400fd71d
inc r9
lea r8, [rdi - 3]
add r8, rbp
sub r8, r9
mov edx, 0x69
mov rcx, r9
call fcn.140129560
mov r9, rax
test rax, rax
jne 0x1400fd630
xor dil, dil
test rbx, rbx
je 0x1400fd6c0
sub r14, rbx
cmp r14, 0x1000
jb 0x1400fd6b4
add r14, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400fd72e
mov rbx, rcx
mov rdx, r14
mov rcx, rbx
call fcn.1400e846c
nop
cmp r15, 0x10
jb 0x1400fd6f3
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400fd6eb
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fd740
mov rcx, rsi
call fcn.1400e846c
movzx eax, dil
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400e7e50
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
cmp r9, rbp
jne 0x1400fd688
mov dil, 1
jmp 0x1400fd68b
call fcn.1400c5da0
int3
call fcn.14002c670
int3
call fcn.140028140
nop
call fcn.1400c5da0
int3
Function at 0x1400fda60
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
movzx r9d, dl
movabs r14, 0xcbf29ce484222325
xor r9, r14
movabs rsi, 0x100000001b3
imul r9, rsi
movzx eax, byte [rbp + 0x29]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2a]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2b]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2c]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2d]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2e]
xor r9, rax
imul r9, rsi
movzx eax, byte [rbp + 0x2f]
xor r9, rax
imul r9, rsi
mov rcx, qword [rcx + 0x50]
and rcx, r9
shl rcx, 4
add rcx, qword [rbx + 0x38]
mov rax, qword [rcx + 8]
mov r9, qword [rbx + 0x28]
cmp rax, r9
je 0x1400fdb21
mov rcx, qword [rcx]
cmp rdx, qword [rax + 0x10]
je 0x1400fdb23
nop
cmp rax, rcx
je 0x1400fdb21
mov rax, qword [rax + 8]
cmp rdx, qword [rax + 0x10]
jne 0x1400fdb10
jmp 0x1400fdb23
xor eax, eax
test rax, rax
cmove rax, r9
cmp rax, r9
je 0x1400fdb76
lea rbx, [rax + 0x18]
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x1400fdb52
mov rdx, r8
mov rcx, rax
call fcn.1400f23a0
add qword [rbx + 8], 0xa8
jmp 0x1400fdb5d
mov rdx, rax
mov rcx, rbx
call fcn.1400ef330
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], 0
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.1400ef330
lea r9, [rbp - 0x20]
lea r8, [rbp + 0x28]
lea rdx, [rbp - 0x30]
lea rcx, [rbx + 0x20]
call fcn.1400fba30
mov rdx, qword [rbp + 0x28]
movzx ecx, dl
xor rcx, r14
imul rcx, rsi
movzx eax, byte [rbp + 0x29]
xor rcx, rax
imul rcx, rsi
movzx eax, byte [rbp + 0x2a]
xor rcx, rax
imul rcx, rsi
movzx eax, byte [rbp + 0x2b]
xor rcx, rax
imul rcx, rsi
movzx eax, byte [rbp + 0x2c]
xor rcx, rax
imul rcx, rsi
movzx eax, byte [rbp + 0x2d]
xor rcx, rax
imul rcx, rsi
movzx eax, byte [rbp + 0x2e]
xor rcx, rax
imul rcx, rsi
movzx eax, byte [rbp + 0x2f]
xor rcx, rax
imul rcx, rsi
and rcx, qword [rbx + 0x50]
shl rcx, 4
add rcx, qword [rbx + 0x38]
mov rax, qword [rcx + 8]
cmp rax, qword [rbx + 0x28]
je 0x1400fdcc7
mov rcx, qword [rcx]
cmp rdx, qword [rax + 0x10]
je 0x1400fdc37
cmp rax, rcx
je 0x1400fdcc7
mov rax, qword [rax + 8]
cmp rdx, qword [rax + 0x10]
jne 0x1400fdc24
lea r14, [rax + 0x18]
mov rdi, qword [rbp - 0x20]
test rdi, rdi
je 0x1400fdcb9
mov rbx, rdi
mov rsi, qword [rbp - 0x18]
cmp rdi, rsi
je 0x1400fdc64
mov rcx, rbx
call fcn.1400f2940
add rbx, 0xa8
cmp rbx, rsi
jne 0x1400fdc50
mov rcx, qword [rbp - 0x10]
sub rcx, rdi
movabs rax, 0xc30c30c30c30c30d
imul rcx
add rdx, rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0xa8
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400fdcb1
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fdcc1
mov rcx, rdi
call fcn.1400e846c
mov rax, r14
jmp 0x1400fdb60
call fcn.1400c5da0
nop
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.140122634
int3
Function at 0x140100130
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
mov r8, qword [r9 + 8]
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov r11, qword [rdx + 8]
mov rbx, r11
cmp r11, r8
je 0x1401001e4
mov rax, qword [r10]
mov rcx, qword [rdx]
cmp rax, qword [r11 + 0x10]
je 0x1401001e6
cmp rbx, rcx
je 0x1401001e4
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x1401001d3
jmp 0x1401001e6
xor ebx, ebx
test rbx, rbx
je 0x140100291
mov rax, qword [rdx]
mov qword [rsp + 0x38], rdi
cmp r11, rbx
jne 0x140100214
cmp rax, rbx
jne 0x14010020a
mov qword [rdx], r8
mov qword [rdx + 8], r8
jmp 0x14010021f
mov r8, qword [rbx + 8]
mov qword [rdx + 8], r8
jmp 0x14010021f
cmp rax, rbx
jne 0x14010021f
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [r9 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140100274
mov qword [rsp + 0x30], rsi
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14010026f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x14010026f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + htons]
mov rsi, qword [rsp + 0x30]
mov edx, 0x28
mov rcx, rbx
call fcn.1400e846c
mov rdi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1401027d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov r14, r8
mov rsi, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x1401028c4
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x140102858
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x140102830
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140102050
mov dword [rsi], eax
test eax, eax
jne 0x140102881
mov rax, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rax + 0x48]
call fcn.14010d340
mov dword [rsi], eax
cmp dword [rsi], r12d
jne 0x1401028ef
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140102510
test eax, eax
je 0x1401028c4
mov ecx, dword [r14]
test eax, ecx
jne 0x1401028e8
or ecx, eax
xor r8d, r8d
mov dword [r14], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.140103690
cmp al, 2
jne 0x1401028c4
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x140102810
mov eax, 0x1a
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
mov eax, 0x37
jmp 0x1401028c9
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.140103690
cmp al, 2
jne 0x140102963
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x140102963
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x14010294a
lea rax, [rsp + 0x20]
sub r11, rax
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x140102920
lea rcx, [rsp + 0x20]
call fcn.140102510
cmp eax, 0x10
jne 0x140102963
or dword [r14], eax
xor eax, eax
jmp 0x1401028c9
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x1401028c9
Function at 0x140104ca0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov ebp, r9d
xor r8d, r8d
mov rsi, rdx
mov rbx, rcx
cmp rdi, 0xffffffffffffffff
jne 0x140104d04
movzx eax, byte [rdx]
mov edi, r8d
test al, al
je 0x140104cf8
nop dword [rax]
nop word [rax + rax]
imul r8d, r8d, 0x1003f
inc rdi
movzx eax, al
add r8d, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x140104ce0
test rdi, rdi
jne 0x140104d32
xor eax, eax
jmp 0x140104db7
mov rdx, r8
test rdi, rdi
je 0x140104cfd
nop dword [rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x140104d2c
imul r8d, r8d, 0x1003f
inc rdx
add r8d, eax
cmp rdx, rdi
jb 0x140104d10
jmp 0x140104cf8
mov r8d, send
mov eax, dword [rcx + 0x128]
mov edx, r8d
movzx ecx, byte [rcx + 0x12c]
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, r8d
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x140104daf
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x140104d9e
cmp dword [rbx + 0x14], ebp
jne 0x140104d9e
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x140104d8f
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.1400eaeb0
test eax, eax
je 0x140104da6
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140104d76
test rbx, rbx
je 0x140104daf
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14010eca0
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
cmp dword [0x1401ce648], 0
jne 0x14010ed84
xorps xmm0, xmm0
mov word [rbp - 0x79], 2
xor eax, eax
lea rcx, [rbp - 0x79]
movups xmmword [rbp - 0x77], xmm0
mov dword [rbp + 0x19], eax
movups xmmword [rbp - 0x67], xmm0
mov word [rbp + 0x1d], ax
movups xmmword [rbp - 0x57], xmm0
movups xmmword [rbp - 0x47], xmm0
movups xmmword [rbp - 0x37], xmm0
movups xmmword [rbp - 0x27], xmm0
movups xmmword [rbp - 0x17], xmm0
movups xmmword [rbp - 7], xmm0
movups xmmword [rbp + 9], xmm0
call fcn.14010e070
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movaps xmm0, xmmword [rbp - 0x79]
movaps xmm1, xmmword [rbp - 0x69]
mov eax, dword [rbp + 0x47]
movaps xmmword [0x1401ce5b0], xmm0
movaps xmmword [0x1401ce5c0], xmm1
movaps xmm1, xmmword [rbp - 0x49]
movaps xmmword [0x1401ce5e0], xmm1
movaps xmm1, xmmword [rbp - 0x29]
movaps xmmword [0x1401ce600], xmm1
movaps xmm1, xmmword [rbp - 9]
mov dword [rbp - 0x59], eax
movaps xmm0, xmmword [rbp - 0x59]
movaps xmmword [0x1401ce5d0], xmm0
movaps xmm0, xmmword [rbp - 0x39]
movaps xmmword [0x1401ce5f0], xmm0
movaps xmm0, xmmword [rbp - 0x19]
movaps xmmword [0x1401ce610], xmm0
movaps xmm0, xmmword [rbp + 7]
movaps xmmword [0x1401ce620], xmm1
movsd xmm1, qword [rbp + 0x17]
movaps xmmword [0x1401ce630], xmm0
movsd qword [0x1401ce640], xmm1
mov dword [0x1401ce648], 1
lea rax, [0x1401ce5b0]
add rsp, 0xf0
pop rbp
ret

Function at 0x14010efe0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x1401ce64c]
nop
test eax, eax
jne 0x14010f047
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x60]
mov qword [0x1401ce650], rax
mov eax, 1
xchg dword [0x1401ce64c], eax
mov rax, qword [0x1401ce650]
add rsp, 0x58
ret

Function at 0x14010f1c0
Capabilities:
Encode data using xor

Disassembly:
movzx r9d, r8b
mov rax, rdx
shr rax, 6
mov r10, rcx
lea rax, [rcx + rax*8]
mov r8, 0xffffffffffffffff
movzx ecx, dl
and cl, 0x3f
lea rdx, [r9 - 1]
xor rdx, qword [rax]
shl r8, cl
and r8, rdx
jne 0x14010f1fd
nop
add rax, 8
lea r8, [r9 - 1]
xor r8, qword [rax]
je 0x14010f1f0
sub rax, r10
sar rax, 3
bsf rcx, r8
shl rax, 6
add rax, rcx
ret
Function at 0x140121ce4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140121d68
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1401b03e0]
cmp byte [rcx + rax], 0
je 0x140121d68
dec r8
sub rdx, 1
jne 0x140121d4e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1401291d0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400de9b0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400de9b0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140129320
cmp rax, 0xffffffffffffffff
je 0x140129320
xor edi, edi
test rbp, rbp
jle 0x1401292cb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400d74e0
mov rbx, rax
test rax, rax
jne 0x140129258
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401292c1
mov edx, 0x8000
mov ecx, r14d
call fcn.1401242e4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400db54c
cmp eax, 0xffffffff
je 0x1401292a1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140129268
mov edx, r15d
mov ecx, r14d
call fcn.1401242e4
jmp 0x1401292c1
cmp byte [rsi + 0x38], dil
je 0x1401292b8
cmp dword [rsi + 0x34], 5
jne 0x1401292b8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], send
cmp byte [rsi + 0x30], dil
je 0x1401292c1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400d65a0
jmp 0x140129334
jns 0x140129334
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400de9b0
cmp rax, 0xffffffffffffffff
jne 0x1401292ec
cmp byte [rsi + 0x30], dil
je 0x140129334
mov edi, dword [rsi + 0x2c]
jmp 0x140129334
mov ecx, r14d
call fcn.1400e4be0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140129334
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, recv
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], send
jmp 0x140129334
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14012932d
mov eax, dword [rsi + 0x2c]
jmp 0x140129332
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400de9b0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140129410
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140129438
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140129438
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x415be0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415d86
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004351c0
xorps xmm15, xmm15
mov r14, qword [0x00560b60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x415c4b
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415c67
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
call fcn.0044f420
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
test rbx, rbx
jbe 0x415c8b
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415c9f
cmp rbx, 0x1000
jae 0x415c55
jmp 0x415d09
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415cb1
xor edx, edx
jmp 0x415d00
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004351c0
xorps xmm15, xmm15
mov r14, qword [0x00560b60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x415c95
jmp 0x415c80
call fcn.004641a0
xorps xmm15, xmm15
mov r14, qword [0x00560b60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004398e0
lea rax, [0x004a76de]
mov ebx, 0x18
call fcn.0043a1e0
mov rax, qword [rsp + 0x38]
call fcn.00439ee0
lea rax, [0x004a779e]
mov ebx, 0x19
call fcn.0043a1e0
mov rax, qword [rsp + 0x30]
nop
call fcn.00439ee0
call fcn.00439b40
call fcn.00439960
lea rax, [0x004a9641]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.004380a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00415be0
Function at 0x415dc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415fea
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00435260
xorps xmm15, xmm15
mov r14, qword [0x00560b60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x415e39
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x415e60
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rax, rcx
call fcn.0044f420
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
test rbx, rbx
jbe 0x415e85
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x415e99
cmp rbx, 0x1000
jae 0x415e43
nop dword [rax]
jmp 0x415f14
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x415ead
xor esi, esi
jmp 0x415f0a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00435260
xorps xmm15, xmm15
mov r14, qword [0x00560b60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x415e8f
jmp 0x415e74
call fcn.004641a0
xorps xmm15, xmm15
mov r14, qword [0x00560b60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x415f8c
call fcn.004398e0
lea rax, [0x004a7b6d]
mov ebx, 0x19
call fcn.0043a1e0
mov rax, qword [rsp + 0x68]
call fcn.00439ee0
lea rax, [0x004a779e]
mov ebx, 0x19
call fcn.0043a1e0
mov eax, dword [rsp + 0x34]
call fcn.00439ee0
call fcn.00439b40
call fcn.00439960
lea rax, [0x004a4d94]
mov ebx, 0xd
call fcn.004380a0
cmp eax, 0x5af
je 0x415f37
call fcn.004398e0
lea rax, [0x004a7b6d]
mov ebx, 0x19
call fcn.0043a1e0
mov rax, qword [rsp + 0x38]
call fcn.00439ee0
lea rax, [0x004a779e]
mov ebx, 0x19
nop
call fcn.0043a1e0
mov eax, dword [rsp + 0x34]
call fcn.00439ee0
call fcn.00439b40
call fcn.00439960
lea rax, [0x004a909c]
mov ebx, 0x1f
call fcn.004380a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415dc0