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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aba61
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x100f2010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x100d774c
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0xb0
call fcn.1008512f
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x10], 0
je 0x1007ad57
push 0xb0
mov ecx, dword [ebp - 0x10]
call fcn.1007abe0
push 1
push 0x40
push 2
push str.revlimiter_called.txt
mov ecx, dword [ebp - 0x10]
call fcn.1007c730
mov dword [ebp - 0x14], eax
jmp 0x1007ad5e
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [0x100f415c], ecx
push str.C:WINDOWS_system32dinput8.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x100f4234], eax
cmp dword [0x100f4234], 0
jne 0x1007ae3a
push str.Cant_load_original_dinput8.dll
lea ecx, [ebp - 0x160]
call fcn.1007cb60
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
push 0x100d7850
mov ecx, dword [ebp - 0x24]
call fcn.1007ca40
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x148]
push ecx
call fcn.10079770
add esp, 8
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.1007ca70
push eax
lea ecx, [ebp - 0xe8]
call fcn.10079710
push 0x100f0cd4
lea edx, [ebp - 0xe8]
push edx
call fcn.100878ca
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
call fcn.1007cab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.1007cab0
push 0x100d7860
mov eax, dword [0x100f4234]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100f4198], eax
cmp dword [0x100f4198], 0
jne 0x1007af06
push str.Cant_find_function_DirectInput8Create
lea ecx, [ebp - 0x190]
call fcn.1007cb60
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
push 0x100d789c
mov ecx, dword [ebp - 0x40]
call fcn.1007ca40
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.10079770
add esp, 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.1007ca70
push eax
lea ecx, [ebp - 0xf4]
call fcn.10079710
push 0x100f0cd4
lea ecx, [ebp - 0xf4]
push ecx
call fcn.100878ca
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x178]
call fcn.1007cab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x190]
call fcn.1007cab0
push 0x100d78ac
mov edx, dword [0x100f4234]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100f419c], eax
cmp dword [0x100f419c], 0
jne 0x1007afd3
push str.Cant_find_function_DllCanUnloadNow
lea ecx, [ebp - 0x1c0]
call fcn.1007cb60
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
push 0x100d78e0
mov ecx, dword [ebp - 0x5c]
call fcn.1007ca40
mov dword [ebp - 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x1a8]
push edx
call fcn.10079770
add esp, 8
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x6c]
call fcn.1007ca70
push eax
lea ecx, [ebp - 0x100]
call fcn.10079710
push 0x100f0cd4
lea eax, [ebp - 0x100]
push eax
call fcn.100878ca
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1a8]
call fcn.1007cab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c0]
call fcn.1007cab0
push 0x100d78f0
mov ecx, dword [0x100f4234]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100f4194], eax
cmp dword [0x100f4194], 0
jne 0x1007b0ac
push str.Cant_find_function_DllGetClassObject
lea ecx, [ebp - 0x1f0]
call fcn.1007cb60
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x74], edx
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
push 0x100d792c
mov ecx, dword [ebp - 0x78]
call fcn.1007ca40
mov dword [ebp - 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x1d8]
push ecx
call fcn.10079770
add esp, 8
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0x88]
call fcn.1007ca70
push eax
lea ecx, [ebp - 0x10c]
call fcn.10079710
push 0x100f0cd4
lea edx, [ebp - 0x10c]
push edx
call fcn.100878ca
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1d8]
call fcn.1007cab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.1007cab0
push 0x100d793c
mov eax, dword [0x100f4234]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100f41a0], eax
cmp dword [0x100f41a0], 0
jne 0x1007b1a2
push str.Cant_find_function_DllRegisterServer
lea ecx, [ebp - 0x220]
call fcn.1007cb60
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 4], 9
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
push 0x100d7978
mov ecx, dword [ebp - 0x94]
call fcn.1007ca40
mov dword [ebp - 0xa4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.10079770
add esp, 8
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa4]
call fcn.1007ca70
push eax
lea ecx, [ebp - 0x118]
call fcn.10079710
push 0x100f0cd4
lea ecx, [ebp - 0x118]
push ecx
call fcn.100878ca
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x208]
call fcn.1007cab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.1007cab0
push 0x100d7988
mov edx, dword [0x100f4234]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100f4190], eax
cmp dword [0x100f4190], 0
jne 0x1007b299
push str.Cant_find_function_DllUnregisterServer
lea ecx, [ebp - 0x250]
call fcn.1007cb60
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
push 0x100d79c4
mov ecx, dword [ebp - 0xb0]
call fcn.1007ca40
mov dword [ebp - 0xc0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x238]
push edx
call fcn.10079770
add esp, 8
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0xbc]
push edx
mov ecx, dword [ebp - 0xc0]
call fcn.1007ca70
push eax
lea ecx, [ebp - 0x124]
call fcn.10079710
push 0x100f0cd4
lea eax, [ebp - 0x124]
push eax
call fcn.100878ca
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x238]
call fcn.1007cab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.1007cab0
push 0x100d79d4
mov ecx, dword [0x100f4234]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100f41a4], eax
cmp dword [0x100f41a4], 0
jne 0x1007b390
push str.Cant_find_function_GetdfDIJoystick
lea ecx, [ebp - 0x280]
call fcn.1007cb60
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], edx
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
push 0x100d7a08
mov ecx, dword [ebp - 0xcc]
call fcn.1007ca40
mov dword [ebp - 0xdc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.10079770
add esp, 8
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.1007ca70
push eax
lea ecx, [ebp - 0x130]
call fcn.10079710
push 0x100f0cd4
lea edx, [ebp - 0x130]
push edx
call fcn.100878ca
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x268]
call fcn.1007cab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.1007cab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret