joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800b50d0
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1800b50ec
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800b5140
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800b5265
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1800b5265
test rax, rax
je 0x1800b5265
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1800b5265
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1800b51da
lea rax, [0x1800b52c0]
jmp 0x1800b5233
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1800b5265
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800b5253
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1800b5200
lea rax, [0x1800b5290]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1800b527a
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1800b5fc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1800b5fcb
xor eax, eax
ret
lea r11, [0x1800de3a0]
not ecx
cmp r8d, 8
jb 0x1800b60a1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1800b5ff0
test r8d, r8d
je 0x1800b60cd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1800b60b0
not ecx
mov eax, ecx
ret
Function at 0x1800b9cb4
Capabilities:
Get geographical location

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

Function at 0x1800ba870
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800baac0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800ba98a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800ba8d4
mov rax, qword [0x180138008]
cmp qword [rsp + 0x20], rax
ja 0x1800ba8d4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800ba896
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1800ba905
jmp 0x1800ba98a
cmp dword [rsp + 0x50], 0x10000
jne 0x1800ba96d
cmp qword [rsp + 0x48], 0x10000
jb 0x1800ba96d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800ba94b
mov rax, qword [rsp + 0x28]
jmp 0x1800ba98c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800ba95b
xor eax, eax
jmp 0x1800ba98c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800ba985
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800baac0
mov qword [rsp + 0x20], rax
jmp 0x1800ba896
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800ba9a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800bab00
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800baab6
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800ba9fb
mov rax, qword [0x180138008]
cmp qword [rsp + 0x20], rax
ja 0x1800ba9fb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800ba9bd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1800baa2c
jmp 0x1800baab6
cmp dword [rsp + 0x50], 0x10000
jne 0x1800baa94
cmp qword [rsp + 0x48], 0x10000
jb 0x1800baa94
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800baa72
mov rax, qword [rsp + 0x28]
jmp 0x1800baab8
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800baa82
xor eax, eax
jmp 0x1800baab8
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800baab1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800bab00
mov qword [rsp + 0x20], rax
jmp 0x1800ba9bd
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800bab50
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800bb0e0
mov qword [rsp + 0x28], 0
cmp qword [0x1801389d8], 0
jne 0x1800bab98
cmp qword [0x1801389d0], 0
je 0x1800bab98
mov rax, qword [0x1801389d0]
mov qword [0x1801389d8], rax
cmp qword [0x1801389d8], 0
je 0x1800bac3e
mov rax, qword [0x1801389d8]
cmp qword [rax + 0x10], 0
je 0x1800bac3e
mov rax, qword [0x1801389d8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800bac3e
mov rax, qword [0x1801389d8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800bac3e
mov rax, qword [0x1801389d8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800bac04
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800bac0b
xor eax, eax
jmp 0x1800badb9
mov rax, qword [0x1801389d8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x1800badb9
mov rax, qword [0x1801389d0]
mov qword [0x1801389d8], rax
jmp 0x1800bac60
mov rax, qword [0x1801389d8]
mov rax, qword [rax + 8]
mov qword [0x1801389d8], rax
cmp qword [0x1801389d8], 0
je 0x1800bacad
cmp qword [0x1801389d8], 0
je 0x1800bacab
mov rax, qword [0x1801389d8]
cmp qword [rax + 0x10], 0
je 0x1800bacab
mov rax, qword [0x1801389d8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800bacab
mov rax, qword [0x1801389d8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800bacab
jmp 0x1800babdc
jmp 0x1800bac4e
mov rcx, qword [rsp + 0x60]
call fcn.1800bcf80
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800badc0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800badb7
mov rax, qword [rsp + 0x48]
mov qword [0x1801389d8], rax
mov rax, qword [0x1801389d8]
mov dword [rax], 0x52727464
mov rax, qword [0x1801389d8]
mov qword [rax + 0x10], 0
mov rax, qword [0x1801389d8]
mov rcx, qword [0x1801389d0]
mov qword [rax + 8], rcx
mov rax, qword [0x1801389d8]
mov qword [0x1801389d0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1801389d8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1800bad68
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800bada2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1800bad5e
mov rax, qword [0x1801389d8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800babdc
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800bbad0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800bbb17
xor al, al
jmp 0x1800bbbb9
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x1800bbb41
xor al, al
jmp 0x1800bbbb9
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x1800bbbb1
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x1800bbbb1
mov al, 1
jmp 0x1800bbbb9
jmp 0x1800bbbb7
xor al, al
add rsp, 0x78
ret

Function at 0x1800bbec0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1801389d0]
mov qword [rsp + 0x28], rax
jmp 0x1800bbee0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800bbf0f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800bbf0d
call sub.KERNEL32.dll_GetLastError
jmp 0x1800bbf11
jmp 0x1800bbed2
xor eax, eax
add rsp, 0x38
ret
Function at 0x1800bc5d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1801389e8], eax
je 0x1800bc5fd
mov eax, 0x10dd
jmp 0x1800bc816
cmp dword [0x1801389ec], 0
je 0x1800bc611
mov eax, dword [0x1801389ec]
jmp 0x1800bc816
cmp qword [rsp + 0x78], 0
jne 0x1800bc623
mov eax, 0x57
jmp 0x1800bc816
cmp qword [rsp + 0x70], 0
jne 0x1800bc635
mov eax, 6
jmp 0x1800bc816
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1800bc667
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x1801389ec], eax
mov rax, qword [rsp + 0x70]
mov qword [0x1801389f0], rax
mov eax, dword [rsp + 0x20]
jmp 0x1800bc816
mov ecx, 0x30
call fcn.1800be3c8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1800bc6d9
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x1801389ec], eax
cmp qword [rsp + 0x30], 0
je 0x1800bc6c4
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.1800be3c0
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x1801389f0], rax
mov eax, dword [rsp + 0x20]
jmp 0x1800bc816
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.1800bc5a0
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.1800bc5a0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x1800bc736
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x1800bc753
mov dword [rsp + 0x20], 9
cmp dword [0x1801389e0], 0
je 0x1800bc74e
jmp 0x1800bc69a
jmp 0x1800bc690
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x1800bc780
mov dword [rsp + 0x20], 9
cmp dword [0x1801389e0], 0
je 0x1800bc77b
jmp 0x1800bc69a
jmp 0x1800bc690
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800bc7b7
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1800bc690
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x180138a00]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x180138a00], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800bc820
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1801389e8], eax
je 0x1800bc83b
mov eax, 0x10dd
jmp 0x1800bc960
mov rax, qword [0x180138a00]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800bc8e5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x1800bc8b0
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x1800bc8b0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1800bb220
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.1800be3c0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1800bc847
mov qword [0x180138a00], 0
call fcn.1800bbc80
mov rax, qword [0x1801389f8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800bc949
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.1800be3c0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x1800bc901
mov qword [0x1801389f8], 0
mov dword [0x1801389e8], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800bce90
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1801389ec], 0
je 0x1800bcead
mov eax, dword [0x1801389ec]
jmp 0x1800bcf73
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x1800bcec0
xor eax, eax
jmp 0x1800bcf73
mov ecx, 0x10
call fcn.1800be3c8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800bcf2e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x1800bcf13
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.1800be3c0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1801389ec], eax
mov qword [0x1801389f0], 0
mov eax, dword [rsp + 0x20]
jmp 0x1800bcf73
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1800bcf48
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1800bcee9
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1801389f8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1801389f8], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x1800011a0
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x480
mov rax, qword [0x180018028]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 0x20
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x260]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
jmp 0x180001234
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
je 0x1800012d1
mov rax, qword [rsp + 0x20]
sub rax, 0x10
mov qword [rsp + 0x30], rax
mov r8d, 0x208
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.180002e60
mov r8d, 0x208
xor edx, edx
lea rcx, [rsp + 0x260]
call fcn.180002e60
mov rax, qword [rsp + 0x30]
mov r8, qword [rax + 0x50]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.180004460
mov r8, qword [rsp + 0x490]
mov edx, 0x104
lea rcx, [rsp + 0x260]
call fcn.180004460
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x260]
call fcn.180001140
test eax, eax
je 0x1800012cc
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
jmp 0x1800012ef
jmp 0x180001227
mov r9d, 0x40
lea r8, [0x18000e320]
lea rdx, str.Module_notFound
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.180001e40
add rsp, 0x480
pop rdi
ret
Function at 0x180001310
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0
jmp 0x1800013c2
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x18000141c
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.180004730
test eax, eax
jne 0x18000141a
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x18000143a
jmp 0x1800013b8
mov r9d, 0x40
lea r8, str.information
lea rdx, str.address_notFound
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
add rsp, 0x68
ret