Function at 0x462f40
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61de85
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x6d5db8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x14]
call fcn.00404aa0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x14c
call fcn.0050c470
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x488], 0
je 0x462fe9
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x48c], 0
push 0x3e8
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x462fcc
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x488]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x488]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x488], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x494], 0
je 0x46304d
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x498], 0
push 0x3e8
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x494]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x463030
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x494]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x494]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x494], 0
push 0
call fcn.00594ec0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x463074
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401620
jmp 0x46317c
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x78]
call eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x78]
call edx
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x78]
call eax
push 1
call fcn.00594ec0
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
push 3
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x78]
call edx
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x78]
call eax
push 2
call fcn.00594ec0
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
push 3
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0x78]
call edx
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x78]
call eax
mov ecx, dword [ebp - 0x1c]
call fcn.00466f20
mov dword [ebp - 0x18], 0
jmp 0x46313b
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x90
jge 0x463152
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00466a30
jmp 0x463132
mov ecx, dword [ebp - 0x1c]
call fcn.00465560
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.005a4750
mov ecx, dword [ebp - 0x1c]
call fcn.00462f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret