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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 8], sil
je 0x140136024
mov eax, esi
lea ecx, [rax + 0x31]
xor byte [r8 + rax], cl
inc rax
cmp rax, 7
jb 0x140136010
mov byte [r8 + 8], sil
add r8, 7
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.1400bf350
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140136049
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140072480
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1401360c3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401360be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401360be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14019ebcc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1401360d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r10, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
cmp byte [r8 + 9], bl
je 0x140136104
mov ecx, ebx
lea eax, [rcx + 0x31]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x1401360f0
mov byte [r8 + 9], bl
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x50]
call fcn.1400bf350
nop
cmp byte [rdi + 9], 0
je 0x140136134
lea eax, [rbx + 0x31]
xor byte [rbx + rdi], al
inc rbx
cmp rbx, 8
jb 0x140136121
mov byte [rdi + 9], 0
lea r8, [rdi + 8]
lea r9, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400bf350
nop
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
movzx edx, byte [rsp + 0x20]
mov rcx, rsi
call fcn.1400c3380
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1401361a4
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013619e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14013619e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14019ebcc
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1401361e4
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401361df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401361df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14019ebcc
mov rax, rsi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401361f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x140136224
mov eax, esi
lea ecx, [rax + 0x31]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x140136210
mov byte [r8 + 9], sil
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.1400bf350
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140136249
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140072480
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1401362c3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401362be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401362be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14019ebcc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1401362d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x140136304
mov eax, esi
lea ecx, [rax + 0x31]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x1401362f0
mov byte [r8 + 0xa], sil
add r8, 9
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.1400bf350
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140136329
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140072480
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1401363a3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013639e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14013639e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14019ebcc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401363b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r10, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
cmp byte [r8 + 0xb], bl
je 0x1401363e4
mov ecx, ebx
lea eax, [rcx + 0x31]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x1401363d0
mov byte [r8 + 0xb], bl
add r8, 0xa
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x50]
call fcn.1400bf350
nop
cmp byte [rdi + 0xb], 0
je 0x140136414
lea eax, [rbx + 0x31]
xor byte [rbx + rdi], al
inc rbx
cmp rbx, 0xa
jb 0x140136401
mov byte [rdi + 0xb], 0
lea r8, [rdi + 0xa]
lea r9, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400bf350
nop
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
movzx edx, byte [rsp + 0x20]
mov rcx, rsi
call fcn.1400c3380
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140136484
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013647e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14013647e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14019ebcc
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1401364c4
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401364bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401364bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14019ebcc
mov rax, rsi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x1401364d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0xc], sil
je 0x140136504
mov eax, esi
lea ecx, [rax + 0x31]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x1401364f0
mov byte [r8 + 0xc], sil
add r8, 0xb
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.1400bf350
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140136529
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140072480
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1401365a3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013659e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14013659e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14019ebcc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14013ce50
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0x10], al
je 0x14013ce73
lea edx, [rax + 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x14013ce60
mov byte [rcx + 0x10], 0
lea r8, [rcx + 0xf]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.1400bf350
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14013e520
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x14013e543
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x31]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x14013e530
mov byte [rcx + 5], 0
mov rax, rcx
ret
Function at 0x14014a890
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.14014aae0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x14014a9aa
mov rax, qword [0x1402e7f30]
cmp qword [rsp + 0x20], rax
jb 0x14014a8f4
mov rax, qword [0x1402e7f38]
cmp qword [rsp + 0x20], rax
ja 0x14014a8f4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x14014a8b6
mov r8d, Ordinal_50
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, Ordinal_50
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x14014a925
jmp 0x14014a9aa
cmp dword [rsp + 0x50], 0x10000
jne 0x14014a98d
cmp qword [rsp + 0x48], 0x10000
jb 0x14014a98d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14014a96b
mov rax, qword [rsp + 0x28]
jmp 0x14014a9ac
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x14014a97b
xor eax, eax
jmp 0x14014a9ac
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x14014a9a5
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.14014aae0
mov qword [rsp + 0x20], rax
jmp 0x14014a8b6
xor eax, eax
add rsp, 0x68
ret

Function at 0x14014a9c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.14014ab20
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x14014aad6
mov rax, qword [0x1402e7f30]
cmp qword [rsp + 0x20], rax
jb 0x14014aa1b
mov rax, qword [0x1402e7f38]
cmp qword [rsp + 0x20], rax
ja 0x14014aa1b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x14014a9dd
mov r8d, Ordinal_50
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, Ordinal_50
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x14014aa4c
jmp 0x14014aad6
cmp dword [rsp + 0x50], 0x10000
jne 0x14014aab4
cmp qword [rsp + 0x48], 0x10000
jb 0x14014aab4
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14014aa92
mov rax, qword [rsp + 0x28]
jmp 0x14014aad8
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x14014aaa2
xor eax, eax
jmp 0x14014aad8
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x14014aad1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14014ab20
mov qword [rsp + 0x20], rax
jmp 0x14014a9dd
xor eax, eax
add rsp, 0x68
ret
Function at 0x14014ab70
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.14014b100
mov qword [rsp + 0x28], 0
cmp qword [0x1402f58e0], 0
jne 0x14014abb8
cmp qword [0x1402f58d8], 0
je 0x14014abb8
mov rax, qword [0x1402f58d8]
mov qword [0x1402f58e0], rax
cmp qword [0x1402f58e0], 0
je 0x14014ac5e
mov rax, qword [0x1402f58e0]
cmp qword [rax + 0x10], 0
je 0x14014ac5e
mov rax, qword [0x1402f58e0]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x14014ac5e
mov rax, qword [0x1402f58e0]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x14014ac5e
mov rax, qword [0x1402f58e0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x14014ac24
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x14014ac2b
xor eax, eax
jmp 0x14014add5
mov rax, qword [0x1402f58e0]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x14014add5
mov rax, qword [0x1402f58d8]
mov qword [0x1402f58e0], rax
jmp 0x14014ac80
mov rax, qword [0x1402f58e0]
mov rax, qword [rax + 8]
mov qword [0x1402f58e0], rax
cmp qword [0x1402f58e0], 0
je 0x14014accd
cmp qword [0x1402f58e0], 0
je 0x14014accb
mov rax, qword [0x1402f58e0]
cmp qword [rax + 0x10], 0
je 0x14014accb
mov rax, qword [0x1402f58e0]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x14014accb
mov rax, qword [0x1402f58e0]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x14014accb
jmp 0x14014abfc
jmp 0x14014ac6e
mov rax, qword [rsp + 0x60]
and rax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.14014ade0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14014add3
mov rax, qword [rsp + 0x48]
mov qword [0x1402f58e0], rax
mov rax, qword [0x1402f58e0]
mov dword [rax], 0x52727464
mov rax, qword [0x1402f58e0]
mov qword [rax + 0x10], 0
mov rax, qword [0x1402f58e0]
mov rcx, qword [0x1402f58d8]
mov qword [rax + 8], rcx
mov rax, qword [0x1402f58e0]
mov qword [0x1402f58d8], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1402f58e0]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x14014ad84
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x14014adbe
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x14014ad7a
mov rax, qword [0x1402f58e0]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x14014abfc
xor eax, eax
add rsp, 0x58
ret
Function at 0x14014baf0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, Ordinal_50
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14014bb37
xor al, al
jmp 0x14014bbd9
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x14014bb61
xor al, al
jmp 0x14014bbd9
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x14014bbd1
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x14014bbd1
mov al, 1
jmp 0x14014bbd9
jmp 0x14014bbd7
xor al, al
add rsp, 0x78
ret

Function at 0x14014bee0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1402f58d8]
mov qword [rsp + 0x28], rax
jmp 0x14014bf00
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14014bf2f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x14014bf2d
call sub.KERNEL32.dll_GetLastError
jmp 0x14014bf31
jmp 0x14014bef2
xor eax, eax
add rsp, 0x38
ret
Function at 0x14014c5f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1402f58f0], eax
je 0x14014c61d
mov eax, 0x10dd
jmp 0x14014c836
cmp dword [0x1402f58f4], 0
je 0x14014c631
mov eax, dword [0x1402f58f4]
jmp 0x14014c836
cmp qword [rsp + 0x78], 0
jne 0x14014c643
mov eax, 0x57
jmp 0x14014c836
cmp qword [rsp + 0x70], 0
jne 0x14014c655
mov eax, 6
jmp 0x14014c836
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x14014c687
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x1402f58f4], eax
mov rax, qword [rsp + 0x70]
mov qword [0x1402f58f8], rax
mov eax, dword [rsp + 0x20]
jmp 0x14014c836
mov ecx, Ordinal_50
call fcn.14019eb90
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14014c6f9
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x1402f58f4], eax
cmp qword [rsp + 0x30], 0
je 0x14014c6e4
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, Ordinal_50
mov rcx, qword [rsp + 0x50]
call fcn.14019ebcc
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x1402f58f8], rax
mov eax, dword [rsp + 0x20]
jmp 0x14014c836
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.14014c5c0
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.14014c5c0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x14014c756
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x14014c773
mov dword [rsp + 0x20], 9
cmp dword [0x1402f58e8], 0
je 0x14014c76e
jmp 0x14014c6ba
jmp 0x14014c6b0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x14014c7a0
mov dword [rsp + 0x20], 9
cmp dword [0x1402f58e8], 0
je 0x14014c79b
jmp 0x14014c6ba
jmp 0x14014c6b0
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x14014c7d7
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x14014c6b0
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x1402f5908]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x1402f5908], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x14014c840
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1402f58f0], eax
je 0x14014c85b
mov eax, 0x10dd
jmp 0x14014c980
mov rax, qword [0x1402f5908]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14014c905
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x14014c8d0
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x14014c8d0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.14014b240
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, Ordinal_50
mov rcx, qword [rsp + 0x38]
call fcn.14019ebcc
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x14014c867
mov qword [0x1402f5908], 0
call fcn.14014bca0
mov rax, qword [0x1402f5900]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14014c969
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x48]
call fcn.14019ebcc
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x14014c921
mov qword [0x1402f5900], 0
mov dword [0x1402f58f0], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x14014ceb0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1402f58f4], 0
je 0x14014cecd
mov eax, dword [0x1402f58f4]
jmp 0x14014cf93
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x14014cee0
xor eax, eax
jmp 0x14014cf93
mov ecx, reloc.WS2_32.dll_recv
call fcn.14019eb90
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14014cf4e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x14014cf33
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x38]
call fcn.14019ebcc
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1402f58f4], eax
mov qword [0x1402f58f8], 0
mov eax, dword [rsp + 0x20]
jmp 0x14014cf93
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x14014cf68
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x14014cf09
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1402f5900]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1402f5900], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x140152010
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cdqe
add rsp, 0x28
ret