joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4016c7
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
sub rsp, 0x190
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x120], rcx
mov qword [rbp + 0x128], rdx
mov qword [rbp + 0x130], r8
mov eax, 0x10
mov dword [rbp + 0xfc], eax
mov edx, 0x30
mov eax, dword [0x00404014]
add eax, edx
mov ecx, eax
lea rax, [rbp - 0x50]
lea rdx, [rbp + 0xfc]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x128]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rbp + 0x120]
mov rax, qword [sym.imp.WS2_32.dll_recvfrom]
call rax
mov dword [rbp + 0x10c], eax
cmp dword [rbp + 0x10c], 0xffffffff
jne 0x401764
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rcx, str.recvfrom___error:_d_n
call sym.printf
movzx eax, word [rbp - 0x3a]
mov word [rbp + 0x10a], ax
mov word [rbp - 0x3a], 0
mov eax, dword [rbp + 0x10c]
mov edx, 0x14
sub eax, edx
mov edx, 0xa
sub eax, edx
mov dword [rbp + 0x104], eax
mov edx, 0xa
mov eax, dword [rbp + 0x104]
add eax, edx
mov edx, eax
lea rax, [rbp - 0x50]
add rax, 0x14
mov rcx, rax
call sym.checksum_unsigned_short__int_
mov word [rbp + 0x102], ax
movzx eax, word [rbp + 0x10a]
cmp ax, word [rbp + 0x102]
je 0x4017d8
lea rcx, [0x00405029]
call sym.puts
mov eax, 0
jmp 0x4017e8
movzx edx, byte [rbp - 0x48]
mov rax, qword [rbp + 0x130]
mov byte [rax], dl
mov eax, dword [rbp - 0x30]
add rsp, 0x190
pop rbp
ret

Function at 0x4017f1
Capabilities:
Get socket status

Disassembly:
push rbp
sub rsp, 0x250
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1e0], rcx
mov dword [rbp - 0x50], 1
mov rax, qword [rbp + 0x1e0]
mov qword [rbp - 0x48], rax
mov dword [rbp + 0x1c0], 1
mov dword [rbp + 0x1c4], 0
lea rax, [rbp - 0x50]
lea rdx, [rbp + 0x1c0]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 1
mov rax, qword [sym.imp.WS2_32.dll_select]
call rax
add rsp, 0x250
pop rbp
ret
Function at 0x401c2b
Capabilities:
Initialize winsock library

Disassembly:
push rbp
sub rsp, 0x2a0
lea rbp, [rsp + 0x80]
call dbg.__main
lea rax, [rbp + 0x70]
mov rdx, rax
mov ecx, 0x101
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
test eax, eax
setne al
test al, al
je 0x401c6a
lea rcx, [0x00405292]
call sym.puts
lea rax, [rbp - 0x60]
mov qword [rbp + 0x218], rax
mov byte [rbp + 0x217], 0
lea rcx, [0x004052a7]
call sym.puts
call sym.UserHelp__
lea rcx, [0x004052b8]
call sym.printf
lea rax, [rbp + 0x210]
mov rdx, rax
lea rcx, [0x004052d9]
call sym.scanf
mov eax, dword [rbp + 0x210]
sub eax, 0x64
cmp eax, 0x10
ja case.0x401ce2.103
mov eax, eax
lea rdx, [rax*4]
lea rax, [0x00405338]
mov eax, dword [rdx + rax]
movsxd rdx, eax
lea rax, [0x00405338]
add rax, rdx
jmp rax
lea rcx, [0x004052dc]
call sym.printf
lea rax, [rbp - 0x60]
mov rdx, rax
lea rcx, [0x004052d9]
call sym.scanf
jmp 0x401e58
lea rcx, [0x004052dc]
call sym.printf
lea rax, [rbp - 0x60]
mov rdx, rax
lea rcx, [0x004052d9]
call sym.scanf
lea rcx, [0x004052e8]
call sym.printf
lea rax, [rbp + 0x20c]
mov rdx, rax
lea rcx, [0x00405307]
call sym.scanf
mov eax, dword [rbp + 0x20c]
mov dword [0x00404010], eax
jmp 0x401e58
lea rcx, [0x004052dc]
call sym.printf
lea rax, [rbp - 0x60]
mov rdx, rax
lea rcx, [0x004052d9]
call sym.scanf
lea rcx, [0x0040530a]
call sym.printf
lea rax, [rbp + 0x208]
mov rdx, rax
lea rcx, [0x00405307]
call sym.scanf
mov eax, dword [rbp + 0x208]
sub eax, 2
mov dword [0x00404014], eax
jmp 0x401e58
lea rcx, [0x004052dc]
call sym.printf
lea rax, [rbp - 0x60]
mov rdx, rax
lea rcx, [0x004052d9]
call sym.scanf
lea rcx, [0x004052e8]
call sym.printf
lea rax, [rbp + 0x20c]
mov rdx, rax
lea rcx, [0x00405307]
call sym.scanf
lea rcx, [0x0040530a]
call sym.printf
lea rax, [rbp + 0x208]
mov rdx, rax
lea rcx, [0x00405307]
call sym.scanf
mov eax, dword [rbp + 0x20c]
mov dword [0x00404010], eax
mov eax, dword [rbp + 0x208]
sub eax, 2
mov dword [0x00404014], eax
jmp 0x401e58
lea rcx, [0x00405326]
call sym.printf
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov ecx, 0
call sym.exit
call sym.UserHelp__
movzx edx, byte [rbp + 0x217]
mov rax, qword [rbp + 0x218]
mov rcx, rax
call sym.Ping_char__bool_
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
jmp 0x401c40
Function at 0x4020d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rbp, dword [0x004080a4]
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
test ebp, ebp
jle 0x4021ea
mov rax, qword [0x004080a8]
xor r9d, r9d
add rax, 8
mov r10, qword [rax]
cmp rbx, r10
jb 0x40211e
mov rdx, qword [rax + 8]
mov r11d, dword [rdx + 8]
add r10, r11
cmp rbx, r10
jb 0x4021d0
add r9d, 1
add rax, 0x18
cmp r9d, ebp
jne 0x402102
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x402222
lea rbp, [rbp + rbp*2]
shl rbp, 3
mov r13, rbp
add r13, qword [0x004080a8]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call dbg._GetPEImageBase
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 8], rax
mov rax, qword [0x004080a8]
mov rcx, qword [rax + rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x402205
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4021c9
sub eax, 0x40
and eax, 0xffffffbf
je 0x4021c9
mov r9, rbp
add r9, qword [0x004080a8]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4021f1
add dword [0x004080a4], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.memcpy
xor ebp, ebp
jmp 0x40212b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
mov rax, qword [0x004080a8]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbp + 8]
call dbg.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call dbg.__report_error
nop
nop word cs:[rax + rax]

Function at 0x402e00
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x402e10
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x402e20
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402e61
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x402e58
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x402e63
add rax, 0x28
cmp rax, r9
jne 0x402e44
xor eax, eax
repz ret

Function at 0x402f10
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x00405660]
cmp word [rbx], 0x5a4d
je 0x402f30
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rsi, rcx
mov rcx, rbx
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402f24
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp dbg._FindPESection
Function at 0x403180
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00408a00]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004089e0]
test rbx, rbx
je 0x4031d4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x4031cb
test rsi, rsi
je 0x4031cb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4031b0
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x00408a00]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
Function at 0x140015950
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov qword [rcx], rbp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bpl
mov dword [rsp + 0x20], 1
lea rsi, [rdx + 0x10]
mov rdx, qword [rsi]
cmp rdx, 0xf
jbe 0x1400159a5
call fcn.140026900
mov qword [rbx + 0x10], rbp
mov r15d, 0xfffffffa
mov r14, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400159bb
mov r14, qword [rdi]
mov rdi, r14
mov r13, qword [rsi]
add r13, rdi
cmp r14, r13
je 0x140015ab1
lea r8, [0x140010120]
shl ebp, 8
movzx eax, byte [r14]
add ebp, eax
add r15d, 8
js 0x140015a56
movsxd r12, ebp
movsxd rdi, r15d
lea ecx, [r15 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov esi, edx
imul eax, edx, 0xfffffffa
add r15d, eax
nop dword [rax]
mov rax, r12
mov rcx, rdi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140015a3d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140015a32
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140015a4c
mov rcx, rbx
call fcn.140026a50
lea r8, [0x140010120]
sub rdi, 6
sub rsi, 1
jne 0x140015a00
inc r14
cmp r14, r13
jne 0x1400159d1
cmp r15d, 0xfffffffa
jle 0x140015ab1
lea ecx, [r15 + 8]
shl ebp, 8
movsxd rdx, ebp
sar rdx, cl
and edx, 0x3f
movzx r9d, byte [rdx + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140015aa9
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140015a9e
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140015ab1
mov rcx, rbx
call fcn.140026a50
mov rcx, qword [rbx + 0x10]
test cl, 3
je 0x140015af9
nop word [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140015ae5
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140015add
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140015af0
mov r9b, 0x3d
mov rcx, rbx
call fcn.140026a50
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x140015ac0
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140016780
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x14005b020]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x1400167ef
call fcn.14003d904
cmp dword [rax], 4
je 0x1400167c0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400340a0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x14001f1f0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x190
mov rax, qword [0x14005b020]
xor rax, rsp
mov qword [rsp + 0x180], rax
call fcn.140015270
test eax, eax
je 0x14001f219
call fcn.1400150f0
call fcn.1400150f0
test eax, eax
je 0x14001f227
call fcn.1400151b0
call fcn.1400151b0
test eax, eax
je 0x14001f235
call fcn.140015040
call fcn.140015040
test eax, eax
je 0x14001f243
call fcn.1400150f0
call fcn.1400151b0
test eax, eax
je 0x14001f251
call fcn.1400150f0
call fcn.140015040
test eax, eax
je 0x14001f25f
call fcn.140015270
call fcn.1400150f0
test eax, eax
je 0x14001f26d
call fcn.1400151b0
call fcn.140015270
test eax, eax
je 0x14001f27b
call fcn.1400150f0
lea rdx, [rsp + 0x80]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], al
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14001f2b6
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.1400217a0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rdx, [0x140010580]
lea rcx, [rsp + 0x50]
call fcn.140020600
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, [rsp + 0x50]
xor r8d, r8d
call fcn.140028b50
test al, al
sete bl
lea rcx, [rsp + 0x50]
call fcn.140022d60
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001f36e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14001f36e
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14001f3a7
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f3a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f3c3
call fcn.1400340c0
movzx eax, bl
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400340a0
add rsp, 0x190
pop rbx
ret
call fcn.14003dde0
int3
Function at 0x14003a834
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14003a6c7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003a6c7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003a6c7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003a6c7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003a6c7
cmp dword [rcx + 0x84], 0xe
jbe 0x14003a6c7
cmp dword [rcx + 0xf8], 0
je 0x14003a6c7
mov ecx, ebx
call fcn.14003a768
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14003a558
cmp dword [rbp + 0x20], 0
je 0x14003a714
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003a71c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003a660
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400921d0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400921e0]
mov dword [rax], 1
mov rax, qword [0x1400921f0]
mov dword [rax], 1
mov rax, qword [0x140092150]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400921c0]
mov dword [0x14009800c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400922b0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140092290]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [str._O_b_]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001550
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x100
call sym.operator_new_unsigned_long_long_
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
movups xmmword [rax + 0x70], xmm0
movups xmmword [rax + 0x80], xmm0
movups xmmword [rax + 0x90], xmm0
movups xmmword [rax + 0xa0], xmm0
movups xmmword [rax + 0xb0], xmm0
movups xmmword [rax + 0xc0], xmm0
movups xmmword [rax + 0xd0], xmm0
movups xmmword [rax + 0xe0], xmm0
movups xmmword [rax + 0xf0], xmm0
xor eax, eax
nop dword [rax]
mov byte [rcx + rax], al
inc rax
cmp rax, 0x100
jne 0x1400015d0
mov r9, qword [rbx]
mov r10, qword [rbx + 8]
sub r10, r9
xor r8d, r8d
xor r11d, r11d
nop
movzx ebx, byte [rcx + r8]
add r11b, bl
mov rax, r8
xor edx, edx
div r10
add r11b, byte [r9 + rdx]
movzx eax, r11b
movzx edx, byte [rcx + rax]
mov byte [rcx + r8], dl
mov byte [rcx + rax], bl
inc r8
cmp r8, 0x100
jne 0x1400015f0
test rsi, rsi
je 0x140001687
xor eax, eax
xor edx, edx
xor r8d, r8d
nop dword [rax + rax]
lea r9d, [r8 + 1]
lea r10d, [r8 + 0x100]
test r9d, r9d
cmovns r10d, r9d
and r10d, 0xffffff00
neg r10d
add r8d, r10d
inc r8d
movsxd r9, r8d
movzx r10d, byte [rcx + r9]
add dl, r10b
movzx r11d, dl
movzx ebx, byte [rcx + r11]
mov byte [rcx + r9], bl
mov byte [rcx + r11], r10b
add r10b, byte [rcx + r9]
movzx r9d, r10b
movzx r9d, byte [rcx + r9]
xor byte [rdi + rax], r9b
inc rax
cmp rsi, rax
jne 0x140001630
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp sym.operator_delete_void_
Function at 0x14000f220
Capabilities:
Write file on windows

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

Function at 0x14000f290
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400980b4]
mov rbx, rcx
test esi, esi
jle 0x14000f3c0
mov rax, qword [0x1400980b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000f2db
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000f365
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000f2c0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x14000f3e2
mov rax, qword [0x1400980b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400980b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000f3c7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000f35e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14000f370
add dword [0x1400980b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400980b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000f35e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x14000f2e8
mov rax, qword [0x1400980b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000f970
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140098120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140098100]
test rbx, rbx
je 0x14000f9cc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000f9c3
test eax, eax
jne 0x14000f9c3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000f9a8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000fbe0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14000fbf8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14000fc00
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x14000fc10
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000fc5d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x14000fc54
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000fc5f
add rax, 0x28
cmp rax, r9
jne 0x14000fc40
xor eax, eax
ret

Function at 0x14000fc60
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x14000fcf0
mov rdx, qword [0x140092150]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000fcde
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000fcde
cmp word [rax + 0x18], 0x20b
jne 0x14000fcde
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x14000fcf0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x14000fcc9
add rbx, 0x28
cmp rbx, rdi
je 0x14000fcf0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x14000fcc0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x14000fd00
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140092150]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000fd20
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000fd28
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000fd20
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000fd7d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000fd74
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000fd20
add rax, 0x28
cmp rax, r9
jne 0x14000fd60
xor eax, eax
ret

Function at 0x14000fd80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140092150]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000fd9f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000fda8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000fd9f
movzx ecx, word [rax + 6]
mov eax, ecx
ret