Function at 0x401d40
Capabilities:
Create directory
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b6bd
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4220c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], 0
lea eax, [ebp - 0x11c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x104
ja 0x401da2
cmp dword [ebp - 0x120], 0
jne 0x401da9
xor al, al
jmp 0x402149
push 0x41e1a0
lea ecx, [ebp - 0x13c]
call fcn.004050f0
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 4], 0
push 6
lea edx, [ebp - 0x158]
push edx
call fcn.00401c20
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f4], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x174]
call fcn.004050f0
mov dword [ebp - 0x1f8], eax
mov edx, dword [ebp - 0x1f8]
mov dword [ebp - 0x1fc], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1f4]
push eax
mov ecx, dword [ebp - 0x1fc]
push ecx
lea edx, [ebp - 0x190]
push edx
call fcn.004045c0
add esp, 0xc
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x204], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1ec]
push ecx
mov edx, dword [ebp - 0x204]
push edx
lea eax, [ebp - 0x1ac]
push eax
call fcn.004045c0
add esp, 0xc
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x20c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x20c]
push edx
mov ecx, 0x4242b0
call fcn.00403720
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ac]
call fcn.00404830
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x190]
call fcn.00404830
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x174]
call fcn.00404830
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x158]
call fcn.00404830
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00404830
push str.feature.dll
lea ecx, [ebp - 0x1c8]
call fcn.004050f0
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x214], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x214]
push ecx
push 0x4242b0
lea edx, [ebp - 0x1e4]
push edx
call fcn.004045c0
add esp, 0xc
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x21c]
push ecx
mov ecx, 0x4242cc
call fcn.00403720
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1e4]
call fcn.00404830
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c8]
call fcn.00404830
push 0
mov ecx, 0x4242b0
call fcn.00404760
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x81
mov ecx, 0x4242cc
call fcn.00404760
push eax
call fcn.00401a70
movzx edx, al
test edx, edx
jne 0x401fa5
xor al, al
jmp 0x402149
mov ecx, 0x4242cc
call fcn.00404760
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x424140], eax
cmp dword [0x424140], 0
jne 0x401fcb
xor al, al
jmp 0x402149
push 1
mov eax, dword [0x424140]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x424130], eax
push 3
mov ecx, dword [0x424140]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x42412c], eax
push 0xa
mov edx, dword [0x424140]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x424128], eax
push 2
mov eax, dword [0x424140]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x424124], eax
push 7
mov ecx, dword [0x424140]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x424120], eax
push 0x12
mov edx, dword [0x424140]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x42411c], eax
push 0xc
mov eax, dword [0x424140]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x424118], eax
push 6
mov ecx, dword [0x424140]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x424114], eax
push 4
mov edx, dword [0x424140]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x424110], eax
push 0x10
mov eax, dword [0x424140]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x42410c], eax
push 5
mov ecx, dword [0x424140]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x424108], eax
push 0x11
mov edx, dword [0x424140]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x424104], eax
push 0x14
mov eax, dword [0x424140]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x424100], eax
cmp dword [0x424130], 0
je 0x402136
cmp dword [0x42412c], 0
je 0x402136
cmp dword [0x424128], 0
je 0x402136
cmp dword [0x424120], 0
je 0x402136
cmp dword [0x424118], 0
je 0x402136
cmp dword [0x424114], 0
je 0x402136
cmp dword [0x424124], 0
je 0x402136
cmp dword [0x424110], 0
je 0x402136
cmp dword [0x42410c], 0
je 0x402136
cmp dword [0x424108], 0
je 0x402136
cmp dword [0x424104], 0
je 0x402136
cmp dword [0x424100], 0
jne 0x402147
mov ecx, dword [0x424140]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x402149
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040bfa4
mov esp, ebp
pop ebp
ret