Function at 0x499125
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12f4
call fcn.00522d80
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
cmp dword [ebx + 8], esi
je 0x499153
xor eax, eax
inc eax
jmp 0x4993aa
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x499161
xor eax, eax
jmp 0x4993aa
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
je 0x49939e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SmartCacheCreate
push eax
call esi
push str.SmartCacheClose
push dword [ebx]
mov dword [ebx + 0x10], eax
call esi
push str.SmartCacheQueryHips
push dword [ebx]
mov dword [ebx + 0x14], eax
call esi
push str.SmartCacheQuery
push dword [ebx]
mov dword [ebx + 0xc], eax
call esi
push str.SmartNetQuery
push dword [ebx]
mov dword [ebx + 0x18], eax
call esi
push str.SmartNetQueryEx
push dword [ebx]
mov dword [ebx + 0x1c], eax
call esi
push str.SmartNetQueryEx2
push dword [ebx]
mov dword [ebx + 0x20], eax
call esi
xor esi, esi
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x14], esi
je 0x49939e
cmp dword [ebx + 0x10], esi
je 0x49939e
cmp dword [ebx + 0xc], esi
je 0x49939e
cmp dword [ebx + 0x18], esi
je 0x49939e
cmp dword [ebx + 0x20], esi
je 0x49939e
test eax, eax
je 0x49939e
cmp dword [ebx + 0x1c], esi
je 0x49939e
push str.360safe
lea ecx, [ebp - 0x12e8]
call fcn.00402af5
push str.pubfunc
lea ecx, [ebp - 0x12ec]
call fcn.00402af5
call fcn.00403a64
push eax
lea ecx, [ebp - 0x12e4]
call fcn.00402a6b
lea ecx, [edi + 0xc]
mov dword [ebp - 0x12f4], esi
mov eax, dword [ecx]
mov dword [ebp - 0x12f0], 0x2710
cmp dword [eax - 0xc], esi
jle 0x499264
push ecx
lea ecx, [ebp - 0x12e4]
call fcn.00402bd6
jmp 0x4992be
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call sub.msvcrt.dll_memset
push dword [edi]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00516cf0
add esp, 0x18
lea eax, [ebp - 0x20c]
push str..._speedmem2.hg
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x12e4]
call fcn.00404550
lea ecx, [edi + 4]
mov eax, dword [ecx]
cmp dword [eax - 0xc], esi
jle 0x4992d4
push ecx
lea ecx, [ebp - 0x12e8]
call fcn.00402bd6
lea ecx, [edi + 8]
mov eax, dword [ecx]
cmp dword [eax - 0xc], esi
jle 0x4992ea
push ecx
lea ecx, [ebp - 0x12ec]
call fcn.00402bd6
cmp dword [edi + 0x10], esi
jbe 0x4992f8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x12f0], eax
push 0x10d0
lea eax, [ebp - 0x12dc]
push esi
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp - 0x12e8]
lea eax, [ebp - 0x12dc]
add esp, 0xc
mov dword [ebp - 0x12e0], 0x10d4
push esi
push 0x1e
push eax
call fcn.00418e21
mov edi, dword [ebp - 0x12ec]
lea eax, [ebp - 0x12a0]
push edi
push 0x1e
push eax
call fcn.00418e21
push dword [ebp - 0x12e4]
lea eax, [ebp - 0x125c]
push 0x104
push eax
call fcn.00418e21
mov eax, dword [ebp - 0x12f0]
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x12f4]
push eax
lea eax, [ebp - 0x12e0]
push eax
call dword [ebx + 0x10]
mov dword [ebx + 4], eax
pop ecx
pop ecx
mov ecx, dword [ebp - 0x12e4]
lea ecx, [ecx - 0x10]
test eax, eax
jne 0x4993bb
call fcn.004042e9
lea ecx, [edi - 0x10]
call fcn.004042e9
lea ecx, [esi - 0x10]
call fcn.004042e9
xor esi, esi
mov ecx, ebx
call fcn.0049bfb2
mov eax, esi
mov dword [ebx + 8], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 4
call fcn.004042e9
lea ecx, [edi - 0x10]
call fcn.004042e9
lea ecx, [esi - 0x10]
call fcn.004042e9
xor eax, eax
inc eax
jmp 0x4993a7