joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400110d7
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001b5e0
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, [0x1400330fb]
call fcn.1400118e3
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001b637
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 0x14001b743
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 0x14001b6dc
cmp qword [rbp + 0x28], 0
jle 0x14001b6dc
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001b67c
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.140011861
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]
cmp qword [rbp + 0x130], 0
jle 0x14001b732
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001b732
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 0x1400114d8
Capabilities:
Terminate process

Disassembly:
jmp 0x14001e380
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]
add rsp, 0x28
ret
Function at 0x14001160e
Capabilities:
Execute command

Disassembly:
jmp 0x14001b7c0
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x76
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002c040]
xor rax, rbp
mov qword [rbp + 0x288], rax
lea rcx, [0x1400330fd]
call fcn.1400118e3
lea rdx, str.Checking_your_connection..._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110f5
mov edx, 0x110
lea rcx, [rbp + 0x10]
call fcn.14001161d
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
lea rdx, str.123_RC7.exe
lea rcx, [rbp + 0x10]
call fcn.140011843
nop
mov rax, qword [rbp + 0x10]
movsxd rax, dword [rax + 4]
lea rax, [rbp + rax + 0x10]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
test eax, eax
je 0x14001b8a2
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
lea r8, [0x140026fa8]
lea rdx, str.Error:_Driver_failure._Please_run_or_rerun_First.exe
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rbp + 0x214], 1
lea rcx, [rbp + 0x10]
call fcn.14001114f
mov eax, dword [rbp + 0x214]
jmp 0x14001b95e
lea rcx, str.curl_https:__rc7_license_t435trett4et.popbob.org__NUL_2_1
call qword [sym.imp.ucrtbased.dll_system]
mov dword [rbp + 0x134], eax
cmp dword [rbp + 0x134], 0
jne 0x14001b921
mov dword [rbp + 0x254], 5
lea rdx, [rbp + 0x254]
lea rcx, [rbp + 0x238]
call fcn.14001120d
mov rcx, rax
call fcn.1400111a4
cmp dword [rbp + 0x134], 0
jne 0x14001b8fb
lea rcx, str.start_123RC7.exe
call qword [sym.imp.ucrtbased.dll_system]
jmp 0x14001b91f
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
lea r8, [0x140026fa8]
lea rdx, str.Error:_Driver_failure._Please_run_or_rerun_First.exe
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14001b945
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
lea r8, [0x140026ea2]
lea rdx, str.You_are_not_whitelisted_or_you_are_blacklisted._If_you_think_this_is_an_RC7_error__please_contact_support
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rbp + 0x274], 0
lea rcx, [rbp + 0x10]
call fcn.14001114f
mov eax, dword [rbp + 0x274]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140025f10]
call fcn.14001176c
mov rax, rdi
mov rcx, qword [rbp + 0x288]
xor rcx, rbp
call fcn.14001142e
lea rsp, [rbp + 0x298]
pop rdi
pop rbp
ret
Function at 0x140011636
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001eeb0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001eed0
xor al, al
jmp 0x14001ef51
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001eee3
xor al, al
jmp 0x14001ef51
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 0x14001ef0d
xor al, al
jmp 0x14001ef51
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001ef21
xor al, al
jmp 0x14001ef51
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001ef33
xor al, al
jmp 0x14001ef51
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001ef4f
xor al, al
jmp 0x14001ef51
mov al, 1
add rsp, 0x38
ret
Function at 0x1400118c5
Capabilities:
Write file on windows

Disassembly:
jmp 0x140017f00
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x14002c040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400330fb]
call fcn.1400118e3
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x140017f66
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140017f6d
mov al, 1
jmp 0x1400180bd
call fcn.140011280
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.140011280
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.14001171c
movzx eax, al
test eax, eax
je 0x140017fbe
xor al, al
jmp 0x1400180bd
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
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 + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x140018023
cmp dword [rbp + 0x154], 1
je 0x14001802e
cmp dword [rbp + 0x154], 3
je 0x1400180ac
jmp 0x1400180bb
mov rax, qword [rbp + 0x190]
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 0x14001807e
mov rax, qword [rbp + 0x190]
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 0x14001807e
xor al, al
jmp 0x1400180bd
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140018099
mov dword [rbp + 0x154], 1
jmp 0x1400180a3
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1400180bd
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400180bd
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140026670]
call fcn.14001176c
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.14001142e
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140003e80
Capabilities:
Create directory
Query environment variable

Disassembly:
push rdi
mov eax, 0x4030
call fcn.140008660
sub rsp, rax
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x4020], rax
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.1400054c0
mov rdi, rax
test rax, rax
jne 0x140003ec9
lea rcx, str.LOADER:_Failed_to_convert_runtime_tmpdir_to_a_wide_string._n
call fcn.1400019f0
xor eax, eax
jmp 0x140003fb2
mov r8d, 0x1000
mov qword [rsp + 0x4048], rbx
lea rdx, [rsp + 0x2020]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
mov rcx, rdi
mov ebx, eax
call fcn.14000a4e8
test ebx, ebx
jne 0x140003f09
lea rcx, str.LOADER:_Failed_to_expand_environment_variables_in_the_runtime_tmpdir._n
call fcn.1400019f0
xor eax, eax
jmp 0x140003faa
mov r8d, 0x1000
lea rdx, [rsp + 0x2020]
xor ecx, ecx
call fcn.14000f294
mov rbx, rax
test rax, rax
jne 0x140003f36
lea rcx, str.LOADER:_Failed_to_obtain_the_absolute_path_of_the_runtime_tmpdir._n
call fcn.1400019f0
xor eax, eax
jmp 0x140003faa
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
call fcn.140009480
mov edx, 0x5c
mov rcx, rbx
call fcn.140009760
mov rdi, rax
test rax, rax
je 0x140003f9c
nop dword [rax]
mov r8, rdi
lea rcx, [rsp + 0x20]
sub r8, rbx
mov rdx, rbx
sar r8, 1
inc r8
call fcn.14000faa0
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov edx, 0x5c
lea rcx, [rdi + 2]
call fcn.140009760
mov rdi, rax
test rax, rax
jne 0x140003f60
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov rax, rbx
mov rbx, qword [rsp + 0x4048]
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.140008620
add rsp, 0x4030
pop rdi
ret

Function at 0x140003fd0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1030
call fcn.140008660
sub rsp, rax
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rdx
mov rdi, r8
lea rdx, [0x140022400]
call fcn.1400029d0
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call fcn.140004410
xor edi, edi
mov rbx, rax
test rsi, rsi
je 0x1400040c1
mov rcx, rsi
test rax, rax
je 0x1400040c9
call fcn.14000a5e8
test eax, eax
jne 0x1400040ad
nop word [rax + rax]
mov r9, rsi
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x1000
call fcn.14000a8c0
test rax, rax
jne 0x14000406e
mov rcx, rsi
call fcn.14000a614
test eax, eax
je 0x140004094
mov rcx, rsi
jmp 0x1400040a5
mov r9, rbx
lea rcx, [rsp + 0x20]
mov r8, rax
mov edx, 1
call fcn.14000b328
test rax, rax
je 0x1400040a2
mov rcx, rbx
call fcn.14000a614
test eax, eax
jne 0x1400040a2
mov rcx, rsi
call fcn.14000a5e8
test eax, eax
je 0x140004040
jmp 0x1400040ad
mov rcx, rbx
call fcn.140011468
or edi, 0xffffffff
mov rcx, rsi
call fcn.14000a57c
mov rcx, rbx
call fcn.14000a57c
mov eax, edi
jmp 0x1400040d1
test rbx, rbx
je 0x1400040ce
mov rcx, rbx
call fcn.14000a57c
or eax, 0xffffffff
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140008620
add rsp, 0x1030
pop rdi
pop rsi
pop rbx
ret
Function at 0x140004150
Capabilities:
Get common file path
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x2060
call fcn.140008660
sub rsp, rax
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x2050], rax
mov rbp, rdx
mov r14, rcx
test rdx, rdx
je 0x1400041d7
lea rcx, [0x140023ba4]
call fcn.140004360
mov rcx, rbp
mov rsi, rax
call fcn.140003e80
mov rdi, rax
test rax, rax
je 0x1400041d0
mov rdx, rax
lea rcx, [0x140023ba8]
call fcn.1400101a8
mov rcx, rdi
mov ebx, eax
call fcn.14000a4e8
test ebx, ebx
je 0x1400041dc
lea rcx, str.LOADER:_Failed_to_set_the_TMP_environment_variable._n
call fcn.1400019f0
xor eax, eax
jmp 0x140004338
mov rsi, qword [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.DLL_GetTempPathW]
call sub.KERNEL32.DLL_GetCurrentProcessId
mov r9d, eax
lea r8, str._MEI_d
mov edx, 0x10
lea rcx, [rsp + 0x28]
call fcn.140004d40
xor ebx, ebx
nop dword [rax]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.14001144c
mov rcx, rax
mov rdi, rax
call fcn.1400052d0
test eax, eax
je 0x1400042b6
mov rcx, rdi
call fcn.14000a4e8
inc ebx
cmp ebx, 5
jl 0x140004210
test rbp, rbp
je 0x1400041d0
xor r8d, r8d
lea rdx, [0x140023ba4]
xor ecx, ecx
call fcn.1400054c0
test rsi, rsi
je 0x140004299
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.1400054c0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.1400101a8
mov rcx, rdi
call fcn.14000a4e8
mov rcx, rbx
call fcn.14000a4e8
mov rcx, rsi
call fcn.14000a4e8
xor eax, eax
jmp 0x140004338
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14000a4e8
xor eax, eax
jmp 0x140004338
mov r8d, 0x1000
mov rdx, rdi
mov rcx, r14
call fcn.1400055c0
mov rcx, rdi
call fcn.14000a4e8
test rbp, rbp
je 0x140004333
xor r8d, r8d
lea rdx, [0x140023ba4]
xor ecx, ecx
call fcn.1400054c0
test rsi, rsi
je 0x14000431d
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.1400054c0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.1400101a8
mov rcx, rdi
call fcn.14000a4e8
mov rcx, rbx
call fcn.14000a4e8
mov rcx, rsi
jmp 0x14000432e
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14000a4e8
mov eax, 1
mov rcx, qword [rsp + 0x2050]
xor rcx, rsp
call fcn.140008620
lea r11, [rsp + 0x2060]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140004360
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4038
call fcn.140008660
sub rsp, rax
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x4020], rax
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.1400054c0
mov r8d, 0x2000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
je 0x1400043f6
mov r8d, 0x2000
lea rdx, [rsp + 0x2020]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
xor r8d, r8d
lea rdx, [rsp + 0x20]
xor ecx, ecx
call fcn.1400055c0
test rax, rax
je 0x1400043f6
cmp byte [rax], 0
je 0x1400043f6
mov rcx, rax
call fcn.140012cb4
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.140008620
add rsp, 0x4038
ret
xor eax, eax
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.140008620
add rsp, 0x4038
ret

Function at 0x1400049e0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.1400054c0
xor edx, edx
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov rcx, rdi
mov ebx, eax
call fcn.14000a4e8
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140004a20
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x2110
call fcn.140008660
sub rsp, rax
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x2100], rax
mov rdx, rcx
xor edi, edi
lea rcx, [rsp + 0x100]
mov dword [rsp + 0x50], edi
mov r8d, 0x1000
call fcn.1400054c0
mov ebx, 1
lea ecx, [rdi + 0x16]
mov edx, ebx
call fcn.140010e64
mov edx, ebx
lea ecx, [rdi + 2]
call fcn.140010e64
mov edx, ebx
lea ecx, [rdi + 0xf]
call fcn.140010e64
mov edx, ebx
lea ecx, [rdi + 0x15]
call fcn.140010e64
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x58], 0x18
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], ebx
call qword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
xorps xmm0, xmm0
mov qword [rsp + 0x98], rdi
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0xcc], 0x101
mov word [rsp + 0xd0], bx
call fcn.14000b4cc
mov rcx, rax
call fcn.140012d2c
mov ecx, eax
call fcn.1400109d4
mov ecx, ebx
mov qword [rsp + 0xe0], rax
call fcn.14000b4cc
mov rcx, rax
call fcn.140012d2c
mov ecx, eax
call fcn.1400109d4
lea ecx, [rdi + 2]
mov qword [rsp + 0xe8], rax
call fcn.14000b4cc
mov rcx, rax
call fcn.140012d2c
mov ecx, eax
call fcn.1400109d4
mov qword [rsp + 0xf0], rax
call qword [sym.imp.KERNEL32.DLL_GetCommandLineW]
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x100]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x140004b9f
mov rcx, qword [rsp + 0x70]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
mov eax, dword [rsp + 0x50]
jmp 0x140004bb5
lea rdx, str.Error_creating_child_process__n
lea rcx, [0x140023cb0]
call fcn.140001a50
or eax, 0xffffffff
mov rcx, qword [rsp + 0x2100]
xor rcx, rsp
call fcn.140008620
mov rbx, qword [rsp + 0x2128]
add rsp, 0x2110
pop rdi
ret

Function at 0x1400052d0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x2050
call fcn.140008660
sub rsp, rax
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x2040], rax
mov rdi, rcx
call fcn.140005010
test rax, rax
lea r9, str.S_1_3_4
lea r8, str.D:_A__FA____s_
mov edx, 0x1000
cmovne r9, rax
lea rcx, [rsp + 0x40]
mov rbx, rax
call fcn.1400050e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_LocalFree]
xor r9d, r9d
mov dword [rsp + 0x20], 0x18
lea r8, [rsp + 0x28]
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
lea edx, [r9 + 1]
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x14000535c
or eax, 0xffffffff
jmp 0x140005372
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
neg eax
sbb eax, eax
neg eax
dec eax
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.140008620
mov rbx, qword [rsp + 0x2068]
add rsp, 0x2050
pop rdi
ret
Function at 0x1400101e0
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
jne 0x140010200
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.140013c20
or eax, 0xffffffff
jmp 0x140010202
xor eax, eax
add rsp, 0x28
ret

Function at 0x140010530
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor esi, esi
mov rbx, rdx
test rdx, rdx
jne 0x14001026f
call fcn.140013c90
mov dword [rax], 0x16
call fcn.140013b70
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140008620
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
test rcx, rcx
je 0x140010236
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_FindFirstFileExW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400102dd
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
jb 0x1400102b0
cmp eax, 3
jbe 0x1400102cd
cmp eax, 8
je 0x1400102bd
cmp eax, 0x12
je 0x1400102cd
call fcn.140013c90
mov dword [rax], 0x16
jmp 0x140010246
call fcn.140013c90
mov dword [rax], ntohl
jmp 0x140010246
call fcn.140013c90
mov dword [rax], 2
jmp 0x140010246
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, esi
mov dword [rbx], eax
call fcn.140010478
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.140010478
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.140010478
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.140018e64
test eax, eax
jne 0x14001033b
mov rax, rdi
jmp 0x14001024a
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140013b90
int3
jmp 0x140010208
Function at 0x140010538
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edi, edi
mov rbx, rdx
test rcx, rcx
jne 0x1400103ad
call fcn.140013c90
mov dword [rax], 0x16
call fcn.140013b70
or eax, 0xffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140008620
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
cmp rcx, 0xffffffffffffffff
je 0x140010379
test rdx, rdx
je 0x140010379
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x140010408
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
jb 0x1400103e1
cmp eax, 3
jbe 0x1400103fb
cmp eax, 8
je 0x1400103ee
cmp eax, 0x12
je 0x1400103fb
call fcn.140013c90
mov dword [rax], 0x16
jmp 0x140010389
call fcn.140013c90
mov dword [rax], ntohl
jmp 0x140010389
call fcn.140013c90
mov dword [rax], 2
jmp 0x140010389
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, edi
mov dword [rbx], eax
call fcn.140010478
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.140010478
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.140010478
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.140018e64
test eax, eax
je 0x14001038c
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140013b90
int3
jmp 0x140010350

Function at 0x140011050
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x140011070
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.140013c20
or eax, 0xffffffff
jmp 0x140011072
xor eax, eax
add rsp, 0x28
ret
Function at 0x140012590
Capabilities:
Parse pe header

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, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140012364
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x140012364
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140012364
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140012364
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140012364
cmp dword [rcx + 0x84], 0xe
jbe 0x140012364
cmp dword [rcx + 0xf8], esi
je 0x140012364
mov ecx, r14d
call fcn.1400124ac
mov ecx, 2
call fcn.140018cd4
nop
cmp byte [0x14003c740], 0
jne 0x14001242e
mov r15d, 1
mov eax, r15d
xchg dword [0x14003c730], eax
test ebx, ebx
jne 0x1400123d7
mov rdi, qword [0x140032010]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x14003c738]
cmp rcx, rax
je 0x1400123ce
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400024f0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14003c750]
jmp 0x1400123e3
cmp ebx, r15d
jne 0x1400123e9
lea rcx, [0x14003c768]
call fcn.140012a60
nop
test ebx, ebx
jne 0x140012400
lea rdx, [0x1400223c0]
lea rcx, [0x140022398]
call fcn.140012224
lea rdx, [0x1400223d0]
lea rcx, [0x1400223c8]
call fcn.140012224
movzx eax, byte [0x14003c740]
test esi, esi
cmove eax, r15d
mov byte [0x14003c740], al
jmp 0x14001242e
mov ecx, 2
call fcn.140018d28
test esi, esi
jne 0x140012445
mov ecx, r14d
call fcn.140012460
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400122f4