Function at 0x40ed10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x428780
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebp
push esi
push edi
mov eax, dword [0x431040]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
lea esi, [esp + 0x38]
call fcn.00404090
lea eax, [esp + 0x10]
push str.cache.tmp
push eax
mov ecx, 0x433720
mov dword [esp + 0x70], 0
call fcn.0040a130
mov eax, dword [eax]
add esp, 8
push 0
push 0
push 0
mov edi, eax
call fcn.004040f0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ed8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.__xml_version_1.0__encoding_GB2312___
lea ecx, [esp + 0x3c]
call fcn.00404270
push str.__xml_stylesheet_type_text_xsl__href_cache.xsl___
lea ecx, [esp + 0x40]
call fcn.00404270
push str._list_
lea ecx, [esp + 0x44]
call fcn.00404270
xor eax, eax
add esp, 0xc
lea edx, [esp + 0x28]
xor ecx, ecx
push edx
mov word [esp + 0x2c], cx
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x34]
movzx ecx, word [esp + 0x32]
movzx edx, word [esp + 0x30]
push eax
movzx eax, word [esp + 0x32]
push ecx
movzx ecx, word [esp + 0x32]
push edx
movzx edx, word [esp + 0x34]
push eax
push ecx
push edx
push str._total_updatetime__4d__02d__02d__02d:_02d:_02d___
lea ecx, [esp + 0x54]
call fcn.00404270
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x433640
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x433640
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x68], 1
mov eax, dword [0x433638]
mov edi, dword [eax]
mov esi, dword [0x433620]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
jmp 0x40ee50
mov ebp, dword [0x433638]
test esi, esi
je 0x40ee62
cmp esi, dword [0x433620]
je 0x40ee67
call fcn.0041aa5b
cmp edi, ebp
je 0x40efce
xor ebp, ebp
test esi, esi
jne 0x40ef19
call fcn.0041aa5b
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x40ee8a
call fcn.0041aa5b
cmp dword [edi + 0x1c], ebp
je 0x40eebb
test esi, esi
jne 0x40ef20
call fcn.0041aa5b
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x40eea8
call fcn.0041aa5b
mov ecx, dword [esp + 0x10]
sub ecx, dword [edi + 0x1c]
mov eax, 0x10624dd3
mul ecx
mov ebp, edx
shr ebp, 6
push ebp
test esi, esi
jne 0x40ef27
call fcn.0041aa5b
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x40eed1
call fcn.0041aa5b
mov edx, dword [edi + 0x20]
push edx
test esi, esi
jne 0x40ef2b
call fcn.0041aa5b
cmp edi, dword [esi + 0x18]
jne 0x40eee8
call fcn.0041aa5b
mov esi, dword [edi + 0x10]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
mov dword [esp + 0x28], esp
mov ebp, esp
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40ef2f
cmp eax, dword [esi]
jne 0x40ef2f
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x40ef63
mov eax, dword [esi]
jmp 0x40ee80
mov eax, dword [esi]
jmp 0x40ee9e
mov eax, dword [esi]
jmp 0x40eec7
mov esi, dword [esi]
jmp 0x40eede
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40efc9
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0041a4ad
add esp, 0x10
add edi, 0x10
lea esi, [esp + 0x20]
mov dword [ebp], edi
call fcn.00414d50
add esp, 4
mov byte [esp + 0x70], 2
mov edx, dword [eax]
push edx
push str._dat_url__s__try__u__last__u____
lea ecx, [esp + 0x48]
call fcn.00404270
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40efb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x20]
call fcn.00412130
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
jmp 0x40ee50
call fcn.00401500
push 0x433640
mov byte [esp + 0x6c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.__list_
lea ecx, [esp + 0x3c]
call fcn.00404270
add esp, 4
lea esi, [esp + 0x38]
call fcn.00404190
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.cache.xml
push ecx
mov ecx, 0x433720
call fcn.0040a130
add esp, 4
mov byte [esp + 0x74], 3
mov edx, esp
mov dword [esp + 0x24], esp
push str.cache.tmp
push edx
mov ecx, 0x433720
call fcn.0040a130
add esp, 8
mov byte [esp + 0x74], 0
call fcn.0040d900
add esp, 0xc
mov eax, esi
call fcn.004040c0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x5c
ret