joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800c9a70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x18010a918]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 1
test eax, eax
jne 0x1800c9aa6
jmp 0x1800c9cc0
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
and eax, 0xc0
test eax, eax
jne 0x1800c9ac1
mov byte [rsp + 0x20], 1
jmp 0x1800c9ac6
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1800c9aed
mov rax, qword [rsp + 0x80]
movss xmm0, dword [rax + 0x50]
movss dword [rsp + 0x38], xmm0
jmp 0x1800c9af6
xorps xmm0, xmm0
movss dword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x80]
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x2c], xmm0
mov rax, qword [rsp + 0x88]
movss xmm0, dword [rsp + 0x2c]
addss xmm0, dword [rax + 0x10]
comiss xmm0, dword [rsp + 0x90]
jbe 0x1800c9b36
mov dword [rsp + 0x3c], 0xffffffff
jmp 0x1800c9b3e
mov dword [rsp + 0x3c], 1
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
call fcn.1800cf3d0
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
jmp 0x1800c9b8b
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x1800c9c92
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
cmp dword [rsp + 0x24], eax
jge 0x1800c9c92
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
call fcn.180006fa0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
and eax, 0x20
test eax, eax
je 0x1800c9bde
jmp 0x1800c9c92
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
and eax, 0xc0
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 4]
and ecx, 0xc0
cmp eax, ecx
je 0x1800c9c05
jmp 0x1800c9c92
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rsp + 0x2c]
addss xmm0, dword [rax + 0x10]
mov rax, qword [rsp + 0x50]
subss xmm0, dword [rax + 0x3834]
movss dword [rsp + 0x48], xmm0
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rsp + 0x2c]
addss xmm0, dword [rax + 0x10]
mov rax, qword [rsp + 0x40]
addss xmm0, dword [rax + 0x14]
mov rax, qword [rsp + 0x50]
addss xmm0, dword [rax + 0x3834]
movss dword [rsp + 0x4c], xmm0
cmp dword [rsp + 0x30], 0
jge 0x1800c9c74
movss xmm0, dword [rsp + 0x90]
comiss xmm0, dword [rsp + 0x48]
ja 0x1800c9c8b
cmp dword [rsp + 0x30], 0
jle 0x1800c9c8d
movss xmm0, dword [rsp + 0x4c]
comiss xmm0, dword [rsp + 0x90]
jbe 0x1800c9c8d
jmp 0x1800c9c92
jmp 0x1800c9b7b
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x34], eax
je 0x1800c9cc0
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov r8d, eax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1800c9a40
add rsp, 0x78
ret
Function at 0x1800d2890
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.1800d2ae0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800d29aa
mov rax, qword [0x18010a790]
cmp qword [rsp + 0x20], rax
jb 0x1800d28f4
mov rax, qword [0x18010a798]
cmp qword [rsp + 0x20], rax
ja 0x1800d28f4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800d28b6
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 0x1800d2925
jmp 0x1800d29aa
cmp dword [rsp + 0x50], 0x10000
jne 0x1800d298d
cmp qword [rsp + 0x48], 0x10000
jb 0x1800d298d
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 0x1800d296b
mov rax, qword [rsp + 0x28]
jmp 0x1800d29ac
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800d297b
xor eax, eax
jmp 0x1800d29ac
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800d29a5
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800d2ae0
mov qword [rsp + 0x20], rax
jmp 0x1800d28b6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800d29c0
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.1800d2b20
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800d2ad6
mov rax, qword [0x18010a790]
cmp qword [rsp + 0x20], rax
jb 0x1800d2a1b
mov rax, qword [0x18010a798]
cmp qword [rsp + 0x20], rax
ja 0x1800d2a1b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800d29dd
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 0x1800d2a4c
jmp 0x1800d2ad6
cmp dword [rsp + 0x50], 0x10000
jne 0x1800d2ab4
cmp qword [rsp + 0x48], 0x10000
jb 0x1800d2ab4
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 0x1800d2a92
mov rax, qword [rsp + 0x28]
jmp 0x1800d2ad8
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800d2aa2
xor eax, eax
jmp 0x1800d2ad8
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800d2ad1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800d2b20
mov qword [rsp + 0x20], rax
jmp 0x1800d29dd
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800d2b70
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.1800d3100
mov qword [rsp + 0x28], 0
cmp qword [0x180111580], 0
jne 0x1800d2bb8
cmp qword [0x180111578], 0
je 0x1800d2bb8
mov rax, qword [0x180111578]
mov qword [0x180111580], rax
cmp qword [0x180111580], 0
je 0x1800d2c5e
mov rax, qword [0x180111580]
cmp qword [rax + 0x10], 0
je 0x1800d2c5e
mov rax, qword [0x180111580]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800d2c5e
mov rax, qword [0x180111580]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800d2c5e
mov rax, qword [0x180111580]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800d2c24
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800d2c2b
xor eax, eax
jmp 0x1800d2dd5
mov rax, qword [0x180111580]
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 0x1800d2dd5
mov rax, qword [0x180111578]
mov qword [0x180111580], rax
jmp 0x1800d2c80
mov rax, qword [0x180111580]
mov rax, qword [rax + 8]
mov qword [0x180111580], rax
cmp qword [0x180111580], 0
je 0x1800d2ccd
cmp qword [0x180111580], 0
je 0x1800d2ccb
mov rax, qword [0x180111580]
cmp qword [rax + 0x10], 0
je 0x1800d2ccb
mov rax, qword [0x180111580]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800d2ccb
mov rax, qword [0x180111580]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800d2ccb
jmp 0x1800d2bfc
jmp 0x1800d2c6e
mov rax, qword [rsp + 0x60]
and rax, 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.1800d2de0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800d2dd3
mov rax, qword [rsp + 0x48]
mov qword [0x180111580], rax
mov rax, qword [0x180111580]
mov dword [rax], 0x52727464
mov rax, qword [0x180111580]
mov qword [rax + 0x10], 0
mov rax, qword [0x180111580]
mov rcx, qword [0x180111578]
mov qword [rax + 8], rcx
mov rax, qword [0x180111580]
mov qword [0x180111578], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180111580]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1800d2d84
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800d2dbe
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 0x1800d2d7a
mov rax, qword [0x180111580]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800d2bfc
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800d3af0
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 0x1800d3b37
xor al, al
jmp 0x1800d3bd9
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 0x1800d3b61
xor al, al
jmp 0x1800d3bd9
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 0x1800d3bd1
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 0x1800d3bd1
mov al, 1
jmp 0x1800d3bd9
jmp 0x1800d3bd7
xor al, al
add rsp, 0x78
ret

Function at 0x1800d3ee0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180111578]
mov qword [rsp + 0x28], rax
jmp 0x1800d3f00
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800d3f2f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800d3f2d
call sub.KERNEL32.dll_GetLastError
jmp 0x1800d3f31
jmp 0x1800d3ef2
xor eax, eax
add rsp, 0x38
ret
Function at 0x1800d4840
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 [0x180111590], eax
je 0x1800d486d
mov eax, 0x10dd
jmp 0x1800d4a86
cmp dword [0x180111594], 0
je 0x1800d4881
mov eax, dword [0x180111594]
jmp 0x1800d4a86
cmp qword [rsp + 0x78], 0
jne 0x1800d4893
mov eax, 0x57
jmp 0x1800d4a86
cmp qword [rsp + 0x70], 0
jne 0x1800d48a5
mov eax, 6
jmp 0x1800d4a86
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1800d48d7
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x180111594], eax
mov rax, qword [rsp + 0x70]
mov qword [0x180111598], rax
mov eax, dword [rsp + 0x20]
jmp 0x1800d4a86
mov ecx, 0x30
call fcn.1800d9544
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1800d4949
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x180111594], eax
cmp qword [rsp + 0x30], 0
je 0x1800d4934
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.1800d8690
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x180111598], rax
mov eax, dword [rsp + 0x20]
jmp 0x1800d4a86
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.1800d4810
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.1800d4810
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 0x1800d49a6
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x1800d49c3
mov dword [rsp + 0x20], 9
cmp dword [0x180111588], 0
je 0x1800d49be
jmp 0x1800d490a
jmp 0x1800d4900
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x1800d49f0
mov dword [rsp + 0x20], 9
cmp dword [0x180111588], 0
je 0x1800d49eb
jmp 0x1800d490a
jmp 0x1800d4900
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 0x1800d4a27
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1800d4900
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 [0x1801115a8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x1801115a8], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800d4b80
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180111590], eax
je 0x1800d4b9b
mov eax, 0x10dd
jmp 0x1800d4cc0
mov rax, qword [0x1801115a8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800d4c45
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 0x1800d4c10
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x1800d4c10
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1800d3240
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.1800d8690
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1800d4ba7
mov qword [0x1801115a8], 0
call fcn.1800d3ca0
mov rax, qword [0x1801115a0]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800d4ca9
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.1800d8690
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x1800d4c61
mov qword [0x1801115a0], 0
mov dword [0x180111590], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800d51f0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x180111594], 0
je 0x1800d520d
mov eax, dword [0x180111594]
jmp 0x1800d52d3
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x1800d5220
xor eax, eax
jmp 0x1800d52d3
mov ecx, 0x10
call fcn.1800d9544
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800d528e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x1800d5273
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.1800d8690
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x180111594], eax
mov qword [0x180111598], 0
mov eax, dword [rsp + 0x20]
jmp 0x1800d52d3
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1800d52a8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1800d5249
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1801115a0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1801115a0], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x1800d69f0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
cmp dword [0x180111600], 0
je 0x1800d6a04
xor eax, eax
jmp 0x1800d6c63
cmp qword [0x1801115f8], 0
je 0x1800d6a1a
mov rax, qword [0x1801115f8]
jmp 0x1800d6c63
mov r8d, 0x48
xor edx, edx
lea rcx, [0x1801115b0]
call sub.VCRUNTIME140.dll_memset
call sub.KERNEL32.dll_GetCurrentProcess
mov qword [0x1801115b0], rax
xor r8d, r8d
xor edx, edx
lea rcx, str.dbghelp.dll
call sub.KERNEL32.dll_LoadLibraryExW
mov qword [0x1801115b8], rax
cmp qword [0x1801115b8], 0
jne 0x1800d6ad0
mov dword [0x180111600], 1
cmp qword [0x1801115b8], 0
je 0x1800d6a7c
mov rcx, qword [0x1801115b8]
call sub.KERNEL32.dll_FreeLibrary
mov qword [0x1801115c0], 0
mov qword [0x1801115c8], 0
mov qword [0x1801115d0], 0
mov qword [0x1801115d8], 0
mov qword [0x1801115e0], 0
mov qword [0x1801115e8], 0
mov qword [0x1801115f0], 0
xor eax, eax
jmp 0x1800d6c63
lea rdx, str.ImagehlpApiVersionEx
mov rcx, qword [0x1801115b8]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1801115c0], rax
lea rdx, str.SymInitialize
mov rcx, qword [0x1801115b8]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1801115c8], rax
lea rdx, str.SymSetOptions
mov rcx, qword [0x1801115b8]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1801115d0], rax
lea rdx, str.SymGetOptions
mov rcx, qword [0x1801115b8]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1801115d8], rax
lea rdx, str.SymLoadModule64
mov rcx, qword [0x1801115b8]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1801115e0], rax
lea rdx, str.SymGetModuleInfo64
mov rcx, qword [0x1801115b8]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1801115e8], rax
lea rdx, str.SymFromName
mov rcx, qword [0x1801115b8]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1801115f0], rax
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov eax, 0xc
mov word [rsp + 0x28], ax
cmp qword [0x1801115c0], 0
je 0x1800d6bd4
cmp qword [0x1801115c8], 0
je 0x1800d6bd4
cmp qword [0x1801115e0], 0
je 0x1800d6bd4
cmp qword [0x1801115e8], 0
je 0x1800d6bd4
cmp qword [0x1801115f0], 0
jne 0x1800d6bd9
jmp 0x1800d6a5c
lea rcx, [rsp + 0x28]
call qword [0x1801115c0]
movzx eax, word [rsp + 0x28]
cmp eax, 0xc
jge 0x1800d6bf3
jmp 0x1800d6a5c
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1801115b0]
call qword [0x1801115c8]
test eax, eax
jne 0x1800d6c0e
jmp 0x1800d6a5c
cmp qword [0x1801115d8], 0
je 0x1800d6c4e
cmp qword [0x1801115d0], 0
je 0x1800d6c4e
call qword [0x1801115d8]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 0xfffffff8
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
or eax, 0x2704
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
call qword [0x1801115d0]
lea rax, [0x1801115b0]
mov qword [0x1801115f8], rax
mov rax, qword [0x1801115f8]
add rsp, 0x38
ret
Function at 0x1800d6c70
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x80], 0
jne 0x1800d6c9d
xor ecx, ecx
call sub.KERNEL32.dll_GetModuleHandleW
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800d6cbd
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800d6e36
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
je 0x1800d6cf4
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800d6e36
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
test eax, eax
jne 0x1800d6d12
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800d6e36
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x1800d6d3e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x1800d6e1a
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
lea rdx, str..detour
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1800d6e15
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + rax + 0xc], 0
je 0x1800d6da3
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + rax + 0x10], 0
jne 0x1800d6da5
jmp 0x1800d6e1a
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
cmp rax, 0x40
jb 0x1800d6deb
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0x727444
je 0x1800d6ded
jmp 0x1800d6e1a
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x1800d6e07
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov dword [rax + 8], ecx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
jmp 0x1800d6e36
jmp 0x1800d6d34
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800d6e36
add rsp, 0x78
ret