Function at 0x467710
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
push str.____________________Entrance____________________
lea ecx, [ebp - 0x3c]
lea esi, [edi + 0xa8]
mov eax, esi
push ecx
push eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], str.OnItemComplete
call fcn.00471a00
add esp, 0xc
lea eax, [edi + 0x1a0]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, 1
mov byte [ebp - 0x40], al
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 2
mov ebx, dword [edi + 0x28]
push edx
mov byte [ebp - 0x15], al
call fcn.00465b90
add esp, 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
mov ebx, dword [edi + 0x110]
push eax
call fcn.00476eb0
add esp, 4
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
mov ebx, dword [edi + 0x30]
push ecx
call fcn.00465ac0
add esp, 4
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 5
mov ebx, dword [edi + 0x34]
push edx
call fcn.00465ac0
add esp, 4
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
mov ecx, dword [edi + 0xec]
mov eax, dword [eax]
push ecx
mov ecx, dword [edx]
mov edx, dword [edi + 0xfc]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
push edx
mov edx, dword [ecx]
push edx
push eax
push str.oldStatus_s_status_s_networkError_s_HTTPstatus_s_failedError_s._Url_s
lea ecx, [ebp - 0x3c]
push ecx
push esi
call fcn.004719c0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
add esp, 0x24
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x467835
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46785c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46787f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4678a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [edi + 0x110], 0
setne al
test al, al
je 0x4678e5
mov eax, dword [edi + 0x28]
cmp eax, 3
je 0x4678c7
cmp eax, 0xd
je 0x4678c7
cmp eax, 6
je 0x4678c7
cmp eax, 0x10
jne 0x4678d8
mov ecx, dword [edi + 0x30]
inc dword [edi + 0x1c0]
mov dword [edi + 0x34], ecx
mov dword [edi + 0x30], ebx
jmp 0x4678e5
mov edx, dword [edi + 0x30]
mov dword [edi + 0x34], edx
mov dword [edi + 0x30], 7
mov eax, dword [edi + 0x30]
add eax, 0xfffffffe
cmp eax, 5
ja case.0x4678f4.5
jmp dword [eax*4 + 0x467ab4]
cmp dword [edi + 0x110], 0xf
jne 0x467914
cmp byte [edi + 0x104], 0
jne 0x467914
mov eax, 1
jmp 0x467916
xor eax, eax
mov byte [edi + 0x104], al
call fcn.00467b00
mov eax, edi
call fcn.00467fa0
mov eax, dword [edi + 0x178]
test eax, eax
je 0x467943
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x178], 0
cmp byte [edi + 0x104], 0
je case.0x4678f4.5
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
call edx
mov bl, al
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.______________________Exit______________________
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
push ecx
push edx
mov byte [ebp - 0x40], 0
call fcn.00471a00
mov al, bl
jmp 0x467a9c
cmp dword [edi + 0xe8], 0
lea eax, [edi + 0xe8]
je 0x46799d
call fcn.00462110
mov eax, dword [edi + 0x30]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], 5
mov dword [ebp - 4], 1
jmp 0x467a27
mov eax, edi
call fcn.00467fa0
mov dword [ebp - 4], 1
jmp 0x467a27
mov ecx, dword [edi + 0x30]
mov edx, dword [edi]
mov eax, dword [edx + 0x44]
mov dword [edi + 0x34], ecx
mov ecx, edi
mov dword [edi + 0x30], 6
call eax
mov dword [ebp - 4], 1
jmp 0x467a27
cmp byte [edi + 0x161], 0
jne 0x467a44
mov eax, dword [edi + 0xc]
push 0
push edi
push 0x403
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x467a51
mov ecx, dword [edi + 0x1b8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [edi + 0xec]
push edx
push str.Post_the_item_complete_message_to_main_dialog._Url_s
lea eax, [ebp - 0x3c]
push eax
add edi, 0xa8
push edi
call fcn.004719c0
add esp, 0x10
cmp byte [ebp - 0x40], 0
je 0x467a80
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.______________________Exit______________________
lea edx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
push edx
push eax
call fcn.00471a00
mov al, byte [ebp - 0x15]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4