Function at 0x405eb8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x405ec0
push ecx
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x406d0c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov eax, 0xe
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00403740
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x10]
call fcn.004037e4
push eax
call sub.kernel32.dll_GetModuleHandleA
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0xf
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00403740
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x18]
call fcn.004037e4
push eax
call sub.kernel32.dll_GetModuleHandleA
mov edx, dword [ebp - 4]
mov dword [edx + 0x8c], eax
jmp 0x406046
lea eax, [ebp - 0x20]
push eax
mov eax, 0x10
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x24]
call fcn.00403740
mov edx, dword [ebp - 0x24]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x20]
call fcn.004037e4
push eax
call sub.kernel32.dll_GetModuleHandleA
mov edx, dword [ebp - 4]
mov dword [edx + 0x90], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x11
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403740
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x28]
call fcn.004037e4
push eax
call sub.kernel32.dll_GetModuleHandleA
mov edx, dword [ebp - 4]
mov dword [edx + 0x98], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x12
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x34]
call fcn.00403740
mov edx, dword [ebp - 0x34]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x30]
call fcn.004037e4
push eax
call sub.kernel32.dll_GetModuleHandleA
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
jmp 0x40621c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
je 0x406cea
mov eax, dword [ebp - 4]
cmp dword [eax + 0x8c], 0
je 0x406cea
mov eax, dword [ebp - 4]
cmp dword [eax + 0x90], 0
je 0x406cea
mov eax, dword [ebp - 4]
cmp dword [eax + 0x98], 0
je 0x406cea
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9c], 0
je 0x406cea
lea eax, [ebp - 0x38]
push eax
mov eax, 0x14
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403740
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x38]
call fcn.004037e4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
lea eax, [ebp - 0x40]
push eax
mov eax, 0x16
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x44]
call fcn.00403740
mov edx, dword [ebp - 0x44]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x40]
call fcn.004037e4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
lea eax, [ebp - 0x48]
push eax
mov eax, 0x15
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00403740
mov edx, dword [ebp - 0x4c]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x48]
call fcn.004037e4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
jmp 0x406457
lea eax, [ebp - 0x50]
push eax
mov eax, 0x17
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x54]
call fcn.00403740
mov edx, dword [ebp - 0x54]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x50]
call fcn.004037e4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
lea eax, [ebp - 0x58]
push eax
mov eax, 0x18
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x5c]
call fcn.00403740
mov edx, dword [ebp - 0x5c]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x58]
call fcn.004037e4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
lea eax, [ebp - 0x60]
push eax
mov eax, 0x19
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x64]
call fcn.00403740
mov edx, dword [ebp - 0x64]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x60]
call fcn.004037e4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
jmp 0x406623
lea eax, [ebp - 0x68]
push eax
mov eax, 0x1d
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x6c]
call fcn.00403740
mov edx, dword [ebp - 0x6c]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x68]
call fcn.004037e4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
lea eax, [ebp - 0x70]
push eax
mov eax, 0x1c
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x74]
call fcn.00403740
mov edx, dword [ebp - 0x74]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x70]
call fcn.004037e4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
lea eax, [ebp - 0x78]
push eax
mov eax, 0x22
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x7c]
call fcn.00403740
mov edx, dword [ebp - 0x7c]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x78]
call fcn.004037e4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
jmp 0x4067f5
lea eax, [ebp - 0x80]
push eax
mov eax, 0x20
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x84]
call fcn.00403740
mov edx, dword [ebp - 0x84]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x80]
call fcn.004037e4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
lea eax, [ebp - 0x88]
push eax
mov eax, 0x1e
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x8c]
call fcn.00403740
mov edx, dword [ebp - 0x8c]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x88]
call fcn.004037e4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
jmp 0x406982
lea eax, [ebp - 0x90]
push eax
mov eax, 0x1f
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x94]
call fcn.00403740
mov edx, dword [ebp - 0x94]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x90]
call fcn.004037e4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
lea eax, [ebp - 0x98]
push eax
mov eax, 0x21
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0x9c]
call fcn.00403740
mov edx, dword [ebp - 0x9c]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0x98]
call fcn.004037e4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
lea eax, [ebp - 0xa0]
push eax
mov eax, 0x23
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0xa4]
call fcn.00403740
mov edx, dword [ebp - 0xa4]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0xa0]
call fcn.004037e4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
jmp 0x406b6b
lea eax, [ebp - 0xa8]
push eax
mov eax, 0x24
call fcn.00405738
mov edx, eax
lea eax, [ebp - 0xac]
call fcn.00403740
mov edx, dword [ebp - 0xac]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004041d4
mov eax, dword [ebp - 0xa8]
call fcn.004037e4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
xor eax, eax
mov dword [ebp - 0xc], eax
push 5
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 4]
lea edx, [edx + eax + 0x40]
mov eax, dword [0x4121bc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + ecx*4 + 4]
call fcn.0040409c
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xf
jne 0x406bc3
jmp 0x406ce4
mov byte [ebp - 5], 1
jmp 0x406cee
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406d13
lea eax, [ebp - 0xac]
mov edx, 0x28
call fcn.00403660
ret