Function at 0x4496f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a016c
mov eax, dword fs:[0]
push eax
sub esp, 0x994
mov eax, dword [0x4e20c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x8b4], 0
mov dword [ebp - 4], 0
mov eax, 0x7ffffffe
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x44a3c8
cmp dword [ecx + 0x14], 7
jbe 0x44974e
mov ecx, dword [ecx]
push 1
push 0x4ca23c
push edx
push ecx
push ecx
push dword [ebp - 0x814]
lea ecx, [ebp - 0x8e8]
call fcn.00421500
push 0x6663b0
lea edx, [ebp - 0x8e8]
mov dword [ebp - 0x8b4], 1
lea ecx, [ebp - 0x82c]
call fcn.0041ba60
add esp, 4
mov byte [ebp - 4], 1
mov edi, 1
mov dword [ebp - 0x8b4], edi
and edi, 0xfffffffe
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8e8]
call fcn.00416650
lea eax, [ebp - 0x8d0]
mov dword [ebp - 0x814], eax
mov byte [ebp - 4], 3
mov eax, esi
cmp dword [esi + 0x14], 7
mov ecx, dword [esi + 0x10]
jbe 0x4497d0
mov eax, dword [esi]
mov byte [ebp - 4], 4
xorps xmm0, xmm0
push ecx
push eax
lea ecx, [ebp - 0x8d0]
mov dword [ebp - 0x8c0], 0
movups xmmword [ebp - 0x8d0], xmm0
mov dword [ebp - 0x8bc], 0
call fcn.0041c720
or edi, 8
mov dword [ebp - 0x8b4], edi
and edi, 0xfffffff7
mov dword [ebp - 0x8b4], edi
mov dword [ebp - 4], 3
or edi, 4
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 2
and edi, 0xfffffffb
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8d0]
call fcn.00407760
mov byte [ebp - 0x8b5], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8d0]
call fcn.00416650
cmp byte [ebp - 0x8b5], 0
jne 0x44993c
mov byte [ebp - 4], 7
mov ecx, esi
cmp dword [esi + 0x14], 7
jbe 0x44986d
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
sub esp, 8
mov dword [ebp - 0x8bc], eax
mov eax, esp
mov dword [ebp - 0x8c0], ecx
lea ecx, [ebp - 0x8c4]
mov dword [ebp - 0x8c4], 0xc0000000
push 0x19
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x8e8]
push str.Error:__does_not_exist.
mov dword [eax], 1
call fcn.0043bd80
or edi, 0x10
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 8
lea eax, [ebp - 0x9a0]
push 0xb8
push 0
push eax
call fcn.004709e0
add esp, 0x1c
lea ecx, [ebp - 0x9a0]
push 0x4e2b9c
call fcn.004324d0
or edi, 0x20
lea edx, [ebp - 0x8e8]
mov dword [ebp - 0x8b4], edi
lea ecx, [ebp - 0x990]
cmp dword [ebp - 0x8d4], 7
push dword [ebp - 0x8d8]
cmova edx, dword [ebp - 0x8e8]
call fcn.0043cec0
lea eax, [ebp - 0x990]
push eax
call fcn.0043a020
and edi, 0xffffffdf
add esp, 8
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9a0]
call fcn.004325d0
and edi, 0xffffffef
jmp 0x449ec2
lea eax, [ebp - 0x8d0]
mov dword [ebp - 0x814], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x82c]
cmp dword [ebp - 0x818], 7
mov eax, dword [ebp - 0x81c]
cmova ecx, dword [ebp - 0x82c]
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
push eax
push ecx
lea ecx, [ebp - 0x8d0]
mov dword [ebp - 0x8c0], 0
movups xmmword [ebp - 0x8d0], xmm0
mov dword [ebp - 0x8bc], 0
call fcn.0041c720
or edi, 0x80
mov dword [ebp - 0x8b4], edi
and edi, 0xffffff7f
mov dword [ebp - 0x8b4], edi
mov dword [ebp - 4], 9
or edi, 0x40
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 2
and edi, 0xffffffbf
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8d0]
call fcn.00407760
mov byte [ebp - 0x8b5], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8d0]
call fcn.00416650
cmp byte [ebp - 0x8b5], 0
jne 0x449af1
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x82c]
cmp dword [ebp - 0x818], 7
mov eax, dword [ebp - 0x81c]
cmova ecx, dword [ebp - 0x82c]
sub esp, 8
mov dword [ebp - 0x8bc], eax
mov eax, esp
mov dword [ebp - 0x8c0], ecx
lea ecx, [ebp - 0x8c4]
mov dword [ebp - 0x8c4], 0xc0000000
push 0x19
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x8e8]
push str.Error:__does_not_exist.
mov dword [eax], 1
call fcn.0043bd80
or edi, 0x100
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x9a0]
push 0xb8
push 0
push eax
call fcn.004709e0
add esp, 0x1c
lea ecx, [ebp - 0x9a0]
push 0x4e2b9c
call fcn.004324d0
or edi, 0x200
lea edx, [ebp - 0x8e8]
mov dword [ebp - 0x8b4], edi
lea ecx, [ebp - 0x990]
cmp dword [ebp - 0x8d4], 7
push dword [ebp - 0x8d8]
cmova edx, dword [ebp - 0x8e8]
call fcn.0043cec0
lea eax, [ebp - 0x990]
push eax
call fcn.0043a020
and edi, 0xfffffdff
add esp, 8
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x9a0]
call fcn.004325d0
and edi, 0xfffffeff
jmp 0x449ec2
cmp dword [ebp - 0x818], 7
lea ecx, [ebp - 0x8a0]
push ecx
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x8a0], 0
push ecx
lea eax, [ebp - 0x82c]
cmova eax, dword [ebp - 0x82c]
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x449c27
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x82c]
cmp dword [ebp - 0x818], 7
mov eax, dword [ebp - 0x81c]
cmova ecx, dword [ebp - 0x82c]
sub esp, 8
mov dword [ebp - 0x8bc], eax
mov eax, esp
mov dword [ebp - 0x8c0], ecx
lea ecx, [ebp - 0x8c4]
mov dword [ebp - 0x8c4], 0xc0000000
push 0x23
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x8e8]
push str.Error:__is_not_a_valid_path_name.
mov dword [eax], 1
call fcn.0043bd80
or edi, 0x400
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x9a0]
push 0xb8
push 0
push eax
call fcn.004709e0
add esp, 0x1c
lea ecx, [ebp - 0x9a0]
push 0x4e2b9c
call fcn.004324d0
or edi, 0x800
lea edx, [ebp - 0x8e8]
mov dword [ebp - 0x8b4], edi
lea ecx, [ebp - 0x990]
cmp dword [ebp - 0x8d4], 7
push dword [ebp - 0x8d8]
cmova edx, dword [ebp - 0x8e8]
call fcn.0043cec0
lea eax, [ebp - 0x990]
push eax
call fcn.0043a020
and edi, 0xfffff7ff
add esp, 8
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x9a0]
call fcn.004325d0
and edi, 0xfffffbff
jmp 0x449ec2
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449c30
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x82c]
call fcn.00413d50
cmp dword [ebp - 0x818], 7
lea eax, [ebp - 0x82c]
push 1
cmova eax, dword [ebp - 0x82c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x814], eax
test eax, eax
jne 0x449d98
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x82c]
cmp dword [ebp - 0x818], 7
xorps xmm0, xmm0
mov eax, dword [ebp - 0x81c]
cmova ecx, dword [ebp - 0x82c]
sub esp, 8
mov dword [ebp - 0x8c0], eax
mov eax, esp
mov dword [ebp - 0x8c4], ecx
lea ecx, [ebp - 0x8cc]
movq qword [ebp - 0x8cc], xmm0
mov dword [ebp - 0x8cc], 0xc0000000
mov dword [ebp - 0x8bc], edx
mov dword [ebp - 0x8c8], 0x20000008
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x8e8]
push 0x24
push str.Error:__failed_to_load__error__.
mov dword [eax], 2
call fcn.0043bd80
or edi, 0x1000
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x9a0]
push 0xb8
push 0
push eax
call fcn.004709e0
add esp, 0x1c
lea ecx, [ebp - 0x9a0]
push 0x4e2b9c
call fcn.004324d0
or edi, 0x2000
lea edx, [ebp - 0x8e8]
mov dword [ebp - 0x8b4], edi
lea ecx, [ebp - 0x990]
cmp dword [ebp - 0x8d4], 7
push dword [ebp - 0x8d8]
cmova edx, dword [ebp - 0x8e8]
call fcn.0043cec0
lea eax, [ebp - 0x990]
push eax
call fcn.0043a020
and edi, 0xffffdfff
add esp, 8
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x9a0]
call fcn.004325d0
and edi, 0xffffefff
jmp 0x449ec2
xorps xmm0, xmm0
mov byte [ebp - 0x858], 0
push ecx
lea edx, [ebp - 0x858]
movlpd qword [ebp - 0x850], xmm0
mov ecx, eax
call fcn.00455060
push dword [ebp - 0x814]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebp - 0x858], 0
jne 0x449ee3
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x82c]
cmp dword [ebp - 0x818], 7
mov eax, dword [ebp - 0x81c]
cmova ecx, dword [ebp - 0x82c]
sub esp, 8
mov dword [ebp - 0x8bc], eax
mov eax, esp
mov dword [ebp - 0x8c0], ecx
lea ecx, [ebp - 0x8c4]
mov dword [ebp - 0x8c4], 0xc0000000
push 0x25
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x8e8]
push str.Error:__does_not_export_ordinal_1.
mov dword [eax], 1
call fcn.0043bd80
or edi, 0x4000
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x9a0]
push 0xb8
push 0
push eax
call fcn.004709e0
add esp, 0x1c
lea ecx, [ebp - 0x9a0]
push 0x4e2b9c
call fcn.004324d0
or edi, 0x8000
lea edx, [ebp - 0x8e8]
mov dword [ebp - 0x8b4], edi
lea ecx, [ebp - 0x990]
cmp dword [ebp - 0x8d4], 7
push dword [ebp - 0x8d8]
cmova edx, dword [ebp - 0x8e8]
call fcn.0043cec0
lea eax, [ebp - 0x990]
push eax
call fcn.0043a020
and edi, 0xffff7fff
add esp, 8
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x9a0]
call fcn.004325d0
and edi, 0xffffbfff
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8e8]
call fcn.00416650
mov byte [ebp - 0x8b5], 0
jmp 0x44a393
xorps xmm0, xmm0
mov dword [ebp - 0x89c], 0x44
push 0x400
lea eax, [ebp - 0x810]
movlpd qword [ebp - 0x898], xmm0
push 0
push eax
movlpd qword [ebp - 0x890], xmm0
movlpd qword [ebp - 0x888], xmm0
movlpd qword [ebp - 0x880], xmm0
movlpd qword [ebp - 0x878], xmm0
movlpd qword [ebp - 0x870], xmm0
movlpd qword [ebp - 0x868], xmm0
movlpd qword [ebp - 0x860], xmm0
movups xmmword [ebp - 0x8b0], xmm0
call fcn.004709e0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esi + 0x14], 7
jbe 0x449f5d
mov esi, dword [esi]
push 0
lea eax, [ebp - 0x810]
push eax
push 0x400
push str..exe
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
mov byte [ebp - 4], 0x15
or edi, 0x10000
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x8b4], edi
push dword [ebp - 0x81c]
movups xmmword [ebp - 0x8d0], xmm0
mov dword [ebp - 0x8c0], 0
lea ecx, [ebp - 0x8d0]
mov dword [ebp - 0x8bc], 0
mov dword [ebp - 0x8c0], 0
mov dword [ebp - 0x8bc], 0xf
mov byte [ebp - 0x8d0], 0
call fcn.00414190
cmp dword [ebp - 0x818], 7
lea edx, [ebp - 0x82c]
push dword [ebp - 0x81c]
cmova edx, dword [ebp - 0x82c]
lea eax, [ebp - 0x8d0]
mov ecx, dword [ebp - 0x8c0]
inc ecx
cmp dword [ebp - 0x8bc], 0xf
push edx
cmova eax, dword [ebp - 0x8d0]
push ecx
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.0047d88a
add esp, 0x14
mov dword [ebp - 0x838], 0
cmp dword [ebp - 0x8bc], 0xf
lea edx, [ebp - 0x8d0]
xorps xmm0, xmm0
mov dword [ebp - 0x834], 0
cmova edx, dword [ebp - 0x8d0]
mov ecx, edx
movups xmmword [ebp - 0x848], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44a053
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x848]
call fcn.0041c9d0
mov byte [ebp - 4], 0x16
and edi, 0xfffeffff
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x8d0]
call fcn.00416aa0
cmp dword [ebp - 0x834], 0xf
lea eax, [ebp - 0x848]
push ecx
cmova eax, dword [ebp - 0x848]
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x814]
push eax
push ecx
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x89c]
push eax
sub esp, 0x18
lea ecx, [ebp - 0x810]
call fcn.00452a20
test eax, eax
jne 0x44a242
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov byte [ebp - 4], 0x18
sub esp, 8
mov eax, esp
mov dword [ebp - 0x8bc], esi
mov dword [ebp - 0x8c0], 0x20000000
lea ecx, [ebp - 0x8c0]
push 0x26
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x8e8]
push str.DetourCreateProcessWithDlls_failed:_
mov dword [eax], 1
call fcn.0043bd80
or edi, 0x20000
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x9a0]
push 0xb8
push 0
push eax
call fcn.004709e0
add esp, 0x1c
lea ecx, [ebp - 0x9a0]
push 0x4e2b9c
call fcn.004324d0
or edi, 0x40000
lea edx, [ebp - 0x8e8]
mov dword [ebp - 0x8b4], edi
lea ecx, [ebp - 0x990]
cmp dword [ebp - 0x8d4], 7
push dword [ebp - 0x8d8]
cmova edx, dword [ebp - 0x8e8]
call fcn.0043cec0
lea eax, [ebp - 0x990]
push eax
call fcn.0043a020
and edi, 0xfffbffff
add esp, 8
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x9a0]
call fcn.004325d0
and edi, 0xfffdffff
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x8e8]
call fcn.00416650
cmp esi, 6
jne 0x44a36d
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x9a0]
push 0xb8
push 0
push eax
call fcn.004709e0
add esp, 0xc
lea ecx, [ebp - 0x9a0]
push 0x4e2b9c
call fcn.004324d0
or edi, 0x80000
lea ecx, [ebp - 0x990]
mov edx, str.Cant_detour_a_64_bit_target_process_from_a_32_bit_parent_process.
mov dword [ebp - 0x8b4], edi
call fcn.0043d090
lea eax, [ebp - 0x990]
push eax
call fcn.0043a020
and edi, 0xfff7ffff
add esp, 4
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x9a0]
call fcn.004325d0
mov byte [ebp - 0x8b5], 0
jmp 0x44a384
push dword [ebp - 0x8ac]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [ebp - 0x8b0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x830]
mov dword [ebp - 0x830], 0
push eax
push dword [ebp - 0x8b0]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x44a376
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 0x1b
sub esp, 8
mov dword [ebp - 0x8bc], eax
lea ecx, [ebp - 0x8c0]
mov eax, esp
mov dword [ebp - 0x8c0], 0x20000000
push 0x1d
push str.GetExitCodeProcess_failed:_
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x8e8]
mov dword [eax], 1
call fcn.0043bd80
or edi, 0x100000
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x9a0]
push 0xb8
push 0
push eax
call fcn.004709e0
add esp, 0x1c
lea ecx, [ebp - 0x9a0]
push 0x4e2b9c
call fcn.004324d0
or edi, 0x200000
lea edx, [ebp - 0x8e8]
mov dword [ebp - 0x8b4], edi
lea ecx, [ebp - 0x990]
cmp dword [ebp - 0x8d4], 7
push dword [ebp - 0x8d8]
cmova edx, dword [ebp - 0x8e8]
call fcn.0043cec0
lea eax, [ebp - 0x990]
push eax
call fcn.0043a020
and edi, 0xffdfffff
add esp, 8
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x9a0]
call fcn.004325d0
and edi, 0xffefffff
mov dword [ebp - 0x8b4], edi
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x8e8]
call fcn.00416650
mov byte [ebp - 0x8b5], 0
jmp 0x44a384
cmp dword [ebp - 0x830], 0
sete byte [ebp - 0x8b5]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x848]
call fcn.00416aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.00416650
mov al, byte [ebp - 0x8b5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046ea75
mov esp, ebp
pop ebp
ret 4
call fcn.00403770
int3