Function at 0x4d8c6d
Capabilities:
Link many functions at runtime

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