Function at 0x40c810
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x40c818
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x40cdaf
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, 0x40cdc8
call fcn.00404d24
mov edx, dword [ebp - 4]
mov eax, 0x41c228
call fcn.004031d0
lea edx, [ebp - 8]
mov eax, 0x40cde4
call fcn.00404d24
mov edx, dword [ebp - 8]
mov eax, 0x41c238
call fcn.004031d0
lea edx, [ebp - 0xc]
mov eax, 0x40ce04
call fcn.00404d24
mov edx, dword [ebp - 0xc]
mov eax, 0x41c23c
call fcn.004031d0
lea edx, [ebp - 0x10]
mov eax, 0x40ce18
call fcn.00404d24
mov edx, dword [ebp - 0x10]
mov eax, 0x41c240
call fcn.004031d0
lea edx, [ebp - 0x14]
mov eax, 0x40ce30
call fcn.00404d24
mov edx, dword [ebp - 0x14]
mov eax, 0x41c244
call fcn.004031d0
lea edx, [ebp - 0x18]
mov eax, 0x40ce44
call fcn.00404d24
mov edx, dword [ebp - 0x18]
mov eax, 0x41c258
call fcn.004031d0
lea edx, [ebp - 0x1c]
mov eax, 0x40ce58
call fcn.00404d24
mov edx, dword [ebp - 0x1c]
mov eax, 0x41c260
call fcn.004031d0
lea edx, [ebp - 0x20]
mov eax, 0x40ce70
call fcn.00404d24
mov edx, dword [ebp - 0x20]
mov eax, 0x41c264
call fcn.004031d0
lea edx, [ebp - 0x24]
mov eax, 0x40ce80
call fcn.00404d24
mov edx, dword [ebp - 0x24]
mov eax, 0x41c268
call fcn.004031d0
lea edx, [ebp - 0x28]
mov eax, 0x40ce94
call fcn.00404d24
mov edx, dword [ebp - 0x28]
mov eax, 0x41c270
call fcn.004031d0
lea edx, [ebp - 0x2c]
mov eax, 0x40cea4
call fcn.00404d24
mov edx, dword [ebp - 0x2c]
mov eax, 0x41c26c
call fcn.004031d0
lea edx, [ebp - 0x30]
mov eax, 0x40ceb4
call fcn.00404d24
mov edx, dword [ebp - 0x30]
mov eax, 0x41c25c
call fcn.004031d0
lea edx, [ebp - 0x34]
mov eax, 0x40cec8
call fcn.00404d24
mov edx, dword [ebp - 0x34]
mov eax, 0x41c274
call fcn.004031d0
lea edx, [ebp - 0x38]
mov eax, 0x40cee8
call fcn.00404d24
mov edx, dword [ebp - 0x38]
mov eax, 0x41c278
call fcn.004031d0
lea edx, [ebp - 0x3c]
mov eax, 0x40cf0c
call fcn.00404d24
mov edx, dword [ebp - 0x3c]
mov eax, 0x41c21c
call fcn.004031d0
lea edx, [ebp - 0x40]
mov eax, 0x40cf24
call fcn.00404d24
mov edx, dword [ebp - 0x40]
mov eax, 0x41c230
call fcn.004031d0
lea edx, [ebp - 0x44]
mov eax, 0x40cf38
call fcn.00404d24
mov edx, dword [ebp - 0x44]
mov eax, 0x41c22c
call fcn.004031d0
lea edx, [ebp - 0x48]
mov eax, 0x40cf50
call fcn.00404d24
mov edx, dword [ebp - 0x48]
mov eax, 0x41c234
call fcn.004031d0
lea edx, [ebp - 0x4c]
mov eax, 0x40cf68
call fcn.00404d24
mov edx, dword [ebp - 0x4c]
mov eax, 0x41c224
call fcn.004031d0
lea edx, [ebp - 0x50]
mov eax, 0x40cf88
call fcn.00404d24
mov edx, dword [ebp - 0x50]
mov eax, 0x41c220
call fcn.004031d0
lea edx, [ebp - 0x54]
mov eax, 0x40cfa0
call fcn.00404d24
mov edx, dword [ebp - 0x54]
mov eax, 0x41c248
call fcn.004031d0
lea edx, [ebp - 0x58]
mov eax, 0x40cfbc
call fcn.00404d24
mov edx, dword [ebp - 0x58]
mov eax, 0x41c24c
call fcn.004031d0
lea edx, [ebp - 0x5c]
mov eax, 0x40cfec
call fcn.00404d24
mov edx, dword [ebp - 0x5c]
mov eax, 0x41c250
call fcn.004031d0
lea edx, [ebp - 0x60]
mov eax, 0x40cff8
call fcn.00404d24
mov edx, dword [ebp - 0x60]
mov eax, 0x41c254
call fcn.004031d0
push 0x40d00c
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x40cb7b
lea edx, [ebp - 0x64]
mov eax, 0x40d024
call fcn.00404d24
mov eax, dword [ebp - 0x64]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40f9d0], eax
lea edx, [ebp - 0x68]
mov eax, 0x40d040
call fcn.00404d24
mov eax, dword [ebp - 0x68]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40f9d4], eax
lea edx, [ebp - 0x6c]
mov eax, 0x40d064
call fcn.00404d24
mov eax, dword [ebp - 0x6c]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40f9d8], eax
lea edx, [ebp - 0x70]
mov eax, 0x40d084
call fcn.00404d24
mov eax, dword [ebp - 0x70]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40f9dc], eax
lea edx, [ebp - 0x74]
mov eax, 0x40d0a0
call fcn.00404d24
mov eax, dword [ebp - 0x74]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40f9e0], eax
lea edx, [ebp - 0x78]
mov eax, 0x40d0c4
call fcn.00404d24
mov eax, dword [ebp - 0x78]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40f9e4], eax
lea edx, [ebp - 0x7c]
mov eax, 0x40d0e0
call fcn.00404d24
mov eax, dword [ebp - 0x7c]
call fcn.004035bc
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x40cc84
lea edx, [ebp - 0x80]
mov eax, 0x40d0f0
call fcn.00404d24
mov eax, dword [ebp - 0x80]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40f9e8], eax
lea edx, [ebp - 0x84]
mov eax, 0x40d108
call fcn.00404d24
mov eax, dword [ebp - 0x84]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40f9ec], eax
lea edx, [ebp - 0x88]
mov eax, 0x40d124
call fcn.00404d24
mov eax, dword [ebp - 0x88]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40f9fc], eax
lea edx, [ebp - 0x8c]
mov eax, 0x40d144
call fcn.00404d24
mov eax, dword [ebp - 0x8c]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40f9f0], eax
lea edx, [ebp - 0x90]
mov eax, 0x40d164
call fcn.00404d24
mov eax, dword [ebp - 0x90]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40f9f4], eax
lea edx, [ebp - 0x94]
mov eax, 0x40d180
call fcn.00404d24
mov eax, dword [ebp - 0x94]
call fcn.004035bc
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40f9f8], eax
mov edi, 0x2f
mov ebx, 0x40e144
mov esi, 0x40f8e8
lea edx, [ebp - 0x98]
mov eax, dword [ebx]
call fcn.00404d24
mov edx, dword [ebp - 0x98]
mov eax, esi
call fcn.004031d0
add esi, 4
add ebx, 4
dec edi
jne 0x40cc93
call fcn.004060a4
mov byte [0x41c204], al
lea edx, [ebp - 0x9c]
mov eax, 0x40d198
call fcn.00404d24
mov eax, dword [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
call fcn.0040c210
mov edx, dword [ebp - 0xa0]
mov eax, 0x41c218
pop ecx
call fcn.00403408
cmp byte [0x41c204], 0
jne 0x40cd87
lea edx, [ebp - 0xa4]
mov eax, 0x40d1a8
call fcn.00404d24
mov eax, dword [ebp - 0xa4]
call fcn.004035bc
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x41c210], eax
cmp dword [0x41c210], 0
je 0x40cd87
lea edx, [ebp - 0xa8]
mov eax, 0x40d1c0
call fcn.00404d24
mov eax, dword [ebp - 0xa8]
call fcn.004035bc
push eax
mov eax, dword [0x41c210]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x41c208], eax
lea edx, [ebp - 0xac]
mov eax, 0x40d1dc
call fcn.00404d24
mov eax, dword [ebp - 0xac]
call fcn.004035bc
push eax
mov eax, dword [0x41c210]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x41c20c], eax
mov al, byte [0x41c204]
call fcn.004055e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cdb6
lea eax, [ebp - 0xac]
mov edx, 0x2b
call fcn.004031a0
ret