Function at 0x419d00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x4d9694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x40
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x164]
push 0
push eax
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x1a0], 0
call fcn.00464ad0
add esp, 0xc
lea eax, [ebp - 0x16c]
push eax
push 0x40
lea eax, [ebp - 0x164]
push eax
push esi
push edi
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x41a152
cmp dword [ebp - 0x16c], 0x40
jb 0x41a152
push 0xf8
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.00464ad0
add esp, 0xc
lea eax, [ebp - 0x16c]
push eax
push 0xf8
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebp - 0x128]
add eax, esi
push eax
push edi
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x41a152
cmp dword [ebp - 0x16c], 0xf8
jb 0x41a152
mov eax, 0x10b
cmp word [ebp - 0x10c], ax
je 0x419dff
push 9
call sub.KERNEL32.dll_SetLastError
mov eax, dword [ebp - 0x1a0]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret
movzx ecx, word [ebp - 0x110]
xor esi, esi
mov eax, dword [ebp - 0x128]
add ecx, 0x18
add eax, ecx
mov dword [ebp - 0x54], 0
xor ecx, ecx
mov dword [ebp - 0x50], 0
cmp cx, word [ebp - 0x11e]
jae 0x419eb9
mov ebx, dword [ebp - 0x178]
add ebx, eax
nop dword [eax + eax]
lea eax, [ebp - 0x16c]
xorps xmm0, xmm0
push eax
push 0x28
lea eax, [ebp - 0x2c]
movq qword [ebp - 0xc], xmm0
push eax
push ebx
push edi
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x41a152
cmp dword [ebp - 0x16c], 0x28
jb 0x41a152
cmp dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0xa4]
jne 0x419ea2
mov ecx, dword [ebp - 0x20]
cmp edx, ecx
jb 0x419ea2
mov edi, dword [ebp - 0x1c]
lea eax, [edi + ecx]
cmp edx, eax
jae 0x419e9c
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edi
mov edi, dword [ebp - 0x198]
movzx eax, word [ebp - 0x11e]
inc esi
add ebx, 0x28
cmp esi, eax
jb 0x419e40
mov ebx, dword [ebp - 0x170]
jmp 0x419ebf
mov edx, dword [ebp - 0xa4]
test edx, edx
je 0x419f4a
cmp dword [ebp - 0xa0], 0
jne 0x419f4a
mov esi, dword [ebp - 0x178]
lea eax, [ebp - 0x18]
push 0
push 0x14
push eax
add esi, edx
push esi
push edi
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x41a152
nop
add dword [ebp - 0xa0], 0x14
cmp dword [ebp - 0xc], 0
je 0x419f2a
push 0
push 0x14
lea eax, [ebp - 0x18]
add esi, 0x14
push eax
push esi
push edi
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
jne 0x419ef0
mov eax, dword [ebp - 0x1a0]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
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
mov esi, eax
call sub.KERNEL32.dll_OutputDebugStringW
call sub.KERNEL32.dll_GetLastError
cmp eax, esi
je 0x419f4a
push esi
call sub.KERNEL32.dll_SetLastError
mov eax, 0xcccccccd
mul dword [ebp - 0xa0]
mov eax, ebx
mov ecx, edx
mov edx, 0x14
mul edx
shr ecx, 4
mov esi, eax
test edx, edx
ja 0x41a152
jb 0x419f78
cmp esi, 0xffffffff
ja 0x41a152
lea eax, [ecx + ecx*4]
shl eax, 2
mov dword [ebp - 0x188], eax
add eax, esi
cmp eax, esi
jb 0x41a152
lea ebx, [eax + 7]
and ebx, 0xfffffff8
mov dword [ebp - 0x184], ebx
cmp ebx, eax
jb 0x41a152
mov esi, dword [ebp - 0x170]
lea eax, [ebp - 0x18c]
push eax
push esi
push 0x10
call fcn.00419cd0
add esp, 0xc
test eax, eax
jne 0x41a152
mov ecx, dword [ebp - 0x18c]
add ecx, ebx
mov dword [ebp - 0x17c], ecx
cmp ecx, ebx
jb 0x41a152
mov ebx, ecx
xor edx, edx
mov dword [ebp - 0x174], ebx
test esi, esi
je 0x41a02a
nop word [eax + eax]
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + edx*4]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a000
sub ecx, esi
lea eax, [ecx + 4]
and eax, 0xfffffffc
add eax, ebx
cmp eax, ebx
jb 0x41a152
inc edx
mov ebx, eax
mov dword [ebp - 0x174], ebx
cmp edx, dword [ebp - 0x170]
jb 0x419ff0
push ebx
call fcn.00449901
add esp, 4
mov dword [ebp - 0x180], eax
test eax, eax
je 0x41a152
push ebx
push 0
push eax
call fcn.00464ad0
mov edx, dword [ebp - 0x178]
lea eax, [ebp - 0x20]
mov esi, dword [ebp - 0x100]
add esp, 0xc
add esi, edx
mov dword [ebp - 8], 0
add esi, dword [ebp - 0x104]
xorps xmm0, xmm0
add esi, dword [ebp - 0x108]
add esi, dword [ebp - 0xf8]
push 0x1c
cmp edx, esi
movq qword [ebp - 0x10], xmm0
push eax
cmovae esi, edx
push esi
push edi
mov dword [ebp - 0x168], esi
movups xmmword [ebp - 0x20], xmm0
call sub.KERNEL32.dll_VirtualQueryEx
test eax, eax
je 0x41a13f
mov edx, dword [ebp - 0x14]
mov eax, edx
and eax, 0xfff
cmp eax, 0xfff
je 0x41a144
cmp dword [ebp - 0x10], 0x10000
mov ecx, dword [ebp - 0x20]
jne 0x41a114
cmp ecx, dword [ebp - 0x168]
lea eax, [edx + ecx]
cmova esi, ecx
add esi, 0xffff
and esi, 0xffff0000
cmp esi, eax
jae 0x41a10e
nop dword [eax]
push 4
push 0x3000
push ebx
push esi
push edi
call sub.KERNEL32.dll_VirtualAllocEx
mov ebx, eax
test ebx, ebx
jne 0x41a169
mov edx, dword [ebp - 0x14]
add esi, 0x10000
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x174]
lea eax, [edx + ecx]
cmp esi, eax
jb 0x41a0e0
mov esi, dword [ebp - 0x168]
lea eax, [edx + ecx]
mov dword [ebp - 8], 0
push 0x1c
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
push ecx
push eax
push edi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call sub.KERNEL32.dll_VirtualQueryEx
test eax, eax
jne 0x41a0a0
call sub.KERNEL32.dll_GetLastError
push dword [ebp - 0x180]
call fcn.0044990a
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1a0]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00448f14
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xa4]
mov edx, ebx
sub edx, dword [ebp - 0x178]
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x19c], 0
test ecx, ecx
je 0x41a1d1
mov edx, dword [ebp - 0x180]
lea eax, [ebp - 0x16c]
mov esi, dword [ebp - 0x188]
push eax
mov eax, dword [ebp - 0x170]
push esi
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
push eax
mov eax, dword [ebp - 0x178]
add eax, ecx
push eax
push edi
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x41a144
cmp dword [ebp - 0x16c], esi
jb 0x41a144
mov edx, dword [ebp - 0x168]
xor ecx, ecx
mov dword [ebp - 0x194], ecx
cmp dword [ebp - 0x170], ecx
jbe 0x41a32d
mov esi, dword [ebp - 0x180]
lea eax, [esi + 4]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x184]
add edx, eax
add eax, 4
mov dword [ebp - 0x184], edx
mov edx, dword [ebp - 0x17c]
add eax, esi
mov dword [ebp - 0x188], eax
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x190]
add esi, edx
mov edi, dword [ebp - 0x174]
sub edi, edx
push dword [eax + ecx*4]
push edi
push esi
call fcn.00419af0
test eax, eax
js 0x41a144
test edi, edi
je 0x41a269
test esi, esi
je 0x41a269
cmp edi, 2
jb 0x41a269
nop
cmp byte [esi], 0x3f
jne 0x41a25b
cmp byte [esi + 1], 0x3f
je 0x41a264
dec edi
inc esi
cmp edi, 2
jae 0x41a250
jmp 0x41a269
mov word [esi], 0x3233
mov esi, dword [ebp - 0x18c]
mov edi, dword [ebp - 0x188]
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x194]
mov dword [esi - 4], eax
add eax, 8
mov dword [edi - 4], 0x80000001
mov dword [edi], 0
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x168]
add eax, dword [ebp - 0x17c]
mov dword [edi + 4], reloc.ACLUI.dll_CreateSecurityPage
mov dword [edi + 8], 0
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x190]
mov dword [esi], 0
mov dword [esi + 4], 0
mov ecx, dword [eax + ecx*4]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a2d0
add dword [ebp - 0x184], 0x10
sub ecx, edx
mov edx, dword [ebp - 0x17c]
add esi, 0x14
add edi, 0x10
mov dword [ebp - 0x18c], esi
mov esi, dword [ebp - 0x180]
lea eax, [ecx + 4]
mov dword [ebp - 0x188], edi
mov ecx, dword [ebp - 0x194]
and eax, 0xfffffffc
inc ecx
add edx, eax
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x194], ecx
cmp ecx, dword [ebp - 0x170]
jb 0x41a220
mov edi, dword [ebp - 0x198]
jmp 0x41a333
mov edx, dword [ebp - 0x17c]
push 0
push edx
push dword [ebp - 0x180]
push ebx
push edi
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x41a144
cmp dword [ebp - 0x4c], 0
jne 0x41a365
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x48], eax
jmp 0x41a36b
mov eax, dword [ebp - 0x174]
mov ebx, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x19c]
push eax
push 0x40
push dword [ebp - 0xd0]
mov dword [ebp - 0xa4], ecx
push ebx
push edi
call fcn.0041cd90
test eax, eax
je 0x41a144
push 0
push 0x40
lea eax, [ebp - 0x164]
mov dword [ebp - 0xcc], 0
push eax
push ebx
push edi
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x41a144
push 0
push 0xf8
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebp - 0x128]
add eax, ebx
push eax
push edi
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x41a144
lea eax, [ebp - 0x19c]
push eax
push dword [ebp - 0x19c]
push dword [ebp - 0xd0]
push ebx
push edi
call sub.KERNEL32.dll_VirtualProtectEx
test eax, eax
je 0x41a144
mov dword [ebp - 0x1a0], 1
jmp 0x41a144