Function at 0x4616f4
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffe0
sub esp, 0x618
push esi
push edi
mov edi, edx
mov edx, str.Stack_Trace__Manual_
mov ecx, edi
call fcn.00460c67
mov eax, dword [edi]
push str.Address__Frame____Logical_addr__Module
push 0x782000
push edi
call dword [eax + 4]
mov eax, dword [edi]
push 0x7347ca
push edi
call dword [eax + 4]
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
and dword [esp + 0x1c], 0
lea ecx, [esp + 0x420]
and dword [esp + 0x10], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0046131f
push dword [esp + 0x18]
mov eax, dword [edi]
push dword [esp + 0x28]
push str.Showing__d__d_threads...
push edi
call dword [eax + 4]
xor eax, eax
add esp, 0x18
mov dword [esp + 0x10], eax
cmp dword [esp + 0x1c], eax
jbe 0x461935
mov esi, dword [esp + eax*4 + 0x420]
push esi
push 0
push 0x4a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [edi]
push 0x7347ca
push edi
mov dword [esp + 0x20], eax
call dword [ecx + 4]
cmp esi, dword [esp + 0x2c]
mov eax, str.____Thread_ID:__d____
mov edx, dword [edi]
mov ecx, str.____Thread_ID:__d__Current_Thread_____
push esi
cmovne ecx, eax
push ecx
push edi
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add esp, 0x14
test eax, eax
jne 0x4617d4
cmp dword [esp + 0x1c], 1
jne 0x4617d4
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [esp + 0x18], eax
cmp esi, dword [esp + 0x24]
je 0x46184f
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2c8
lea eax, [esp + 0x148]
push 0
push eax
call fcn.005530b0
add esp, 0xc
mov dword [esp + 0x140], 0x10007
lea eax, [esp + 0x140]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push dword [esp + 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test esi, esi
jne 0x46183f
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Unable_to_retrieve_thread_context__error:__d
push edi
call dword [esi + 4]
add esp, 0xc
jmp 0x461922
mov ecx, dword [esp + 0x1f8]
mov esi, dword [esp + 0x1f4]
jmp 0x461855
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x28], 1
cmp dword [esp + edx*4 + 0x420], esi
mov edx, dword [esp + 0x28]
cmove edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
cmp eax, edx
jb 0x4618c7
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x38]
push eax
push 0x104
lea edx, [esp + 0x44]
call fcn.00460b46
mov eax, dword [edi]
lea ecx, [esp + 0x44]
push ecx
push dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
push dword [esp + 0x48]
push esi
push ecx
push str._08X__08X__04X:_08X__s
push edi
call dword [eax + 4]
add esp, 0x28
push 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
call esi
test eax, eax
jne 0x461918
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov ecx, eax
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test al, 3
jne 0x461918
cmp eax, ecx
jbe 0x461918
push 8
push eax
call esi
test eax, eax
jne 0x461918
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
inc eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
cmp eax, 0x64
jb 0x46188a
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x1c]
jb 0x46177e
pop edi
pop esi
mov esp, ebp
pop ebp
ret