Function at 0x40a500
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push edi
push str.advert.dll
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._Startup
push eax
mov dword [esi + 0x48], eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x48]
push str._Paint
push eax
call edi
mov ecx, dword [esi + 0x48]
push str._OnClick
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi + 0x48]
push str._SetCallback
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x48]
push str._SetAdRecordedCallback
push eax
call edi
mov ecx, dword [esi + 0x48]
push str._SetNetworkCallback
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 0x48]
push str._SetBandwidthThrottle
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x48]
push str._SetMinimumAdDisplayTime
push eax
call edi
mov ecx, dword [esi + 0x48]
push str._IsConnectOkay
push ecx
mov dword [esi + 0x20], eax
call edi
mov edx, dword [esi + 0x48]
push str._RetryConnect
push edx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x48]
push str._SetNetworkState
push eax
call edi
mov ecx, dword [esi + 0x48]
push str._SetProxy
push ecx
mov dword [esi + 0x2c], eax
call edi
mov edx, dword [esi + 0x48]
push str._GetStatus
push edx
mov dword [esi + 0x30], eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x48]
push str._UseDefaultAd
push eax
call edi
mov ecx, dword [esi + 0x48]
push str._Shutdown
push ecx
mov dword [esi + 0x38], eax
call edi
mov edx, dword [esi + 0x48]
push str._debugTriggerEvent
push edx
mov dword [esi + 0x3c], eax
call edi
mov ecx, dword [esi + 4]
mov dword [esi + 0x40], eax
test ecx, ecx
je 0x40a6b4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x40a6b4
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x40a6b4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40a6b4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x40a6b4
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x40a6b4
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x40a6b4
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x40a6b4
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x40a6b4
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x40a6b4
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x40a6b4
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x40a6b4
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x40a6b4
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x40a6b4
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x40a6b4
test eax, eax
je 0x40a6b4
push 8
call fcn.004481d8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x44], eax
mov dword [eax], esi
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x48]
push edx
mov edx, dword [esi + 0x44]
push eax
push ecx
push edx
call dword [esi + 4]
add esp, 0x1c
mov byte [esi + 0x4c], al
mov eax, esi
pop edi
pop esi
ret 0x10
mov eax, dword [esi + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [esi + 0x4c], 0
mov dword [esi], accept
mov eax, esi
pop edi
pop esi
ret 0x10