Function at 0x10053a10
Capabilities:
Create directory
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a528
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push esi
mov eax, dword [0x100a7010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push str.revlimiter
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.C:WINDOWS_system32dinput8.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x100a7ce8], eax
test eax, eax
je 0x10053c6b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10081ea0
push eax
call esi
mov dword [0x100a7a2c], eax
test eax, eax
jne 0x10053aad
push str.Cant_find_function_DirectInput8Create
lea ecx, [ebp - 0x54]
call fcn.10053e70
push str._nError_code:
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.10053d40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.10053960
mov byte [ebp - 4], 3
jmp 0x10053ca1
push 0x10081edc
push dword [0x100a7ce8]
call esi
mov dword [0x100a7a30], eax
test eax, eax
jne 0x10053afe
push str.Cant_find_function_DllCanUnloadNow
lea ecx, [ebp - 0x54]
call fcn.10053e70
push str._nError_code:
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.10053d40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.10053960
mov byte [ebp - 4], 5
jmp 0x10053ca1
push 0x10081f10
push dword [0x100a7ce8]
call esi
mov dword [0x100a7a28], eax
test eax, eax
jne 0x10053b4f
push str.Cant_find_function_DllGetClassObject
lea ecx, [ebp - 0x54]
call fcn.10053e70
push str._nError_code:
mov ecx, eax
mov dword [ebp - 4], 6
call fcn.10053d40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.10053960
mov byte [ebp - 4], 7
jmp 0x10053ca1
push 0x10081f4c
push dword [0x100a7ce8]
call esi
mov dword [0x100a7a34], eax
test eax, eax
jne 0x10053ba0
push str.Cant_find_function_DllRegisterServer
lea ecx, [ebp - 0x54]
call fcn.10053e70
push str._nError_code:
mov ecx, eax
mov dword [ebp - 4], 8
call fcn.10053d40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.10053960
mov byte [ebp - 4], 9
jmp 0x10053ca1
push 0x10081f88
push dword [0x100a7ce8]
call esi
mov dword [0x100a7a24], eax
test eax, eax
jne 0x10053bf1
push str.Cant_find_function_DllUnregisterServer
lea ecx, [ebp - 0x54]
call fcn.10053e70
push str._nError_code:
mov ecx, eax
mov dword [ebp - 4], 0xa
call fcn.10053d40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.10053960
mov byte [ebp - 4], 0xb
jmp 0x10053ca1
push 0x10081fc4
push dword [0x100a7ce8]
call esi
mov dword [0x100a7a38], eax
test eax, eax
jne 0x10053c5b
push str.Cant_find_function_GetdfDIJoystick
lea ecx, [ebp - 0x6c]
call fcn.10053e70
push str._nError_code:
mov ecx, eax
mov dword [ebp - 4], 0xc
call fcn.10053d40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x84]
call fcn.10053960
push eax
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.10053db0
push eax
lea ecx, [ebp - 0x24]
call fcn.100538c0
push 0x100a5050
lea eax, [ebp - 0x24]
jmp 0x10053cba
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.Cant_load_original_dinput8.dll
lea ecx, [ebp - 0x3c]
call fcn.10053e70
push str._nError_code:
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10053d40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.10053960
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.10053db0
push eax
lea ecx, [ebp - 0x18]
call fcn.100538c0
push 0x100a5050
lea eax, [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3