Function at 0x418810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588fb0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5f3fcc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x5d3370
push dword [0x5fd6d0]
mov dword [esi], vtable.DirectXThread.0
call fcn.0040b090
mov eax, dword [esi]
add esp, 8
mov ecx, esi
mov byte [esi + 0xd], 1
call dword [eax + 8]
cmp byte [esi + 0xc], 0
je 0x41886d
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0xbc]
xor edx, edx
mov edi, dword [esi + 0xb8]
mov ecx, eax
sub ecx, edi
xor ebx, ebx
add ecx, 3
shr ecx, 2
cmp edi, eax
cmova ecx, edx
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x4188ad
mov eax, ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x4188a5
mov eax, dword [ecx]
push 1
call dword [eax + 0x10]
mov eax, dword [ebp - 0x10]
inc ebx
add edi, 4
cmp ebx, eax
jne 0x418895
mov eax, dword [esi + 0x40]
lea ecx, [esi + 0x40]
push 0
call dword [eax + 0x68]
mov eax, dword [esi + 0xb8]
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, dword [esi + 0xd4]
test edi, edi
je 0x41892f
mov dword [edi + 0xa8], vtable.Rect.0
mov eax, dword [edi + 0x9c]
mov dword [edi + 0x78], vtable.FrameBuffer.0
test eax, eax
je 0x418904
push eax
call fcn.00422198
add esp, 4
mov dword [edi + 0x7c], vtable.Dimension.0
lea ecx, [edi + 0xc]
mov dword [edi + 0x60], vtable.Rect.0
call fcn.0041f100
push 0xc0
push edi
mov dword [edi + 8], vtable.WinCursor.0
call fcn.00567d94
add esp, 8
push str.DirectXThread_Terminated
push dword [0x5fd6d0]
call fcn.0040b090
mov eax, dword [esi + 0xb8]
add esp, 8
test eax, eax
je 0x41899d
mov ecx, dword [esi + 0xc0]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x418975
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418a66
mov eax, edx
push ecx
push eax
call fcn.00567d94
mov dword [esi + 0xb8], 0
add esp, 8
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov eax, dword [esi + 0xac]
test eax, eax
je 0x4189f8
mov ecx, dword [esi + 0xb4]
sub ecx, eax
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x4189d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418a66
mov eax, edx
push ecx
push eax
call fcn.00567d94
mov dword [esi + 0xac], 0
add esp, 8
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0x80], vtable.Rect.0
mov dword [esi + 0x68], vtable.Rect.0
mov eax, dword [esi + 0x64]
mov dword [esi + 0x40], vtable.FrameBuffer.0
test eax, eax
je 0x418a20
push eax
call fcn.00422198
add esp, 4
mov dword [esi + 0x44], vtable.Dimension.0
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x18], vtable.FrameBuffer.0
test eax, eax
je 0x418a3e
push eax
call fcn.00422198
add esp, 4
mov dword [esi + 0x1c], vtable.Dimension.0
push dword [esi + 4]
mov dword [esi], vtable.Thread.0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0056d4c2
int3