Function at 0x100a2550
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024c0f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov ecx, dword [sym.WMCommon.dll_class_DownWrapper__WM::GMThunderDownload::m_pWapper]
test ecx, ecx
jne 0x100a273e
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
mov dword [ebp - 0x20], ecx
cmovae edx, dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x30], ax
mov eax, edx
mov dword [ebp - 0x1c], 7
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100a25b0
sub eax, esi
lea ecx, [ebp - 0x30]
sar eax, 1
push eax
push edx
call fcn.1001a600
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExists_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
mov bl, al
call fcn.1001a5a0
test bl, bl
je 0x100a2769
push edi
push 0x4c
call fcn.1006e6a7
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x30]
call fcn.1001a380
mov byte [ebp - 4], 3
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x10], 3
cmovae eax, dword [ebp - 0x30]
push eax
mov dword [edi], vtable.DownWrapper.0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 4], eax
test eax, eax
je 0x100a2785
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XL_Init
push eax
call esi
push str.XL_UnInit
push dword [edi + 4]
mov dword [edi + 8], eax
call esi
push str.XL_CreateTask
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.XL_DeleteTask
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push str.XL_StartTask
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.XL_StopTask
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push str.XL_QueryTaskInfo
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
push str.XL_QueryTaskInfoEx
push dword [edi + 4]
mov dword [edi + 0x20], eax
call esi
push str.XL_SetSpeedLimit
push dword [edi + 4]
mov dword [edi + 0x24], eax
call esi
push str.XL_SetUploadSpeedLimit
push dword [edi + 4]
mov dword [edi + 0x28], eax
call esi
push str.XL_DelTempFile
push dword [edi + 4]
mov dword [edi + 0x2c], eax
call esi
push str.XL_SetProxy
push dword [edi + 4]
mov dword [edi + 0x30], eax
call esi
push str.XL_SetUserAgent
push dword [edi + 4]
mov dword [edi + 0x34], eax
call esi
push str.XL_GetFileSizeWithUrl
push dword [edi + 4]
mov dword [edi + 0x38], eax
call esi
push str.XL_ParseThunderPrivateUrl
push dword [edi + 4]
mov dword [edi + 0x3c], eax
call esi
push str.XL_SetAdditionInfo
push dword [edi + 4]
mov dword [edi + 0x40], eax
call esi
push str.XL_SetFileIdAndSize
push dword [edi + 4]
mov dword [edi + 0x44], eax
call esi
mov dword [edi + 0x48], eax
lea ecx, [ebp - 0x30]
mov dword [sym.WMCommon.dll_class_DownWrapper__WM::GMThunderDownload::m_pWapper], edi
mov dword [ebp - 4], 0
call fcn.1001a5a0
mov ecx, dword [sym.WMCommon.dll_class_DownWrapper__WM::GMThunderDownload::m_pWapper]
pop edi
test ecx, ecx
je 0x100a2769
mov eax, dword [ecx + 8]
test eax, eax
je 0x100a2755
call eax
test eax, eax
je 0x100a274f
mov bl, 1
jmp 0x100a276b
mov ecx, dword [sym.WMCommon.dll_class_DownWrapper__WM::GMThunderDownload::m_pWapper]
test ecx, ecx
je 0x100a275f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [sym.WMCommon.dll_class_DownWrapper__WM::GMThunderDownload::m_pWapper], 0
xor bl, bl
lea ecx, [ebp + 8]
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x1028d9e8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.can_not_load_xldl.dll
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3