Function at 0x430920
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437b43
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x44aae4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.0042e7d0
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x430980
mov dword [ebp - 0x18], str.Error_while_setting_process_ready_to_debug..
push 0x4465f0
lea ecx, [ebp - 0x18]
push ecx
call fcn.004130b6
push str.Searching_for_ghost_processs...
push 1
mov ecx, dword [0x44ec54]
call fcn.00427830
mov ecx, dword [ebp - 0x44]
call fcn.00430810
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x4309b8
mov dword [ebp - 0x1c], str.Error_while_closing_ghost_processs:
push 0x4465f0
lea edx, [ebp - 0x1c]
push edx
call fcn.004130b6
mov eax, dword [0x44ec5c]
movzx ecx, byte [eax + 0x88]
test ecx, ecx
je 0x4309d0
mov ecx, dword [ebp - 0x44]
call fcn.0042d0b0
mov edx, dword [0x44ec44]
cmp dword [edx + 0x134], 0
je 0x4309ee
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x2d8], 0
jmp 0x430a05
mov ecx, dword [ebp - 0x44]
call fcn.0042fbe0
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
mov dword [ecx + 0x2d8], edx
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x2d8], 0
je 0x430bfa
push str.DebugBlocker_is_used_
push 1
mov ecx, dword [0x44ec54]
call fcn.00427830
push str.Detaching_father_process_from_child...
push 1
mov ecx, dword [0x44ec54]
call fcn.00427830
mov ecx, dword [ebp - 0x44]
call fcn.0042f7e0
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x430a5f
mov dword [ebp - 0x20], str.Failed_to_detach_father_from_child...
push 0x4465f0
lea ecx, [ebp - 0x20]
push ecx
call fcn.004130b6
push 0
call dword [sym.imp.KERNEL32.dll_DebugSetProcessKillOnExit]
test eax, eax
jne 0x430a80
mov dword [ebp - 0x24], str.Failed_to_set_flag_on_DebugSetProcessKillOnExit...
push 0x4465f0
lea edx, [ebp - 0x24]
push edx
call fcn.004130b6
push str.Detaching_us_from_father_process...
push 1
mov ecx, dword [0x44ec54]
call fcn.00427830
mov eax, dword [0x44ec5c]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
test eax, eax
jne 0x430aba
mov dword [ebp - 0x28], str.Failed_to_detach_from_father_process...
push 0x4465f0
lea edx, [ebp - 0x28]
push edx
call fcn.004130b6
mov ecx, dword [ebp - 0x44]
call fcn.0042eca0
mov dword [ebp - 0x58], eax
mov eax, dword [0x44ec5c]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 8], ecx
mov edx, dword [0x44ec5c]
mov eax, dword [edx + 8]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [0x44ec5c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x44]
call fcn.0042da70
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x430b15
mov dword [ebp - 0x2c], str.Error_getting_child_process_main_thread_info...
push 0x4465f0
lea edx, [ebp - 0x2c]
push edx
call fcn.004130b6
push str.Attaching_us_to_child_process...
push 1
mov ecx, dword [0x44ec54]
call fcn.00427830
mov eax, dword [0x44ec5c]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
test eax, eax
jne 0x430b4f
mov dword [ebp - 0x30], str.Unable_to_attach_to_child_process...
push 0x4465f0
lea edx, [ebp - 0x30]
push edx
call fcn.004130b6
mov ecx, dword [ebp - 0x44]
call fcn.0042e700
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x430b75
mov dword [ebp - 0x34], str.Failed_to_hide_debugger
push 0x4465f0
lea eax, [ebp - 0x34]
push eax
call fcn.004130b6
push 0
push 2
mov ecx, dword [0x44ec5c]
add ecx, 0x86
push ecx
mov edx, dword [0x44ec44]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [0x44ec5c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x430bb8
mov dword [ebp - 0x38], str.Error_while_writing_original_bytes_to_father_process_EP.
push 0x4465f0
lea eax, [ebp - 0x38]
push eax
call fcn.004130b6
mov ecx, dword [0x44ec5c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x430be1
mov dword [ebp - 0x3c], str.Unable_to_resume_thread...
push 0x4465f0
lea eax, [ebp - 0x3c]
push eax
call fcn.004130b6
mov ecx, dword [0x44ec5c]
movzx edx, byte [ecx + 0x88]
test edx, edx
je 0x430bfa
mov ecx, dword [ebp - 0x44]
call fcn.0042d0b0
jmp 0x430c20
mov dword [ebp - 4], 0xffffffff
jmp 0x430c2e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4