Function at 0x413080
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x4576d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
call fcn.00409aa0
mov al, byte [esp + 0x13]
xor ebx, ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
push 0xc
mov dword [esp + 0x128], ebx
mov byte [esi + 0xb8], al
call fcn.0044826c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], ebx
mov cl, byte [esp + 0x17]
push 0xc
mov byte [esp + 0x12c], 1
mov byte [esi + 0xc4], cl
call fcn.0044826c
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 8
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], ebx
lea ecx, [esi + 0x100]
mov byte [esp + 0x124], 2
call fcn.00436cd0
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x58c], ebx
mov dword [esi + 0x590], ebx
mov dword [esi + 0x594], ebx
mov dword [esi + 0x598], ebx
mov dword [esi + 0x5ac], ebx
mov dword [esi + 0x5b0], ebx
mov dword [esi + 0x5b4], ebx
mov dword [esi + 0x5b8], ebx
mov dword [esi + 0x5c4], ebx
mov dword [esi + 0x5c8], ebx
lea ecx, [esi + 0x5f8]
mov byte [esp + 0x124], 3
mov dword [esi + 0x5cc], ebx
mov dword [esi + 0x5d0], ebx
call fcn.00436cd0
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x580], ebx
mov dword [esi + 0x584], ebx
mov dword [esi + 0x59c], ebx
mov dword [esi + 0x5a0], ebx
mov byte [0x472218], bl
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xfc], ebx
mov dword [esi], ebx
mov dword [esi + 0x5c0], ebx
mov dword [esi + 0x5a4], ebx
mov dword [esi + 0x5a8], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0x5bc], ebx
mov ebp, dword [esi + 0xc8]
mov edi, dword [ebp]
cmp edi, ebp
je 0x413245
mov eax, edi
mov edi, dword [edi]
push eax
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
call fcn.00447e1a
mov ecx, dword [esi + 0xcc]
add esp, 4
dec ecx
cmp edi, ebp
mov dword [esi + 0xcc], ecx
jne 0x413218
mov ebp, dword [esi + 0xbc]
mov edi, dword [ebp]
cmp edi, ebp
je 0x41327f
mov eax, edi
mov edi, dword [edi]
push eax
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
call fcn.00447e1a
mov ecx, dword [esi + 0xc0]
add esp, 4
dec ecx
cmp edi, ebp
mov dword [esi + 0xc0], ecx
jne 0x413252
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
call dword [sym.imp.WINMM.dll_timeGetTime]
lea edx, [esp + 0x18]
push 0x104
push edx
push ebx
mov dword [esi + 0xd8], eax
mov dword [esi + 0x5f4], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x618], ebx
mov byte [esi + 0x94], bl
mov dword [esi + 0x634], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x413319
lea eax, [esp + 0x18]
push 0x5c
push eax
call fcn.00447e30
add esp, 8
cmp eax, ebx
je 0x4133c6
mov byte [eax], bl
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, dword [str._vnchooks.dll]
mov edx, dword [0x466ecc]
mov eax, dword [0x466ed0]
dec edi
mov dword [edi], ecx
mov cx, word [0x466ed4]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov word [edi + 0xc], cx
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea edx, [esp + 0x18]
push edx
mov dword [esi + 0x63c], ebx
mov dword [esi + 0x644], ebx
mov dword [esi + 0x640], ebx
mov dword [esi + 0x638], ebx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0x634], eax
je 0x413398
push str.UnSetHooks
push eax
call edi
mov dword [esi + 0x63c], eax
mov eax, dword [esi + 0x634]
push str.SetMouseFilterHook
push eax
call edi
mov ecx, dword [esi + 0x634]
push str.SetKeyboardFilterHook
push ecx
mov dword [esi + 0x644], eax
call edi
mov edx, dword [esi + 0x634]
push str.SetHooks
push edx
mov dword [esi + 0x640], eax
call edi
mov dword [esi + 0x638], eax
mov dword [esi + 0x620], ebx
push str.USER32
mov byte [0x472208], 1
call ebp
push str.BlockInput
push eax
mov dword [esi + 0x64c], eax
call edi
mov dword [esi + 0x648], eax
mov dword [esi + 0x650], ebx
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret