joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140135160
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x218
mov rax, qword [0x1403f5040]
xor rax, rsp
mov qword [rsp + 0x200], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x12
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x2c
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov cl, 0x2c
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov cl, 0x12
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, 2
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x30], rax
call qword [sym.imp.USER32.dll_CloseClipboard]
mov edx, 0x18
lea rcx, [rsp + 0x70]
call fcn.140009ae0
lea rcx, [rsp + 0x70]
call fcn.14000a520
nop
mov qword [rsp + 0x68], 0
lea r8, [rsp + 0x68]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov dword [rsp + 0x28], eax
mov edx, 0x50
lea rcx, [rsp + 0x90]
call fcn.140009ae0
lea rcx, [rsp + 0x90]
call fcn.140134520
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.140134670
lea r8, [0x140141948]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x90]
call fcn.140134840
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.SHLWAPI.dll_IStream_Size]
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.SHLWAPI.dll_IStream_Reset]
mov eax, dword [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140135fe0
mov edx, 0x10
lea rcx, [rsp + 0x70]
call fcn.140135f80
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_IStream_Read]
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x10]
mov edx, 0x118
lea rcx, [rsp + 0xe0]
call fcn.140009ae0
mov edx, 1
lea rcx, [rsp + 0xe0]
call fcn.140135ea0
nop
mov r9d, 0x40
mov r8d, 0x22
mov rdx, qword [rsp + 0x220]
lea rcx, [rsp + 0xe0]
call fcn.140135dd0
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x70]
call fcn.140135fb0
mov qword [rsp + 0x48], rax
mov edx, 0x10
lea rcx, [rsp + 0x70]
call fcn.140135f80
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0xe0]
call fcn.140135d70
nop
mov dword [rsp + 0x24], 0x28
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x60]
call fcn.14000a740
mov rcx, rax
call fcn.14000a760
nop
lea rcx, [rsp + 0xe0]
call fcn.1401353f0
nop
lea rcx, [rsp + 0x90]
call fcn.140134630
nop
lea rcx, [rsp + 0x70]
call fcn.140136010
nop
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.140136b30
add rsp, 0x218
ret
Function at 0x1401379dc
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x14007bd50
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14016f07b]
call fcn.14003ad83
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14007bda8
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
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 0x14007beba
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
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 [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14007be53
cmp qword [rbp + 0x28], 0
jle 0x14007be53
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14007bdf1
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
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 [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14003ab5d
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x14007bea9
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14007bea9
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140039947
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x1400729f0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
mov eax, 0x2950
call fcn.14003952d
sub rsp, rax
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x8cc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2978]
mov rax, qword [0x140160b40]
xor rax, rbp
mov qword [rbp + 0x2928], rax
lea rcx, [0x14016f051]
call fcn.14003ad83
nop
mov edx, 0x10
lea rcx, [rbp + 8]
call fcn.14003a860
mov edx, dword [rbp + 0x2958]
mov ecx, 0x18
call fcn.140039de3
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140039672
nop
lea rcx, [rbp + 8]
call fcn.14003b02b
cmp rax, 0xffffffffffffffff
jne 0x140072ac4
lea rax, [rbp + 0xf00]
mov rdi, rax
xor eax, eax
mov ecx, 0x438
rep stosb byte [rdi], al
lea rax, [rbp + 0xf00]
mov rdi, qword [rbp + 0x2950]
mov rsi, rax
mov ecx, 0x438
rep movsb byte [rdi], byte [rsi]
lea rcx, [rbp + 8]
call fcn.14003a685
mov rax, qword [rbp + 0x2950]
jmp 0x140072bb6
mov dword [rbp + 0x40], 0x438
lea rcx, [rbp + 8]
call fcn.14003b02b
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.14003a234
test eax, eax
jne 0x140072b24
lea rax, [rbp + 0x17c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x438
rep stosb byte [rdi], al
lea rax, [rbp + 0x17c0]
mov rdi, qword [rbp + 0x2950]
mov rsi, rax
mov ecx, 0x438
rep movsb byte [rdi], byte [rsi]
lea rcx, [rbp + 8]
call fcn.14003a685
mov rax, qword [rbp + 0x2950]
jmp 0x140072bb6
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x2960]
call fcn.140039a19
movzx eax, al
test eax, eax
je 0x140072b62
lea rax, [rbp + 0x40]
mov rdi, qword [rbp + 0x2950]
mov rsi, rax
mov ecx, 0x438
rep movsb byte [rdi], byte [rsi]
lea rcx, [rbp + 8]
call fcn.14003a685
mov rax, qword [rbp + 0x2950]
jmp 0x140072bb6
lea rcx, [rbp + 8]
call fcn.14003b02b
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.140039424
test eax, eax
jne 0x140072b24
lea rax, [rbp + 0x24e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x438
rep stosb byte [rdi], al
lea rax, [rbp + 0x24e0]
mov rdi, qword [rbp + 0x2950]
mov rsi, rax
mov ecx, 0x438
rep movsb byte [rdi], byte [rsi]
lea rcx, [rbp + 8]
call fcn.14003a685
mov rax, qword [rbp + 0x2950]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400b49c0]
call fcn.14003a851
mov rax, rdi
mov rcx, qword [rbp + 0x2928]
xor rcx, rbp
call fcn.140039e4c
lea rsp, [rbp + 0x2930]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140039fb9
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400735d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x478
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xb6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x498]
mov rax, qword [0x140160b40]
xor rax, rbp
mov qword [rbp + 0x448], rax
lea rcx, [0x14016f051]
call fcn.14003ad83
nop
mov dword [rbp + 0x10], 0x238
mov edx, 0x10
lea rcx, [rbp + 0x268]
call fcn.14003a860
xor edx, edx
mov ecx, 2
call fcn.140039de3
mov rdx, rax
lea rcx, [rbp + 0x268]
call fcn.140039672
nop
mov dword [rbp + 0x294], 0
lea rcx, [rbp + 0x268]
call fcn.14003b02b
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.14003a1a8
test eax, eax
je 0x1400736b8
mov rcx, qword [rbp + 0x470]
call fcn.140039a00
mov rdx, rax
lea rcx, [rbp + 0x3c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14007369c
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x294], eax
jmp 0x1400736b8
lea rcx, [rbp + 0x268]
call fcn.14003b02b
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.14003a92d
test eax, eax
jne 0x140073674
mov eax, dword [rbp + 0x294]
mov dword [rbp + 0x434], eax
lea rcx, [rbp + 0x268]
call fcn.14003a685
mov eax, dword [rbp + 0x434]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400b48e0]
call fcn.14003a851
mov eax, edi
mov rcx, qword [rbp + 0x448]
xor rcx, rbp
call fcn.140039e4c
lea rsp, [rbp + 0x458]
pop rdi
pop rbp
ret

Function at 0x14003a040
Capabilities:
Terminate process

Disassembly:
jmp 0x1400a44d0
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 0x14003a419
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400a5000
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400a5020
xor al, al
jmp 0x1400a50a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400a5033
xor al, al
jmp 0x1400a50a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400a505d
xor al, al
jmp 0x1400a50a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400a5071
xor al, al
jmp 0x1400a50a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400a5083
xor al, al
jmp 0x1400a50a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400a509f
xor al, al
jmp 0x1400a50a1
mov al, 1
add rsp, 0x38
ret
Function at 0x14003a97d
Capabilities:
Create thread

Disassembly:
jmp 0x14004aa70
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x140160b40]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14016f075]
call fcn.14003ad83
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140039a5f
mov rax, qword [rbp + 0x168]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x160]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x158]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x150]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x148]
mov r8, qword [rbp + 0x140]
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.14003b049
nop
lea rax, [0x1400398c5]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.14003928a
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x14004ab94
lea rcx, [rbp + 8]
call fcn.140039988
nop
jmp 0x14004abad
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14003969f
nop
lea rcx, [rbp + 8]
call fcn.140039618
nop
lea rcx, [rbp - 0x40]
lea rdx, [0x1400ba280]
call fcn.14003a851
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.140039e4c
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x14003ad10
Capabilities:
Write file on windows

Disassembly:
jmp 0x140066d90
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140160b40]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14016f07b]
call fcn.14003ad83
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x140066df7
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140066dfe
mov al, 1
jmp 0x140066f6e
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.1400397ee
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.1400397ee
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.14003a734
movzx eax, al
test eax, eax
je 0x140066e61
xor al, al
jmp 0x140066f6e
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
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 [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x140066ed4
cmp dword [rbp + 0x160], 1
je 0x140066edf
cmp dword [rbp + 0x160], 3
je 0x140066f5d
jmp 0x140066f6c
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140066f2f
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140066f2f
xor al, al
jmp 0x140066f6e
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140066f4a
mov dword [rbp + 0x154], 1
jmp 0x140066f54
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x140066f6e
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140066f6e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400b8c00]
call fcn.14003a851
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.140039e4c
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400a29e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14003aedc
movzx eax, al
test eax, eax
jne 0x1400a2a00
mov ecx, 7
call fcn.14003a879
nop
mov byte [rsp + 0x20], 0
call fcn.14003a914
mov byte [rsp + 0x21], al
cmp dword [0x1401614f0], 1
jne 0x1400a2a24
mov ecx, 7
call fcn.14003a879
nop
jmp 0x1400a2a7c
cmp dword [0x1401614f0], 0
jne 0x1400a2a77
mov dword [0x1401614f0], 1
lea rdx, [0x1400b3770]
lea rcx, [0x1400b3440]
call fcn.140039dcf
test eax, eax
je 0x1400a2a58
mov eax, 0xff
jmp 0x1400a2b81
lea rdx, [0x1400b3330]
lea rcx, [section..rdata]
call fcn.14003a8e7
mov dword [0x1401614f0], 2
jmp 0x1400a2a7c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14003a838
call fcn.14003a4cd
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400a2ad9
mov rcx, qword [rsp + 0x30]
call fcn.140039b31
movzx eax, al
test eax, eax
je 0x1400a2ad9
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 [0x140170020]
nop
call fcn.14003a626
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400a2b0d
mov rcx, qword [rsp + 0x38]
call fcn.140039b31
movzx eax, al
test eax, eax
je 0x1400a2b0d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14003ac89
nop
call fcn.1400a2c30
mov dword [rsp + 0x28], eax
call fcn.14003a419
movzx eax, al
test eax, eax
jne 0x1400a2b2c
mov ecx, dword [rsp + 0x28]
call fcn.140039212
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400a2b3b
call fcn.14003acde
nop
xor edx, edx
mov cl, 1
call fcn.140039a91
mov eax, dword [rsp + 0x28]
jmp 0x1400a2b81
add rsp, 0x68
ret
Function at 0x180002790
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a8c], 0xa
jl 0x1800027c2
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800027c2
nop word cs:[rax + rax]
jmp 0x1800027c0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a74], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a94]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a98], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002898
mov rsi, r10
test r8b, r8b
je 0x1800028b0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002830
test r9b, r9b
je 0x1800028c0
sub rsi, rcx
je 0x180002894
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 0x180002890
test ebp, ebp
jne 0x180002890
add rbx, 1
cmp rsi, rbx
jne 0x180002850
jmp 0x180002894
test ebp, ebp
jne 0x18000281c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x1800028b0
jmp 0x1800028c0
Function at 0x140004e30
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14009cd00]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140004f03
cmp byte [rcx + 0x71], 0
je 0x140004f03
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x140004eff
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 0x140004ec4
sub eax, 1
je 0x140004ec8
cmp eax, 2
jne 0x140004eff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006a530
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140004ef6
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 0x140004eff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140004eac
xor al, al
jmp 0x140004eac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006a530
add rsp, 0x60
pop rbx
ret
Function at 0x140005890
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14009cd00]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x1400058bd
xor eax, eax
jmp 0x140005a26
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1400058fd
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x1400058fd
mov rcx, rdi
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], sil
mov eax, esi
jmp 0x140005a1e
cmp qword [rdi + 0x80], 0
je 0x140005a19
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x140005937
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x140005962
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x140005a1e
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 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 0x1400059d1
sub eax, 1
je 0x1400059d1
cmp eax, 2
jne 0x140005a19
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x140005a1e
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x1400059ff
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x140005a19
lea rax, [rsp + 0x50]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x140005a1e
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14006a530
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret