Function at 0x18000daf0
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x1800546d8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x48], rax
mov r8d, 0x40
xor edx, edx
lea rcx, [rsp + 0x1f0]
call fcn.1800151c0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0x1f0]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x18000db91
cmp qword [rsp + 0x70], 0x40
jae 0x18000dbc8
cmp qword [rsp + 0x40], 0
je 0x18000dbbc
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.180012998
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x90]
jmp 0x18000e534
mov r8d, 0x108
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.1800151c0
movsxd rax, dword [rsp + 0x22c]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x108
lea r8, [rsp + 0xe0]
mov rdx, rax
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x18000dc27
cmp qword [rsp + 0x70], 0x108
jae 0x18000dc2c
jmp 0x18000db91
movzx eax, word [rsp + 0xf8]
cmp eax, 0x20b
je 0x18000dc4a
mov ecx, 9
call sub.KERNEL32.dll_SetLastError
jmp 0x18000db91
mov eax, 8
imul rax, rax, 0xb
mov dword [rsp + rax + 0x168], 0
mov eax, 8
imul rax, rax, 0xb
mov dword [rsp + rax + 0x16c], 0
movzx eax, word [rsp + 0xf4]
mov ecx, dword [rsp + 0x22c]
lea eax, [rcx + rax + 0x18]
mov dword [rsp + 0xa8], eax
mov dword [rsp + 0x58], 0
jmp 0x18000dca0
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
movzx eax, word [rsp + 0xe6]
cmp dword [rsp + 0x58], eax
jae 0x18000dda0
mov r8d, 0x28
xor edx, edx
lea rcx, [rsp + 0x230]
call fcn.1800151c0
mov eax, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x58]
imul rcx, rcx, 0x28
add rax, rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x28
lea r8, [rsp + 0x230]
mov rdx, rax
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x18000dd18
cmp qword [rsp + 0x70], 0x28
jae 0x18000dd1d
jmp 0x18000db91
mov eax, 8
imul rax, rax, 0xc
cmp dword [rsp + rax + 0x168], 0
jne 0x18000dd9b
mov eax, 8
imul rax, rax, 1
mov ecx, dword [rsp + 0x23c]
cmp dword [rsp + rax + 0x168], ecx
jb 0x18000dd9b
mov eax, 8
imul rax, rax, 1
mov ecx, dword [rsp + 0x240]
mov edx, dword [rsp + 0x23c]
add edx, ecx
mov ecx, edx
cmp dword [rsp + rax + 0x168], ecx
jae 0x18000dd9b
mov eax, 8
imul rax, rax, 0xc
mov ecx, dword [rsp + 0x23c]
mov dword [rsp + rax + 0x168], ecx
mov eax, 8
imul rax, rax, 0xc
mov ecx, dword [rsp + 0x240]
mov dword [rsp + rax + 0x16c], ecx
jmp 0x18000dc96
mov eax, 8
imul rax, rax, 1
cmp dword [rsp + rax + 0x168], 0
je 0x18000dea3
mov eax, 8
imul rax, rax, 1
cmp dword [rsp + rax + 0x16c], 0
jne 0x18000dea3
mov eax, 8
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x168]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x14
lea r8, [rsp + 0x258]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
jne 0x18000de26
jmp 0x18000db91
mov eax, 8
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x16c]
add rax, 0x14
mov ecx, 8
imul rcx, rcx, 1
mov dword [rsp + rcx + 0x16c], eax
cmp dword [rsp + 0x264], 0
jne 0x18000de56
jmp 0x18000de71
mov rax, qword [rsp + 0xb0]
add rax, 0x14
mov qword [rsp + 0xb0], rax
xor eax, eax
cmp eax, 1
jne 0x18000ddf1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x88], eax
lea rcx, str._This_PE_file_has_an_import_table__but_the_import_table_size_is_marked_as_0._This_is_an_error.If_it_is_not_repaired__the_launched_program_will_not_work_properly__Detours_has_automatically_repaired_its_import_table_size_for_you_______r_n
call sub.KERNEL32.dll_OutputDebugStringA
call sub.KERNEL32.dll_GetLastError
cmp eax, dword [rsp + 0x88]
je 0x18000dea3
mov ecx, dword [rsp + 0x88]
call sub.KERNEL32.dll_SetLastError
mov eax, 8
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x16c]
xor edx, edx
mov ecx, 0x14
div rcx
mov dword [rsp + 0x60], eax
lea r8, [rsp + 0xac]
mov edx, dword [rsp + 0x2a8]
mov ecx, 0x14
call fcn.18000d570
test eax, eax
je 0x18000dee3
jmp 0x18000db91
mov eax, dword [rsp + 0x60]
imul rax, rax, 0x14
lea r8, [rsp + 0x8c]
mov edx, eax
mov ecx, dword [rsp + 0xac]
call fcn.18000d4c0
test eax, eax
je 0x18000df0a
jmp 0x18000db91
mov ecx, dword [rsp + 0x8c]
call fcn.18000c7a0
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x8c]
cmp dword [rsp + 0x5c], eax
jae 0x18000df2c
jmp 0x18000db91
lea r8, [rsp + 0xa0]
mov edx, dword [rsp + 0x2a8]
mov ecx, 0x20
call fcn.18000d570
test eax, eax
je 0x18000df4e
jmp 0x18000db91
lea r8, [rsp + 0xa4]
mov edx, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0x5c]
call fcn.18000d4c0
test eax, eax
je 0x18000df6f
jmp 0x18000db91
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], 0
jmp 0x18000df96
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2a8]
cmp dword [rsp + 0x30], eax
jae 0x18000dfdc
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
mov rcx, qword [rcx + rax*8]
call fcn.180022810
inc eax
mov ecx, eax
call fcn.18000c790
lea r8, [rsp + 0x34]
mov edx, eax
mov ecx, dword [rsp + 0x34]
call fcn.18000d4c0
test eax, eax
je 0x18000dfda
jmp 0x18000db91
jmp 0x18000df8c
mov eax, dword [rsp + 0x34]
mov ecx, eax
call fcn.1800129a0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x18000e009
jmp 0x18000db91
mov eax, dword [rsp + 0x34]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1800151c0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x10c]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0xfc]
add rax, rcx
mov ecx, dword [rsp + 0x100]
add rax, rcx
mov ecx, dword [rsp + 0x104]
add rax, rcx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0x98], rax
jae 0x18000e086
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x98], rax
mov r9d, dword [rsp + 0x34]
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x290]
call fcn.18000c390
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x18000e0bd
jmp 0x18000db91
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xb8]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x68], 0
mov eax, 8
imul rax, rax, 1
cmp dword [rsp + rax + 0x168], 0
je 0x18000e176
mov eax, dword [rsp + 0x60]
imul rax, rax, 0x14
mov ecx, dword [rsp + 0x2a8]
imul rcx, rcx, 0x14
mov rdx, qword [rsp + 0x80]
add rdx, rcx
mov rcx, rdx
mov edx, 8
imul rdx, rdx, 1
mov edx, dword [rsp + rdx + 0x168]
mov r8, qword [rsp + 0x48]
add r8, rdx
mov rdx, r8
lea r8, [rsp + 0x70]
mov qword [rsp + 0x20], r8
mov r9, rax
mov r8, rcx
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x18000e171
mov eax, dword [rsp + 0x60]
imul rax, rax, 0x14
cmp qword [rsp + 0x70], rax
jae 0x18000e176
jmp 0x18000db91
mov dword [rsp + 0x30], 0
jmp 0x18000e18a
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2a8]
cmp dword [rsp + 0x30], eax
jae 0x18000e3a5
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x34]
sub edx, ecx
mov ecx, edx
mov ecx, ecx
mov edx, dword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0xd8], rdx
mov r8, qword [rsp + 0x2a0]
mov r8, qword [r8 + rax*8]
mov edx, ecx
mov rax, qword [rsp + 0xd8]
mov rcx, rax
call fcn.18000cc70
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jge 0x18000e1f2
jmp 0x18000db91
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov eax, eax
mov ecx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
lea r8, [0x18003ef38]
mov edx, eax
call fcn.18000ca50
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jge 0x18000e22d
jmp 0x18000db91
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x30]
shl ecx, 2
mov ecx, ecx
lea rax, [rax + rcx*8]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x14
mov rdx, qword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
movabs rdx, 0x8000000000000001
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
mov qword [rcx + rax], 0
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x30]
lea ecx, [rcx*4 + 2]
mov ecx, ecx
lea rax, [rax + rcx*8]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x14
mov rdx, qword [rsp + 0x80]
mov dword [rdx + rcx + 0x10], eax
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
movabs rdx, 0x8000000000000001
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
mov qword [rcx + rax], 0
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x80]
mov dword [rcx + rax + 4], 0
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x80]
mov dword [rcx + rax + 8], 0
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x14
mov rdx, qword [rsp + 0x80]
mov dword [rdx + rcx + 0xc], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
mov rcx, qword [rcx + rax*8]
call fcn.180022810
inc eax
mov ecx, eax
call fcn.18000c790
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
jmp 0x18000e180
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
jne 0x18000e3d8
jmp 0x18000db91
mov eax, 8
imul rax, rax, 0xc
cmp dword [rsp + rax + 0x168], 0
jne 0x18000e413
mov eax, 8
imul rax, rax, 0xc
mov ecx, dword [rsp + 0x54]
mov dword [rsp + rax + 0x168], ecx
mov eax, 8
imul rax, rax, 0xc
mov ecx, dword [rsp + 0x34]
mov dword [rsp + rax + 0x16c], ecx
mov eax, 8
imul rax, rax, 1
mov ecx, dword [rsp + 0x54]
mov dword [rsp + rax + 0x168], ecx
mov eax, 8
imul rax, rax, 1
mov ecx, dword [rsp + 0x34]
mov dword [rsp + rax + 0x16c], ecx
mov eax, dword [rsp + 0x134]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x290]
call fcn.18000be40
test eax, eax
jne 0x18000e470
jmp 0x18000db91
mov dword [rsp + 0x138], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x40
lea r8, [rsp + 0x1f0]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
jne 0x18000e4ad
jmp 0x18000db91
movsxd rax, dword [rsp + 0x22c]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 0x108
lea r8, [rsp + 0xe0]
mov rdx, rax
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
jne 0x18000e4f0
jmp 0x18000db91
mov eax, dword [rsp + 0x134]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x68]
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x290]
call sub.KERNEL32.dll_VirtualProtectEx
test eax, eax
jne 0x18000e524
jmp 0x18000db91
mov dword [rsp + 0x90], 1
jmp 0x18000db91
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180012ac0
add rsp, 0x288
ret