Function at 0x414960
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1e74
call fcn.00428680
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x41498a
mov ecx, dword [ebp - 4]
call fcn.004145e0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
cmp dword [edx + 4], 0
jne 0x4149a8
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x414fa6
mov eax, dword [ebp + 0x10]
mov dword [0x45789c], eax
mov ecx, dword [ebp + 0x14]
mov dword [0x457898], ecx
cmp dword [ebp + 0xc], 0
jne 0x414a5e
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x414a0c
push 0x2cc
push 0
lea edx, [ebp - 0x404]
push edx
call fcn.004260c0
add esp, 0xc
mov dword [ebp - 0x404], 0x10007
call 0x4149f3
pop eax
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x350], ebp
mov dword [ebp - 0x340], esp
xor eax, eax
jne 0x4149ce
jmp 0x414a5c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea edx, [ebp - 0x404]
push edx
call fcn.004260c0
add esp, 0xc
mov dword [ebp - 0x404], 0x10007
lea eax, [ebp - 0x404]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x414a5c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x414fa6
jmp 0x414a6e
mov ecx, 0xb3
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x404]
rep movsd dword es:[edi], dword [esi]
push 0x108
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.004260c0
add esp, 0xc
mov dword [ebp - 0x18], 0x14c
mov ecx, dword [ebp - 0x34c]
xor edx, edx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x12c], 3
mov eax, dword [ebp - 0x350]
xor ecx, ecx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x10c], 3
mov edx, dword [ebp - 0x340]
xor eax, eax
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xfc], 3
push 0x420
call fcn.00423ebd
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x414b05
jmp 0x414f7f
push 0x420
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.004260c0
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [edx], 0x20
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], 0x400
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], 0x18
push 0x248
push 0
lea edx, [ebp - 0x64c]
push edx
call fcn.004260c0
add esp, 0xc
mov dword [ebp - 0x64c], 0x248
mov dword [ebp - 0xc], 0
jmp 0x414b78
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x14]
push eax
push 0x414ff0
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x38]
call eax
test eax, eax
jne 0x414beb
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StackWalk64
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
jmp 0x414f7f
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x1e74], ecx
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x1e70], edx
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x1e6c], 0
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x1a6c], 0
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x166c], 0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x126c], xmm0
mov dword [ebp - 0x1264], 0
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x125c], 0
mov dword [ebp - 0x1260], 0
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0xa4c], 0
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0xe54], 0
mov eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x128]
jne 0x414cc6
mov ecx, dword [ebp - 0x134]
cmp ecx, dword [ebp - 0x124]
jne 0x414cc6
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x138]
push eax
push 0
push str.StackWalk64_Endless_Callstack_
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
jmp 0x414f7f
mov ecx, dword [ebp - 0x138]
or ecx, dword [ebp - 0x134]
je 0x414f20
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x126c]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x28]
call ecx
test eax, eax
je 0x414d5d
mov edx, dword [ebp - 8]
add edx, 0x1c
lea ecx, [ebp - 0x1e6c]
call fcn.00415360
push 0x1000
push 0x400
lea edx, [ebp - 0x1a6c]
push edx
mov eax, dword [ebp - 8]
add eax, 0x1c
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x3c]
call eax
push 0
push 0x400
lea ecx, [ebp - 0x166c]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x1c
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x3c]
call edx
jmp 0x414d84
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SymGetSymFromAddr64
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x10]
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x18], 0
je 0x414dff
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x1264]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x18]
call ecx
test eax, eax
je 0x414dd8
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1260], edx
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x125c]
call fcn.00415360
jmp 0x414dff
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SymGetLineFromAddr64
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x10]
call edx
lea eax, [ebp - 0x64c]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 4]
call fcn.004143e0
test eax, eax
je 0x414ef9
mov eax, dword [ebp - 0x62c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 8
ja case.default.0x414e40
mov ecx, dword [ebp - 0x10]
jmp dword [ecx*4 + 0x414fb0]
mov dword [ebp - 0xe58], str._nosymbols_
jmp 0x414ebd
mov dword [ebp - 0xe58], str.COFF
jmp 0x414ebd
mov dword [ebp - 0xe58], 0x44e66c
jmp 0x414ebd
mov dword [ebp - 0xe58], 0x44e670
jmp 0x414ebd
mov dword [ebp - 0xe58], str._exported_
jmp 0x414ebd
mov dword [ebp - 0xe58], str._deferred_
jmp 0x414ebd
mov dword [ebp - 0xe58], 0x44e68c
jmp 0x414ebd
mov dword [ebp - 0xe58], 0x44e698
jmp 0x414ebd
mov dword [ebp - 0xe58], str.Virtual
jmp 0x414ebd
mov dword [ebp - 0xe58], 0
lea edx, [ebp - 0x628]
lea ecx, [ebp - 0xe54]
call fcn.00415360
mov edx, dword [ebp - 0x644]
mov dword [ebp - 0xa54], edx
mov eax, dword [ebp - 0x640]
mov dword [ebp - 0xa50], eax
lea edx, [ebp - 0x508]
lea ecx, [ebp - 0xa4c]
call fcn.00415360
jmp 0x414f20
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SymGetModuleInfo64
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0xc], 0
jne 0x414f34
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1e74]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x128]
or ecx, dword [ebp - 0x124]
jne 0x414f7a
lea edx, [ebp - 0x1e74]
push edx
push 2
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
call eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x414f7f
jmp 0x414b6f
cmp dword [ebp - 8], 0
je 0x414f91
mov ecx, dword [ebp - 8]
push ecx
call fcn.00422f1c
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x414fa1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10