joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007c0c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14000c970], rbx
je 0x140007c73
cmp rax, rbx
jne 0x140007c66
mov ebx, 1
mov esi, ebx
jmp 0x140007c78
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140007c4b
mov ebx, 1
mov eax, dword [0x14000c978]
cmp eax, ebx
jne 0x140007c90
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x140007cfc
mov eax, dword [0x14000c978]
test eax, eax
jne 0x140007cf1
mov dword [0x14000c978], ebx
lea r15, [0x140009588]
lea rdi, [0x140009570]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140007ce3
test eax, eax
jne 0x140007ce7
cmp qword [rdi], r14
je 0x140007cd8
mov rax, qword [rdi]
mov rcx, qword [0x140009510]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x140007cba
test eax, eax
je 0x140007cf7
mov eax, 0xff
jmp 0x140007e50
mov dword [0x14000c194], ebx
mov edi, 0x1f
mov eax, dword [0x14000c978]
cmp eax, ebx
jne 0x140007d23
lea rdx, [0x140009568]
lea rcx, [0x140009518]
call sub.msvcrt.dll__initterm
mov dword [0x14000c978], 2
test esi, esi
jne 0x140007d31
mov rax, r14
xchg qword [0x14000c970], rax
cmp qword [0x14000c990], r14
je 0x140007d64
lea rcx, [0x14000c990]
call fcn.140008280
test eax, eax
je 0x140007d64
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14000c990]
mov r9, qword [0x140009510]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x140007d7d
mov eax, 0xff
jmp 0x140007e50
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x140007e01
cmp word [rcx], r14w
je 0x140007d96
test edx, edx
jne 0x140007e01
movzx eax, word [rcx]
sub ax, bx
cmp ax, di
ja 0x140007dac
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140007d96
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14000635c
mov dword [0x14000c190], eax
cmp dword [0x14000c1b0], r14d
jne 0x140007dea
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000c194], r14d
jne 0x140007dff
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000c190]
jmp 0x140007e50
cmp word [rcx], 0x22
jne 0x140007e15
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140007d86
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140008300
add rsp, 0x28
jmp 0x140007c0c
Function at 0x140008190
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400081dc
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400081d4
cmp dword [rcx + 0x3c], edx
jl 0x1400081d4
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400081d4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400081dc
mov rax, rdx
add rsp, 0x18
ret
Function at 0x2fc4d8aa0
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 0x2fc4d94a2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fe108]
test eax, eax
je 0x2fc4d953a
lea rax, [0x2fc4fe0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fe110]
mov qword [rbp - 8], rax
jmp 0x2fc4d951e
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 0x2fc4d9512
cmp qword [rbp - 0x10], 0
je 0x2fc4d9512
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 0x2fc4d94d8
lea rax, [0x2fc4fe0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d953b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d9640
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 0x2fc4d9668
mov eax, 0
jmp 0x2fc4d96b6
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 0x2fc4d9691
mov eax, 0
jmp 0x2fc4d96b6
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 0x2fc4d96b1
mov eax, 0
jmp 0x2fc4d96b6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d96bc
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 0x2fc4d973a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d9731
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 0x2fc4d9731
mov rax, qword [rbp - 8]
jmp 0x2fc4d974f
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 0x2fc4d9704
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140005fe0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rcx, [0x14016014c]
call fcn.1400f7320
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x14000603f
xor al, al
jmp 0x140006125
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140006085
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140006125
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400060cb
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140006125
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x1400060ee
mov dword [rsp + 0x64], 1
jmp 0x1400060f6
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x60], al
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x60]
add rsp, 0x70
pop rdi
ret

Function at 0x140006190
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
lea rdi, [rsp + 0x20]
mov ecx, 0x9c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2a0]
mov rax, qword [0x14014d8c0]
xor rax, rsp
mov qword [rsp + 0x288], rax
lea rcx, [0x14016014c]
call fcn.1400f7320
mov dword [rsp + 0x30], 0x238
mov dword [rsp + 0x274], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x278], rax
cmp qword [rsp + 0x278], 0xffffffffffffffff
jne 0x14000620d
xor eax, eax
jmp 0x14000628f
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32FirstW
nop
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x2a0]
call fcn.140008e60
test eax, eax
jne 0x140006241
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x274], eax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x278]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x14000627a
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x2a0]
call fcn.140008e60
test eax, eax
jne 0x140006278
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x274], eax
jmp 0x140006241
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x274]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401006b0]
call fcn.1400f70f0
mov rax, rdi
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1400f7560
add rsp, 0x290
pop rdi
ret
Function at 0x14000f360
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x30]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov rax, qword [0x14014d8c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [0x1401603e2]
call fcn.1400f7320
mov edx, 8
lea rcx, [rsp + 0x38]
call fcn.140014d90
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x38]
call fcn.14000fa40
nop
lea rax, [0x14000e7d0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
add rax, 8
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x38]
call fcn.140015480
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x14000f436
lea rcx, [rsp + 0x38]
call fcn.140016490
nop
jmp 0x14000f450
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140D.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x38]
call fcn.140010e90
nop
mov rcx, rsp
lea rdx, [0x140104430]
call fcn.1400f70f0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400f7560
add rsp, 0x70
pop rdi
ret

Function at 0x140012000
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x180
lea rdi, [rsp + 0x30]
mov ecx, 0x54
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14014d8c0]
xor rax, rsp
mov qword [rsp + 0x178], rax
lea rcx, [0x1401603e6]
call fcn.1400f7320
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x140012061
xor eax, eax
jmp 0x1400120fd
lea rcx, [rsp + 0x40]
call sub.ucrtbased.dll_strlen
mov qword [rsp + 0x170], rax
lea rcx, [0x1401027b8]
call sub.ucrtbased.dll_strlen
mov rcx, qword [rsp + 0x170]
lea rax, [rcx + rax + 1]
cmp rax, 0x104
jb 0x140012098
xor eax, eax
jmp 0x1400120fd
lea rdx, [0x1401027c8]
lea rcx, [rsp + 0x40]
call fcn.14000fac0
lea rdx, str.ROOXROOX.dll
lea rcx, [rsp + 0x40]
call fcn.14000fac0
nop
mov ecx, 0x104
call fcn.1400f7600
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x158], rax
lea r8, [rsp + 0x40]
mov edx, 0x104
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.ucrtbased.dll_strcpy_s]
mov rax, qword [rsp + 0x158]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140103520]
call fcn.1400f70f0
mov rax, rdi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1400f7560
add rsp, 0x180
pop rdi
ret
Function at 0x1400124a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1d0
lea rdi, [rsp + 0x20]
mov ecx, 0x6c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e0]
mov rax, qword [0x14014d8c0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
lea rcx, [0x1401603e6]
call fcn.1400f7320
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140138bb0]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
je 0x140012513
xor al, al
jmp 0x140012668
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.14000d570
nop
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0x48]
call fcn.14000e390
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x1e8]
lea rcx, [rsp + 0xb8]
call fcn.14000d850
mov qword [rsp + 0x1a8], rax
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x88]
call fcn.1400113c0
mov qword [rsp + 0x1b0], rax
lea rcx, [rsp + 0xb8]
call fcn.140005740
nop
lea rcx, [rsp + 0x88]
call fcn.1400094d0
mov byte [rsp + 0x1b8], al
movzx eax, byte [rsp + 0x1b8]
test eax, eax
je 0x14001260f
lea rcx, [rsp + 0x88]
call fcn.140015b00
mov byte [rsp + 0x1b9], al
movzx eax, byte [rsp + 0x1b9]
test eax, eax
je 0x14001260f
lea rcx, [rsp + 0x88]
call fcn.140016510
nop
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov byte [rsp + 0x1a0], 1
lea rcx, [rsp + 0x88]
call fcn.140005740
nop
lea rcx, [rsp + 0x48]
call fcn.140005740
movzx eax, byte [rsp + 0x1a0]
jmp 0x140012668
mov byte [rsp + 0x1a1], 0
lea rcx, [rsp + 0x88]
call fcn.140005740
nop
lea rcx, [rsp + 0x48]
call fcn.140005740
movzx eax, byte [rsp + 0x1a1]
jmp 0x140012668
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401039d0]
call fcn.1400f70f0
mov rax, rdi
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400f7560
add rsp, 0x1d0
pop rdi
ret
Function at 0x140012ad0
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2e0
lea rdi, [rsp + 0x30]
mov ecx, 0xac
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2f0]
mov rax, qword [0x14014d8c0]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
lea rcx, [0x1401603e6]
call fcn.1400f7320
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x140012b47
xor al, al
jmp 0x140012c70
lea rcx, [rsp + 0x40]
call sub.ucrtbased.dll_strlen
mov qword [rsp + 0x2c0], rax
mov rcx, qword [rsp + 0x2f8]
call sub.ucrtbased.dll_strlen
mov rcx, qword [rsp + 0x2c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x2c8], rax
mov rcx, qword [rsp + 0x300]
call sub.ucrtbased.dll_strlen
mov rcx, qword [rsp + 0x2c8]
lea rax, [rcx + rax + 2]
cmp rax, 0x104
jb 0x140012ba5
xor al, al
jmp 0x140012c70
lea rdx, [0x1401027ac]
lea rcx, [rsp + 0x40]
call fcn.14000fac0
mov rdx, qword [rsp + 0x2f8]
lea rcx, [rsp + 0x40]
call fcn.14000fac0
nop
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140012bee
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140012bee
xor al, al
jmp 0x140012c70
lea rdx, [0x1401027b0]
lea rcx, [rsp + 0x40]
call fcn.14000fac0
mov rdx, qword [rsp + 0x300]
lea rcx, [rsp + 0x40]
call fcn.14000fac0
nop
lea r9, [rsp + 0x300]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0x190]
call fcn.14000fe20
mov rdx, rax
lea rcx, [rsp + 0x168]
call fcn.14000d7d0
nop
lea rcx, [rsp + 0x168]
call fcn.1400151a0
nop
mov byte [rsp + 0x2b8], 1
lea rcx, [rsp + 0x168]
call fcn.140011150
movzx eax, byte [rsp + 0x2b8]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401034c0]
call fcn.1400f70f0
mov rax, rdi
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400f7560
add rsp, 0x2e0
pop rdi
ret
Function at 0x140013d50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x30]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x14014d8c0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
lea rcx, [0x1401603e3]
call fcn.1400f7320
nop
mov rax, qword [rsp + 0xf0]
cmp qword [rax + 0x68], 0
je 0x140013db4
mov rax, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140013dbb
mov al, 1
jmp 0x140013f55
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa8], rax
call fcn.140015230
mov dword [rsp + 0xb0], eax
mov edx, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0xf0]
call qword [rsp + 0xa8]
mov dword [rsp + 0xb4], eax
call fcn.140015230
mov dword [rsp + 0xb8], eax
mov edx, dword [rsp + 0xb4]
mov ecx, dword [rsp + 0xb8]
call fcn.140015250
movzx eax, al
test eax, eax
je 0x140013e28
xor al, al
jmp 0x140013f55
mov qword [rsp + 0x30], 0x20
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0xf0]
add rcx, 0x74
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x48]
mov rdx, rcx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], 0
je 0x140013eaa
cmp dword [rsp + 0xc8], 1
je 0x140013eb6
cmp dword [rsp + 0xc8], 3
je 0x140013f43
jmp 0x140013f53
mov rax, qword [rsp + 0xf0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jbe 0x140013f11
mov rax, qword [rsp + 0xf0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x98]
mov edx, 1
lea rcx, [rsp + 0x48]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rsp + 0x98], rax
je 0x140013f11
xor al, al
jmp 0x140013f55
mov rax, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140013f2e
mov dword [rsp + 0xcc], 1
jmp 0x140013f39
mov dword [rsp + 0xcc], 0
movzx eax, byte [rsp + 0xcc]
jmp 0x140013f55
mov rax, qword [rsp + 0xf0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140013f55
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140103f60]
call fcn.1400f70f0
mov rax, rdi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400f7560
add rsp, 0xe0
pop rdi
ret
Function at 0x140017250
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x1401603e3]
call fcn.1400f7320
nop
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x140017297
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140017386
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x50], 0
jle 0x14001732e
cmp qword [rsp + 0x28], 0
jle 0x14001732e
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x50], rax
jge 0x1400172d7
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140008ed0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rsp + 0x50], 0
jle 0x140017376
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140017376
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
add rsp, 0x30
pop rdi
ret
Function at 0x140034460
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
lea rcx, [0x14016042a]
call fcn.1400f7320
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ucrtbased.dll_fread]
add rsp, 0x20
pop rdi
ret

Function at 0x1400344b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
lea rcx, [0x14016042a]
call fcn.1400f7320
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ucrtbased.dll_fwrite]
add rsp, 0x20
pop rdi
ret

Function at 0x140034d10
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 + 0x20], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [0x140107710]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
dec rax
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x38], 0
je 0x140034d79
mov dword [rsp + 0x40], 1
jmp 0x140034d81
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x40], 0
je 0x140034dc8
mov eax, dword [rsp + 0x20]
shr eax, 8
mov ecx, dword [rsp + 0x20]
and ecx, 0xff
mov rdx, qword [rsp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
jmp 0x140034d50
mov eax, dword [rsp + 0x20]
not eax
add rsp, 0x50
pop rdi
ret