Function at 0x40a260
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433265
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4440fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.NtWow64ReadVirtualMemory64
push edi
call esi
push str.NtWow64QueryInformationProcess64
push edi
call esi
push str.NtQueryInformationProcess
push edi
call esi
push str.NtSetInformationProcess
push edi
mov dword [0x446eb8], eax
call esi
push str.NtSuspendProcess
push edi
mov dword [0x446ebc], eax
call esi
push str.NtResumeProcess
push edi
mov dword [0x446ec0], eax
call esi
cmp dword [0x446eb8], 0
mov dword [0x446ec4], eax
jne 0x40a3b5
call fcn.00406800
test eax, eax
je 0x40a635
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.NtQueryInformationProcess_failed.
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00404590
test al, al
jne 0x40a32c
push 0x21
push str.NtQueryInformationProcess_failed.
lea ecx, [ebp - 0x14]
call fcn.00404740
mov dword [ebp - 4], 1
call fcn.00406800
mov ecx, eax
test ecx, ecx
je 0x40a617
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.Error
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00404590
test al, al
jne 0x40a371
push 5
push str.Error
lea ecx, [ebp - 0x10]
call fcn.00404740
push 0
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.00402db0
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x10]
add esp, 4
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a3a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
jmp 0x40a5dc
cmp dword [0x446ebc], 0
jne 0x40a462
call fcn.00406800
test eax, eax
je 0x40a635
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.NtSetInformationProcess_failed.
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 4
call fcn.00404590
test al, al
jne 0x40a403
push 0x1f
push str.NtSetInformationProcess_failed.
lea ecx, [ebp - 0x10]
call fcn.00404740
mov dword [ebp - 4], 5
call fcn.00406800
mov ecx, eax
test ecx, ecx
je 0x40a621
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.Error
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00404590
test al, al
jne 0x40a448
push 5
push str.Error
lea ecx, [ebp - 0x14]
call fcn.00404740
push 0
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00402db0
mov byte [ebp - 4], 5
jmp 0x40a5b2
cmp dword [0x446ec0], 0
jne 0x40a50f
call fcn.00406800
test eax, eax
je 0x40a635
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.NtSuspendProcess_failed.
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 8
call fcn.00404590
test al, al
jne 0x40a4b0
push 0x18
push str.NtSuspendProcess_failed.
lea ecx, [ebp - 0x10]
call fcn.00404740
mov dword [ebp - 4], 9
call fcn.00406800
mov ecx, eax
test ecx, ecx
je 0x40a62b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.Error
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.00404590
test al, al
jne 0x40a4f5
push 5
push str.Error
lea ecx, [ebp - 0x14]
call fcn.00404740
push 0
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.00402db0
mov byte [ebp - 4], 9
jmp 0x40a5b2
test eax, eax
jne 0x40a604
call fcn.00406800
mov ecx, eax
test ecx, ecx
je 0x40a635
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.NtResumeProcess_failed.
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xc
call fcn.00404590
test al, al
jne 0x40a558
push 0x17
push str.NtResumeProcess_failed.
lea ecx, [ebp - 0x10]
call fcn.00404740
mov dword [ebp - 4], 0xd
call fcn.00406800
mov ecx, eax
test ecx, ecx
je 0x40a63f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.Error
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call fcn.00404590
test al, al
jne 0x40a59d
push 5
push str.Error
lea ecx, [ebp - 0x14]
call fcn.00404740
push 0
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x14]
call fcn.00402db0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x14]
or esi, 0xffffffff
add esp, 4
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a5d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40a5f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004065b0
push 0x80004005
call fcn.004065b0
push 0x80004005
call fcn.004065b0
push 0x80004005
call fcn.004065b0
push 0x80004005
call fcn.004065b0
int3