Function at 0x40c9f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x40c9f8
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x40ca0f
add esp, 0xfffffff0
call fcn.00402d18
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [0x4160fc]
xor eax, eax
push ebp
push 0x40d1ac
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x40cb5d
lea eax, [ebp - 8]
push eax
mov eax, 0xf
call fcn.00405a8c
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00403740
mov edx, dword [ebp - 0xc]
mov eax, dword [esi]
xor ecx, ecx
call fcn.004041dc
mov eax, dword [ebp - 8]
call fcn.004037e4
push eax
call sub.kernel32.dll_GetModuleHandleA
mov edi, eax
mov dword [ebx + 0x448], edi
test edi, edi
jne 0x40cbd3
lea eax, [ebp - 0x10]
push eax
mov eax, 0xf
call fcn.00405a8c
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00403740
mov edx, dword [ebp - 0x14]
mov eax, dword [esi]
xor ecx, ecx
call fcn.004041dc
mov eax, dword [ebp - 0x10]
call fcn.004037e4
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx + 0x448], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x11
call fcn.00405a8c
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00403740
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi]
xor ecx, ecx
call fcn.004041dc
mov eax, dword [ebp - 0x18]
call fcn.004037e4
push eax
call sub.kernel32.dll_GetModuleHandleA
mov edi, eax
mov dword [ebx + 0x44c], edi
test edi, edi
jne 0x40cd85
lea eax, [ebp - 0x20]
push eax
mov eax, 0x11
call fcn.00405a8c
mov edx, eax
lea eax, [ebp - 0x24]
call fcn.00403740
mov edx, dword [ebp - 0x24]
mov eax, dword [esi]
xor ecx, ecx
call fcn.004041dc
mov eax, dword [ebp - 0x20]
call fcn.004037e4
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx + 0x44c], eax
jmp 0x40cd85
lea eax, [ebp - 0x28]
push eax
mov eax, 0x26
call fcn.00405a8c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403740
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi]
xor ecx, ecx
call fcn.004041dc
mov eax, dword [ebp - 0x28]
call fcn.004037e4
push eax
mov eax, dword [ebx + 0x44c]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [ebx + 0x14], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x27
call fcn.00405a8c
mov edx, eax
lea eax, [ebp - 0x34]
call fcn.00403740
mov edx, dword [ebp - 0x34]
mov eax, dword [esi]
xor ecx, ecx
call fcn.004041dc
mov eax, dword [ebp - 0x30]
call fcn.004037e4
push eax
mov eax, dword [ebx + 0x44c]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [ebx + 0x18], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0x28
call fcn.00405a8c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403740
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi]
xor ecx, ecx
call fcn.004041dc
mov eax, dword [ebp - 0x38]
call fcn.004037e4
push eax
mov eax, dword [ebx + 0x44c]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [ebx + 0x1c], eax
jmp 0x40cf70
lea eax, [ebp - 0x40]
push eax
mov eax, 0x18
call fcn.00405a8c
mov edx, eax
lea eax, [ebp - 0x44]
call fcn.00403740
mov edx, dword [ebp - 0x44]
mov eax, dword [esi]
xor ecx, ecx
call fcn.004041dc
mov eax, dword [ebp - 0x40]
call fcn.004037e4
push eax
mov eax, dword [ebx + 0x448]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [ebx + 4], eax
lea eax, [ebp - 0x48]
push eax
mov eax, 0x19
call fcn.00405a8c
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00403740
mov edx, dword [ebp - 0x4c]
mov eax, dword [esi]
xor ecx, ecx
call fcn.004041dc
mov eax, dword [ebp - 0x48]
call fcn.004037e4
push eax
mov eax, dword [ebx + 0x448]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [ebx + 8], eax
lea eax, [ebp - 0x50]
push eax
mov eax, 0x1a
call fcn.00405a8c
mov edx, eax
lea eax, [ebp - 0x54]
call fcn.00403740
mov edx, dword [ebp - 0x54]
mov eax, dword [esi]
xor ecx, ecx
call fcn.004041dc
mov eax, dword [ebp - 0x50]
call fcn.004037e4
push eax
mov eax, dword [ebx + 0x448]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x58]
push eax
mov eax, 0x1b
call fcn.00405a8c
mov edx, eax
lea eax, [ebp - 0x5c]
call fcn.00403740
mov edx, dword [ebp - 0x5c]
mov eax, dword [esi]
xor ecx, ecx
call fcn.004041dc
mov eax, dword [ebp - 0x58]
call fcn.004037e4
push eax
mov eax, dword [ebx + 0x448]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [ebx + 0x10], eax
jmp 0x40d18a
mov byte [ebx + 0x450], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d1b3
lea eax, [ebp - 0x5c]
mov edx, 0x16
call fcn.00403660
ret