Function at 0x413260
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3820
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x74e2cc]
push 3
xor eax, eax
push 0x6295b4
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00406400
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 0
mov ecx, dword [0x74e2f4]
lea eax, [ebp - 0x28]
push eax
add ecx, 0x1c
call fcn.00409910
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 8
jb 0x4132e5
push dword [ebp - 0x40]
call fcn.0049500b
add esp, 4
push 0x5c
xor eax, eax
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00414110
push 0xb
push str.CNMDWLD.DLL
lea ecx, [ebp - 0x28]
call fcn.004062d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x48], eax
test eax, eax
je 0x4134db
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DLAPI_Initialize
push eax
call esi
push str.DLAPI_Uninitialize
push dword [edi + 0x48]
mov dword [edi + 0x4c], eax
call esi
push str.DLAPI_CreateJob
push dword [edi + 0x48]
mov dword [edi + 0x50], eax
call esi
push str.DLAPI_DeleteJob
push dword [edi + 0x48]
mov dword [edi + 0x54], eax
call esi
push str.DLAPI_DeleteAllJobs
push dword [edi + 0x48]
mov dword [edi + 0x58], eax
call esi
push str.DLAPI_AddFileSet
push dword [edi + 0x48]
mov dword [edi + 0x5c], eax
call esi
push str.DLAPI_SetPriority
push dword [edi + 0x48]
mov dword [edi + 0x60], eax
call esi
push str.DLAPI_GetPriority
push dword [edi + 0x48]
mov dword [edi + 0x64], eax
call esi
push str.DLAPI_SetNotifyFlags
push dword [edi + 0x48]
mov dword [edi + 0x68], eax
call esi
push str.DLAPI_SetCredentials
push dword [edi + 0x48]
mov dword [edi + 0x6c], eax
call esi
push str.DLAPI_RegisterNotifyWnd
push dword [edi + 0x48]
mov dword [edi + 0x70], eax
call esi
push str.DLAPI_StartJob
push dword [edi + 0x48]
mov dword [edi + 0x74], eax
call esi
push str.DLAPI_FinishJob
push dword [edi + 0x48]
mov dword [edi + 0x78], eax
call esi
push str.DLAPI_GetDownloadState
push dword [edi + 0x48]
mov dword [edi + 0x7c], eax
call esi
push str.DLAPI_Cancel
push dword [edi + 0x48]
mov dword [edi + 0x80], eax
call esi
mov ecx, dword [edi + 0x4c]
mov dword [edi + 0x84], eax
test ecx, ecx
je 0x413463
cmp dword [edi + 0x50], 0
je 0x413463
cmp dword [edi + 0x54], 0
je 0x413463
cmp dword [edi + 0x58], 0
je 0x413463
cmp dword [edi + 0x5c], 0
je 0x413463
cmp dword [edi + 0x60], 0
je 0x413463
cmp dword [edi + 0x64], 0
je 0x413463
cmp dword [edi + 0x68], 0
je 0x413463
cmp dword [edi + 0x6c], 0
je 0x413463
cmp dword [edi + 0x70], 0
je 0x413463
cmp dword [edi + 0x74], 0
je 0x413463
cmp dword [edi + 0x78], 0
je 0x413463
cmp dword [edi + 0x7c], 0
je 0x413463
cmp dword [edi + 0x80], 0
je 0x413463
test eax, eax
je 0x413463
call ecx
test eax, eax
js 0x4134db
xor esi, esi
jmp 0x4134e0
push dword [edi + 0x48]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov esi, SysReAllocStringLen
cmp dword [ebp - 0x14], 8
jb 0x4134f1
push dword [ebp - 0x28]
call fcn.0049500b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret