joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012d60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14001f010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 0x14
mov byte [rsp + 0x28], 0x3b
mov byte [rsp + 0x29], 0x55
mov byte [rsp + 0x2a], 0x42
mov byte [rsp + 0x2b], 0x51
mov byte [rsp + 0x2c], 0x54
mov byte [rsp + 0x2d], 0x4d
mov byte [rsp + 0x2e], 0x53
mov byte [rsp + 0x2f], 0x48
mov byte [rsp + 0x30], 0x4c
mov byte [rsp + 0x31], 0x44
mov byte [rsp + 0x32], 0x10
mov byte [rsp + 0x33], 0x13
mov byte [rsp + 0x34], 0xf
mov byte [rsp + 0x35], 0x3e
mov byte [rsp + 0x36], 0x10
mov byte [rsp + 0x37], 0xd
mov byte [rsp + 0x38], 0x43
mov byte [rsp + 0x39], 0x4b
mov byte [rsp + 0x3a], 0x4b
mov byte [rsp + 0x3b], 0xdf
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140020178], eax
jle 0x140012e42
lea rcx, [0x140020178]
call fcn.1400174c8
cmp dword [0x140020178], 0xffffffff
jne 0x140012e42
lea rdx, [rsp + 0x28]
lea rcx, [0x14001feb8]
call fcn.140008ac0
lea rcx, [0x14001af40]
call fcn.140017884
nop
lea rcx, [0x140020178]
call fcn.14001745c
lea rax, [0x14001feb8]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140017400
add rsp, 0x58
ret
Function at 0x140013600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x14001f010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0xd
mov byte [rsp + 0x28], 0x5a
mov byte [rsp + 0x29], 0x74
mov byte [rsp + 0x2a], 0x81
mov byte [rsp + 0x2b], 0x7d
mov byte [rsp + 0x2c], 0x74
mov byte [rsp + 0x2d], 0x7b
mov byte [rsp + 0x2e], 0x42
mov byte [rsp + 0x2f], 0x41
mov byte [rsp + 0x30], 0x3d
mov byte [rsp + 0x31], 0x73
mov byte [rsp + 0x32], 0x7b
mov byte [rsp + 0x33], 0x7b
mov byte [rsp + 0x34], 0xf
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140020218], eax
jle 0x1400136bf
lea rcx, [0x140020218]
call fcn.1400174c8
cmp dword [0x140020218], 0xffffffff
jne 0x1400136bf
lea rdx, [rsp + 0x28]
lea rcx, [0x14001ff30]
call fcn.140008e80
lea rcx, [0x14001ae60]
call fcn.140017884
nop
lea rcx, [0x140020218]
call fcn.14001745c
lea rax, [0x14001ff30]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140017400
add rsp, 0x48
ret

Function at 0x1400136e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x14001f010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0xc
mov byte [rsp + 0x28], 0x52
mov byte [rsp + 0x29], 0x81
mov byte [rsp + 0x2a], 0x74
mov byte [rsp + 0x2b], 0x70
mov byte [rsp + 0x2c], 0x83
mov byte [rsp + 0x2d], 0x74
mov byte [rsp + 0x2e], 0x55
mov byte [rsp + 0x2f], 0x78
mov byte [rsp + 0x30], 0x7b
mov byte [rsp + 0x31], 0x74
mov byte [rsp + 0x32], 0x50
mov byte [rsp + 0x33], 0xf
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14001fea0], eax
jle 0x14001379a
lea rcx, [0x14001fea0]
call fcn.1400174c8
cmp dword [0x14001fea0], 0xffffffff
jne 0x14001379a
lea rdx, [rsp + 0x28]
lea rcx, [0x14001fed8]
call fcn.14000a460
lea rcx, [0x14001ae40]
call fcn.140017884
nop
lea rcx, [0x14001fea0]
call fcn.14001745c
lea rax, [0x14001fed8]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140017400
add rsp, 0x48
ret

Function at 0x1400140c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x14001f010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0xb
mov byte [rsp + 0x28], 0x54
mov byte [rsp + 0x29], 0x61
mov byte [rsp + 0x2a], 0x55
mov byte [rsp + 0x2b], 0x69
mov byte [rsp + 0x2c], 0x51
mov byte [rsp + 0x2d], 0x50
mov byte [rsp + 0x2e], 0x1d
mov byte [rsp + 0x2f], 0x61
mov byte [rsp + 0x30], 0x5a
mov byte [rsp + 0x31], 0x61
mov byte [rsp + 0x32], 0xef
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14002013c], eax
jle 0x140014175
lea rcx, [0x14002013c]
call fcn.1400174c8
cmp dword [0x14002013c], 0xffffffff
jne 0x140014175
lea rdx, [rsp + 0x28]
lea rcx, [0x1400201d0]
call fcn.140009790
lea rcx, [0x14001ace0]
call fcn.140017884
nop
lea rcx, [0x14002013c]
call fcn.14001745c
lea rax, [0x1400201d0]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140017400
add rsp, 0x48
ret
Function at 0x140014190
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14001f010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 0x13
mov byte [rsp + 0x28], 0x52
mov byte [rsp + 0x29], 0x54
mov byte [rsp + 0x2a], 0x51
mov byte [rsp + 0x2b], 0x5f
mov byte [rsp + 0x2c], 0x61
mov byte [rsp + 0x2d], 0x55
mov byte [rsp + 0x2e], 0x55
mov byte [rsp + 0x2f], 0xf
mov byte [rsp + 0x30], 0x64
mov byte [rsp + 0x31], 0x5d
mov byte [rsp + 0x32], 0x5f
mov byte [rsp + 0x33], 0x67
mov byte [rsp + 0x34], 0x61
mov byte [rsp + 0x35], 0x54
mov byte [rsp + 0x36], 0x1d
mov byte [rsp + 0x37], 0x61
mov byte [rsp + 0x38], 0x5a
mov byte [rsp + 0x39], 0x61
mov byte [rsp + 0x3a], 0xef
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14001ff74], eax
jle 0x14001426d
lea rcx, [0x14001ff74]
call fcn.1400174c8
cmp dword [0x14001ff74], 0xffffffff
jne 0x14001426d
lea rdx, [rsp + 0x28]
lea rcx, [0x140020088]
call fcn.14000a200
lea rcx, [0x14001acc0]
call fcn.140017884
nop
lea rcx, [0x14001ff74]
call fcn.14001745c
lea rax, [0x140020088]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140017400
add rsp, 0x58
ret

Function at 0x140014290
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14001f010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 0x11
mov byte [rsp + 0x28], 0x64
mov byte [rsp + 0x29], 0x56
mov byte [rsp + 0x2a], 0x56
mov byte [rsp + 0x2b], 0x52
mov byte [rsp + 0x2c], 0x60
mov byte [rsp + 0x2d], 0x61
mov byte [rsp + 0x2e], 0x5e
mov byte [rsp + 0x2f], 0x57
mov byte [rsp + 0x30], 0x63
mov byte [rsp + 0x31], 0x63
mov byte [rsp + 0x32], 0x61
mov byte [rsp + 0x33], 0x54
mov byte [rsp + 0x34], 0x1d
mov byte [rsp + 0x35], 0x61
mov byte [rsp + 0x36], 0x5a
mov byte [rsp + 0x37], 0x61
mov byte [rsp + 0x38], 0xef
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140020120], eax
jle 0x140014363
lea rcx, [0x140020120]
call fcn.1400174c8
cmp dword [0x140020120], 0xffffffff
jne 0x140014363
lea rdx, [rsp + 0x28]
lea rcx, [0x140020148]
call fcn.14000a770
lea rcx, [0x14001aca0]
call fcn.140017884
nop
lea rcx, [0x140020120]
call fcn.14001745c
lea rax, [0x140020148]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140017400
add rsp, 0x58
ret
Function at 0x140014380
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14001f010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 0x12
mov byte [rsp + 0x28], 0x52
mov byte [rsp + 0x29], 0x54
mov byte [rsp + 0x2a], 0x51
mov byte [rsp + 0x2b], 0x5f
mov byte [rsp + 0x2c], 0x61
mov byte [rsp + 0x2d], 0x55
mov byte [rsp + 0x2e], 0x55
mov byte [rsp + 0x2f], 0x64
mov byte [rsp + 0x30], 0x5d
mov byte [rsp + 0x31], 0x5f
mov byte [rsp + 0x32], 0x67
mov byte [rsp + 0x33], 0x61
mov byte [rsp + 0x34], 0x54
mov byte [rsp + 0x35], 0x1d
mov byte [rsp + 0x36], 0x61
mov byte [rsp + 0x37], 0x5a
mov byte [rsp + 0x38], 0x61
mov byte [rsp + 0x39], 0xef
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x14001ff24], eax
jle 0x140014458
lea rcx, [0x14001ff24]
call fcn.1400174c8
cmp dword [0x14001ff24], 0xffffffff
jne 0x140014458
lea rdx, [rsp + 0x28]
lea rcx, [0x14001fee8]
call fcn.140009e40
lea rcx, [0x14001ac80]
call fcn.140017884
nop
lea rcx, [0x14001ff24]
call fcn.14001745c
lea rax, [0x14001fee8]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140017400
add rsp, 0x58
ret

Function at 0x140015240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14001f010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 0x19
mov byte [rsp + 0x28], 0xf4
mov byte [rsp + 0x29], 0x23
mov byte [rsp + 0x2a], 0x16
mov byte [rsp + 0x2b], 0x12
mov byte [rsp + 0x2c], 0x25
mov byte [rsp + 0x2d], 0x16
mov byte [rsp + 0x2e], 5
mov byte [rsp + 0x2f], 0x20
mov byte [rsp + 0x30], 0x20
mov byte [rsp + 0x31], 0x1d
mov byte [rsp + 0x32], 0x19
mov byte [rsp + 0x33], 0x16
mov byte [rsp + 0x34], 0x1d
mov byte [rsp + 0x35], 0x21
mov byte [rsp + 0x36], 0xe4
mov byte [rsp + 0x37], 0xe3
mov byte [rsp + 0x38], 4
mov byte [rsp + 0x39], 0x1f
mov byte [rsp + 0x3a], 0x12
mov byte [rsp + 0x3b], 0x21
mov byte [rsp + 0x3c], 0x24
mov byte [rsp + 0x3d], 0x19
mov byte [rsp + 0x3e], 0x20
mov byte [rsp + 0x3f], 0x25
mov byte [rsp + 0x40], 0xb1
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x1400202e0], eax
jle 0x14001533b
lea rcx, [0x1400202e0]
call fcn.1400174c8
cmp dword [0x1400202e0], 0xffffffff
jne 0x14001533b
lea rdx, [rsp + 0x28]
lea rcx, [0x140020180]
call fcn.140015920
lea rcx, [0x14001aa40]
call fcn.140017884
nop
lea rcx, [0x1400202e0]
call fcn.14001745c
lea rax, [0x140020180]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140017400
add rsp, 0x58
ret

Function at 0x14001816c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400181b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400181b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400181b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400181b6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400181b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400181b8
xor al, al
add rsp, 0x28
ret
Function at 0x1800112f3
Capabilities:
Create process on windows

Disassembly:
jmp 0x1800165f0
push rbp
push rdi
sub rsp, 0x708
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x11e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x180024040]
xor rax, rbp
mov qword [rbp + 0x6a8], rax
lea rcx, [0x18002a0f6]
call fcn.1800115c8
nop
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
nop
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x140]
call fcn.180011276
nop
lea rcx, [rbp + 0x140]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
nop
lea r8, str.Injector.exe
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x270]
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
nop
mov dword [rbp + 0x3a0], 0x68
lea rax, [rbp + 0x3a8]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
lea rax, [rbp + 0x428]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x3a0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x270]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rbp + 0x454], eax
cmp dword [rbp + 0x454], 0
jne 0x18001673a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x6a4], eax
lea rdx, str.Failed_to_start_process:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1800110b4
mov ecx, dword [rbp + 0x6a4]
mov edx, ecx
mov rcx, rax
call 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___unsigned_long_int____ptr64]
lea rdx, [0x180011046]
mov rcx, rax
call 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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
jmp 0x180016756
mov rcx, qword [rbp + 0x428]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x50]
lea rdx, [0x18001fd80]
call fcn.1800114e7
mov rcx, qword [rbp + 0x6a8]
xor rcx, rbp
call fcn.1800112da
lea rsp, [rbp + 0x6b8]
pop rdi
pop rbp
ret
Function at 0x180011316
Capabilities:
Get common file path

Disassembly:
jmp 0x180014da0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x5e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
mov rax, qword [0x180024040]
xor rax, rbp
mov qword [rbp + 0x228], rax
mov dword [rbp + 0x214], 0
lea rcx, [0x18002a0f6]
call fcn.1800115c8
nop
lea rdx, [rbp + 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [rbp + 0x134], eax
cmp dword [rbp + 0x134], 0x104
ja 0x180014e1e
cmp dword [rbp + 0x134], 0
jne 0x180014e5d
lea rdx, str.Failed_to_retrieve_temporary_path_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1800110b4
nop
lea rdx, [0x180020683]
mov rcx, qword [rbp + 0x250]
call fcn.180011299
mov eax, dword [rbp + 0x214]
or eax, 1
mov dword [rbp + 0x214], eax
mov rax, qword [rbp + 0x250]
jmp 0x180014e83
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x250]
call fcn.180011299
mov eax, dword [rbp + 0x214]
or eax, 1
mov dword [rbp + 0x214], eax
mov rax, qword [rbp + 0x250]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18001fff0]
call fcn.1800114e7
mov rax, rdi
mov rcx, qword [rbp + 0x228]
xor rcx, rbp
call fcn.1800112da
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret

Function at 0x180011357
Capabilities:
Terminate process

Disassembly:
jmp 0x180018110
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x1800115f5
Capabilities:
Create directory

Disassembly:
jmp 0x180014bb0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x18002a0f6]
call fcn.1800115c8
nop
mov rcx, qword [rbp + 0xe0]
call fcn.18001109b
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x180014c0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x180014c0e
lea rdx, str.Folder_doesnt_exist__Creating.._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1800110b4
nop
jmp 0x180014c22
lea rdx, str.Celery_folder_exists_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800110b4
nop
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1800029e0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002a24
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002a24
nop word cs:[rax + rax]
mov rax, qword gs:[0x60]
mov rax, qword gs:[0x60]
jmp 0x180002a10
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002b0c
mov rsi, r10
test r8b, r8b
je 0x180002b20
nop word cs:[rax + rax]
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002aa0
test r9b, r9b
je 0x180002b30
sub rsi, rcx
je 0x180002b08
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002b00
test ebp, ebp
jne 0x180002b00
add rbx, 1
cmp rsi, rbx
jne 0x180002ac0
jmp 0x180002b08
test ebp, ebp
jne 0x180002a7e
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002b20
jmp 0x180002b30
Function at 0x140006ed0
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 0x140006ef8
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 0x140006f1e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140006f20
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140006f79
test ecx, ecx
jle 0x140006f59
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 0x140006f79
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140006f79
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 0x140006fa0
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 0x140006fc2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140006fd8
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 0x140006ff4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140006ff6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140007032
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 0x1400070ce
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000706d
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 0x1400070ae
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 0x1400070ce
cmp rbx, rax
ja 0x140007080
test rbx, rbx
je 0x1400070ce
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 0x140007540
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140292140]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000756d
xor eax, eax
jmp 0x1400076d9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400075a7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400075a7
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 0x1400076d9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400076cc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400075ea
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 0x140007615
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 0x1400076d1
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 0x140007684
sub eax, 1
je 0x140007684
cmp eax, 2
jne 0x1400076cc
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 0x1400076d1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400076b2
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 0x1400076cc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400076d1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401e9b40
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140008240
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140292140]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140008313
cmp byte [rcx + 0x71], 0
je 0x140008313
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000830f
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 0x1400082d4
sub eax, 1
je 0x1400082d8
cmp eax, 2
jne 0x14000830f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401e9b40
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140008306
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 0x14000830f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400082bc
xor al, al
jmp 0x1400082bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401e9b40
add rsp, 0x60
pop rbx
ret