Function at 0x101db53
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x380
mov eax, dword [0x10413a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10436a0]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x37c], esi
mov dword [ebp - 0x380], edi
cmp eax, ebx
jne 0x101db8e
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 0x378], eax
mov eax, dword [esi + 0xc]
cmp word [eax + 0x3a], 0xf
jne 0x101dbd1
push edi
push 0xb0
call fcn.010281fa
push eax
lea eax, [ebp - 0x270]
push 0x168
push eax
call fcn.01007bcb
add esp, 0x10
lea eax, [ebp - 0x270]
push eax
call fcn.0102b50a
xor eax, eax
jmp 0x101ddda
cmp dword [0x1043bf0], ebx
jne 0x101dc7c
push 1
push 0x32
call fcn.010281fa
push eax
call fcn.010118a2
mov edi, eax
cmp edi, ebx
je 0x101dbca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1004e68
push edi
call esi
push 0x1004e74
push edi
mov dword [0x1043bf0], eax
call esi
push 0x1004e80
push edi
mov dword [0x1043bec], eax
call esi
push 0x1004e90
push edi
mov dword [0x1043be8], eax
call esi
push 0x1004ea0
push edi
mov dword [0x1043be4], eax
call esi
mov dword [0x1043be0], eax
cmp dword [0x1043bf0], ebx
je 0x101dc65
cmp dword [0x1043bec], ebx
je 0x101dc65
cmp dword [0x1043be8], ebx
je 0x101dc65
cmp dword [0x1043be4], ebx
je 0x101dc65
cmp eax, ebx
je 0x101dc65
cmp dword [0x1041a00], ebx
jne 0x101dc70
mov dword [0x1043bf0], ebx
jmp 0x101dbca
mov edi, dword [ebp - 0x380]
mov esi, dword [ebp - 0x37c]
cmp dword [0x1043854], ebx
je 0x101dcad
push edi
push 0x37
call fcn.010281fa
push eax
lea eax, [ebp - 0x270]
push 0x168
push eax
call fcn.01007bcb
add esp, 0x10
lea eax, [ebp - 0x270]
push eax
call fcn.0102965e
push dword [0x1043894]
push fcn.0103aba9
call dword [0x1041a00]
push dword [ebp + 0x10]
movzx eax, word [0x1040aac]
push dword [ebp - 0x378]
push eax
mov eax, dword [esi + 0xc]
push ebx
push dword [eax + 0x3e]
push edi
call dword [0x1043bf0]
cmp eax, ebx
mov dword [0x1040a94], eax
jle 0x101dbca
push esi
call fcn.0101da2d
mov esi, eax
cmp esi, ebx
jne 0x101ddbd
push edi
mov esi, 0x104
push esi
lea eax, [ebp - 0x374]
push eax
call fcn.0100e041
push 0x1005014
push esi
lea eax, [ebp - 0x374]
push eax
call fcn.0103210b
push esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, dword [sym.imp.msvcrt.dll_strrchr]
lea eax, [ebp - 0x108]
push 0x5c
push eax
call edi
pop ecx
pop ecx
cmp eax, ebx
jne 0x101dd5e
push dword [0x10413bc]
push 1
push 0x1004f08
call fcn.0103d72e
push 0xe
call dword [sym.imp.msvcrt.dll_exit]
push 0x1004efc
mov byte [eax + 1], bl
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.01007b2f
lea eax, [ebp - 0x374]
push 0x5c
push eax
call edi
pop ecx
pop ecx
cmp eax, ebx
jne 0x101dd9a
push dword [0x10413c8]
push 1
push 0x1004eb0
call fcn.0103d72e
push 0xd
jmp 0x101dd58
push eax
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.01007b2f
lea eax, [ebp - 0x108]
push eax
push dword [0x1040a94]
call dword [0x1043bec]
mov esi, eax
push dword [0x1040a94]
call dword [0x1043be0]
or dword [0x1040a94], 0xffffffff
push ebx
push ebx
call dword [0x1041a00]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0103d1ec
leave
ret 0xc