Function at 0x413a9d
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x455b31
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.00408860
mov al, byte [esp + 0x13]
xor ebx, ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
push 0xc
mov dword [esp + 0x128], ebx
mov byte [esi + 0xdb88], al
call fcn.00449d10
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0xdb8c], eax
mov dword [esi + 0xdb90], ebx
mov cl, byte [esp + 0x17]
push 0xc
mov byte [esp + 0x12c], 1
mov byte [esi + 0xdb94], cl
call fcn.00449d10
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 8
mov dword [esi + 0xdb98], eax
mov dword [esi + 0xdb9c], ebx
lea ecx, [esi + 0xdbd4]
mov byte [esp + 0x124], 2
call fcn.0043a340
mov dword [esi + 0xdbec], ebx
mov dword [esi + 0xdbf0], ebx
mov dword [esi + 0xdbf4], ebx
mov dword [esi + 0xdbf8], ebx
mov dword [esi + 0xe060], ebx
mov dword [esi + 0xe064], ebx
mov dword [esi + 0xe068], ebx
mov dword [esi + 0xe06c], ebx
mov dword [esi + 0xe088], ebx
mov dword [esi + 0xe08c], ebx
lea ecx, [esi + 0xe0bc]
mov byte [esp + 0x124], 3
mov dword [esi + 0xe090], ebx
mov dword [esi + 0xe094], ebx
call fcn.0043a340
mov dword [esi + 0xdbb4], ebx
mov dword [esi + 0xdbb8], ebx
mov dword [esi + 0xdbbc], ebx
mov dword [esi + 0xdbc0], ebx
mov dword [esi + 0xe054], ebx
mov dword [esi + 0xe058], ebx
mov dword [esi + 0xe070], ebx
mov dword [esi + 0xe074], ebx
mov byte [0x46f414], bl
mov dword [esi + 0xdbcc], ebx
mov dword [esi + 0xdbc8], ebx
mov dword [esi + 0xdbd0], ebx
mov dword [esi], ebx
mov dword [esi + 0xe084], ebx
mov dword [esi + 0xe078], ebx
mov dword [esi + 0xe07c], ebx
mov dword [esi + 0xdbc4], ebx
mov dword [esi + 0xe080], ebx
mov ebp, dword [esi + 0xdb98]
mov edi, dword [ebp]
cmp edi, ebp
je 0x413c2d
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.00449d1e
mov ecx, dword [esi + 0xdb9c]
add esp, 4
dec ecx
cmp edi, ebp
mov dword [esi + 0xdb9c], ecx
jne 0x413c00
mov ebp, dword [esi + 0xdb8c]
mov edi, dword [ebp]
cmp edi, ebp
je 0x413c67
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.00449d1e
mov ecx, dword [esi + 0xdb90]
add esp, 4
dec ecx
cmp edi, ebp
mov dword [esi + 0xdb90], ecx
jne 0x413c3a
mov dword [esi + 0xdba0], ebx
mov dword [esi + 0xdba4], ebx
call dword [sym.imp.WINMM.dll_timeGetTime]
lea edx, [esp + 0x18]
push 0x104
push edx
push ebx
mov dword [esi + 0xdba8], eax
mov dword [esi + 0xe0b8], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xe0dc], ebx
mov dword [esi + 0xe0fc], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x413cfb
lea eax, [esp + 0x18]
push 0x5c
push eax
call fcn.0044a480
add esp, 8
cmp eax, ebx
je 0x413dc4
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 [0x4640b4]
mov eax, dword [0x4640b8]
dec edi
mov dword [edi], ecx
mov cx, word [0x4640bc]
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 + 0xe104], ebx
mov dword [esi + 0xe10c], ebx
mov dword [esi + 0xe108], ebx
mov dword [esi + 0xe100], ebx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0xe0fc], eax
je 0x413d7a
push str.UnSetHooks
push eax
call edi
mov dword [esi + 0xe104], eax
mov eax, dword [esi + 0xe0fc]
push str.SetMouseFilterHook
push eax
call edi
mov ecx, dword [esi + 0xe0fc]
push str.SetKeyboardFilterHook
push ecx
mov dword [esi + 0xe10c], eax
call edi
mov edx, dword [esi + 0xe0fc]
push str.SetHooks
push edx
mov dword [esi + 0xe108], eax
call edi
mov dword [esi + 0xe100], eax
mov dword [esi + 0xe0e8], ebx
push str.USER32
mov byte [0x46f404], 1
call ebp
push str.BlockInput
push eax
mov dword [esi + 0xe114], eax
call edi
mov dword [esi + 0xe110], eax
mov dword [esi + 0xe118], ebx
mov dword [esi + 0xe11c], ebx
mov dword [esi + 0xe120], ebx
mov dword [esi + 0xe12c], ebx
mov dword [esi + 0xe1d0], 3
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