joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2012114af
Capabilities:
Create thread

Disassembly:
push rbp
mov eax, 0x17c70
call fcn.201212420
sub rsp, rax
lea rbp, [rsp + 0x80]
mov r9d, 0
lea r8, str.Szia_Uram_
lea rax, str.Szia_
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_MessageBoxA]
call rax
movabs rax, 0xee6706b31667cad2
movabs rdx, 0x431cab756a81880d
mov qword [rbp + 0x17bc0], rax
mov qword [rbp + 0x17bc8], rdx
lea rax, [rbp - 0x40]
lea rdx, [0x2012190a8]
mov ecx, 0x17c00
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov dword [rbp + 0x17bec], 0x17c00
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x17c00
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x17be0], rax
cmp qword [rbp + 0x17be0], 0
jne 0x201211585
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_to_Allocate_memory___u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xffffffff
jmp 0x2012116b7
mov ecx, dword [rbp + 0x17bec]
lea rdx, [rbp + 0x17bc0]
lea rax, [rbp - 0x40]
mov r9d, 0x10
mov r8d, ecx
mov rcx, rax
call sym.De_char__unsigned_char__unsigned_long__unsigned_long_
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x17be0]
mov r8d, 0x17c00
mov rcx, rax
call sym.memmove
lea rdx, [rbp - 0x44]
mov rax, qword [rbp + 0x17be0]
mov r9, rdx
mov r8d, 0x20
mov edx, 0x17c00
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
sete al
test al, al
je 0x201211612
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_to_change_memory_protection___u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xfffffffe
jmp 0x2012116b7
mov rax, qword [rbp + 0x17be0]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0x17bd8], rax
cmp qword [rbp + 0x17bd8], 0
jne 0x201211678
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Nem_sikerult_letrehozni_a_szalat.___u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xfffffffd
jmp 0x2012116b7
mov rax, qword [rbp + 0x17be0]
mov rdx, rax
lea rax, str._n_nalloc_mem_:__p_n
mov rcx, rax
call sym.printf_char_const__::_
mov rax, qword [rbp + 0x17bd8]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0x17be0]
call rax
mov eax, 0
add rsp, 0x17c70
pop rbp
ret

Function at 0x201211860
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 sym.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 0x2012118d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x201234064]
mov rbx, rcx
test esi, esi
jle 0x201211a00
mov rax, qword [0x201234068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x20121191b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x2012119a5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x201211900
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x201211a22
mov rax, qword [0x201234068]
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 [0x201234068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x201211a07
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x20121199e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x2012119b0
add dword [0x201234064], 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 [0x201234068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x20121199e
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 0x201211928
mov rax, qword [0x201234068]
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 0x201211da0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x2012340a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x201234080]
test rbx, rbx
je 0x201211dfc
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 eax, eax
jne 0x201211df3
test rsi, rsi
je 0x201211df3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x201211dd8
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 0x201212010
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x201212028
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x201212030
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x201212040
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 0x20121208d
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 0x201212084
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x20121208f
add rax, 0x28
cmp rax, r9
jne 0x201212070
xor eax, eax
ret

Function at 0x201212090
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x201212120
mov rdx, qword [0x201231250]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x20121210e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x20121210e
cmp word [rax + 0x18], 0x20b
jne 0x20121210e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x201212120
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x2012120f9
add rbx, 0x28
cmp rbx, rdi
je 0x201212120
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x2012120f0
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 0x201212130
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x201231250]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x201212150
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x201212158
ret
cmp word [r8 + 0x18], 0x20b
jne 0x201212150
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x2012121ad
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 0x2012121a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x201212150
add rax, 0x28
cmp rax, r9
jne 0x201212190
xor eax, eax
ret

Function at 0x2012121b0
Capabilities:
Parse pe header

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

Function at 0x2012121f0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x201231250]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x201212210
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x201212218
ret
cmp word [rdx + 0x18], 0x20b
jne 0x201212210
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x201212260
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x201212257
test rcx, rcx
je 0x201212210
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x201212248
xor eax, eax
ret
Function at 0x201212270
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x201231250]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x20121228f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x201212298
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
mov rdx, qword [0x201231250]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2012122d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2012122d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2012122d0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x2012122d0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x201212324
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x201212330
add rdx, 0x28
cmp r9, rdx
jne 0x201212310
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x201231250]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x201212362
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x201212370
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x201212362
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x201212362
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x201212362
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x2012123c5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x2012123d8
add rdx, 0x28
cmp rdx, r10
jne 0x2012123b0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x2012123e7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x2012123f7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x2012123ce
test ecx, ecx
jg 0x2012123e0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140002430
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x140002467
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140002488
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000248a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400024e3
test ecx, ecx
jle 0x1400024c3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call fcn.140004d73
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400024e3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400024e3
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140002510
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140002532
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140002548
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140002564
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002566
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x1400025a0
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.140004d73
mov rax, qword [rsi + 0x50]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140002647
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x1400025db
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140002621
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x140002660
cmp rbx, rax
ja 0x1400025f0
mov r8, rdi
test rdi, rdi
je 0x140002647
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x14000264a
Function at 0x140002a60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140008010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140002a8d
xor eax, eax
jmp 0x140002be2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140002ab8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140002ab8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140002be2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140002bd5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140002afb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140002b26
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002bda
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002b95
sub eax, 1
je 0x140002b95
cmp eax, 2
jne 0x140002bd5
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002bda
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002bc3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140002bd5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x140002bda
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003f30
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002e40
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140008010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002f13
cmp byte [rcx + 0x71], 0
je 0x140002f13
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002f0f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002ed4
sub eax, 1
je 0x140002ed8
cmp eax, 2
jne 0x140002f0f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003f30
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002f06
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140002f0f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140002ebc
xor al, al
jmp 0x140002ebc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003f30
add rsp, 0x60
pop rbx
ret
Function at 0x140bdc550
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rbp, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x140bdc57c
xor al, al
jmp 0x140bdc6a0
movdqa xmm0, xmmword [0x140bfcae0]
movdqa xmm1, xmmword [0x140bfcaf0]
mov rax, qword [r9]
xor r11d, r11d
mov qword [rsp + 0x50], r12
mov rcx, r8
movdqa xmmword [rsp], xmm0
movdqa xmm0, xmmword [0x140bfcb00]
movdqa xmmword [rsp + 0x10], xmm1
lea r12, [r8 + rax]
mov edx, r11d
movdqa xmm1, xmmword [0x140bfcb10]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmmword [rsp + 0x30], xmm1
test rbx, rbx
je 0x140bdc692
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x140bdc5f9
mov r11d, 2
jmp 0x140bdc61d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x140bdc613
mov r11d, 1
jmp 0x140bdc61d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, r12
ja 0x140bdc6b5
mov eax, r10d
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov eax, r10d
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x140bdc65a
mov byte [rcx + 2], 0x3d
jmp 0x140bdc66a
shr r10, 6
and r10d, 0x3f
movzx eax, byte [rsp + r10]
mov byte [rcx + 2], al
add rcx, 3
add r8, 3
test r11, r11
je 0x140bdc67c
mov byte [rcx], 0x3d
jmp 0x140bdc683
movzx eax, byte [rsp + r9]
mov byte [rcx], al
inc rcx
inc r8
cmp rdx, rbx
jb 0x140bdc5e0
sub rcx, rsi
mov al, 1
mov qword [rbp], rcx
mov r12, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
xor al, al
jmp 0x140bdc69b

Function at 0x140bded22
Capabilities:
Encode data using xor

Disassembly:
xchg qword [rsp + 0x20], rax
and r14w, 0x2f37
jo 0x140001d64
bswap r14d
not r14b

Function at 0x140c5c090
Capabilities:
Encode data using xor

Disassembly:
push qword [rsp + 0x28]
popfq
lea rsp, [rsp + 0x30]
call fcn.140e7ec46
sti
je 0x140c5c0b7
sub byte [rbp + 0x24648d48], bl
xor al, ch
cmpsd dword [rsi], dword [rdi]
sub esp, dword [rdx]
add bl, bh
je 0x140c5c091
out 0xc1, al
fmul qword [rdi - 0x275c6fef]
jne 0x140c5c09b
mov esi, 0x11919f99
xchg ebx, eax
pop rbp
invalid
push rbx
xor al, bh
xchg dword [rcx], edx
invalid

Function at 0x140d02846
Capabilities:
Check for software breakpoints

Disassembly:
setbe byte [rsp + 0x10]
mov rdi, qword [rsp + 0x30]
add qword [rsp + 0x20], 0x8bf37
and dword [rsp + 0x10], 0x67522cf5
push r11
call fcn.140c97559
pushfq
call fcn.140bd6069

Function at 0x140d0806e
Capabilities:
Encode data using xor

Disassembly:
call fcn.140bdde8e
movzx dx, dl
lea rdx, [rdx*4 + 0x632416ef]
movsxd rdx, edx
add dl, dh
mov rdx, qword [rsp + 0x28]
jno 0x140cd2a03
Function at 0x140d65f3a
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], 0xeb32a92
jbe 0x140ca07a9
and qword [rsp + 0x18], 0x43446f29
lea rsi, [rsi + 0x969363a]
add qword [rsp + 0x10], 0xfffffffffff089e5
test dword [rsp + 0x18], 0x15eb4c5b
not byte [rsp + 0x18]
xchg qword [rsp + 0x20], rsi
push r11
movabs r11, 0xb5c733549ce74c6
push r12
or eax, dword [rcx + 0x54]
push rsi
movabs rsi, 0x54071a61ee2461a
call fcn.140ccae6a
xchg edx, eax
pop rbp
cmp edx, dword [rbp - 0x58]
xor esi, dword [rcx - 0x1c]
jae 0x140d65f7e
test al, 0xee
in al, 1
pushfq
invalid

Function at 0x140d71ce1
Capabilities:
Encode data using xor

Disassembly:
mov r12, qword [rsp + 0x18]
mov qword [rsp + 0x18], 0x453e02f2
and r10w, r10w
jle 0x140d71cf3
xor r10w, r10w
seto r10b
xor r10w, 0x2344
push r13
mov r10, qword [rsp + 0x10]
jbe 0x140d71cf9
movabs r13, 0x60a505660a6a0575
sete r13b
lea r13, [r13*8 + 0x1ede7a9b]
mov r13, qword [rsp]
push qword [rsp + 0x18]
popfq
lea rsp, [rsp + 0x20]
call fcn.140e35654

Function at 0x140df1d21
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp r10
pushfq
push rax
jmp 0x140e0b388
ror edx, 1
bswap edx
cmp di, r13w
xor edx, 0x65505ae6
dec edx
test r9b, 0x2f
cmp r14b, r14b
push rsi
shr sil, cl
bsf rsi, r12
xor dword [rsp], edx
shl sil, cl
bswap rsi
pop rsi
test bp, 0x34d6
movsxd rdx, edx
add r10, rdx
jmp 0x140dd78aa
push r12
push rbx
movzx bx, bpl
push rdi
push r13
jmp 0x140e33f3a
push r8
cwde
movsx r8, r13w
push rsi
cwde
movzx rsi, r10w
push r10
movsx rbx, r12w
cbw
push r14
mov sil, 0x86
mov r8b, r8b
lahf
push r11
lahf
push r9
dec r8d
movsxd r10, r10d
push r15
mov r9w, 0x12ed
push rdx
movsxd r8, r13d
push rcx
movzx r9d, ax
movzx dx, r13b
push rbp
movsx ebx, r9w
cdq
movabs r8, 0
push r8
cwde
cwd
rdtsc
mov rbp, qword [rsp + 0x90]
rdtsc
inc ebp
jmp 0x140ead5a4
neg ebp
bts r10w, r12w
add ebp, 0x16f7103c
bswap rdx
or r10, 0x5a976f32
movsx ax, r15b
xor ebp, 0x27207eeb
sal r9d, 0x85
lea rbp, [rbp + r8]
bsr r10w, bx
bswap si
movabs r9, 0x100000000
movsxd r10, edx
add rbp, r9
and dl, sil
mov rbx, rsp
xor ah, 0xef
sub rsp, 0x180
cdq
cmove r10w, r10w
adc sil, 0xa9
and rsp, 0xfffffffffffffff0
rcl sil, 0x23
movzx rdx, r14w
mov rsi, rbp
stc
sbb ah, 0x77
movabs rax, 0
btr r10w, 0xf6
sub rsi, rax
lea r10, [0x140ead62a]
rcl dh, cl
mov edx, dword [rbp + riz]
add rbp, 4
xor edx, esi
jmp 0x140e029e7