joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c5540
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c569b
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x20], 0
mov rax, qword [0x0065baf8]
call fcn.004b8a80
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rbx
movups xmmword [rsp + 0x50], xmm15
mov qword [rsp + 0x60], 0
lea rcx, [0x004c56c0]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2b
call fcn.00402ea0
xorps xmm15, xmm15
mov r14, qword [0x006afdc8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4c565b
mov rdx, qword [rsp + 0x28]
cmp rdx, rcx
jb 0x4c5695
mov qword [rsp + 0x30], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x30]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
jb 0x4c568a
mov rsi, qword [rsp + 0x50]
sub rbx, rax
dec rbx
mov rdi, rbx
neg rbx
sar rbx, 0x3f
and rcx, rbx
mov r8, qword [rsp + 0x38]
lea rax, [r8 + rcx]
mov rbx, rdi
lea rdx, [rsp + 0x50]
nop
call rsi
mov rcx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x28]
lea rdx, [rsp + 0x50]
call rcx
mov rcx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov rax, rcx
mov rcx, rbx
call fcn.004641a0
call fcn.00464120
nop
nop dword [rax + rax]
call fcn.00461a80
jmp fcn.004c5540
Function at 0x4e0a20
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4e0c81
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
test rax, rax
je 0x4e0c65
mov qword [rsp + 0xb8], rax
mov rbx, qword [rax + 8]
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
test rbx, rbx
jne 0x4e0a6d
xor ebx, ebx
xor ecx, ecx
jmp 0x4e0a80
mov rax, rdx
call fcn.004d3380
mov rcx, rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x28], 0
je 0x4e0b98
mov rcx, qword [rax + 0x18]
mov rax, rcx
nop
call fcn.0047bbc0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0xb8]
mov r8, qword [rcx + 0x20]
mov r9, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0056d298]
mov esi, 1
lea rax, [rsp + 0x68]
mov rbx, qword [rsp + 0x88]
call fcn.0044d9e0
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.00402ea0
xorps xmm15, xmm15
mov r14, qword [0x006afdc8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4e0b5b
xor eax, eax
lea rbx, [0x0053f462]
mov ecx, 1
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x50]
lea r8, [0x0053f4d1]
mov r9d, 2
mov r10, qword [rsp + 0xa0]
mov r11, qword [rsp + 0x60]
call fcn.0044dac0
jmp 0x4e0b88
xor eax, eax
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
lea rdi, [0x0056d310]
mov esi, 1
mov r8, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x60]
call fcn.0044d9e0
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rax, qword [rax + 0x18]
nop dword [rax]
call fcn.0047bbc0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0x88]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call fcn.00402ea0
xorps xmm15, xmm15
mov r14, qword [0x006afdc8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4e0c28
xor eax, eax
lea rbx, [0x0053f462]
mov ecx, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x48]
lea r8, [0x0053f4d1]
mov r9d, 2
mov r10, qword [rsp + 0x98]
mov r11, qword [rsp + 0x58]
call fcn.0044dac0
jmp 0x4e0c55
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0056d310]
mov esi, 1
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x58]
call fcn.0044d9e0
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rax, [0x0053f811]
mov ebx, 5
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov qword [rsp + 8], rax
call fcn.00461a80
mov rax, qword [rsp + 8]
jmp fcn.004e0a20
Function at 0x4e2b40
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4e2da1
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
test rax, rax
je 0x4e2d85
mov qword [rsp + 0xb8], rax
mov rbx, qword [rax + 8]
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
test rbx, rbx
jne 0x4e2b8d
xor ebx, ebx
xor ecx, ecx
jmp 0x4e2ba0
mov rax, rdx
call fcn.004d3380
mov rcx, rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x28], 0
je 0x4e2cb8
mov rcx, qword [rax + 0x18]
mov rax, rcx
nop
call fcn.0047bbc0
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0xb8]
mov r8, qword [rcx + 0x20]
mov r9, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0056d298]
mov esi, 1
lea rax, [rsp + 0x68]
mov rbx, qword [rsp + 0x88]
call fcn.0044d9e0
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.00402ea0
xorps xmm15, xmm15
mov r14, qword [0x006afdc8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4e2c7b
xor eax, eax
lea rbx, [0x0053f462]
mov ecx, 1
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x50]
lea r8, [0x0053f4d1]
mov r9d, 2
mov r10, qword [rsp + 0xa0]
mov r11, qword [rsp + 0x60]
call fcn.0044dac0
jmp 0x4e2ca8
xor eax, eax
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
lea rdi, [0x0056d310]
mov esi, 1
mov r8, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x60]
call fcn.0044d9e0
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rax, qword [rax + 0x18]
nop dword [rax]
call fcn.0047bbc0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0x88]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call fcn.00402ea0
xorps xmm15, xmm15
mov r14, qword [0x006afdc8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4e2d48
xor eax, eax
lea rbx, [0x0053f462]
mov ecx, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x48]
lea r8, [0x0053f4d1]
mov r9d, 2
mov r10, qword [rsp + 0x98]
mov r11, qword [rsp + 0x58]
call fcn.0044dac0
jmp 0x4e2d75
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0056d310]
mov esi, 1
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x58]
call fcn.0044d9e0
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rax, [0x0053f811]
mov ebx, 5
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov qword [rsp + 8], rax
call fcn.00461a80
mov rax, qword [rsp + 8]
jmp fcn.004e2b40
Function at 0x4ebea0
Capabilities:
Encode data using xor

Disassembly:
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov r15, qword [rsp + 0x18]
mov r8, qword [rdi]
mov r9, qword [rdi + 8]
mov r10, qword [rdi + 0x10]
mov r11, qword [rdi + 0x18]
mov r12, qword [rdi + 0x20]
cmp r15, 0x10
jb 0x4ebf67
add r8, qword [rsi]
adc r9, qword [rsi + 8]
adc r10, 1
lea rsi, [rsi + 0x10]
mov rax, r11
mul r8
mov rbx, rax
mov rcx, rdx
mov rax, r11
mul r9
add rcx, rax
adc rdx, 0
mov r13, r11
imul r13, r10
add r13, rdx
mov rax, r12
mul r8
add rcx, rax
adc rdx, 0
mov r8, rdx
mov r14, r12
imul r14, r10
mov rax, r12
mul r9
add r13, rax
adc r14, rdx
add r13, r8
adc r14, 0
mov r8, rbx
mov r9, rcx
mov r10, r13
and r10, 3
mov rbx, r13
and rbx, 0xfffffffffffffffc
add r8, rbx
adc r9, r14
adc r10, 0
shrd r13, r14, 2
shr r14, 2
add r8, r13
adc r9, r14
adc r10, 0
sub r15, 0x10
cmp r15, 0x10
jae 0x4ebecc
test r15, r15
je 0x4ebfaa
mov rbx, 1
xor rcx, rcx
xor r13, r13
add rsi, r15
shld rcx, rbx, 8
shl rbx, 8
mov r13b, byte [rsi - 1]
xor rbx, r13
dec rsi
dec r15
jne 0x4ebf7c
add r8, rbx
adc r9, rcx
adc r10, 0
mov r15, 0x10
jmp 0x4ebedb
mov qword [rdi], r8
mov qword [rdi + 8], r9
mov qword [rdi + 0x10], r10
ret
Function at 0x4ed6e0
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r9, 0xd
jne 0x4ed787
mov r10, qword [rcx]
mov r11, qword [rcx + 5]
shr r11, 0x18
mov r12, 1
mov rax, qword [rbp]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 8]
mov r8, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 8]
mul r11
add r15, rax
adc rdx, 0
imul r8, r12
add r15, r10
adc r8, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r8
shrd r15, r8, 2
shr r8, 2
add r10, r13
adc r11, r14
adc r12, 0
add r10, r15
adc r11, r8
adc r12, 0
ret
cmp r9, 0x10
jb 0x4ed82a
add r10, qword [rcx]
adc r11, qword [rcx + 8]
adc r12, 1
lea rcx, [rcx + 0x10]
sub r9, 0x10
mov rax, qword [rbp]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 8]
mov r8, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 8]
mul r11
add r15, rax
adc rdx, 0
imul r8, r12
add r15, r10
adc r8, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r8
shrd r15, r8, 2
shr r8, 2
add r10, r13
adc r11, r14
adc r12, 0
add r10, r15
adc r11, r8
adc r12, 0
jmp 0x4ed787
cmp r9, 0
je 0x4ed8e3
xor r13, r13
xor r14, r14
xor r15, r15
add rcx, r9
shld r14, r13, 8
shl r13, 8
mov r15b, byte [rcx - 1]
xor r13, r15
dec rcx
dec r9
jne 0x4ed840
add r10, r13
adc r11, r14
adc r12, 1
mov rax, qword [rbp]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 8]
mov r8, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 8]
mul r11
add r15, rax
adc rdx, 0
imul r8, r12
add r15, r10
adc r8, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r8
shrd r15, r8, 2
shr r8, 2
add r10, r13
adc r11, r14
adc r12, 0
add r10, r15
adc r11, r8
adc r12, 0
ret
Function at 0x4f7560
Capabilities:
Hash data using sha512

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4f76c1
sub rsp, 0x30
mov qword [rsp + 0x28], rbp
lea rbp, [rsp + 0x28]
mov qword [rsp + 0x40], rbx
lea rdx, [rax - 1]
cmp rdx, 0x3f
ja 0x4f76a6
cmp rcx, 0x40
jg 0x4f768c
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
lea rax, [0x00534ec0]
call fcn.0040d480
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x50], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x160], rcx
lea rsi, [rax + 0xe0]
mov rbx, qword [rsp + 0x40]
cmp rbx, rsi
je 0x4f75f2
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rsi
mov rax, rsi
call fcn.00464a80
mov rax, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
nop
movups xmm0, xmmword [0x006453c0]
movups xmmword [rax], xmm0
movups xmm0, xmmword [0x006453d0]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [0x006453e0]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x006453f0]
movups xmmword [rax + 0x30], xmm0
mov rdx, qword [rax + 0x160]
shl rdx, 8
or rdx, qword [rax + 0x50]
or rdx, 0x1010000
xor qword [rax], rdx
mov qword [rax + 0xd8], 0
movups xmmword [rax + 0x40], xmm15
cmp qword [rax + 0x160], 0
jle 0x4f767e
lea rdi, [rax + 0x58]
nop word [rax + rax]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004646f0
mov rbp, qword [rbp]
mov qword [rax + 0xd8], pe_nt_image_headers64
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
mov rbx, qword [0x0065c320]
mov rcx, qword [0x0065c328]
xor eax, eax
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
mov rbx, qword [0x0065c330]
mov rcx, qword [0x0065c338]
xor eax, eax
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
nop
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00461a80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004f7560
Function at 0x4f7700
Capabilities:
Encode data using base64
Hash data using sha512

Disassembly:
lea r12, [rsp - 0xa0]
cmp r12, qword [r14 + 0x10]
jbe 0x4f7991
sub rsp, 0x120
mov qword [rsp + 0x118], rbp
lea rbp, [rsp + 0x118]
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x130], rbx
movups xmm0, xmmword [0x006453c0]
movups xmmword [rsp + 0x58], xmm0
movups xmm0, xmmword [0x006453d0]
movups xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [0x006453e0]
movups xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [0x006453f0]
movups xmmword [rsp + 0x88], xmm0
mov r9, rbx
or rbx, 0x1010000
xor qword [rsp + 0x58], rbx
movups xmmword [rsp + 0x48], xmm15
cmp rdi, 0x80
jle 0x4f7831
mov r10, rdi
and rdi, 0xffffffffffffff80
lea r11, [rdi - 0x80]
cmp r10, rdi
cmove rdi, r11
cmp rsi, rdi
jb 0x4f7985
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x148], rsi
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x138], rcx
lea rax, [rsp + 0x58]
lea rbx, [rsp + 0x48]
mov r8, rsi
mov rsi, rdi
mov rdi, rcx
xor ecx, ecx
call fcn.004f7ce0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x30]
cmp rcx, rax
jb 0x4f797d
sub rcx, rax
mov rdx, qword [rsp + 0x148]
mov r9, rax
sub rax, rdx
sar rax, 0x3f
and r9, rax
mov rdx, qword [rsp + 0x138]
add rdx, r9
mov rax, qword [rsp + 0x128]
mov r9, qword [rsp + 0x130]
mov rdi, rcx
mov rcx, rdx
cmp rdi, 0x80
mov r8d, pe_nt_image_headers64
cmovl r8, rdi
lea rdi, [rsp + 0x98]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004643a2
mov rbp, qword [rbp]
lea rdi, [rsp + 0x98]
cmp rcx, rdi
je 0x4f789a
mov qword [rsp + 0x38], r8
mov rax, rdi
mov rbx, rcx
mov rcx, r8
call fcn.00464a80
mov rax, qword [rsp + 0x128]
lea rdi, [rsp + 0x98]
mov r8, qword [rsp + 0x38]
mov r9, qword [rsp + 0x130]
lea rdx, [r8 - 0x80]
mov r10, rdx
neg rdx
cmp qword [rsp + 0x48], rdx
jae 0x4f78b0
dec qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
add rdx, r10
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x58]
lea rbx, [rsp + 0x48]
mov rcx, 0xffffffffffffffff
mov esi, pe_nt_image_headers64
mov r8, rsi
call fcn.004f7ce0
mov rdx, qword [rsp + 0x130]
lea r9, [rdx + 7]
sar r9, 0x3f
shr r9, 0x3d
add r9, 7
lea rcx, [rdx + r9]
sar rcx, 3
nop dword [rax + rax]
cmp rcx, 8
ja 0x4f7973
mov rdx, qword [rsp + 0x128]
xor eax, eax
jmp 0x4f791a
mov qword [rdx + rax], rsi
lea rax, [rbx + 1]
cmp rax, rcx
jge 0x4f794c
test byte [rdx], al
mov rbx, rax
shl rax, 3
mov rsi, qword [rsp + rbx*8 + 0x58]
cmp rax, 0x40
ja 0x4f7969
lea rdi, [rax - 0x40]
mov r8, rdi
sar rdi, 0x3f
and rax, rdi
neg r8
cmp r8, 7
ja 0x4f7912
jmp 0x4f795c
mov rbp, qword [rsp + 0x118]
add rsp, 0x120
ret
mov eax, 7
mov rcx, r8
call fcn.004640e0
mov ecx, 0x40
call fcn.004641a0
mov edx, 8
call fcn.00464120
nop dword [rax]
call fcn.004641a0
mov rcx, rdi
mov rdx, rsi
call fcn.00464160
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
call fcn.00461a80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jmp fcn.004f7700
Function at 0x501020
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x10]
cmp r12, qword [r14 + 0x10]
jbe 0x501223
sub rsp, 0x90
mov qword [rsp + 0x88], rbp
lea rbp, [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rax + 0x20]
nop word [rax + rax]
test rbx, rbx
je 0x501155
mov rax, rdx
call fcn.004d3380
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x60], rbx
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx + 0x28]
mov rax, rdx
mov ebx, 0xa
call fcn.00473cc0
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], rbx
mov rdx, qword [rsp + 0x80]
mov qword [rsp], rdx
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 8], rsi
mov byte [rsp + 0x10], 0x3a
nop dword [rax]
call fcn.00402ea0
xorps xmm15, xmm15
mov r14, qword [0x006afdc8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x501118
xor eax, eax
lea rbx, [0x0053f462]
mov ecx, 1
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x60]
lea r8, [0x0053f4d1]
mov r9d, 2
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x50]
call fcn.0044dac0
jmp 0x501145
xor eax, eax
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x0056d310]
mov esi, 1
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x50]
nop dword [rax]
call fcn.0044d9e0
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
mov rcx, qword [rax + 0x28]
mov ebx, 0xa
mov rax, rcx
call fcn.00473cc0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x48], rbx
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rcx]
mov qword [rsp + 0x78], rdx
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x58], rcx
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
mov byte [rsp + 0x10], 0x3a
call fcn.00402ea0
xorps xmm15, xmm15
mov r14, qword [0x006afdc8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x5011ec
xor eax, eax
lea rbx, [0x0053f462]
mov ecx, 1
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x58]
lea r8, [0x0053f4d1]
mov r9d, 2
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x48]
call fcn.0044dac0
jmp 0x501213
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
lea rdi, [0x0056d310]
mov esi, 1
mov r8, qword [rsp + 0x68]
mov r9, qword [rsp + 0x48]
call fcn.0044d9e0
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
mov qword [rsp + 8], rax
call fcn.00461a80
mov rax, qword [rsp + 8]
jmp fcn.00501020

Function at 0x140001ddc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001e26
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001e26
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001e26
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001e26
cmp dword [rcx + 0x84], 0xe
jbe 0x140001e26
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001e28
xor al, al
add rsp, 0x28
ret
Function at 0x140001070
Capabilities:
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub rsp, 0x608
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
mov ecx, 0x202
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400010ce
lea rcx, str.Winsock_ba
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.140001330
add rsp, 0x608
ret
xor r8d, r8d
mov qword [rsp + 0x610], rbx
mov ebx, 2
mov qword [rsp + 0x600], rdi
mov ecx, ebx
lea edx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000110f
lea rcx, str.Soket_olu
call fcn.140001010
lea eax, [rbx - 1]
jmp 0x1400012ee
xor eax, eax
mov word [rsp + 0x38], bx
mov ecx, 0x3039
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], eax
call qword [sym.imp.WS2_32.dll_htons]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x38]
mov rcx, rdi
mov word [rsp + 0x3a], ax
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x14000116d
lea rcx, [0x1400032f8]
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x1400012ee
mov edx, 5
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x1400011a5
lea rcx, str.Dinleme_hatas
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x1400012ee
lea rcx, [0x140003318]
mov qword [rsp + 0x618], rsi
call fcn.140001010
lea r8, [rsp + 0x30]
mov rcx, rdi
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_accept]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400011f8
lea rcx, [0x140003330]
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [rsi + 2]
jmp 0x1400012e6
movzx ecx, word [rsp + 0x22]
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [rsp + 0x24]
movzx ebx, ax
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8d, ebx
lea rcx, [0x140003350]
mov rdx, rax
call fcn.140001010
xor edx, edx
lea rcx, [rsp + 0x1f0]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea rdx, [rsp + 0x1f0]
mov r8d, 0x400
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test eax, eax
jle 0x1400012c0
nop word [rax + rax]
lea rdx, [rsp + 0x1f0]
lea rcx, [0x140003390]
call fcn.140001010
xor r9d, r9d
lea rdx, [rsp + 0x1f0]
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
xor edx, edx
lea rcx, [rsp + 0x1f0]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea rdx, [rsp + 0x1f0]
mov r8d, 0x400
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test eax, eax
jg 0x140001260
lea rcx, [0x140003370]
call fcn.140001010
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rsi, qword [rsp + 0x618]
mov rbx, qword [rsp + 0x610]
mov rdi, qword [rsp + 0x600]
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.140001330
add rsp, 0x608
ret
Function at 0x1400111ea
Capabilities:
Terminate process

Disassembly:
jmp 0x140013150
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret