Function at 0x42eff0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x18], ecx
push str.Waiting_for_breakpoint...
push 0x32
mov eax, dword [0x44ec3c]
mov ecx, dword [eax + 0x2ec]
push ecx
call fcn.0040fe9e
add esp, 0xc
mov byte [ebp - 0xd], 1
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
mov edx, dword [0x44ec5c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [0x44ec3c]
mov edx, dword [ecx + 0x2f0]
push edx
mov eax, dword [0x44ec3c]
mov ecx, dword [eax + 0x2fc]
push ecx
mov edx, dword [0x44ec3c]
mov eax, dword [edx + 0x2f8]
push eax
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x42f2f4
mov edx, dword [0x44ec3c]
mov dword [edx + 0x2f0], 0x80010001
push 0x14
mov eax, dword [0x44ec3c]
add eax, 0x2f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
mov ecx, dword [0x44ec3c]
call fcn.0042d160
mov ecx, dword [0x44ec5c]
cmp dword [ecx + 8], 0
jne 0x42f0af
mov eax, 0xffff
jmp 0x42f3af
mov edx, dword [0x44ec3c]
mov eax, dword [edx + 0x2f4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
je 0x42f0ee
cmp dword [ebp - 0x1c], 5
je 0x42f0cf
jmp 0x42f2bb
mov ecx, dword [0x44ec4c]
mov dword [ecx + 0xc], 0xffffffff
push 0
mov ecx, dword [0x44ec5c]
call fcn.004011e0
jmp 0x42f2bb
mov edx, dword [0x44ec3c]
mov eax, dword [edx + 0x300]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x80000003
je 0x42f10b
jmp 0x42f2bb
mov dword [ebp - 8], 0
mov dword [ebp - 8], 0
jmp 0x42f124
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0xa
jge 0x42f177
mov edx, dword [ebp - 8]
imul edx, edx, 0x224
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + edx]
test ecx, ecx
je 0x42f175
mov edx, dword [ebp - 8]
imul edx, edx, 0x224
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x44ec3c]
mov edx, dword [eax + edx + 4]
cmp edx, dword [ecx + 0x30c]
jne 0x42f175
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
imul eax, eax, 0x224
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax + 4]
mov dword [ebp - 0xc], edx
jmp 0x42f177
jmp 0x42f11b
movzx eax, byte [ebp - 1]
test eax, eax
je 0x42f2bb
mov ecx, dword [0x44ec3c]
mov edx, dword [0x44ec5c]
mov eax, dword [ecx + 0x2fc]
cmp eax, dword [edx + 0xc]
jne 0x42f1b3
mov byte [ebp - 0xd], 0
mov ecx, dword [0x44ec3c]
mov dword [ecx + 0x2f0], 0x10002
jmp 0x42f2bb
mov edx, dword [0x44ec3c]
mov eax, dword [edx + 0x2fc]
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x44ec3c]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov eax, dword [0x44ec3c]
mov ecx, dword [eax + 0xc0]
sub ecx, 1
mov edx, dword [0x44ec3c]
mov dword [edx + 0xc0], ecx
mov eax, dword [0x44ec3c]
add eax, 8
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
mov eax, dword [ebp - 8]
imul eax, eax, 0x224
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 0x220]
push edx
mov eax, dword [ebp - 8]
imul eax, eax, 0x224
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax + 4]
push edx
mov eax, dword [0x44ec5c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, dword [0x44ec3c]
mov dword [edx + 0x2f0], 0x10002
mov eax, dword [0x44ec3c]
mov ecx, dword [eax + 0x2f0]
push ecx
mov edx, dword [0x44ec3c]
mov eax, dword [edx + 0x2fc]
push eax
mov ecx, dword [0x44ec3c]
mov edx, dword [ecx + 0x2f8]
push edx
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
mov eax, dword [ebp - 8]
imul eax, eax, 0x224
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 0x220]
push edx
mov eax, dword [ebp - 8]
imul eax, eax, 0x224
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax + 4]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0042d370
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x42f2ef
mov ecx, dword [0x44ec3c]
mov edx, dword [ecx + 0x2f0]
push edx
mov eax, dword [0x44ec3c]
mov ecx, dword [eax + 0x2fc]
push ecx
mov edx, dword [0x44ec3c]
mov eax, dword [edx + 0x2f8]
push eax
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
jmp 0x42f05f
push 0
push 1
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x224
mov edx, dword [ebp - 0x18]
lea eax, [edx + ecx + 0x220]
push eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x224
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx + 4]
push eax
mov ecx, dword [0x44ec5c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [0x44ec3c]
add eax, 8
push eax
mov ecx, dword [0x44ec5c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov eax, dword [0x44ec3c]
mov ecx, dword [eax + 0xc0]
sub ecx, 1
mov edx, dword [0x44ec3c]
mov dword [edx + 0xc0], ecx
mov eax, dword [0x44ec3c]
add eax, 8
push eax
mov ecx, dword [0x44ec5c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov eax, dword [0x44ec3c]
mov ecx, dword [eax + 0xcc]
push ecx
mov ecx, dword [0x44ec3c]
call fcn.0042d040
push eax
push str.Returns_to:_0x_08X
push 0x32
mov edx, dword [0x44ec3c]
mov eax, dword [edx + 0x2ec]
push eax
call fcn.0040fe9e
add esp, 0x10
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret