joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800012e0
Capabilities:
Enumerate threads
Print debug messages

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0xe8]
sub rsp, 0x1e8
mov rax, qword [0x180028020]
xor rax, rsp
mov qword [rbp + 0xc0], rax
xor eax, eax
mov dword [rsp + 0x68], 0x1c
mov qword [rsp + 0x6c], rax
mov qword [rsp + 0x74], rax
mov qword [rsp + 0x7c], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
lea ecx, [rdx + 4]
mov ebx, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
je 0x18000152f
lea rdx, [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
cmp eax, 1
jne 0x180001524
mov qword [rsp + 0x200], rsi
mov qword [rsp + 0x208], rdi
mov qword [rsp + 0x210], r12
mov qword [rsp + 0x1e0], r13
mov qword [rsp + 0x1d8], r14
mov qword [rsp + 0x1d0], r15
nop dword [rax]
cmp ebx, dword [rsp + 0x74]
jne 0x1800014db
mov r14d, dword [rsp + 0x70]
mov ecx, 0x20
call fcn.18001eed8
xor edi, edi
lea r15, [0x180053dd0]
mov qword [rsp + 0x30], rax
mov rsi, rax
sub r15, rax
lea r12, [0x180053dc0]
lea r13d, [rdi + 4]
nop dword [rax + rax]
mov rdx, qword [r15 + rsi]
mov ecx, dword [r12]
mov r9d, r14d
xor r8d, r8d
call qword [0x180021430]
mov qword [rsi], rax
test rax, rax
jne 0x18000142b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbp - 0x6f]
xor edx, edx
mov r8d, 0x12b
mov byte [rbp - 0x70], 0
mov ebx, eax
call sub.MSVCR100.dll_memset
lea r8, str.Rmsex__249:RfhmHookThread__Set_Hook_Error_The_Reason_is:_d_n
lea rcx, [rbp - 0x70]
mov r9d, ebx
mov edx, 0x12c
call entry0
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, 1
test edi, edi
jne 0x18000143b
cmp qword [rsi], 0
cmovne edi, ebx
add r12, 4
add rsi, 8
dec r13
jne 0x1800013d0
cmp edi, 1
jne 0x1800014d7
mov rdx, qword [0x1800575e8]
mov rcx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x29], r13b
jne 0x18000147d
cmp dword [rax + 0x18], r14d
jae 0x180001471
mov rax, qword [rax + 0x10]
jmp 0x180001477
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x29], 0
je 0x180001465
mov qword [rsp + 0x40], rcx
cmp rcx, rdx
je 0x180001494
cmp r14d, dword [rcx + 0x18]
jb 0x180001494
lea rax, [rsp + 0x40]
jmp 0x18000149e
mov qword [rsp + 0x38], rdx
lea rax, [rsp + 0x38]
cmp qword [rax], rdx
je 0x1800014ab
mov ecx, r14d
call fcn.180001550
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x50], rax
call fcn.180003410
lea rcx, [rsp + 0x58]
mov rdx, rax
call fcn.180002e60
mov dword [0x180054d9c], ebx
mov ebx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_Thread32Next]
cmp eax, 1
je 0x180001390
mov r15, qword [rsp + 0x1d0]
mov r14, qword [rsp + 0x1d8]
mov r13, qword [rsp + 0x1e0]
mov r12, qword [rsp + 0x210]
mov rdi, qword [rsp + 0x208]
mov rsi, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.18001eef0
add rsp, 0x1e8
pop rbx
pop rbp
ret
Function at 0x180003560
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x290
mov rax, qword [0x180028020]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rcx, [0x180054898]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 0x30
call qword [sym.imp.MSVCR100.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
xor edi, edi
test rax, rax
je 0x1800035b6
lea rcx, vtable.CShareMemClient.0
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x24], rdi
mov qword [rax], rcx
jmp 0x1800035b9
mov rax, rdi
mov qword [0x180054db0], rax
test rax, rax
je 0x180003781
call fcn.180010ec0
test eax, eax
je 0x180003755
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x12b
mov qword [rsp + 0x2a0], rbx
mov byte [rsp + 0x20], 0
call sub.MSVCR100.dll_memset
lea r8, str.Rmsex__85:GetDecodeKey__Open_Share_Mem_____UserKey
lea rcx, [rsp + 0x20]
mov edx, 0x12c
call entry0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rbx, [0x180054540]
mov rcx, rbx
call fcn.180010f60
xor edx, edx
mov r8d, 0x12b
test eax, eax
je 0x180003711
lea rcx, [rsp + 0x21]
mov byte [rsp + 0x20], dl
call sub.MSVCR100.dll_memset
lea r8, str.Rmsex__89:GetDecodeKey__Read_the_key_from_memcpy____
lea rcx, [rsp + 0x20]
mov edx, 0x12c
call entry0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x12b
mov byte [rsp + 0x20], 0
call sub.MSVCR100.dll_memset
mov r9d, dword [0x180054640]
lea r8, str.Rmsex__92:GetDecodeKey__The_print_limit_is:_d_n
lea rcx, [rsp + 0x20]
mov edx, 0x12c
call entry0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x180054640], 1
jne 0x1800036c3
lea rcx, str.OpenFileParam.nCanPrint__1
mov dword [0x180054dbc], 1
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180054644]
mov ecx, edi
lea rdx, [0x180054750]
mov dword [0x180028584], eax
xor eax, eax
mov qword [0x180054750], rax
mov qword [0x180054758], rax
test cl, 0xf
jne 0x1800036f8
movzx eax, byte [rbx]
add al, 0x11
inc rdx
mov byte [rdx - 1], al
inc ecx
inc rbx
cmp ecx, 0x100
jl 0x1800036e8
mov dword [0x180054da8], 1
jmp 0x18000374d
lea rcx, [rsp + 0x151]
mov byte [rsp + 0x150], 0
call sub.MSVCR100.dll_memset
lea r8, str.Rmsex__131:GetDecodeKey__Not_Read_The_Keyhhhhhhhhhh_
lea rcx, [rsp + 0x150]
mov edx, 0x12c
call entry0
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rbx, qword [rsp + 0x2a0]
mov rcx, qword [0x180054db0]
test rcx, rcx
je 0x18000376b
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
lea rcx, [0x180054898]
mov qword [0x180054db0], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1800037c5
lea rcx, [rsp + 0x151]
xor edx, edx
mov r8d, 0x12b
mov byte [rsp + 0x150], 0
call sub.MSVCR100.dll_memset
lea r8, str.Rmsex__144:GetDecodeKey__Share_Mem_Was_Wrong
lea rcx, [rsp + 0x150]
mov edx, 0x12c
call entry0
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18001eef0
add rsp, 0x290
pop rdi
ret
Function at 0x180005560
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
lea rax, [rsp + 0x60]
mov rsi, rcx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
lea r8d, [rbx + 4]
mov qword [rsp + 0x28], rax
lea ecx, [rbx + 3]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x60], ebx
call qword [sym.imp.WINSPOOL.DRV_EnumPrintersA]
mov ecx, dword [rsp + 0x58]
call fcn.18001eed8
lea r8d, [rbx + 4]
lea ecx, [rbx + 3]
mov rdi, rax
lea rax, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WINSPOOL.DRV_EnumPrintersA]
cmp dword [rsp + 0x60], ebx
je 0x180005605
mov rcx, qword [rdi]
mov rdx, rsi
nop dword [rax]
movzx eax, byte [rcx]
inc rdx
inc rcx
mov byte [rdx - 1], al
test al, al
jne 0x1800055f0
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x180009520
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x180028020]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rcx, [rsp + 0x151]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x150], 0
mov rbx, rax
call sub.MSVCR100.dll_memset
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov dword [rsp + 0x20], 0x130
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x180009650
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov qword [rsp + 0x280], rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x180009646
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x4c]
inc rcx
mov byte [rsp + rcx + 0x14f], al
test al, al
jne 0x1800095b0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x150]
repne scasb al, byte [rdi]
xor edx, edx
not rcx
dec rcx
je 0x180009617
nop dword [rax]
movzx eax, byte [rsp + rdx + 0x150]
cmp al, 0x41
jl 0x1800095f9
cmp al, 0x5a
jg 0x1800095f9
add al, 0x20
mov byte [rsp + rdx + 0x150], al
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x150]
repne scasb al, byte [rdi]
inc rdx
not rcx
dec rcx
cmp rdx, rcx
jb 0x1800095e0
lea rdx, str.monitor.exe
lea rcx, [rsp + 0x150]
call qword [sym.imp.MSVCR100.dll__stricmp]
test eax, eax
je 0x180009669
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1800095a2
xor eax, eax
mov rdi, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18001eef0
add rsp, 0x270
pop rbx
ret
mov eax, dword [rsp + 0x28]
mov dword [0x180054ec4], eax
mov eax, 1
jmp 0x180009648
Function at 0x180009740
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0xd0
mov rax, qword [0x180028020]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rdx
xor r12d, r12d
lea rdx, [rsp + 0x38]
mov rbp, rcx
mov dword [rsp + 0x38], r12d
mov edi, r12d
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
cmp eax, 1
jb 0x1800098a6
mov ecx, esi
call fcn.18001eed8
mov edx, dword [rsp + 0x38]
mov r8d, esi
mov r9, rax
mov rcx, rbp
mov rdi, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x1800098a6
lea r8d, [r12 + 0x63]
lea rcx, [rsp + 0x51]
xor edx, edx
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x34], r12d
mov byte [rsp + 0x50], r12b
call sub.MSVCR100.dll_memset
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x40]
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x30], r12d
call qword [sym.imp.VERSION.dll_VerQueryValueA]
cmp dword [rsp + 0x34], 1
jb 0x1800098a6
mov rax, qword [rsp + 0x40]
lea r8, str.StringFileInfo_04x_04xOriginalFilename
lea edx, [r12 + 0x64]
movzx ecx, word [rax + 2]
movzx r9d, word [rax]
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x50]
call entry0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueA]
mov r11d, dword [rsp + 0x30]
cmp r11d, 1
jb 0x1800098a6
cmp r11, 0x7ffffffe
jbe 0x18000985a
mov byte [rbx], r12b
jmp 0x18000989d
mov r9, qword [rsp + 0x48]
mov edx, 0x104
mov rcx, rbx
sub r9, rbx
nop word [rax + rax]
lea rax, [r11 + rdx - 0x104]
test rax, rax
je 0x180009892
movzx eax, byte [r9 + rcx]
test al, al
je 0x180009892
mov byte [rcx], al
inc rcx
dec rdx
jne 0x180009870
jmp 0x180009897
test rdx, rdx
jne 0x18000989a
dec rcx
mov byte [rcx], r12b
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll__strlwr]
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18001eef0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x180009a90
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x180028020]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rcx, [rsp + 0x141]
xor edx, edx
mov r8d, 0x104
mov byte [rsp + 0x140], 0
call sub.MSVCR100.dll_memset
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x104
mov byte [rsp + 0x30], 0
call sub.MSVCR100.dll_memset
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
lea rax, [rsp + 0x30]
not rcx
cmp byte [rcx + rax - 2], 0x5c
je 0x180009b27
xor eax, eax
lea rdi, [rsp + 0x30]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x180022464]
mov word [rdi - 1], ax
lea r9, str.file.dll
lea r8, [rsp + 0x30]
lea rdx, str._s_s
lea rcx, [rsp + 0x140]
call qword [sym.imp.MSVCR100.dll_sprintf]
lea rdx, [rsp + 0x140]
lea rbx, [0x1800558c0]
mov qword [rsp + 0x28], rdx
lea r8, [0x180021b3c]
lea rcx, str.value
lea rdx, str.source
mov r9, rbx
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rdx, [rsp + 0x140]
lea r9, [0x1800559d0]
mov qword [rsp + 0x28], rdx
lea r8, [0x180021b3c]
lea rcx, str.value
lea rdx, str.destination
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
dec ecx
movsxd rax, ecx
js 0x180009c0d
cmp byte [rax + rbx], 0x5c
je 0x180009be0
dec ecx
dec rax
jns 0x180009bd1
jmp 0x180009c0d
movsxd rax, ecx
lea rcx, [0x180055ae0]
lea rdx, [rax + rbx + 1]
sub rcx, rdx
movzx eax, byte [rdx]
inc rdx
mov byte [rcx + rdx - 1], al
test al, al
jne 0x180009bf2
lea rcx, [0x180055ae0]
call qword [sym.imp.MSVCR100.dll__strlwr]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18001eef0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x180009c30
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x15f0
call fcn.18001f9a0
sub rsp, rax
mov rax, qword [0x180028020]
xor rax, rsp
mov qword [rsp + 0x15e0], rax
lea rcx, [rsp + 0x141]
xor edx, edx
mov r8d, 0x104
mov byte [rsp + 0x140], 0
call sub.MSVCR100.dll_memset
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x104
mov byte [rsp + 0x30], 0
call sub.MSVCR100.dll_memset
lea rcx, [rsp + 0x251]
xor edx, edx
mov r8d, 0x1388
mov byte [rsp + 0x250], 0
call sub.MSVCR100.dll_memset
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
lea rax, [rsp + 0x30]
not rcx
cmp byte [rcx + rax - 2], 0x5c
je 0x180009cea
xor eax, eax
lea rdi, [rsp + 0x30]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x180022464]
mov word [rdi - 1], ax
lea r9, str.fileconfig.dll
lea r8, [rsp + 0x30]
lea rdx, str._s_s
lea rcx, [rsp + 0x140]
call qword [sym.imp.MSVCR100.dll_sprintf]
lea rdx, [rsp + 0x140]
lea r9, [rsp + 0x250]
mov qword [rsp + 0x28], rdx
lea r8, [0x180021b3c]
lea rcx, str.value
lea rdx, [0x1800224b0]
mov dword [rsp + 0x20], 0x1389
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x250]
xor r11d, r11d
lea rbx, [0x1800567e0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
shr r8, 1
je 0x180009db6
mov rcx, rbx
lea rdi, [rsp + 0x251]
movsx edx, byte [rdi - 1]
cmp edx, 0x41
js 0x180009d82
sub dl, 0x37
jmp 0x180009d85
sub dl, 0x30
mov byte [rcx], dl
movsx edx, byte [rdi]
movzx eax, byte [rcx]
cmp edx, 0x41
js 0x180009d9b
shl al, 4
add al, dl
sub al, 0x37
jmp 0x180009da2
sub al, 3
shl al, 4
add al, dl
inc r11d
mov byte [rcx], al
add rdi, 2
movsxd rax, r11d
inc rcx
cmp rax, r8
jb 0x180009d74
xor eax, eax
or rcx, 0xffffffffffffffff
mov byte [r8 + rbx], 0
mov rdi, rbx
repne scasb al, byte [rdi]
mov rax, qword [str.1111111111111111]
mov qword [0x1800534c0], rax
mov rax, qword [0x180021c90]
not rcx
lea rdi, [rcx - 1]
mov qword [0x1800534c8], rax
call fcn.180011050
mov edx, edi
mov rcx, rbx
call fcn.180011330
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll__strlwr]
lea rcx, [0x180055e10]
lea rdx, str.gm2.exe_prnt.exe_ly.exe_fdfSnap.exe_liveview.exe_qsr.exe_
mov r8d, 0x10a
call fcn.18001f984
mov rcx, qword [rsp + 0x15e0]
xor rcx, rsp
call fcn.18001eef0
mov rbx, qword [rsp + 0x1600]
add rsp, 0x15f0
pop rdi
ret
Function at 0x180010ec0
Capabilities:
Read file via mapping

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [0x180054db0]
cmp dword [rbx + 0x24], 0
je 0x180010edb
mov rcx, rbx
call fcn.180010e50
lea rcx, str.UserKey
call qword [sym.imp.MSVCR100.dll__strdup]
mov edx, 1
lea ecx, [rdx + 5]
mov r8, rax
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov qword [rbx + 8], rax
test rax, rax
jne 0x180010f1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
mov dword [rbx + 0x28], eax
call fcn.180010e50
xor eax, eax
add rsp, 0x30
pop rbx
ret
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 6]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x180010f06
mov dword [rbx + 0x24], 1
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x180011330
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0xc0
mov rax, qword [0x180028020]
xor rax, rsp
mov qword [rsp + 0xb0], rax
shr edx, 4
mov rsi, rcx
test rcx, rcx
je 0x180011499
test edx, edx
je 0x180011494
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rdi
mov edi, edx
lea rbx, [rcx + 8]
lea rbp, sym.MZ_d_3__s_aQUZ_syx040_qj__0YrR_FVSa_et_wLNS_az_
nop dword [rax]
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x90
call sub.MSVCR100.dll_memset
xor r9d, r9d
lea r10d, [r9 + 0x20]
movups xmm0, xmmword [rbx - 8]
movaps xmmword [rsp + 0x20], xmm0
mov edx, dword [r9 + rbp + 0x54a60]
add r9, 4
xor edx, dword [rsp + r9 + 0x20]
xor edx, dword [rsp + r9 + 0x28]
xor edx, dword [rsp + r9 + 0x24]
mov eax, edx
shr eax, 0x18
movzx ecx, al
mov eax, edx
movzx r8d, byte [rcx + rbp + 0x533c0]
shr eax, 0x10
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rbp + 0x533c0]
or r8d, eax
mov eax, edx
shr eax, 8
shl r8d, 8
movzx ecx, al
movzx eax, byte [rcx + rbp + 0x533c0]
or r8d, eax
movzx eax, dl
movzx eax, byte [rax + rbp + 0x533c0]
shl r8d, 8
or r8d, eax
mov ecx, r8d
mov eax, r8d
ror ecx, 0xe
rol eax, 0xa
xor ecx, eax
mov eax, r8d
ror eax, 8
xor ecx, eax
mov eax, r8d
rol eax, 2
xor ecx, eax
xor ecx, dword [rsp + r9 + 0x1c]
xor ecx, r8d
dec r10
mov dword [rsp + r9 + 0x2c], ecx
jne 0x1800113a2
mov eax, dword [rsp + 0xac]
add rbx, 0x10
dec rdi
mov dword [rbx - 0x18], eax
mov eax, dword [rsp + 0xa8]
mov dword [rbx - 0x14], eax
mov eax, dword [rsp + 0xa4]
mov dword [rbx - 0x10], eax
mov eax, dword [rsp + 0xa0]
mov dword [rbx - 0xc], eax
jne 0x180011380
mov rdi, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
mov rax, rsi
jmp 0x18001149b
mov rax, rcx
jmp 0x18001149b
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.18001eef0
add rsp, 0xc0
pop rsi
ret
Function at 0x180011500
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rsi
sub rsp, 0x80
xor ebx, ebx
cmp dword [0x1800559c4], 0x40
mov esi, ebx
jae 0x180011659
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rdi
lea rdi, [rcx + rdx]
mov eax, 0x80000000
cmp rdi, rax
jae 0x18001153b
lea edi, [rbx + 1]
jmp 0x180011542
sub rdi, 0x7fff0000
lea rbp, [rcx + r8]
cmp rbp, 0xffffffff80000000
jae 0x180011558
add rbp, 0x7ff80000
jmp 0x18001155f
mov rbp, 0xfffffffffff80000
xor edx, edx
lea rcx, [rsp + 0x54]
mov dword [rsp + 0x50], ebx
lea r8d, [rdx + 0x2c]
call sub.MSVCR100.dll_memset
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp rdi, rbp
jae 0x180011627
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180011607
cmp dword [rsp + 0x40], 0x10000
jne 0x1800115f5
mov rax, qword [rsp + 0x38]
cmp rax, 0x78
jb 0x1800115fa
mov edx, dword [rsp + 0x78]
mov ecx, edx
cmp rax, rdx
jb 0x1800115fa
lea eax, [rdx - 1]
xor edx, edx
mov r8d, 0x3000
add rax, rdi
div rcx
mov edx, 0x78
lea r9d, [rdx - 0x58]
imul rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18001160c
mov rax, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
add rdi, rax
cmp rdi, rbp
jb 0x180011590
test rsi, rsi
je 0x180011627
lea rcx, [0x180054b90]
mov rax, rcx
cmp qword [rax], 0
je 0x18001164b
inc ebx
add rax, 8
cmp ebx, 0x40
jb 0x180011616
mov rbp, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov rax, rsi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rsi
ret
inc dword [0x1800559c4]
mov eax, ebx
mov qword [rcx + rax*8], rsi
jmp 0x180011627
mov rax, rbx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rsi
ret
Function at 0x180011670
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x500
mov rax, qword [0x180028020]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov ebp, r8d
mov rdi, rdx
mov r8d, ecx
mov ecx, 0x1fffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180011757
test rax, rax
je 0x180011757
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rbx
cmp eax, 0xffffffff
je 0x180011789
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x518], rsi
mov dword [rsp + 0x50], 0x100001
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x18001174c
nop word [rax + rax]
mov rcx, qword [rsp + 0x118]
cmp rcx, rdi
jb 0x18001174c
lea rax, [rdi + rbp]
cmp rcx, rax
jae 0x18001174c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, 3
jge 0x18001177c
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
lea rdx, [rsp + 0x20]
mov rcx, rbx
inc esi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x180011700
mov rax, rbx
mov rsi, qword [rsp + 0x518]
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.18001eef0
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x18001174f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x180011757

Function at 0x1800117a0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, 0xf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor edi, edi
cmp dword [0x180055ad4], edi
jbe 0x180011815
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov rcx, qword [0x1800559c8]
mov rcx, qword [rbx + rcx]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [0x1800559c8]
mov rcx, qword [rbx + rcx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add rbx, 8
cmp edi, dword [0x180055ad4]
jb 0x1800117e0
mov rbx, qword [rsp + 0x30]
mov rcx, qword [0x1800559c8]
call sub.MSVCR100.dll_free
mov qword [0x1800559c8], 0
mov dword [0x180055ad4], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edx, esi
mov rcx, rax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_SetThreadPriority]