Function at 0x1000f220
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e8
mov eax, dword [0x1003904c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x180], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x184], eax
push 0x40
push 0
lea ecx, [ebp - 0x178]
push ecx
call fcn.10014050
add esp, 0xc
lea edx, [ebp - 0x190]
push edx
push 0x40
lea eax, [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x184]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x1000f29a
cmp dword [ebp - 0x190], 0x40
jae 0x1000f2d3
cmp dword [ebp - 0x180], 0
je 0x1000f2c8
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0x1d4]
push ecx
call fcn.100124c4
add esp, 4
mov dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x1d0]
jmp 0x1000fb33
push pe_nt_image_headers32
push 0
lea edx, [ebp - 0x138]
push edx
call fcn.10014050
add esp, 0xc
lea eax, [ebp - 0x190]
push eax
push pe_nt_image_headers32
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x184]
add edx, dword [ebp - 0x13c]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x1000f322
cmp dword [ebp - 0x190], 0xf8
jae 0x1000f327
jmp 0x1000f29a
movzx ecx, word [ebp - 0x120]
cmp ecx, 0x10b
je 0x1000f342
push 9
call sub.KERNEL32.dll_SetLastError
jmp 0x1000f29a
mov edx, 8
imul eax, edx, 0xb
mov dword [ebp + eax - 0xc0], 0
mov ecx, 8
imul edx, ecx, 0xb
mov dword [ebp + edx - 0xbc], 0
movzx eax, word [ebp - 0x124]
mov ecx, dword [ebp - 0x13c]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 0x1a4], 0
jmp 0x1000f39a
mov eax, dword [ebp - 0x1a4]
add eax, 1
mov dword [ebp - 0x1a4], eax
movzx ecx, word [ebp - 0x132]
cmp dword [ebp - 0x1a4], ecx
jae 0x1000f461
push 0x28
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.10014050
add esp, 0xc
lea eax, [ebp - 0x190]
push eax
push 0x28
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x184]
add edx, dword [ebp - 0x1d8]
imul eax, dword [ebp - 0x1a4], 0x28
add edx, eax
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x1000f3f6
cmp dword [ebp - 0x190], 0x28
jae 0x1000f3fb
jmp 0x1000f29a
mov edx, 8
imul eax, edx, 0xc
cmp dword [ebp + eax - 0xc0], 0
jne 0x1000f45c
mov ecx, 8
shl ecx, 0
mov edx, dword [ebp + ecx - 0xc0]
cmp edx, dword [ebp - 0x20]
jb 0x1000f45c
mov eax, 8
shl eax, 0
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x1c]
cmp dword [ebp + eax - 0xc0], ecx
jae 0x1000f45c
mov edx, 8
imul eax, edx, 0xc
mov ecx, dword [ebp - 0x20]
mov dword [ebp + eax - 0xc0], ecx
mov edx, 8
imul eax, edx, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + eax - 0xbc], ecx
jmp 0x1000f38b
mov edx, 8
shl edx, 0
cmp dword [ebp + edx - 0xc0], 0
je 0x1000f538
mov eax, 8
shl eax, 0
cmp dword [ebp + eax - 0xbc], 0
jne 0x1000f538
mov ecx, 8
shl ecx, 0
mov edx, dword [ebp - 0x184]
add edx, dword [ebp + ecx - 0xc0]
mov dword [ebp - 0x1b0], edx
push 0
push 0x14
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x1b0]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
jne 0x1000f4c9
jmp 0x1000f29a
mov eax, 8
shl eax, 0
mov ecx, dword [ebp + eax - 0xbc]
add ecx, 0x14
mov edx, 8
shl edx, 0
mov dword [ebp + edx - 0xbc], ecx
cmp dword [ebp - 0x34], 0
jne 0x1000f4f2
jmp 0x1000f50a
mov eax, dword [ebp - 0x1b0]
add eax, 0x14
mov dword [ebp - 0x1b0], eax
mov ecx, 1
test ecx, ecx
jne 0x1000f4a8
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 0x1c4], eax
push 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 [ebp - 0x1c4]
je 0x1000f538
mov edx, dword [ebp - 0x1c4]
push edx
call sub.KERNEL32.dll_SetLastError
mov eax, 8
shl eax, 0
mov eax, dword [ebp + eax - 0xbc]
xor edx, edx
mov ecx, 0x14
div ecx
mov dword [ebp - 0x1b4], eax
lea edx, [ebp - 0x1dc]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0x14
call fcn.1000f1f0
add esp, 0xc
test eax, eax
je 0x1000f574
jmp 0x1000f29a
lea ecx, [ebp - 0x1c8]
push ecx
imul edx, dword [ebp - 0x1b4], 0x14
push edx
mov eax, dword [ebp - 0x1dc]
push eax
call fcn.1000f170
add esp, 0xc
test eax, eax
je 0x1000f59b
jmp 0x1000f29a
mov ecx, dword [ebp - 0x1c8]
push ecx
call fcn.1000edd0
add esp, 4
mov dword [ebp - 0x1ac], eax
mov edx, dword [ebp - 0x1ac]
cmp edx, dword [ebp - 0x1c8]
jae 0x1000f5c3
jmp 0x1000f29a
lea eax, [ebp - 0x1e0]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0x10
call fcn.1000f1f0
add esp, 0xc
test eax, eax
je 0x1000f5e1
jmp 0x1000f29a
lea edx, [ebp - 0x1e4]
push edx
mov eax, dword [ebp - 0x1e0]
push eax
mov ecx, dword [ebp - 0x1ac]
push ecx
call fcn.1000f170
add esp, 0xc
test eax, eax
je 0x1000f607
jmp 0x1000f29a
mov edx, dword [ebp - 0x1e4]
mov dword [ebp - 0x18c], edx
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x17c], 0
jmp 0x1000f63a
mov ecx, dword [ebp - 0x17c]
add ecx, 1
mov dword [ebp - 0x17c], ecx
mov edx, dword [ebp - 0x17c]
cmp edx, dword [ebp + 0x14]
jae 0x1000f688
lea eax, [ebp - 0x188]
push eax
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + ecx*4]
push eax
call fcn.10019ca0
add esp, 4
add eax, 1
push eax
call fcn.1000edc0
add esp, 4
push eax
mov ecx, dword [ebp - 0x188]
push ecx
call fcn.1000f170
add esp, 0xc
test eax, eax
je 0x1000f686
jmp 0x1000f29a
jmp 0x1000f62b
mov edx, dword [ebp - 0x188]
push edx
call fcn.10012b77
add esp, 4
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
jne 0x1000f6b7
jmp 0x1000f29a
mov ecx, dword [ebp - 0x188]
push ecx
push 0
mov edx, dword [ebp - 0x180]
push edx
call fcn.10014050
add esp, 0xc
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1a8]
add ecx, dword [ebp - 0x10c]
add ecx, dword [ebp - 0x11c]
add ecx, dword [ebp - 0x118]
add ecx, dword [ebp - 0x114]
mov dword [ebp - 0x1cc], ecx
mov edx, dword [ebp - 0x1a8]
cmp edx, dword [ebp - 0x1cc]
jae 0x1000f719
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x188]
push ecx
mov edx, dword [ebp - 0x1a8]
push edx
mov eax, dword [ebp - 0x184]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1000eb50
add esp, 0x10
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0
jne 0x1000f74e
jmp 0x1000f29a
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x198], edx
mov dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x1bc]
sub eax, dword [ebp - 0x184]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x1c0], 0
mov ecx, 8
shl ecx, 0
cmp dword [ebp + ecx - 0xc0], 0
je 0x1000f7e3
lea edx, [ebp - 0x190]
push edx
imul eax, dword [ebp - 0x1b4], 0x14
push eax
imul ecx, dword [ebp + 0x14], 0x14
add ecx, dword [ebp - 0x198]
push ecx
mov edx, 8
shl edx, 0
mov eax, dword [ebp - 0x184]
add eax, dword [ebp + edx - 0xc0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x1000f7de
imul edx, dword [ebp - 0x1b4], 0x14
cmp dword [ebp - 0x190], edx
jae 0x1000f7e3
jmp 0x1000f29a
mov dword [ebp - 0x17c], 0
jmp 0x1000f7fe
mov eax, dword [ebp - 0x17c]
add eax, 1
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
cmp ecx, dword [ebp + 0x14]
jae 0x1000f9e3
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x188]
sub edx, dword [ebp - 0x18c]
push edx
mov eax, dword [ebp - 0x180]
add eax, dword [ebp - 0x18c]
push eax
call fcn.1000e180
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0
jge 0x1000f84d
jmp 0x1000f29a
push 0x1002d9a4
mov ecx, dword [ebp - 0x188]
sub ecx, dword [ebp - 0x18c]
push ecx
mov edx, dword [ebp - 0x180]
add edx, dword [ebp - 0x18c]
push edx
call fcn.1000efd0
add esp, 0xc
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0
jge 0x1000f888
jmp 0x1000f29a
mov eax, dword [ebp - 0x17c]
shl eax, 2
mov ecx, dword [ebp - 0x1ac]
lea edx, [ecx + eax*4]
mov dword [ebp - 0x19c], edx
mov eax, dword [ebp - 0x1a0]
add eax, dword [ebp - 0x19c]
imul ecx, dword [ebp - 0x17c], 0x14
mov edx, dword [ebp - 0x198]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x180]
add eax, dword [ebp - 0x19c]
mov dword [ebp - 0x194], eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x194]
mov dword [eax + edx], 0x80000001
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 0x194]
mov dword [edx + ecx], 0
mov eax, dword [ebp - 0x17c]
shl eax, 2
mov ecx, dword [ebp - 0x1ac]
lea edx, [ecx + eax*4 + 8]
mov dword [ebp - 0x19c], edx
mov eax, dword [ebp - 0x1a0]
add eax, dword [ebp - 0x19c]
imul ecx, dword [ebp - 0x17c], 0x14
mov edx, dword [ebp - 0x198]
mov dword [edx + ecx + 0x10], eax
mov eax, dword [ebp - 0x180]
add eax, dword [ebp - 0x19c]
mov dword [ebp - 0x194], eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x194]
mov dword [eax + edx], 0x80000001
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 0x194]
mov dword [edx + ecx], 0
imul eax, dword [ebp - 0x17c], 0x14
mov ecx, dword [ebp - 0x198]
mov dword [ecx + eax + 4], 0
imul edx, dword [ebp - 0x17c], 0x14
mov eax, dword [ebp - 0x198]
mov dword [eax + edx + 8], 0
mov ecx, dword [ebp - 0x1a0]
add ecx, dword [ebp - 0x18c]
imul edx, dword [ebp - 0x17c], 0x14
mov eax, dword [ebp - 0x198]
mov dword [eax + edx + 0xc], ecx
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + ecx*4]
push eax
call fcn.10019ca0
add esp, 4
add eax, 1
push eax
call fcn.1000edc0
add esp, 4
add eax, dword [ebp - 0x18c]
mov dword [ebp - 0x18c], eax
jmp 0x1000f7ef
push 0
mov ecx, dword [ebp - 0x18c]
push ecx
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x1bc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
jne 0x1000fa0c
jmp 0x1000f29a
mov edx, 8
imul eax, edx, 0xc
cmp dword [ebp + eax - 0xc0], 0
jne 0x1000fa48
mov ecx, 8
imul edx, ecx, 0xc
mov eax, dword [ebp - 0x1a0]
mov dword [ebp + edx - 0xc0], eax
mov ecx, 8
imul edx, ecx, 0xc
mov eax, dword [ebp - 0x188]
mov dword [ebp + edx - 0xbc], eax
mov ecx, 8
shl ecx, 0
mov edx, dword [ebp - 0x1a0]
mov dword [ebp + ecx - 0xc0], edx
mov eax, 8
shl eax, 0
mov ecx, dword [ebp - 0x188]
mov dword [ebp + eax - 0xbc], ecx
lea edx, [ebp - 0x1c0]
push edx
push 0x40
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0x184]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1000dee0
test eax, eax
jne 0x1000fa9b
jmp 0x1000f29a
mov dword [ebp - 0xe0], 0
push 0
push 0x40
lea eax, [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x184]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
jne 0x1000fac9
jmp 0x1000f29a
push 0
push pe_nt_image_headers32
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x184]
add ecx, dword [ebp - 0x13c]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
jne 0x1000faf6
jmp 0x1000f29a
lea eax, [ebp - 0x1c0]
push eax
mov ecx, dword [ebp - 0x1c0]
push ecx
mov edx, dword [ebp - 0xe4]
push edx
mov eax, dword [ebp - 0x184]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_VirtualProtectEx
test eax, eax
jne 0x1000fb24
jmp 0x1000f29a
mov dword [ebp - 0x1d0], 1
jmp 0x1000f29a
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100127e3
mov esp, ebp
pop ebp
ret