joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001ebe0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
mov r11, rsp
sub rsp, 0x88
cmp dword [reloc.WS2_32.dll_closesocket], 3
mov qword [r11 - 0x18], rsi
mov rsi, rcx
ja 0x1001ed9e
cmp dword [rcx + 0x24], 3
ja 0x1001ed9e
lea rax, [r11 + 0x18]
mov qword [r11 - 8], rbx
mov qword [r11 - 0x38], rax
mov rax, qword [0x10051070]
test rax, rax
jne 0x1001ec99
lea rbx, [0x10051080]
test rbx, rbx
je 0x1001ec4d
mov rcx, qword [0x10051080]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [0x10051070]
test rax, rax
jne 0x1001ec87
mov ecx, 0x1750
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
test rax, rax
je 0x1001ec72
mov rcx, rax
call fcn.1001e520
jmp 0x1001ec74
xor eax, eax
lea rcx, [0x1001db60]
mov qword [0x10051070], rax
call fcn.1001f500
test rbx, rbx
je 0x1001ec99
mov rcx, qword [0x10051080]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov qword [rsp + 0x68], rdi
mov rdi, qword [0x10051070]
mov rbx, qword [rsp + 0x98]
test rdi, rdi
je 0x1001ecc0
mov rcx, qword [rdi]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rsp + 0x78], rbp
lea rbp, [0x100510a0]
xor edx, edx
mov rcx, rbp
mov r8d, 0x1388
call sub.msvcrt.dll_memset
mov r8, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.msvcrt.dll_vsprintf]
lea rcx, [rdi + 0x34c]
xor edx, edx
mov r8d, 0x1400
call sub.msvcrt.dll_memset
xor r11d, r11d
lea rcx, [0x10051090]
mov qword [0x10051090], r11
mov qword [0x10051098], r11
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx r8d, word [0x1005109a]
movzx eax, word [0x1005109c]
movzx r9d, word [0x10051098]
mov qword [rsp + 0x40], rbp
lea r11, [rsi + 4]
lea rcx, str.info
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r8d
lea rcx, [rdi + 0x34c]
lea r8, str.__02u:_02u:_02u___s____s__s_n
mov edx, 0x1388
call fcn.100235a0
lea rcx, [rdi + 0x34c]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test rdi, rdi
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
je 0x1001ed99
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x88
ret
Function at 0x1001edb0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
mov r11, rsp
sub rsp, 0x88
cmp dword [reloc.WS2_32.dll_closesocket], 4
mov qword [r11 - 0x18], rsi
mov rsi, rcx
ja 0x1001ef6e
cmp dword [rcx + 0x24], 4
ja 0x1001ef6e
lea rax, [r11 + 0x18]
mov qword [r11 - 8], rbx
mov qword [r11 - 0x38], rax
mov rax, qword [0x10051070]
test rax, rax
jne 0x1001ee69
lea rbx, [0x10051080]
test rbx, rbx
je 0x1001ee1d
mov rcx, qword [0x10051080]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [0x10051070]
test rax, rax
jne 0x1001ee57
mov ecx, 0x1750
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
test rax, rax
je 0x1001ee42
mov rcx, rax
call fcn.1001e520
jmp 0x1001ee44
xor eax, eax
lea rcx, [0x1001db60]
mov qword [0x10051070], rax
call fcn.1001f500
test rbx, rbx
je 0x1001ee69
mov rcx, qword [0x10051080]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov qword [rsp + 0x68], rdi
mov rdi, qword [0x10051070]
mov rbx, qword [rsp + 0x98]
test rdi, rdi
je 0x1001ee90
mov rcx, qword [rdi]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rsp + 0x78], rbp
lea rbp, [0x100510a0]
xor edx, edx
mov rcx, rbp
mov r8d, 0x1388
call sub.msvcrt.dll_memset
mov r8, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.msvcrt.dll_vsprintf]
lea rcx, [rdi + 0x34c]
xor edx, edx
mov r8d, 0x1400
call sub.msvcrt.dll_memset
xor r11d, r11d
lea rcx, [0x10051090]
mov qword [0x10051090], r11
mov qword [0x10051098], r11
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx r8d, word [0x1005109a]
movzx eax, word [0x1005109c]
movzx r9d, word [0x10051098]
mov qword [rsp + 0x40], rbp
lea r11, [rsi + 4]
lea rcx, str.warn
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r8d
lea rcx, [rdi + 0x34c]
lea r8, str.__02u:_02u:_02u___s____s__s_n
mov edx, 0x1388
call fcn.100235a0
lea rcx, [rdi + 0x34c]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test rdi, rdi
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
je 0x1001ef69
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x88
ret
Function at 0x1001ef80
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
mov r11, rsp
sub rsp, 0x88
cmp dword [reloc.WS2_32.dll_closesocket], 5
mov qword [r11 - 0x18], rsi
mov rsi, rcx
ja 0x1001f13e
cmp dword [rcx + 0x24], 5
ja 0x1001f13e
lea rax, [r11 + 0x18]
mov qword [r11 - 8], rbx
mov qword [r11 - 0x38], rax
mov rax, qword [0x10051070]
test rax, rax
jne 0x1001f039
lea rbx, [0x10051080]
test rbx, rbx
je 0x1001efed
mov rcx, qword [0x10051080]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [0x10051070]
test rax, rax
jne 0x1001f027
mov ecx, 0x1750
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
test rax, rax
je 0x1001f012
mov rcx, rax
call fcn.1001e520
jmp 0x1001f014
xor eax, eax
lea rcx, [0x1001db60]
mov qword [0x10051070], rax
call fcn.1001f500
test rbx, rbx
je 0x1001f039
mov rcx, qword [0x10051080]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov qword [rsp + 0x68], rdi
mov rdi, qword [0x10051070]
mov rbx, qword [rsp + 0x98]
test rdi, rdi
je 0x1001f060
mov rcx, qword [rdi]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rsp + 0x78], rbp
lea rbp, [0x100510a0]
xor edx, edx
mov rcx, rbp
mov r8d, 0x1388
call sub.msvcrt.dll_memset
mov r8, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.msvcrt.dll_vsprintf]
lea rcx, [rdi + 0x34c]
xor edx, edx
mov r8d, 0x1400
call sub.msvcrt.dll_memset
xor r11d, r11d
lea rcx, [0x10051090]
mov qword [0x10051090], r11
mov qword [0x10051098], r11
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx r8d, word [0x1005109a]
movzx eax, word [0x1005109c]
movzx r9d, word [0x10051098]
mov qword [rsp + 0x40], rbp
lea r11, [rsi + 4]
lea rcx, str.error
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r8d
lea rcx, [rdi + 0x34c]
lea r8, str.__02u:_02u:_02u___s____s__s_n
mov edx, 0x1388
call fcn.100235a0
lea rcx, [rdi + 0x34c]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test rdi, rdi
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
je 0x1001f139
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x88
ret
Function at 0x1001f150
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
mov r11, rsp
sub rsp, 0x88
cmp dword [reloc.WS2_32.dll_closesocket], 6
mov qword [r11 - 0x18], rsi
mov rsi, rcx
ja 0x1001f30e
cmp dword [rcx + 0x24], 6
ja 0x1001f30e
lea rax, [r11 + 0x18]
mov qword [r11 - 8], rbx
mov qword [r11 - 0x38], rax
mov rax, qword [0x10051070]
test rax, rax
jne 0x1001f209
lea rbx, [0x10051080]
test rbx, rbx
je 0x1001f1bd
mov rcx, qword [0x10051080]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [0x10051070]
test rax, rax
jne 0x1001f1f7
mov ecx, 0x1750
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
test rax, rax
je 0x1001f1e2
mov rcx, rax
call fcn.1001e520
jmp 0x1001f1e4
xor eax, eax
lea rcx, [0x1001db60]
mov qword [0x10051070], rax
call fcn.1001f500
test rbx, rbx
je 0x1001f209
mov rcx, qword [0x10051080]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov qword [rsp + 0x68], rdi
mov rdi, qword [0x10051070]
mov rbx, qword [rsp + 0x98]
test rdi, rdi
je 0x1001f230
mov rcx, qword [rdi]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rsp + 0x78], rbp
lea rbp, [0x100510a0]
xor edx, edx
mov rcx, rbp
mov r8d, 0x1388
call sub.msvcrt.dll_memset
mov r8, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.msvcrt.dll_vsprintf]
lea rcx, [rdi + 0x34c]
xor edx, edx
mov r8d, 0x1400
call sub.msvcrt.dll_memset
xor r11d, r11d
lea rcx, [0x10051090]
mov qword [0x10051090], r11
mov qword [0x10051098], r11
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx r8d, word [0x1005109a]
movzx eax, word [0x1005109c]
movzx r9d, word [0x10051098]
mov qword [rsp + 0x40], rbp
lea r11, [rsi + 4]
lea rcx, str.fatal
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r8d
lea rcx, [rdi + 0x34c]
lea r8, str.__02u:_02u:_02u___s____s__s_n
mov edx, 0x1388
call fcn.100235a0
lea rcx, [rdi + 0x34c]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test rdi, rdi
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
je 0x1001f309
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x88
ret
Function at 0x1001f660
Capabilities:
Enumerate processes

Disassembly:
mov r11, rsp
sub rsp, 0x178
mov rax, qword [0x10050650]
mov qword [rsp + 0x150], rax
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 - 8], rsi
mov rsi, rdx
xor edx, edx
mov rbp, rcx
mov qword [r11 - 0x10], rdi
lea ecx, [rdx + 0xa]
xor dil, dil
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x1001f6f9
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x130
call sub.KERNEL32.dll_Process32First
cmp eax, 1
jne 0x1001f6f0
nop
lea rdx, [rsp + 0x4c]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1001f6e6
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
je 0x1001f6c0
jmp 0x1001f6f0
mov eax, dword [rsp + 0x28]
mov dil, 1
mov dword [rbp], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x170]
mov rbp, qword [rsp + 0x198]
mov rbx, qword [rsp + 0x190]
mov al, dil
mov rdi, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x150]
call fcn.1003b040
add rsp, 0x178
ret

Function at 0x1001f7a0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
lea rcx, [0x1001f740]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x28], edx
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov r11, qword [rsp + 0x20]
mov qword [rbx], r11
mov al, 1
add rsp, 0x30
pop rbx
ret

Function at 0x1001f870
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
sub rsp, 0xcc8
mov rax, qword [0x10050650]
mov qword [rsp + 0xca0], rax
mov qword [r11 + 0x20], rbx
mov qword [r11 - 8], rsi
mov qword [r11 - 0x10], rdi
movsxd rdi, edx
xor edx, edx
mov rbx, r8
mov rsi, rcx
lea r8d, [rdx + 0x7f]
lea rcx, [rsp + 0x21]
mov byte [rsp + 0x20], 0
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0xa1]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0xa0], 0
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x4a1]
xor edx, edx
mov r8d, 0x7ff
mov byte [rsp + 0x4a0], 0
call sub.msvcrt.dll_memset
lea rdx, str.___s__
lea rcx, [rsp + 0x20]
mov r8, rbx
call qword [sym.imp.msvcrt.dll_sprintf]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x20]
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea r9, [rsp + 0xa0]
lea rdx, str._s_s
lea rcx, [rsp + 0x4a0]
mov r8, rbx
call qword [sym.imp.msvcrt.dll_sprintf]
mov rbx, qword [rsp + 0xce8]
mov byte [rdi + rsi], 0
inc edi
xor ecx, ecx
movsxd r8, edi
add r8, rsi
movzx edx, byte [rsp + rcx + 0x4a0]
test dl, dl
je 0x1001f971
inc rcx
mov byte [r8], dl
inc edi
inc r8
cmp rcx, 0x800
jl 0x1001f951
movsxd rcx, edi
mov eax, edi
mov rdi, qword [rsp + 0xcb8]
mov byte [rcx + rsi + 1], 0
mov byte [rcx + rsi + 2], 0
mov rsi, qword [rsp + 0xcc0]
mov rcx, qword [rsp + 0xca0]
call fcn.1003b040
add rsp, 0xcc8
ret
Function at 0x10020400
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x430
mov rax, qword [0x10050650]
mov qword [rsp + 0x420], rax
mov rbx, rcx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x20], 0
call sub.msvcrt.dll_memset
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x20]
test rcx, rcx
mov r8d, 0x400
cmove rcx, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov r8, qword [sym.imp.msvcp60.dll_unsigned_long_long_unsigned___int64__const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor edx, edx
mov r8, qword [r8]
mov rcx, rbx
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const____ptr64____ptr64]
mov rcx, qword [rsp + 0x420]
call fcn.1003b040
add rsp, 0x430
pop rbx
ret
Function at 0x10020490
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x430
mov rax, qword [0x10050650]
mov qword [rsp + 0x420], rax
mov r8, qword [sym.imp.msvcp60.dll_unsigned_long_long_unsigned___int64__const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor edx, edx
mov rbx, rcx
mov r8, qword [r8]
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, str._ProgramFiles_x86___
mov rcx, rbx
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const____ptr64____ptr64]
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x20], 0
call sub.msvcrt.dll_memset
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x20]
test rcx, rcx
mov r8d, 0x400
cmove rcx, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov r8, qword [sym.imp.msvcp60.dll_unsigned_long_long_unsigned___int64__const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor edx, edx
mov r8, qword [r8]
mov rcx, rbx
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const____ptr64____ptr64]
mov rcx, qword [rsp + 0x420]
call fcn.1003b040
add rsp, 0x430
pop rbx
ret
Function at 0x100209b0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov r11, rsp
sub rsp, 0x178
mov rax, qword [0x10050650]
mov qword [rsp + 0x150], rax
mov qword [r11 + 0x20], rbx
mov qword [r11 - 8], rbp
mov qword [r11 - 0x10], rsi
mov rsi, rdx
xor edx, edx
mov ebx, ecx
lea ecx, [rdx + 0xa]
mov qword [r11 - 0x18], rdi
mov rbp, r8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
mov rdi, rax
je 0x10020a56
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x130
call sub.KERNEL32.dll_Process32First
cmp eax, 1
jne 0x10020a4d
nop
cmp dword [rsp + 0x40], ebx
jne 0x10020a3b
mov r9d, dword [rsp + 0x28]
mov rdx, rbp
mov rcx, rsi
mov r8d, r9d
call fcn.10020980
test al, al
jne 0x10020a3b
mov r8, rbp
mov rdx, rsi
mov ecx, r9d
call fcn.100209b0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
je 0x10020a10
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, ebx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x168]
test rax, rax
mov rbp, qword [rsp + 0x170]
mov rbx, rax
je 0x10020a9b
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x150]
call fcn.1003b040
add rsp, 0x178
ret
Function at 0x10022360
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x10050650]
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
cmove rcx, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x10022432
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x50], al
call sub.msvcrt.dll_memset
mov r8, qword [rbx + 8]
test r8, r8
lea rdx, [0x1004164c]
lea rcx, [rsp + 0x50]
cmove r8, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
call qword [sym.imp.msvcrt.dll_sprintf]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test eax, eax
je 0x1002241b
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x1002241b
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
mov byte [rsp + 0x20], al
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64__class_std::allocator_char__const____ptr64____ptr64]
lea rcx, [rsp + 0x28]
call fcn.10022360
lea rcx, [rsp + 0x28]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov rcx, qword [rbx + 8]
test rcx, rcx
cmove rcx, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rcx, qword [rsp + 0x160]
call fcn.1003b040
add rsp, 0x170
pop rbx
ret

Function at 0x10022520
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x10], 0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov rdi, rdx
mov rbx, rcx
je 0x1002254e
lea rcx, str.Wow64Redirection::disabler_____
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rdi
call qword [rbx + reloc.WS2_32.dll_recv]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
ret

Function at 0x10022570
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov rdi, rdx
mov rbx, rcx
je 0x1002259e
lea rcx, str.Wow64Redirection::restore_____
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rdi
call qword [rbx + 0x18]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
ret
Function at 0x10022730
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
sub rsp, 0x4f8
mov rax, qword [0x10050650]
mov qword [rsp + 0x4d0], rax
mov r8, qword [sym.imp.msvcp60.dll_unsigned_long_long_unsigned___int64__const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov r8, qword [r8]
mov qword [r11 - 8], rsi
mov rbp, rdx
xor edx, edx
mov qword [r11 - 0x10], rdi
mov rbx, rcx
xor sil, sil
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64_____ptr64]
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x87
mov byte [rsp + 0x40], sil
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_OpenFile]
test eax, eax
movsxd rdi, eax
jne 0x100227d8
xor ecx, ecx
call fcn.1001f320
lea rdx, [0x100416a0]
lea rcx, [rsp + 0x38]
mov rbx, rax
call fcn.10024b50
lea rdx, str._comm__read_file__s__OpenFile_failed:__s
mov r9, rbx
mov r8, rbp
mov rcx, rax
call fcn.10024c50
jmp 0x100228d0
mov qword [rsp + 0x4e0], r12
lea rcx, [rsp + 0xd0]
xor r12d, r12d
xor edx, edx
mov r8d, 0x400
mov dword [rsp + 0x30], r12d
call sub.msvcrt.dll_memset
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0xd0]
mov r8d, 0x400
mov rcx, rdi
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1002288a
nop
nop
nop
nop
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const____ptr64__unsigned_long_long_unsigned___int64_____ptr64]
cmp dword [rsp + 0x30], 0x400
jb 0x100228bc
lea rcx, [rsp + 0xd0]
xor edx, edx
mov r8d, 0x400
call sub.msvcrt.dll_memset
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0xd0]
mov r8d, 0x400
mov rcx, rdi
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10022830
xor ecx, ecx
call fcn.1001f320
lea rdx, [0x100416d8]
lea rcx, [rsp + 0x38]
mov rbx, rax
call fcn.10024b50
lea rdx, str._comm__read_file__s__ReadFile_failed:__s
mov r9, rbx
mov r8, rbp
mov rcx, rax
call fcn.10024c50
jmp 0x100228bf
mov sil, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, qword [rsp + 0x4e0]
mov rdi, qword [rsp + 0x4e8]
mov rbp, qword [rsp + 0x518]
mov rbx, qword [rsp + 0x510]
mov al, sil
mov rsi, qword [rsp + 0x4f0]
mov rcx, qword [rsp + 0x4d0]
call fcn.1003b040
add rsp, 0x4f8
ret