Function at 0x46ba60
Capabilities:
Terminate thread

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x64
push 0xffffffffffffffff
push 0x4d12cb
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x509074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x50], 0x4e6190
mov dword [ebp - 0x50], 0x4e62b0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 1
add eax, 0xe0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x4e26c0
mov word [ebp - 0x24], 0x101
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 2
cmp byte [ecx + 0x80], 0
je 0x46bb18
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.004456d0
jmp 0x46bcb2
lea eax, [ebp - 0x50]
mov dword [ebp + 0x4c], 0x4e3b8c
mov dword [ebp + 0x4c], 0x4e3b9c
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x54], 0xffffffff
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x60], 0
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
mov dword [ebp + 4], 0
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x14], 0
mov byte [ebp - 4], 5
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0
mov byte [ebp - 4], 8
lea eax, [ebp + 0x4c]
mov dword [ebp + 0x20], 0x4e2668
mov dword [ebp + 0x20], 0x4e263c
mov dword [ebp], 0x4e70b8
mov dword [ebp + 0x20], 0x4e708c
mov byte [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x30], eax
movups xmmword [ebp + 0x34], xmm0
mov byte [ebp - 4], 9
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x46bbd0
call fcn.00480445
mov dword [ebp + 0x14], eax
test eax, eax
jne 0x46bbd0
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x46bc40
push 0
push 0
push eax
call fcn.00480547
lea eax, [ebp]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x44], 0x50bee0
mov byte [ebp + 0x48], 0
mov byte [ebp - 4], 0xa
push 0x50bee0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x50bef8]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 8]
mov byte [ebp + 0x48], 1
mov dword [0x50bef8], eax
mov byte [ebp - 4], 9
push 0x50bee0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x442f50
push esi
push 0x6e
push dword [0x50ae30]
mov byte [ebp + 0x48], 0
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
mov dword [ebp + 0x6c], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x46bc5b
push eax
call fcn.004804f1
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x4c], 0x4e3b9c
test eax, eax
je 0x46bcb2
push dword [ebp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x54], 0xffffffff
je 0x46bca9
lea eax, [ebp + 0x6c]
mov dword [ebp + 0x6c], 0
push eax
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x46bca9
cmp dword [ebp + 0x6c], 0x103
jne 0x46bca9
push 0
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x3c]
call fcn.00409010
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00409010
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
lea esp, [ebp + 0x64]
pop ebp
ret 4