Function at 0x41651d
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jne 0x416716
push str.XLNet.Dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi], eax
je 0x416716
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XLSktSocket
push eax
call edi
push str.XLSktAttach
mov dword [esi + 4], eax
push dword [esi]
call edi
push str.XLSktConnect
mov dword [esi + 8], eax
push dword [esi]
call edi
push str.XLSktConnectEx
mov dword [esi + 0xc], eax
push dword [esi]
call edi
push str.XLSktSend
mov dword [esi + 0x10], eax
push dword [esi]
call edi
push str.XLSktRecv
mov dword [esi + 0x14], eax
push dword [esi]
call edi
push str.XLSktClose
mov dword [esi + 0x18], eax
push dword [esi]
call edi
push str.XLSktSetProxy
mov dword [esi + 0x1c], eax
push dword [esi]
call edi
push str.XLGetHostByName
mov dword [esi + 0x20], eax
push dword [esi]
call edi
push str.XLGetHostByNameEx
mov dword [esi + 0x24], eax
push dword [esi]
call edi
push str.XLSktGetOpt
mov dword [esi + 0x28], eax
push dword [esi]
call edi
push str.XLSktSetOpt
mov dword [esi + 0x2c], eax
push dword [esi]
call edi
push str.XLNetOpen
mov dword [esi + 0x30], eax
push dword [esi]
call edi
push str.XLNetOpenUrl
mov dword [esi + 0x34], eax
push dword [esi]
call edi
push str.XLNetConnect
mov dword [esi + 0x38], eax
push dword [esi]
call edi
push str.XLHttpOpenRequest
mov dword [esi + 0x3c], eax
push dword [esi]
call edi
push str.XLHttpAddRequestHeaders
mov dword [esi + 0x40], eax
push dword [esi]
call edi
push str.XLHttpSendRequest
mov dword [esi + 0x48], eax
push dword [esi]
call edi
push str.XLHttpEndRequest
mov dword [esi + 0x4c], eax
push dword [esi]
call edi
push str.XLHttpQueryInfo
mov dword [esi + 0x50], eax
push dword [esi]
call edi
push str.XLNetWriteFile
mov dword [esi + 0x44], eax
push dword [esi]
call edi
push str.XLNetReadFile
mov dword [esi + 0x54], eax
push dword [esi]
call edi
push str.XLNetQueryOption
mov dword [esi + 0x58], eax
push dword [esi]
call edi
push str.XLNetSetOption
mov dword [esi + 0x5c], eax
push dword [esi]
call edi
push str.XLNetCloseHandle
mov dword [esi + 0x60], eax
push dword [esi]
call edi
push str.XLZip
mov dword [esi + 0x64], eax
push dword [esi]
call edi
push str.XLUnZip
mov dword [esi + 0x68], eax
push dword [esi]
call edi
cmp dword [esi + 4], ebx
mov dword [esi + 0x6c], eax
pop edi
je 0x416707
cmp dword [esi + 8], ebx
je 0x416707
cmp dword [esi + 0xc], ebx
je 0x416707
cmp dword [esi + 0x10], ebx
je 0x416707
cmp dword [esi + 0x14], ebx
je 0x416707
cmp dword [esi + 0x18], ebx
je 0x416707
cmp dword [esi + 0x1c], ebx
je 0x416707
cmp dword [esi + 0x20], ebx
je 0x416707
cmp dword [esi + 0x24], ebx
je 0x416707
cmp dword [esi + 0x28], ebx
je 0x416707
cmp dword [esi + 0x34], ebx
je 0x416707
cmp dword [esi + 0x38], ebx
je 0x416707
cmp dword [esi + 0x3c], ebx
je 0x416707
cmp dword [esi + 0x40], ebx
je 0x416707
cmp dword [esi + 0x44], ebx
je 0x416707
cmp dword [esi + 0x48], ebx
je 0x416707
cmp dword [esi + 0x4c], ebx
je 0x416707
cmp dword [esi + 0x50], ebx
je 0x416707
cmp dword [esi + 0x54], ebx
je 0x416707
cmp dword [esi + 0x58], ebx
je 0x416707
cmp dword [esi + 0x5c], ebx
je 0x416707
cmp dword [esi + 0x60], ebx
je 0x416707
cmp dword [esi + 0x64], ebx
je 0x416707
cmp dword [esi + 0x68], ebx
je 0x416707
cmp eax, ebx
jne 0x416716
mov eax, dword [esi]
cmp eax, ebx
je 0x416716
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], ebx
pop esi
pop ebx
ret