Function at 0x46145e
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 esi, ecx
mov edx, str.Stack_Trace__Using_DBGHELP.DLL_
mov dword [esp + 0x30], esi
mov ecx, edi
call fcn.00460c67
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x34], eax
call fcn.00461aaa
cmp dword [0x80b7a4], 0
jne 0x4614b2
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__Couldnt_load_DBGHELP.DLL__error:__d
push edi
call dword [esi + 4]
add esp, 0xc
jmp 0x4616dc
test esi, 0x20000
je 0x4616dc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
and dword [esp + 0x1c], 0
lea ecx, [esp + 0x420]
and dword [esp + 0x18], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0046131f
push dword [esp + 0x20]
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 + 0x28], eax
cmp dword [esp + 0x1c], eax
jbe 0x4616dc
mov eax, dword [esp + eax*4 + 0x420]
push eax
push 0
push 0x4a
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [edi]
mov esi, eax
push 0x7347ca
push edi
mov dword [esp + 0x20], esi
call dword [ecx + 4]
mov eax, dword [esp + 0x28]
mov ecx, str.____Thread_ID:__d__Current_Thread_____
cmp eax, dword [esp + 0x2c]
mov edx, dword [edi]
push eax
mov dword [esp + 0x38], str.____Thread_ID:__d____
cmovne ecx, dword [esp + 0x38]
push ecx
push edi
call dword [edx + 4]
add esp, 0x14
test esi, esi
jne 0x46158f
cmp dword [esp + 0x1c], 1
jne 0x461575
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jne 0x46158f
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Unable_to_gain_access_to_the_thread__error:
push edi
call dword [esi + 4]
add esp, 0xc
jmp 0x4616c9
push 0x108
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.005530b0
add esp, 0xc
lea eax, [esp + 0x140]
push 0x2cc
push 0
push eax
call fcn.005530b0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x24]
cmp ecx, edx
je 0x461652
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [esp + 0x140]
mov dword [esp + 0x140], 0x10007
push eax
push esi
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 0x46160e
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Unable_to_retrieve_thread_context__error:__d
jmp 0x461583
mov eax, dword [esp + 0x1f8]
xor ecx, ecx
push 3
pop edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x204]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x24]
jmp 0x461689
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], 3
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], 3
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], 3
mov dword [esp + 0x68], eax
xor eax, eax
inc eax
cmp ecx, edx
cmove eax, dword [ebp + 0x14]
xor esi, esi
push eax
lea eax, [esp + 0x3c]
cmp ecx, edx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x148]
cmove eax, esi
mov esi, dword [esp + 0x20]
push eax
push edi
push dword [esp + 0x40]
mov edx, esi
call fcn.004613bd
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x1c]
jb 0x46150e
call fcn.00461af7
mov eax, dword [edi]
push 0x7347ca
push edi
call dword [eax + 4]
pop ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret