joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034de0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rcx, [0x14016042a]
call fcn.1400f7320
mov eax, dword [rsp + 0x70]
not eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [0x140107710]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x68], 0
je 0x140034f0a
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x68]
dec rax
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x40], 0
je 0x140034e5d
mov dword [rsp + 0x48], 1
jmp 0x140034e65
mov dword [rsp + 0x48], 0
cmp dword [rsp + 0x48], 0
je 0x140034f05
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x4c], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x38]
cmp eax, 0x23
jne 0x140034eda
cmp qword [rsp + 0x68], 2
jb 0x140034eda
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140034eda
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140034eda
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 8
mov ecx, dword [rsp + 0x20]
and ecx, 0xff
movzx edx, byte [rsp + 0x38]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0x20], eax
jmp 0x140034e34
jmp 0x140034fa0
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov byte [rsp + 0x4d], al
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x4d]
mov byte [rsp + 0x39], al
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x140034fa0
movzx eax, byte [rsp + 0x39]
cmp eax, 0x23
jne 0x140034f75
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140034f75
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140034f75
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 8
mov ecx, dword [rsp + 0x20]
and ecx, 0xff
movzx edx, byte [rsp + 0x39]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0x20], eax
jmp 0x140034f0a
mov eax, dword [rsp + 0x20]
not eax
add rsp, 0x50
pop rdi
ret
Function at 0x1400a6350
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x30
lea rcx, [0x1401605ed]
call fcn.1400f7320
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400a6383
mov dword [rsp + 0x20], 1
jmp 0x1400a638b
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x1400f4060
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400f409d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.1400f4000
add rsp, 0x58
ret

Function at 0x1400f8760
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400f7990
movzx eax, al
test eax, eax
jne 0x1400f8780
mov ecx, 7
call fcn.1400f9cf0
nop
mov byte [rsp + 0x20], 0
call fcn.1400f77c0
mov byte [rsp + 0x21], al
cmp dword [0x140154c98], 1
jne 0x1400f87a4
mov ecx, 7
call fcn.1400f9cf0
nop
jmp 0x1400f87fc
cmp dword [0x140154c98], 0
jne 0x1400f87f7
mov dword [0x140154c98], 1
lea rdx, [0x1400ffb70]
lea rcx, [0x1400ffb58]
call sub.ucrtbased.dll__initterm_e
test eax, eax
je 0x1400f87d8
mov eax, 0xff
jmp 0x1400f8901
lea rdx, [0x1400ffb50]
lea rcx, [0x1400ffb18]
call sub.ucrtbased.dll__initterm
mov dword [0x140154c98], 2
jmp 0x1400f87fc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400f7b80
call fcn.1400fa310
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400f8859
mov rcx, qword [rsp + 0x30]
call fcn.1400f7af0
movzx eax, al
test eax, eax
je 0x1400f8859
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x1400ffaf0]
nop
call fcn.1400fa320
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400f888d
mov rcx, qword [rsp + 0x38]
call fcn.1400f7af0
movzx eax, al
test eax, eax
je 0x1400f888d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call sub.ucrtbased.dll__register_thread_local_exe_atexit_callback
nop
call fcn.1400f8940
mov dword [rsp + 0x28], eax
call fcn.1400f9f10
movzx eax, al
test eax, eax
jne 0x1400f88ac
mov ecx, dword [rsp + 0x28]
call sub.ucrtbased.dll_exit
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400f88bb
call sub.ucrtbased.dll__cexit
nop
xor edx, edx
mov cl, 1
call fcn.1400f7bb0
mov eax, dword [rsp + 0x28]
jmp 0x1400f8901
add rsp, 0x68
ret
Function at 0x140002470
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
sub rsp, 0xf0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x68], 0xfffffffffffffffe
mov dword [rbp + 0x64], 0
mov qword [rbp + 0x58], 0x9a
mov r8, qword [rbp + 0x58]
lea rdx, [0x14000e160]
lea rcx, [rbp + 0x38]
call fcn.1400021d0
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Executing_bytes..._n
call fcn.140002c90
jmp 0x1400024c3
lea rax, [rbp + 0x38]
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0x18]
call fcn.140003000
mov rcx, qword [rbp + 0x30]
mov rdx, rbp
call fcn.140003050
lea rcx, [rbp + 0x18]
mov rdx, rbp
call fcn.1400030a0
test al, 1
jne 0x140002571
mov rcx, rbp
call fcn.140003200
lea rcx, [rbp + 0x18]
call fcn.140003200
lea rcx, [rbp + 0x38]
mov qword [rbp - 0x48], rcx
call fcn.140003220
mov qword [rbp - 0x28], rax
mov rdx, qword [rbp - 0x28]
add rdx, 5
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor ecx, ecx
mov r8d, 0x1000
mov r9d, 0x40
call rax
mov rcx, qword [rbp - 0x48]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x40], rax
call fcn.140003250
mov rcx, qword [rbp - 0x40]
mov rdx, rax
mov r8, qword [rbp - 0x28]
call sub.VCRUNTIME140D.dll_memcpy
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
call rax
jmp 0x140002623
lea rcx, [rbp + 0x18]
call fcn.1400030d0
mov qword [rbp - 8], rax
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000a7e0]
call fcn.140002c90
mov qword [rbp - 0x50], rax
jmp 0x14000259a
mov rcx, qword [rbp - 0x50]
lea rdx, [0x140003170]
mov rax, qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
call rax
mov qword [rbp - 0x58], rax
jmp 0x1400025b7
lea rcx, [rbp - 0x18]
mov edx, 2
call sub.MSVCP140D.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
jmp 0x1400025ca
mov rcx, qword [rbp - 0x58]
lea rdx, [rbp - 0x18]
call fcn.140003130
mov qword [rbp - 0x60], rax
jmp 0x1400025e0
lea rcx, [rbp - 0x19]
mov dl, 0x30
call fcn.1400031a0
jmp 0x1400025f0
mov rcx, qword [rbp - 0x60]
lea rdx, [rbp - 0x19]
call fcn.1400030f0
mov rcx, rax
mov rax, qword [rbp - 8]
movzx edx, byte [rax]
mov rax, qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
call rax
jmp 0x140002615
lea rcx, [rbp + 0x18]
call fcn.1400031d0
jmp 0x1400024e4
mov dword [rbp + 0x64], 0
lea rcx, [rbp + 0x38]
call fcn.140002c10
mov eax, dword [rbp + 0x64]
add rsp, 0xf0
pop rbp
ret
Function at 0x140008da0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140007430
movzx eax, al
test eax, eax
jne 0x140008dc0
mov ecx, 7
call fcn.140008440
nop
mov byte [rsp + 0x20], 0
call fcn.140007390
mov byte [rsp + 0x21], al
cmp dword [0x14000f970], 1
jne 0x140008de4
mov ecx, 7
call fcn.140008440
nop
jmp 0x140008e3c
cmp dword [0x14000f970], 0
jne 0x140008e37
mov dword [0x14000f970], 1
lea rdx, [0x14000bd98]
lea rcx, [0x14000bd80]
call sub.ucrtbased.dll__initterm_e
test eax, eax
je 0x140008e18
mov eax, 0xff
jmp 0x140008f41
lea rdx, [0x14000bd78]
lea rcx, [0x14000bd60]
call sub.ucrtbased.dll__initterm
mov dword [0x14000f970], 2
jmp 0x140008e3c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140007400
call fcn.140009230
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140008e99
mov rcx, qword [rsp + 0x30]
call fcn.140007300
movzx eax, al
test eax, eax
je 0x140008e99
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140011010]
nop
call fcn.140009240
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140008ecd
mov rcx, qword [rsp + 0x38]
call fcn.140007300
movzx eax, al
test eax, eax
je 0x140008ecd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call sub.ucrtbased.dll__register_thread_local_exe_atexit_callback
nop
call fcn.140008d60
mov dword [rsp + 0x28], eax
call fcn.140008350
movzx eax, al
test eax, eax
jne 0x140008eec
mov ecx, dword [rsp + 0x28]
call sub.ucrtbased.dll_exit
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140008efb
call sub.ucrtbased.dll__cexit
nop
xor edx, edx
mov cl, 1
call fcn.140007480
mov eax, dword [rsp + 0x28]
jmp 0x140008f41
add rsp, 0x68
ret
Function at 0x2fc4db670
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4dc072
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc500108]
test eax, eax
je 0x2fc4dc10a
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc500110]
mov qword [rbp - 8], rax
jmp 0x2fc4dc0ee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4dc0e2
cmp qword [rbp - 0x10], 0
je 0x2fc4dc0e2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4dc0a8
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dc10b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dc210
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dc238
mov eax, 0
jmp 0x2fc4dc286
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dc261
mov eax, 0
jmp 0x2fc4dc286
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dc281
mov eax, 0
jmp 0x2fc4dc286
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dc28c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4dc30a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dc301
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4dc301
mov rax, qword [rbp - 8]
jmp 0x2fc4dc31f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4dc2d4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140002c20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x12c
xor esi, esi
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x20], 0x130
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140002ce5
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], sil
jne 0x140002ca0
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
mov r8, qword [rbx + 0x10]
jb 0x140002cba
mov rcx, qword [rbx]
cmp r8, rax
jne 0x140002ccd
lea rdx, [rsp + 0x4c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140002ce1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140002c91
jmp 0x140002ce5
mov esi, dword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140002d24
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140002d1f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002d5e
mov rcx, r8
call fcn.1400071e8
mov qword [rbx + 0x10], 0
mov eax, esi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140006dc0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140027b40
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x28
mov rax, qword gs:[0x60]
xor r11d, r11d
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx + 0x10]
mov eax, dword [rdx + 0x30]
add eax, 0x100000
mov dword [rdx + 0x40], eax
call fcn.140003760
movsx r9d, al
call fcn.140003750
movsx ecx, al
imul r9d, ecx
call fcn.140003790
movsx r10d, al
lea edx, [r9 + r9*2]
movsx eax, byte [reloc.OLEAUT32.dll_VariantCopy]
xorps xmm2, xmm2
movsx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
add eax, r10d
lea eax, [rax + rdx*2]
xor edx, edx
div ecx
movsx ecx, byte [0x14007c0db]
xor edx, edx
sub eax, ecx
lea ecx, [r9 + r10]
lea ecx, [rcx + r9*2]
cvtsi2sd xmm2, rax
movsx eax, byte [0x14007c0da]
movd xmm1, eax
movsx eax, byte [0x14007c0dc]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, xmm2
movsd qword [rsp + 0x30], xmm1
movsx eax, byte [reloc.OLEAUT32.dll_VariantCopy]
add eax, ecx
movsx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
div ecx
movsx ecx, byte [0x14007c0db]
cmp eax, ecx
je 0x140027c39
call fcn.140003770
movsx edx, al
movsx eax, byte [0x14007d2e0]
imul edx, eax
shl edx, 3
call fcn.1400037a0
movsx ecx, al
sub edx, ecx
call fcn.140003780
movsx ecx, al
add edx, ecx
movsx ecx, byte [0x14007c0dc]
add ecx, edx
jne 0x140027ca2
movsx eax, byte [reloc.OLEAUT32.dll_VariantCopy]
lea ecx, [r9 + r10]
lea ecx, [rcx + r9*4]
xor edx, edx
add eax, ecx
movsx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
div ecx
movsx ecx, byte [0x14007c0db]
cmp eax, ecx
je 0x140027c99
movsx eax, byte [reloc.OLEAUT32.dll_VariantCopy]
lea ecx, [r9 + r10]
lea ecx, [rcx + r9*8]
xor edx, edx
add eax, ecx
xorps xmm0, xmm0
movsx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
div ecx
movsx ecx, byte [0x14007c0db]
sub eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [rsp + 0x30]
cvttsd2si eax, xmm0
jmp 0x140027c9d
mov eax, dword [rsp + 0x30]
cmp r11d, eax
jge 0x140027ca4
xor eax, eax
add rsp, 0x28
ret
Function at 0x14005b200
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14005b228
add rsp, 0x20
pop r15
pop rdi
pop rbx
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 + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14005b24e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14005b250
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14005b2a9
test ecx, ecx
jle 0x14005b289
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14005b2a9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14005b2a9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x14005b2d0
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 0x14005b2f2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14005b308
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 0x14005b324
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14005b326
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14005b362
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14005b3fe
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14005b39d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14005b3de
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]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14005b3fe
cmp rbx, rax
ja 0x14005b3b0
test rbx, rbx
je 0x14005b3fe
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]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x14005b860
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14007c040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14005b88d
xor eax, eax
jmp 0x14005b9f9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14005b8c7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14005b8c7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14005b9f9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14005b9ec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14005b90a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
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 0x14005b935
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 0x14005b9f1
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 0x14005b9a4
sub eax, 1
je 0x14005b9a4
cmp eax, 2
jne 0x14005b9ec
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 0x14005b9f1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14005b9d2
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 0x14005b9ec
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14005b9f1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14006f780
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret