Function at 0x405f34
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x405f3c
push ecx
push ebx
push esi
mov ebx, dword [0x4070f4]
mov esi, dword [0x407110]
xor eax, eax
push ebp
push 0x406391
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov eax, dword [0x407130]
mov eax, dword [eax]
mov edx, 1
call fcn.00404a10
lea ecx, [ebp - 8]
mov eax, dword [0x4070ec]
mov eax, dword [eax]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 4]
call fcn.00403514
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
mov eax, dword [ebp - 8]
call fcn.00403514
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.0040334c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx]
call fcn.00404b5c
mov edx, dword [0x4070b8]
mov dword [edx], eax
lea edx, [ebp - 0x10]
mov eax, 1
call fcn.00405164
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 4]
call fcn.00403514
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
lea edx, [ebp - 0x14]
mov eax, 2
call fcn.00405164
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 8]
call fcn.00403514
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.0040334c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx]
call fcn.00404b5c
mov dword [esi], eax
lea edx, [ebp - 0x1c]
mov eax, 3
call fcn.00405164
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 8]
call fcn.00403514
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [esi]
call eax
mov edx, dword [0x4070b4]
mov dword [edx], eax
lea edx, [ebp - 0x20]
mov eax, 0xc
call fcn.00405164
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 8]
call fcn.00403514
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [0x4070f0]
mov dword [edx], eax
lea edx, [ebp - 0x24]
mov eax, 0xd
call fcn.00405164
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 8]
call fcn.00403514
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [0x407120]
mov dword [edx], eax
lea edx, [ebp - 0x28]
mov eax, 0xe
call fcn.00405164
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 8]
call fcn.00403514
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [0x407118]
mov dword [edx], eax
mov eax, dword [0x407118]
cmp dword [eax], 0
je 0x406376
lea edx, [ebp - 0x2c]
mov eax, 0xf
call fcn.00405164
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 8]
call fcn.00403514
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [0x4070e0]
mov dword [edx], eax
lea edx, [ebp - 0x30]
mov eax, 0x10
call fcn.00405164
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 8]
call fcn.00403514
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [0x4070e8]
mov dword [edx], eax
lea edx, [ebp - 0x34]
mov eax, 0x11
call fcn.00405164
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 8]
call fcn.00403514
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [0x4070e4]
mov dword [edx], eax
lea edx, [ebp - 0x38]
mov eax, 0x12
call fcn.00405164
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 8]
call fcn.00403514
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [0x4070f8]
mov dword [edx], eax
lea edx, [ebp - 0x3c]
mov eax, 4
call fcn.00405164
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 8]
call fcn.00403514
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [esi]
call eax
mov edx, dword [0x4070c4]
mov dword [edx], eax
lea edx, [ebp - 0x40]
mov eax, 5
call fcn.00405164
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 8]
call fcn.00403514
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [esi]
call eax
mov edx, dword [0x40712c]
mov dword [edx], eax
lea edx, [ebp - 0x44]
mov eax, 6
call fcn.00405164
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 8]
call fcn.00403514
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [esi]
call eax
mov edx, dword [0x40711c]
mov dword [edx], eax
lea edx, [ebp - 0x48]
mov eax, 0xa
call fcn.00405164
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 8]
call fcn.00403514
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [esi]
call eax
mov edx, dword [0x407128]
mov dword [edx], eax
lea edx, [ebp - 0x4c]
mov eax, 0xb
call fcn.00405164
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 8]
call fcn.00403514
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [esi]
call eax
mov edx, dword [0x407104]
mov dword [edx], eax
lea edx, [ebp - 0x50]
mov eax, 7
call fcn.00405164
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 4]
mov edx, 1
call fcn.00404a10
lea edx, [ebp - 0x54]
mov eax, 8
call fcn.00405164
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00404a10
mov eax, dword [ebp - 4]
call fcn.00403514
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
mov eax, dword [ebp - 8]
call fcn.00403514
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [esi]
call eax
mov edx, dword [0x407100]
mov dword [edx], eax
lea edx, [ebp - 0x5c]
mov eax, 9
call fcn.00405164
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
mov edx, 1
call fcn.00404a10
mov edx, dword [ebp - 0x58]
mov eax, dword [0x4070d4]
call fcn.00403270
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406398
lea eax, [ebp - 0x5c]
mov edx, 0x17
call fcn.00403240
ret