joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140032750
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140032783
add rcx, 0x68
cmp qword [rcx + 0x20], 0
je 0x14003277b
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400327d3
mov ecx, dword [0x14029da34]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400327c2
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400327c2
xor ecx, ecx
xor eax, eax
nop word [rax + rax]
cmp qword [rdx + rax*8], 0
je 0x1400327de
inc ecx
inc rax
cmp rax, 2
jl 0x1400327b0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0xa0]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140033dc0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140033def
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140033de7
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140033e39
mov ecx, dword [0x14029da34]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140033e28
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140033e28
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x140033e44
inc ecx
inc rax
cmp rax, 2
jl 0x140033e16
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x48]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140033ff0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x14003400c
mov qword [rcx + 0x10], 0
mov rdi, qword [rcx + 8]
test rdi, rdi
je 0x140034059
mov ecx, dword [0x14029da34]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140034048
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140034048
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x140034064
inc ecx
inc rax
cmp rax, 6
jl 0x140034036
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rdi + 0x38]
mov byte [rdi], al
movsxd rax, ecx
mov qword [rdx + rax*8], rdi
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140034090
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x1400340ac
mov qword [rcx + 0x10], 0
mov rdi, qword [rcx + 8]
test rdi, rdi
je 0x1400340f9
mov ecx, dword [0x14029da34]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400340e8
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400340e8
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x140034104
inc ecx
inc rax
cmp rax, 6
jl 0x1400340d6
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rdi + 0x28]
mov byte [rdi], al
movsxd rax, ecx
mov qword [rdx + rax*8], rdi
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140034130
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x14003414c
mov qword [rcx + 0x10], 0
mov rdi, qword [rcx + 8]
test rdi, rdi
je 0x140034199
mov ecx, dword [0x14029da34]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140034188
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140034188
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x1400341a4
inc ecx
inc rax
cmp rax, 6
jl 0x140034176
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rdi + 0x30]
mov byte [rdi], al
movsxd rax, ecx
mov qword [rdx + rax*8], rdi
mov qword [rbx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400341d0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rsi, rcx
test rbx, rbx
je 0x14003422d
mov rbx, qword [rbx + 0x18]
test rbx, rbx
je 0x140034225
mov qword [rsp + 0x30], rdi
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140034220
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140034220
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x30]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14003427a
mov ecx, dword [0x14029da34]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140034269
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140034269
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x140034285
inc ecx
inc rax
cmp rax, 6
jl 0x140034257
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rsi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
movzx eax, byte [rbx + 0x48]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x38]
mov qword [rsi + 8], 0
add rsp, 0x20
pop rsi
ret
Function at 0x1400342b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rsi, rcx
test rbx, rbx
je 0x14003430d
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x140034305
mov qword [rsp + 0x30], rdi
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140034300
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140034300
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x30]
mov qword [rsi + 0x10], 0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14003435a
mov ecx, dword [0x14029da34]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140034349
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140034349
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x140034365
inc ecx
inc rax
cmp rax, 6
jl 0x140034337
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rsi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
movzx eax, byte [rbx + 0x38]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x38]
mov qword [rsi + 8], 0
add rsp, 0x20
pop rsi
ret
Function at 0x1400349f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x140034a50
lea rcx, [rbx + 0x1b0]
cmp qword [rcx + 0x20], 0
je 0x140034a1e
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax]
call rdx
nop
lea rcx, [rbx + 0x150]
call fcn.140031380
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x140034a48
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x140034a48
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140034a9a
mov ecx, dword [0x14029da34]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140034a89
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140034a89
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x140034aa5
inc ecx
inc rax
cmp rax, 2
jl 0x140034a77
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x1e8]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400356a0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400356c7
add rcx, 8
call fcn.140031380
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140035714
mov ecx, dword [0x14029da34]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140035703
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140035703
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14003571f
inc ecx
inc rax
cmp rax, 6
jl 0x1400356f1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x88]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret

Function at 0x1400359c0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400359fa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400359ff
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140035a48
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14003cb40]
cmp byte [rcx + rax], 0
je 0x140035a48
dec r8
sub rdx, 1
jne 0x140035a2e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400372ec
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, str.mountvol_X:__S___nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.attrib__s__h_X:EFIMicrosoftBoot_bootmgfw.efi___nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.move_X:EFIMicrosoftBoot_bootmgfw.efi_X:EFIMicrosoftBoot_bootmgfw.old___nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x30]
call fcn.140002090
nop
mov r8d, 0x85aa0
lea rdx, [0x1400070c0]
lea rcx, [rsp + 0x30]
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 + 0x38]
call fcn.1400024c0
test rax, rax
jne 0x140001333
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, str.shutdown__r__t_0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rcx, [rsp + 0x30]
call fcn.140001370
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140002880
add rsp, 0x158
ret

Function at 0x1400017c0
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 case.default.0x1400017e1
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 0x14000180e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001810
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001869
test ecx, ecx
jle 0x140001849
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 0x140001869
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001869
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
mov ebp, dword [rsp + 0x38]
insb byte [rdi], dx
and al, 0x38
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
je 0x14000a120
mov rdi, qword [rsp + 0x48]
jl 0x14000a125
add rsp, 0x20
pop r14
ret
Function at 0x140001e20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140001e4d
xor eax, eax
jmp 0x140001fb9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140001e87
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140001e87
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 0x140001fb9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140001fac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140001eca
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 0x140001ef5
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 0x140001fb1
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 0x140001f64
sub eax, 1
je 0x140001f64
cmp eax, 2
jne 0x140001fac
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 0x140001fb1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140001f92
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 0x140001fac
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140001fb1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002880
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400023d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400024a3
cmp byte [rcx + 0x71], 0
je 0x1400024a3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000249f
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 0x140002464
sub eax, 1
je 0x140002468
cmp eax, 2
jne 0x14000249f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002880
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002496
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 0x14000249f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000244c
xor al, al
jmp 0x14000244c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002880
add rsp, 0x60
pop rbx
ret

Function at 0x140003200
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000324a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000324a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000324a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000324a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000324a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000324c
xor al, al
add rsp, 0x28
ret
Function at 0x18001e424
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180031010]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor ebx, ebx
mov word [rbp - 0x16], 0x4179
mov byte [rbp - 0x14], bl
mov rdi, rcx
mov dword [rbp - 0x1b], 0x61726269
mov dword [rbp - 0x20], 0x64616f4c
mov byte [rbp - 0x17], 0x72
mov byte [rbp - 0x1c], 0x4c
call fcn.18001f520
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001e487
mov rcx, rdi
call rax
mov rbx, rax
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180001600
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret

Function at 0x18001e4ac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180031010]
xor rax, rsp
mov qword [rbp - 8], rax
mov word [rbp - 0x14], 0x536c
mov dword [rbp - 0x19], 0x63697469
mov dword [rbp - 0x11], 0x6f697463
mov dword [rbp - 0x1e], 0x43726574
mov word [rbp - 0xd], 0x6e
mov byte [rbp - 0x12], 0x65
mov word [rbp - 0x20], 0x6e45
mov byte [rbp - 0x15], 0x61
mov byte [rbp - 0x1a], 0x72
call fcn.18001f520
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001e516
lea rcx, [0x18005cb28]
call rax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180001600
add rsp, 0x40
pop rbp
ret
sub rsp, 0x28
cmp dword [0x18005c918], 0
jne 0x180021859
call fcn.18001ed84
mov edx, 0x200
lea rcx, [0x18005c920]
call fcn.18001e530
mov dword [0x18005c918], 1
add rsp, 0x28
jmp 0x18001e4ac

Function at 0x18001e530
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180031010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rdx
mov word [rbp - 0x14], 0x79
mov rbx, rcx
mov word [rbp - 0x1f], 0x6c74
mov word [rbp - 0x1a], 0x4d6f
mov word [rbp - 0x17], 0x6f6d
mov byte [rbp - 0x20], 0x52
mov byte [rbp - 0x15], 0x72
mov word [rbp - 0x1c], 0x7265
mov byte [rbp - 0x1d], 0x5a
mov byte [rbp - 0x18], 0x65
call fcn.18001f520
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001e5a3
mov rdx, rdi
mov rcx, rbx
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180001600
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
Function at 0x18001e624
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180031010]
xor rax, rsp
mov qword [rbp - 8], rax
mov dword [rbp - 0xf], 0x6e6f69
mov word [rbp - 0x15], 0x6c61
mov word [rbp - 0x1a], 0x6972
mov word [rbp - 0x1d], 0x6576
mov word [rbp - 0x20], 0x654c
mov word [rbp - 0x18], 0x6974
mov byte [rbp - 0x1b], 0x43
mov dword [rbp - 0x13], 0x74636553
mov byte [rbp - 0x1e], 0x61
mov byte [rbp - 0x16], 0x63
call fcn.18001f520
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001e693
lea rcx, [0x18005cb28]
call rax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180001600
add rsp, 0x40
pop rbp
ret

Function at 0x18001e6ac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180031010]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov word [rbp - 0x17], 0x7250
mov ebx, 0x7fffffff
mov dword [rbp - 0x1e], 0x72685474
mov dword [rbp - 0x13], 0x79746972
mov word [rbp - 0x1a], 0x6165
mov word [rbp - 0x15], 0x6f69
mov byte [rbp - 0xf], 0
mov word [rbp - 0x20], 0x6547
mov byte [rbp - 0x18], 0x64
call fcn.18001f520
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001e720
mov rcx, rdi
call rax
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180001600
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret

Function at 0x18001e744
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180031010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov dword [rbp - 0x1b], 0x6854646e
or ebx, 0xffffffff
mov dword [rbp - 0x16], 0x646165
mov dword [rbp - 0x20], 0x70737553
mov byte [rbp - 0x1c], 0x65
mov byte [rbp - 0x17], 0x72
call fcn.18001f520
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001e7a5
mov rcx, rdi
call rax
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180001600
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret

Function at 0x18001e7cc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180031010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov word [rbp - 0x20], 0x6956
xor ebx, ebx
mov dword [rbp - 0x17], 0x636f6c
mov dword [rbp - 0x1d], 0x6c617574
mov word [rbp - 0x19], 0x6c41
mov byte [rbp - 0x1e], 0x72
call fcn.18001f520
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001e83b
lea edx, [rbx + 0x78]
mov r8d, 0x3000
lea r9d, [rbx + 0x20]
mov rcx, rdi
call rax
mov rbx, rax
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180001600
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret