Function at 0x411da0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464440
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x47f534]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0xeb0], edi
jne 0x4120a2
mov dword [esi + 0xc2c], edi
cmp dword [esi + 0xaa4], edi
jg 0x411e0a
cmp dword [esi + 0xaa0], edi
jl 0x411e0a
mov eax, dword [esi + 0xa6c]
push 1
push edi
push eax
mov dword [esi + 0xaa8], edi
call dword [sym.imp.USER32.dll_InvalidateRect]
call dword [0x48086c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
je 0x4120af
push eax
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 1
cmp edi, 0x3fffffff
jle 0x411e39
xor eax, eax
jmp 0x411e4f
lea eax, [edi + edi]
call fcn.0044cef0
mov ecx, dword [ebp - 0x18]
mov eax, esp
push ecx
push edi
push ebx
push eax
call fcn.0040c990
push 0
push eax
push 0
call sub.urlmon.dll_IsValidURL
test eax, eax
jne 0x4120af
mov edx, dword [ebp + 8]
mov eax, dword [edx - 0xc]
lea ecx, [eax - 1]
test ecx, ecx
jl 0x411e8b
mov edi, edi
test ecx, ecx
jl 0x41201d
cmp ecx, eax
jg 0x41201d
cmp byte [ecx + edx], 0x2f
je 0x411e8b
sub ecx, 1
jns 0x411e70
sub eax, ecx
sub eax, 1
push eax
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp + 8]
call fcn.004066f0
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x46c2cf
call fcn.004031a0
mov byte [ebp - 4], 2
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.LABEL_DOWNLOAD_ONE_INFO
call fcn.004031a0
mov byte [ebp - 4], 3
lea edi, [esi + 0xe30]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], edi
push eax
mov byte [ebp - 4], 1
call fcn.004205e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00403720
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
push ecx
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00402ee0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push ecx
lea ecx, [esi + 0x5bc]
call fcn.004361d0
mov eax, dword [esi + 0x20]
lea ebx, [esi + 0xeb4]
mov dword [ebx], eax
mov eax, dword [esi + 0xeec]
lea edx, [esi + 0xc34]
push eax
mov dword [esi + 0xee4], edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 0xeec]
lea edx, [ebp + 8]
lea ecx, [esi + 0xebc]
push edx
mov dword [esi + 0xeb8], eax
call fcn.004037b0
push str.UpdateDownloadTemp_
lea eax, [esi + 0xc3c]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.004024c0
mov byte [ebp - 4], 6
lea edx, [esi + 0xed8]
push edx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040ade0
add esp, 0x18
mov byte [ebp - 4], 7
lea edi, [esi + 0xec0]
push eax
mov ecx, edi
call fcn.004037b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00403830
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.00403830
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.00403630
mov byte [ebp - 4], 8
mov byte [ebp - 4], 5
call fcn.0041c310
xor edi, edi
add esp, 4
cmp dword [esi + 0xaa4], edi
jg 0x411fee
cmp dword [esi + 0xaa0], edi
jl 0x411fee
mov ecx, dword [esi + 0xa6c]
push 1
push edi
push ecx
mov dword [esi + 0xaa8], edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
push 4
push edi
push edi
push ebx
push 0x4120f0
call fcn.0042c2a4
cmp eax, edi
mov dword [esi + 0xeb0], eax
je 0x412027
mov dword [eax + 0x28], edi
mov esi, dword [esi + 0xeb0]
mov edx, dword [esi + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x41207c
push 0x80070057
call fcn.00402d40
push edi
push 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x46c2cf
call fcn.004031a0
mov byte [ebp - 4], 9
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.INF_ERROR_CREATE_THREAD
call fcn.004031a0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x24]
call fcn.004205e0
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
push eax
call fcn.0042ee0b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.00403830
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00403830
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00403830
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403830
jmp 0x4120af
mov ecx, dword [esi + 0xeec]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403830
xor eax, eax
lea esp, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448f05
mov esp, ebp
pop ebp
ret 4