Function at 0x4337e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46aaf3
mov eax, dword fs:[0]
push eax
sub esp, 0x994
mov eax, dword [0x49f080]
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 eax, 0x7ffffffe
mov dword [ebp - 0x8b8], 0
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x4344a6
cmp dword [ecx + 0x14], 7
jbe 0x433837
mov ecx, dword [ecx]
push 1
push 0x4914e0
push edx
push ecx
push ecx
push dword [ebp - 0x8a0]
lea ecx, [ebp - 0x8e8]
call fcn.0041af60
mov dword [ebp - 0x8b8], 1
push 0x621a58
lea edx, [ebp - 0x8e8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x82c]
call fcn.00417f70
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8d4]
cmp ecx, 7
jbe 0x4338c0
mov edx, dword [ebp - 0x8e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4338b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344ab
push ecx
push edx
call fcn.00443876
add esp, 8
xor eax, eax
mov dword [ebp - 0x8d8], 0
mov byte [ebp - 0x814], al
lea ecx, [ebp - 0x8d0]
push dword [ebp - 0x814]
mov edx, esi
mov dword [ebp - 0x8d4], 7
mov word [ebp - 0x8e8], ax
call fcn.0041e700
add esp, 4
lea ecx, [ebp - 0x8d0]
mov byte [ebp - 4], 3
call fcn.0040a930
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8bc]
mov byte [ebp - 0x8b1], al
cmp ecx, 7
jbe 0x433958
mov edx, dword [ebp - 0x8d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433948
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344b0
push ecx
push edx
call fcn.00443876
mov al, byte [ebp - 0x8b1]
add esp, 8
lea ecx, [ebp - 0x8d0]
test al, al
jne 0x433a3a
push 0x19
push str.Error:__does_not_exist.
mov edx, esi
call fcn.00417e20
mov esi, eax
push 0xb8
lea eax, [ebp - 0x9a0]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.00445500
add esp, 0x14
lea ecx, [ebp - 0x9a0]
push 0x49fb3c
call fcn.00408b20
cmp dword [esi + 0x14], 7
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x8b8], 0x11
jbe 0x4339b5
mov esi, dword [esi]
push eax
mov edx, esi
lea ecx, [ebp - 0x990]
call fcn.00422530
lea eax, [ebp - 0x990]
push eax
call fcn.00417ed0
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x8f0]
test ecx, ecx
je 0x4339ec
lea eax, [ebp - 0x9a0]
push eax
call fcn.00417870
lea ecx, [ebp - 0x9a0]
call fcn.00408c60
mov ecx, dword [ebp - 0x8bc]
cmp ecx, 7
jbe 0x433f0b
mov edx, dword [ebp - 0x8d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433f01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344b5
jmp 0x433f01
mov byte [ebp - 0x814], 0
lea edx, [ebp - 0x82c]
push dword [ebp - 0x814]
call fcn.0041e700
add esp, 4
lea ecx, [ebp - 0x8d0]
mov byte [ebp - 4], 7
call fcn.0040a930
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8bc]
mov byte [ebp - 0x8b1], al
cmp ecx, 7
jbe 0x433ab4
mov edx, dword [ebp - 0x8d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433aa4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344ba
push ecx
push edx
call fcn.00443876
mov al, byte [ebp - 0x8b1]
add esp, 8
test al, al
jne 0x433b9a
push 0x19
push str.Error:__does_not_exist.
lea edx, [ebp - 0x82c]
lea ecx, [ebp - 0x8d0]
call fcn.00417e20
mov esi, eax
push 0xb8
lea eax, [ebp - 0x9a0]
mov byte [ebp - 4], 9
push 0
push eax
call fcn.00445500
add esp, 0x14
lea ecx, [ebp - 0x9a0]
push 0x49fb3c
call fcn.00408b20
cmp dword [esi + 0x14], 7
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x8b8], 0x101
jbe 0x433b15
mov esi, dword [esi]
push eax
mov edx, esi
lea ecx, [ebp - 0x990]
call fcn.00422530
lea eax, [ebp - 0x990]
push eax
call fcn.00417ed0
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x8f0]
test ecx, ecx
je 0x433b4c
lea eax, [ebp - 0x9a0]
push eax
call fcn.00417870
lea ecx, [ebp - 0x9a0]
call fcn.00408c60
mov ecx, dword [ebp - 0x8bc]
cmp ecx, 7
jbe 0x433f0b
mov edx, dword [ebp - 0x8d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433f01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344bf
jmp 0x433f01
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 0x433cb8
push 0x23
push str.Error:__is_not_a_valid_path_name.
lea edx, [ebp - 0x82c]
lea ecx, [ebp - 0x8d0]
call fcn.00417e20
mov esi, eax
push 0xb8
lea eax, [ebp - 0x9a0]
mov byte [ebp - 4], 0xc
push 0
push eax
call fcn.00445500
add esp, 0x14
lea ecx, [ebp - 0x9a0]
push 0x49fb3c
call fcn.00408b20
cmp dword [esi + 0x14], 7
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x8b8], 0x401
jbe 0x433c33
mov esi, dword [esi]
push eax
mov edx, esi
lea ecx, [ebp - 0x990]
call fcn.00422530
lea eax, [ebp - 0x990]
push eax
call fcn.00417ed0
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x8f0]
test ecx, ecx
je 0x433c6a
lea eax, [ebp - 0x9a0]
push eax
call fcn.00417870
lea ecx, [ebp - 0x9a0]
call fcn.00408c60
mov ecx, dword [ebp - 0x8bc]
cmp ecx, 7
jbe 0x433f0b
mov edx, dword [ebp - 0x8d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433f01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344c4
jmp 0x433f01
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433cc1
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x82c]
call fcn.00413070
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 edi, eax
test edi, edi
jne 0x433dfc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x814], eax
lea edx, [ebp - 0x82c]
lea eax, [ebp - 0x814]
push eax
push 0x24
push str.Error:__failed_to_load__error__.
lea ecx, [ebp - 0x8d0]
call fcn.004344f0
mov esi, eax
push 0xb8
lea eax, [ebp - 0x9a0]
mov byte [ebp - 4], 0xf
push edi
push eax
call fcn.00445500
add esp, 0x18
lea ecx, [ebp - 0x9a0]
push 0x49fb3c
call fcn.00408b20
cmp dword [esi + 0x14], 7
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x8b8], 0x1001
jbe 0x433d77
mov esi, dword [esi]
push eax
mov edx, esi
lea ecx, [ebp - 0x990]
call fcn.00422530
lea eax, [ebp - 0x990]
push eax
call fcn.00417ed0
add esp, 8
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x8f0]
test ecx, ecx
je 0x433dae
lea eax, [ebp - 0x9a0]
push eax
call fcn.00417870
lea ecx, [ebp - 0x9a0]
call fcn.00408c60
mov ecx, dword [ebp - 0x8bc]
cmp ecx, 7
jbe 0x433f0b
mov edx, dword [ebp - 0x8d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433f01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344c9
jmp 0x433f01
xorps xmm0, xmm0
mov byte [ebp - 0x858], 0
push ecx
lea edx, [ebp - 0x858]
movlpd qword [ebp - 0x850], xmm0
mov ecx, edi
call fcn.0043f6a0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebp - 0x858], 0
jne 0x433f17
push 0x25
push str.Error:__does_not_export_ordinal_1.
lea edx, [ebp - 0x82c]
lea ecx, [ebp - 0x8d0]
call fcn.00417e20
mov esi, eax
push 0xb8
lea eax, [ebp - 0x9a0]
mov byte [ebp - 4], 0x12
push 0
push eax
call fcn.00445500
add esp, 0x14
lea ecx, [ebp - 0x9a0]
push 0x49fb3c
call fcn.00408b20
cmp dword [esi + 0x14], 7
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x8b8], 0x4001
jbe 0x433e89
mov esi, dword [esi]
push eax
mov edx, esi
lea ecx, [ebp - 0x990]
call fcn.00422530
lea eax, [ebp - 0x990]
push eax
call fcn.00417ed0
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x8f0]
test ecx, ecx
je 0x433ec0
lea eax, [ebp - 0x9a0]
push eax
call fcn.00417870
lea ecx, [ebp - 0x9a0]
call fcn.00408c60
mov ecx, dword [ebp - 0x8bc]
cmp ecx, 7
jbe 0x433f0b
mov edx, dword [ebp - 0x8d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433f01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344ce
push ecx
push edx
call fcn.00443876
add esp, 8
mov byte [ebp - 0x8b1], 0
jmp 0x434447
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.00445500
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esi + 0x14], 7
jbe 0x433f91
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], 0x14
lea ecx, [ebp - 0x8e8]
push 0
push dword [ebp - 0x81c]
xorps xmm0, xmm0
mov dword [ebp - 0x8d8], 0
movups xmmword [ebp - 0x8e8], xmm0
mov dword [ebp - 0x8d4], 0xf
mov byte [ebp - 0x8e8], 0
mov dword [ebp - 0x8b8], 0x8001
call fcn.00413210
cmp dword [ebp - 0x818], 7
lea edx, [ebp - 0x82c]
push dword [ebp - 0x81c]
cmova edx, dword [ebp - 0x82c]
lea eax, [ebp - 0x8e8]
mov ecx, dword [ebp - 0x8d8]
inc ecx
cmp dword [ebp - 0x8d4], 0xf
push edx
cmova eax, dword [ebp - 0x8e8]
push ecx
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.00451767
add esp, 0x14
mov dword [ebp - 0x838], 0
cmp dword [ebp - 0x8d4], 0xf
lea edx, [ebp - 0x8e8]
xorps xmm0, xmm0
mov dword [ebp - 0x834], 0
cmova edx, dword [ebp - 0x8e8]
mov ecx, edx
movups xmmword [ebp - 0x848], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434071
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x848]
call fcn.00404d90
mov dword [ebp - 0x8b8], 1
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x8d4]
cmp ecx, 0xf
jbe 0x4340cf
mov edx, dword [ebp - 0x8e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4340c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344d3
push ecx
push edx
call fcn.00443876
add esp, 8
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]
mov dword [ebp - 0x8d8], 0
push eax
lea eax, [ebp - 0x89c]
mov dword [ebp - 0x8d4], 0xf
push eax
sub esp, 0x18
mov byte [ebp - 0x8e8], 0
lea ecx, [ebp - 0x810]
call fcn.0043d0a0
test eax, eax
jne 0x4342b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea edx, [ebp - 0x814]
push 0x26
push str.DetourCreateProcessWithDlls_failed:_
lea ecx, [ebp - 0x8d0]
mov dword [ebp - 0x814], edi
call fcn.00432170
mov esi, eax
push 0xb8
lea eax, [ebp - 0x9a0]
mov byte [ebp - 4], 0x18
push 0
push eax
call fcn.00445500
add esp, 0x14
lea ecx, [ebp - 0x9a0]
push 0x49fb3c
call fcn.00408b20
cmp dword [esi + 0x14], 7
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x8b8], 0x20001
jbe 0x434198
mov esi, dword [esi]
push eax
mov edx, esi
lea ecx, [ebp - 0x990]
call fcn.00422530
lea eax, [ebp - 0x990]
push eax
call fcn.00417ed0
add esp, 8
mov dword [ebp - 0x8b8], 1
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x8f0]
test ecx, ecx
je 0x4341d9
lea eax, [ebp - 0x9a0]
push eax
call fcn.00417870
lea ecx, [ebp - 0x9a0]
call fcn.00408c60
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x8bc]
cmp ecx, 7
jbe 0x434228
mov edx, dword [ebp - 0x8d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43421e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344d8
push ecx
push edx
call fcn.00443876
add esp, 8
cmp edi, 6
jne 0x4343db
push 0xb8
lea eax, [ebp - 0x9a0]
mov byte [ebp - 4], 0x1a
push 0
push eax
call fcn.00445500
add esp, 0xc
lea ecx, [ebp - 0x9a0]
push 0x49fb3c
call fcn.00408b20
mov edx, str.Cant_detour_a_64_bit_target_process_from_a_32_bit_parent_process.
mov dword [ebp - 0x8b8], 0x40001
lea ecx, [ebp - 0x990]
call fcn.00422780
lea eax, [ebp - 0x990]
push eax
call fcn.00417ed0
add esp, 4
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x8f0]
test ecx, ecx
je 0x43429e
lea eax, [ebp - 0x9a0]
push eax
call fcn.00417870
lea ecx, [ebp - 0x9a0]
call fcn.00408c60
mov byte [ebp - 0x8b1], 0
jmp 0x4343f2
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 0x4343e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1d
push str.GetExitCodeProcess_failed:_
lea edx, [ebp - 0x814]
mov dword [ebp - 0x814], eax
lea ecx, [ebp - 0x8d0]
call fcn.00432170
mov esi, eax
push 0xb8
lea eax, [ebp - 0x9a0]
mov byte [ebp - 4], 0x1d
push 0
push eax
call fcn.00445500
add esp, 0x14
lea ecx, [ebp - 0x9a0]
push 0x49fb3c
call fcn.00408b20
cmp dword [esi + 0x14], 7
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x8b8], 0x100001
jbe 0x434359
mov esi, dword [esi]
push eax
mov edx, esi
lea ecx, [ebp - 0x990]
call fcn.00422530
lea eax, [ebp - 0x990]
push eax
call fcn.00417ed0
add esp, 8
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x8f0]
test ecx, ecx
je 0x434390
lea eax, [ebp - 0x9a0]
push eax
call fcn.00417870
lea ecx, [ebp - 0x9a0]
call fcn.00408c60
mov ecx, dword [ebp - 0x8bc]
cmp ecx, 7
jbe 0x4343db
mov edx, dword [ebp - 0x8d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4343d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344dd
push ecx
push edx
call fcn.00443876
add esp, 8
mov byte [ebp - 0x8b1], 0
jmp 0x4343f2
cmp dword [ebp - 0x830], 0
sete byte [ebp - 0x8b1]
mov ecx, dword [ebp - 0x834]
cmp ecx, 0xf
jbe 0x43442c
mov edx, dword [ebp - 0x848]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x434422
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344e2
push ecx
push edx
call fcn.00443876
add esp, 8
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0xf
mov byte [ebp - 0x848], 0
mov ecx, dword [ebp - 0x818]
cmp ecx, 7
jbe 0x434483
mov edx, dword [ebp - 0x82c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x434479
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4344e2
push ecx
push edx
call fcn.00443876
add esp, 8
mov al, byte [ebp - 0x8b1]
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.004435e2
mov esp, ebp
pop ebp
ret 4
call fcn.00403570
call fcn.004483fa
call fcn.004483fa
call fcn.004483fa
call fcn.004483fa
call fcn.004483fa
call fcn.004483fa
call fcn.004483fa
call fcn.004483fa
call fcn.004483fa
call fcn.004483fa
call fcn.004483fa
call fcn.004483fa
int3