joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000f978
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x19], 0x6c642e32
mov word [rbp - 0x15], 0x6c
mov dword [rbp - 0x1f], 0x656e7265
mov word [rbp - 0x1b], 0x336c
mov byte [rbp - 0x20], 0x4b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800133b0
add rsp, 0x40
pop rbp
ret

Function at 0x18000f9cc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x17], 0x6c6c64
mov dword [rbp - 0x1b], 0x2e323369
mov word [rbp - 0x1d], 0x7061
mov word [rbp - 0x20], 0x6441
mov byte [rbp - 0x1e], 0x76
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800133b0
add rsp, 0x40
pop rbp
ret

Function at 0x18000fa20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x20]
mov word [rbp - 0x1c], 0x3233
mov dword [rbp - 0x1a], 0x6c6c642e
mov word [rbp - 0x1f], 0x6573
mov byte [rbp - 0x16], 0
mov byte [rbp - 0x20], 0x55
mov byte [rbp - 0x1d], 0x72
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800133b0
add rsp, 0x40
pop rbp
ret

Function at 0x18000fa74
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov edi, edx
mov dword [rbp - 0x1c], 0x746f6873
or rbx, 0xffffffffffffffff
mov dword [rbp - 0x2e], 0x65746165
mov word [rbp - 0x22], 0x3233
mov word [rbp - 0x28], 0x6c6f
mov word [rbp - 0x30], 0x7243
mov word [rbp - 0x25], 0x6c65
mov word [rbp - 0x1f], 0x616e
mov word [rbp - 0x2a], 0x6f54
mov byte [rbp - 0x26], 0x68
mov byte [rbp - 0x1d], 0x70
mov byte [rbp - 0x18], 0
mov byte [rbp - 0x23], 0x70
mov byte [rbp - 0x20], 0x53
call fcn.18000f978
mov rcx, rax
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000fb01
mov edx, edi
lea ecx, [rbx + 5]
call rax
mov rbx, rax
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800133b0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
Function at 0x18000fb20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rdx
mov dword [rbp - 0x1d], 0x33646165
mov rdi, rcx
mov word [rbp - 0x17], 0x7269
xor ebx, ebx
mov word [rbp - 0x14], 0x74
mov word [rbp - 0x19], 0x4632
mov word [rbp - 0x1f], 0x7268
mov byte [rbp - 0x20], 0x54
mov byte [rbp - 0x15], 0x73
call fcn.18000f978
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000fb8d
mov rdx, rsi
mov rcx, rdi
call rax
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800133b0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000fba8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rdx
mov word [rbp - 0x19], 0x4e32
mov rdi, rcx
mov word [rbp - 0x1c], 0x6461
xor ebx, ebx
mov dword [rbp - 0x17], 0x747865
mov byte [rbp - 0x1a], 0x33
mov word [rbp - 0x1f], 0x7268
mov byte [rbp - 0x1d], 0x65
mov byte [rbp - 0x20], 0x54
call fcn.18000f978
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000fc13
mov rdx, rsi
mov rcx, rdi
call rax
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800133b0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000fc30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, qword [rbp + 0x40]
mov rsi, rcx
mov r15, qword [rbp + 0x48]
mov edi, 1
call fcn.18000f9cc
mov rbx, rax
test rax, rax
je 0x18000fcdb
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x14], 0x41784565
mov rcx, rax
mov dword [rbp - 0x18], 0x756c6156
mov word [rbp - 0x1d], 0x7551
mov word [rbp - 0x20], 0x6552
mov word [rbp - 0x1b], 0x7265
mov byte [rbp - 0x19], 0x79
mov byte [rbp - 0x1e], 0x67
mov byte [rbp - 0x10], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000fcd2
mov qword [rsp + 0x28], r15
lea rdx, str.hvals
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rcx, rsi
call rax
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800133b0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x18000fd04
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, r8
mov word [rbp - 0x12], 0x6e6f
mov rsi, rdx
mov dword [rbp - 0x17], 0x74637572
mov rdi, rcx
mov word [rbp - 0xf], 0x6361
xor ebx, ebx
mov word [rbp - 0x1a], 0x736e
mov word [rbp - 0xc], 0x65
mov byte [rbp - 0x10], 0x43
mov dword [rbp - 0x1f], 0x6873756c
mov byte [rbp - 0x18], 0x74
mov byte [rbp - 0x20], 0x46
mov byte [rbp - 0xd], 0x68
mov byte [rbp - 0x1b], 0x49
mov byte [rbp - 0x13], 0x69
call fcn.18000f978
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000fd8d
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call rax
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800133b0
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x18001052c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor ebx, ebx
call fcn.18000fa20
test rax, rax
je 0x180010582
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x1f], 0x69577465
mov rcx, rax
mov dword [rbp - 0x18], 0x736f5077
mov word [rbp - 0x1b], 0x646e
mov byte [rbp - 0x20], 0x53
mov byte [rbp - 0x14], bl
mov byte [rbp - 0x19], 0x6f
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800133b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret

Function at 0x1800105ec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
call fcn.18000fa20
test rax, rax
je 0x180010653
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x1d], 0x65726f46
mov rcx, rax
mov dword [rbp - 0x11], 0x776f646e
mov dword [rbp - 0x16], 0x57646e75
mov word [rbp - 0x20], 0x6553
mov word [rbp - 0x19], 0x7267
mov byte [rbp - 0x1e], 0x74
mov byte [rbp - 0xd], bl
mov byte [rbp - 0x12], 0x69
mov byte [rbp - 0x17], 0x6f
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800133b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret

Function at 0x1800106c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor ebx, ebx
call fcn.18000fa20
test rax, rax
je 0x180010719
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x15], 0x776f646e
mov rcx, rax
mov dword [rbp - 0x1b], 0x65766974
mov dword [rbp - 0x20], 0x41746553
mov word [rbp - 0x17], 0x6957
mov byte [rbp - 0x11], bl
mov byte [rbp - 0x1c], 0x63
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800133b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
Function at 0x180010784
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
call fcn.18000fa20
test rax, rax
je 0x1800107e0
lea rdx, [rbp - 0x20]
mov word [rbp - 0x1b], 0x6957
mov rcx, rax
mov dword [rbp - 0x20], 0x6e697242
mov dword [rbp - 0x19], 0x776f646e
mov dword [rbp - 0x13], 0x706f54
mov byte [rbp - 0x1c], 0x67
mov word [rbp - 0x15], 0x6f54
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800133b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
Function at 0x180011454
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rbp + 0x40], rax
cmp edx, 1
jne 0x180011536
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.18003b424
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x26], 0x75732074
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x2c], 0x74726f
mov dword [rsp + 0x21], 0x6174736e
mov word [rsp + 0x2a], 0x7070
mov byte [rsp + 0x20], 0x69
mov byte [rsp + 0x25], 0x6e
call fcn.180017158
test rax, rax
jne 0x18001156a
lea rdx, [sym.gphelper.dll_HookSetWindowPos]
lea rcx, [0x1800a26c0]
call fcn.1800129e8
test eax, eax
je 0x18001156a
lea rdx, [sym.gphelper.dll_HookSetForegroundWindow]
lea rcx, [0x1800a24f8]
call fcn.1800129e8
test eax, eax
je 0x18001156a
lea rdx, [sym.gphelper.dll_HookSetActiveWindow]
lea rcx, [0x1800a2628]
call fcn.1800129e8
test eax, eax
je 0x18001156a
lea rdx, [sym.gphelper.dll_HookBringWindowToTop]
lea rcx, [0x1800a25f8]
call fcn.1800129e8
jmp 0x18001156a
test edx, edx
jne 0x18001156a
lea rcx, [0x1800a26c0]
call fcn.180012c4c
lea rcx, [0x1800a24f8]
call fcn.180012c4c
lea rcx, [0x1800a2628]
call fcn.180012c4c
lea rcx, [0x1800a25f8]
call fcn.180012c4c
mov eax, 1
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1800133b0
add rsp, 0x150
pop rbp
ret

Function at 0x1800115c8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, r9
mov r14, r8
mov esi, edx
xor ebx, ebx
call fcn.18000fa20
mov rdi, rax
test rax, rax
je 0x18000fe2f
lea rdx, [rbp - 0x20]
mov word [rbp - 0x14], 0x7845
mov rcx, rax
mov byte [rbp - 0x12], bl
mov dword [rbp - 0x19], 0x6f6f4874
mov dword [rbp - 0x1d], 0x78654e6c
mov word [rbp - 0x1f], 0x6c61
mov byte [rbp - 0x15], 0x6b
mov byte [rbp - 0x20], 0x43
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000fe26
mov r9, r15
mov r8, r14
mov edx, esi
xor ecx, ecx
call rax
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800133b0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov r9, r8
mov r8, rdx
mov edx, ecx
jmp 0x18000fda8
Function at 0x1800122e4
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x80
xor edi, edi
cmp dword [0x1800a24bc], 0x40
jae 0x180012410
lea rbx, [rcx + rdx]
mov rbp, 0xfffffffffff80000
add rcx, r8
lea r8d, [rdi + 0x30]
cmp rcx, 0xffffffff80000000
lea rax, [rcx + 0x7ff80000]
cmovb rbp, rax
lea rcx, [r11 - 0x38]
xor edx, edx
call fcn.180018180
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, 0x80000000
lea rsi, [rbx - 0x7fff0000]
cmp rbx, rax
lea r14d, [rdi + 1]
cmovb rsi, r14
cmp rsi, rbp
jae 0x180012410
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800123e0
cmp dword [rsp + 0x40], 0x10000
jne 0x1800123ce
mov rax, qword [rsp + 0x38]
cmp rax, 0x78
jb 0x1800123d3
mov edx, dword [rsp + 0x78]
mov ecx, edx
cmp rax, rdx
jb 0x1800123d3
lea eax, [rdx - 1]
mov r8d, 0x3000
xor edx, edx
add rax, rsi
div rcx
mov edx, 0x78
imul rcx, rax
lea r9d, [rdx - 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x1800123e5
mov rax, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x20]
add rsi, rax
cmp rsi, rbp
jb 0x180012369
test rdi, rdi
je 0x180012410
lea rdx, [0x1800a2780]
xor eax, eax
mov rcx, rdx
cmp qword [rcx], 0
je 0x180012405
add eax, r14d
add rcx, 8
cmp eax, 0x40
jb 0x1800123f1
jmp 0x180012410
add dword [0x1800a24bc], r14d
mov qword [rdx + rax*8], rdi
lea r11, [rsp + 0x80]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x1800124a8
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x500
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov ebp, r8d
mov rsi, rdx
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18001256c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rbx
cmp eax, 0xffffffff
je 0x180012564
mov dword [rsp + 0x50], 0x100001
xor edi, edi
jmp 0x180012550
cmp qword [rsp + 0x118], rsi
jb 0x18001256c
lea rax, [rsi + rbp]
cmp qword [rsp + 0x118], rax
jae 0x18001256c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp edi, 3
jge 0x180012561
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
inc edi
mov rcx, rbx
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x180012511
jmp 0x18001256c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov rax, rbx
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.1800133b0
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180012598
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
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 rcx, rax
mov edx, 0xf
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor edi, edi
cmp dword [0x1800a24b8], edi
jbe 0x180012602
mov rcx, qword [0x1800a24b0]
mov rcx, qword [rcx + rdi*8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [0x1800a24b0]
mov rcx, qword [rcx + rdi*8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [0x1800a24b8]
jb 0x1800125d6
mov rcx, qword [0x1800a24b0]
call fcn.18003a83c
and qword [0x1800a24b0], 0
and dword [0x1800a24b8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_SetThreadPriority]
Function at 0x1800129e8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x180076008]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, qword [rcx]
xor r14d, r14d
mov esi, r14d
mov qword [rbp - 0x51], rcx
mov rdi, rdx
mov r13, rcx
call fcn.180012204
mov rcx, rbx
call fcn.180012260
mov rcx, rdi
mov r15, rax
call fcn.180012260
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x59], rax
xor edx, edx
lea r8d, [r14 + 0x58]
call fcn.180018180
lea r8, [rbp - 0x49]
mov rcx, r15
call fcn.180012828
mov ebx, eax
cmp eax, 5
jb 0x180012c15
mov edx, ebx
mov rcx, r15
call fcn.180012640
mov r8, qword [rbp - 0x41]
mov rcx, r15
mov rdx, qword [rbp - 0x49]
call fcn.1800122e4
mov rsi, rax
test rax, rax
je 0x180012c10
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9d, [r14 + 0x40]
mov dword [rbp - 0x65], r14d
mov rdi, rax
mov dword [rbp - 0x69], r14d
lea rax, [rbp - 0x65]
mov rcx, rdi
mov r8d, ebx
mov qword [rsp + 0x20], rax
mov rdx, r15
mov r12d, ebx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x180012bf1
lea rax, [rbp - 0x69]
mov rdx, rsi
lea r9d, [r14 + 0x40]
mov qword [rsp + 0x20], rax
lea r8d, [r14 + 0x78]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x180012bc7
lea r13, [rsi + 0x38]
test ebx, ebx
je 0x180012b17
mov rdx, r15
mov r8, rsi
sub rdx, r13
mov rcx, r13
sub r8, r13
mov r9d, ebx
mov al, byte [rdx + rcx]
mov byte [rcx], al
mov byte [r8 + rcx + 0x58], al
inc rcx
sub r9, 1
jne 0x180012b04
lea rdx, [rbx + r15]
lea rcx, [rbx + r13]
call fcn.1800122a0
lea r8, [rbp - 0x49]
mov rdx, r15
mov rcx, r13
call fcn.1800127ec
mov rdx, qword [rbp - 0x59]
mov rcx, r15
sub rcx, rdx
mov rax, rdx
sub rax, r15
cmp rdx, r15
cmovb rax, rcx
cmp rax, 0x7fff0000
jbe 0x180012b80
lea rbx, [rsi + 0x18]
mov rcx, rbx
call fcn.1800122a0
sub rax, rsi
mov rdx, rbx
mov rcx, rdi
lea r8, [rax - 0x18]
call fcn.18000fd04
mov rdx, rbx
mov rcx, r15
call fcn.1800122a0
mov ebx, r12d
jmp 0x180012b88
mov rcx, r15
call fcn.1800122a0
mov rax, qword [rbp - 0x59]
mov r8, r12
mov rdx, r13
mov qword [rsi + 0x10], rax
mov rcx, rdi
mov dword [rsi + 8], ebx
mov qword [rsi], r15
call fcn.18000fd04
mov r9d, dword [rbp - 0x69]
lea rax, [rbp - 0x69]
mov r8d, 0x78
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r13, qword [rbp - 0x51]
mov r8, r12
mov rdx, r15
mov rcx, rdi
call fcn.18000fd04
mov r9d, dword [rbp - 0x65]
lea rax, [rbp - 0x65]
mov r8, r12
mov qword [rsp + 0x20], rax
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp qword [rsi], r14
je 0x180012c00
lea rax, [rsi + 0x38]
mov qword [r13], rax
jmp 0x180012c10
mov edx, 1
mov rcx, rsi
call fcn.180012464
mov rsi, r14
call fcn.180012598
call fcn.180012250
test rsi, rsi
setne r14b
mov eax, r14d
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1800133b0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180012c4c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
xor edi, edi
call fcn.180012204
mov rcx, qword [rsi]
call fcn.180012434
mov rbx, rax
test rax, rax
je 0x180012d18
mov edx, dword [rax + 8]
mov rcx, qword [rax]
call fcn.180012640
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, dword [rbx + 8]
lea r9d, [rdi + 0x40]
mov rdx, qword [rbx]
mov rbp, rax
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], edi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x180012d13
mov rdx, qword [rbx]
cmp dword [rbx + 8], edi
jbe 0x180012cd0
mov ecx, edi
inc edi
mov al, byte [rbx + rcx + 0x58]
mov byte [rcx + rdx], al
cmp edi, dword [rbx + 8]
jb 0x180012cc0
mov r8d, dword [rbx + 8]
mov rcx, rbp
mov rdx, qword [rbx]
call fcn.18000fd04
mov r8d, dword [rbx + 8]
lea rax, [rsp + 0x48]
mov r9d, dword [rsp + 0x48]
mov rcx, rbp
mov rdx, qword [rbx]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
mov qword [rsi], rax
mov edi, 1
call fcn.180012464
call fcn.180012598
call fcn.180012250
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x180042b10
Capabilities:
Create thread
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.180045164
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x180042b63
test rbx, rbx
je 0x180042b54
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test bpl, bpl
je 0x180042b63
mov edi, 4
jmp 0x180042c0c
call fcn.180044f0c
test al, al
jne 0x180042b80
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x180042c0c
test bpl, bpl
je 0x180042be3
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x180042a28]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180042c0c
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x180042bdd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180042c0c
mov edi, dword [rsp + 0x44]
jmp 0x180042bd5
call fcn.180045090
test al, al
jne 0x180042bf4
bts esi, 0x15
xor ecx, ecx
jmp 0x180042bfc
call fcn.180044fc8
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.180044cbc
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x180042c2c
Capabilities:
Create thread
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.180045164
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x180042c7f
test rbx, rbx
je 0x180042c70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x180042c7f
mov edi, 4
jmp 0x180042d28
call fcn.180044f0c
test al, al
jne 0x180042c9c
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x180042d28
test bpl, bpl
je 0x180042cff
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x180042a50]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180042d28
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x180042cf9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180042d28
mov edi, dword [rsp + 0x44]
jmp 0x180042cf1
call fcn.180045090
test al, al
jne 0x180042d10
bts esi, 0x15
xor ecx, ecx
jmp 0x180042d18
call fcn.180044fc8
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.180044d44
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret