Function at 0x140004430
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 [0x14002b040]
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.14001cd30
nop
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 0x1400044d2
cmp qword [rsp + 0x70], 0x40
jae 0x14000450a
cmp qword [rsp + 0x40], 0
je 0x1400044fe
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140006ed8
nop
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x90]
jmp 0x140004e7b
mov r8d, 0x108
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.14001cd30
nop
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 0x14000456a
cmp qword [rsp + 0x70], 0x108
jae 0x14000456f
jmp 0x1400044d2
movzx eax, word [rsp + 0xf8]
cmp eax, 0x20b
je 0x14000458e
mov ecx, 9
call sub.KERNEL32.dll_SetLastError
nop
jmp 0x1400044d2
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 0x1400045e4
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
movzx eax, word [rsp + 0xe6]
cmp dword [rsp + 0x58], eax
jae 0x1400046e5
mov r8d, 0x28
xor edx, edx
lea rcx, [rsp + 0x230]
call fcn.14001cd30
nop
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 0x14000465d
cmp qword [rsp + 0x70], 0x28
jae 0x140004662
jmp 0x1400044d2
mov eax, 8
imul rax, rax, 0xc
cmp dword [rsp + rax + 0x168], 0
jne 0x1400046e0
mov eax, 8
imul rax, rax, 1
mov ecx, dword [rsp + 0x23c]
cmp dword [rsp + rax + 0x168], ecx
jb 0x1400046e0
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 0x1400046e0
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 0x1400045da
mov eax, 8
imul rax, rax, 1
cmp dword [rsp + rax + 0x168], 0
je 0x1400047ea
mov eax, 8
imul rax, rax, 1
cmp dword [rsp + rax + 0x16c], 0
jne 0x1400047ea
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 0x14000476b
jmp 0x1400044d2
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 0x14000479b
jmp 0x1400047b6
mov rax, qword [rsp + 0xb0]
add rax, 0x14
mov qword [rsp + 0xb0], rax
xor eax, eax
cmp eax, 1
jne 0x140004736
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
nop
call sub.KERNEL32.dll_GetLastError
cmp eax, dword [rsp + 0x88]
je 0x1400047ea
mov ecx, dword [rsp + 0x88]
call sub.KERNEL32.dll_SetLastError
nop
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.140003eb0
test eax, eax
je 0x14000482a
jmp 0x1400044d2
mov eax, dword [rsp + 0x60]
imul rax, rax, 0x14
lea r8, [rsp + 0x8c]
mov edx, eax
mov ecx, dword [rsp + 0xac]
call fcn.140003e00
test eax, eax
je 0x140004851
jmp 0x1400044d2
mov ecx, dword [rsp + 0x8c]
call fcn.140003920
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x8c]
cmp dword [rsp + 0x5c], eax
jae 0x140004873
jmp 0x1400044d2
lea r8, [rsp + 0xa0]
mov edx, dword [rsp + 0x2a8]
mov ecx, 0x20
call fcn.140003eb0
test eax, eax
je 0x140004895
jmp 0x1400044d2
lea r8, [rsp + 0xa4]
mov edx, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0x5c]
call fcn.140003e00
test eax, eax
je 0x1400048b6
jmp 0x1400044d2
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 0x1400048dd
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2a8]
cmp dword [rsp + 0x30], eax
jae 0x140004923
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
mov rcx, qword [rcx + rax*8]
call fcn.14000eac0
inc eax
mov ecx, eax
call fcn.140003910
lea r8, [rsp + 0x34]
mov edx, eax
mov ecx, dword [rsp + 0x34]
call fcn.140003e00
test eax, eax
je 0x140004921
jmp 0x1400044d2
jmp 0x1400048d3
mov eax, dword [rsp + 0x34]
mov ecx, eax
call fcn.140006ed0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140004950
jmp 0x1400044d2
mov eax, dword [rsp + 0x34]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14001cd30
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 0x1400049cd
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.140003510
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x140004a04
jmp 0x1400044d2
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 0x140004abd
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 0x140004ab8
mov eax, dword [rsp + 0x60]
imul rax, rax, 0x14
cmp qword [rsp + 0x70], rax
jae 0x140004abd
jmp 0x1400044d2
mov dword [rsp + 0x30], 0
jmp 0x140004ad1
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x2a8]
cmp dword [rsp + 0x30], eax
jae 0x140004cec
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.140002a80
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jge 0x140004b39
jmp 0x1400044d2
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, [0x14001eabc]
mov edx, eax
call fcn.140003bd0
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jge 0x140004b74
jmp 0x1400044d2
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.14000eac0
inc eax
mov ecx, eax
call fcn.140003910
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
jmp 0x140004ac7
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 0x140004d1f
jmp 0x1400044d2
mov eax, 8
imul rax, rax, 0xc
cmp dword [rsp + rax + 0x168], 0
jne 0x140004d5a
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.140005be0
test eax, eax
jne 0x140004db7
jmp 0x1400044d2
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 0x140004df4
jmp 0x1400044d2
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 0x140004e37
jmp 0x1400044d2
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 0x140004e6b
jmp 0x1400044d2
mov dword [rsp + 0x90], 1
jmp 0x1400044d2
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140007270
add rsp, 0x288
ret