Function at 0x413480
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440845
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4540fc]
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 [0x457f14], eax
call esi
push str.NtSuspendProcess
push edi
mov dword [0x457f08], eax
call esi
push str.NtResumeProcess
push edi
mov dword [0x457f10], eax
call esi
cmp dword [0x457f14], 0
mov dword [0x457f0c], eax
jne 0x4135d5
call fcn.00409200
test eax, eax
je 0x413855
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.00407d80
test al, al
jne 0x41354c
push 0x21
push str.NtQueryInformationProcess_failed.
lea ecx, [ebp - 0x14]
call fcn.00407f30
mov dword [ebp - 4], 1
call fcn.00409200
mov ecx, eax
test ecx, ecx
je 0x413837
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.00407d80
test al, al
jne 0x413591
push 5
push str.Error
lea ecx, [ebp - 0x10]
call fcn.00407f30
push 0
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.004070a0
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 0x4135c6
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 0x4137fc
cmp dword [0x457f08], 0
jne 0x413682
call fcn.00409200
test eax, eax
je 0x413855
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.00407d80
test al, al
jne 0x413623
push 0x1f
push str.NtSetInformationProcess_failed.
lea ecx, [ebp - 0x10]
call fcn.00407f30
mov dword [ebp - 4], 5
call fcn.00409200
mov ecx, eax
test ecx, ecx
je 0x413841
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.00407d80
test al, al
jne 0x413668
push 5
push str.Error
lea ecx, [ebp - 0x14]
call fcn.00407f30
push 0
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.004070a0
mov byte [ebp - 4], 5
jmp 0x4137d2
cmp dword [0x457f10], 0
jne 0x41372f
call fcn.00409200
test eax, eax
je 0x413855
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.00407d80
test al, al
jne 0x4136d0
push 0x18
push str.NtSuspendProcess_failed.
lea ecx, [ebp - 0x10]
call fcn.00407f30
mov dword [ebp - 4], 9
call fcn.00409200
mov ecx, eax
test ecx, ecx
je 0x41384b
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.00407d80
test al, al
jne 0x413715
push 5
push str.Error
lea ecx, [ebp - 0x14]
call fcn.00407f30
push 0
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.004070a0
mov byte [ebp - 4], 9
jmp 0x4137d2
test eax, eax
jne 0x413824
call fcn.00409200
mov ecx, eax
test ecx, ecx
je 0x413855
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.00407d80
test al, al
jne 0x413778
push 0x17
push str.NtResumeProcess_failed.
lea ecx, [ebp - 0x10]
call fcn.00407f30
mov dword [ebp - 4], 0xd
call fcn.00409200
mov ecx, eax
test ecx, ecx
je 0x41385f
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.00407d80
test al, al
jne 0x4137bd
push 5
push str.Error
lea ecx, [ebp - 0x14]
call fcn.00407f30
push 0
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x14]
call fcn.004070a0
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 0x4137f2
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 0x413811
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.00408fe0
push 0x80004005
call fcn.00408fe0
push 0x80004005
call fcn.00408fe0
push 0x80004005
call fcn.00408fe0
push 0x80004005
call fcn.00408fe0
int3