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

Disassembly:
push 0xffffffffffffffff
push 0x42a960
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebp
push esi
push edi
mov eax, dword [0x4340a0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
lea esi, [esp + 0x38]
call fcn.00404620
lea eax, [esp + 0x10]
push str.cache.tmp
push eax
mov ecx, 0x4367a0
mov dword [esp + 0x70], 0
call fcn.0040a710
mov eax, dword [eax]
add esp, 8
push 0
push 0
push 0
mov edi, eax
call fcn.00404680
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 0x40efed
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.00404800
push str.__xml_stylesheet_type_text_xsl__href_cache.xsl___
lea ecx, [esp + 0x40]
call fcn.00404800
push str._list_
lea ecx, [esp + 0x44]
call fcn.00404800
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.00404800
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x4366c0
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x4366c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x68], 1
mov eax, dword [0x4366b8]
mov edi, dword [eax]
mov esi, dword [0x4366a0]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
jmp 0x40f0b0
mov ebp, dword [0x4366b8]
test esi, esi
je 0x40f0c2
cmp esi, dword [0x4366a0]
je 0x40f0c7
call fcn.0041cb02
cmp edi, ebp
je 0x40f22e
xor ebp, ebp
test esi, esi
jne 0x40f179
call fcn.0041cb02
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x40f0ea
call fcn.0041cb02
cmp dword [edi + 0x1c], ebp
je 0x40f11b
test esi, esi
jne 0x40f180
call fcn.0041cb02
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x40f108
call fcn.0041cb02
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 0x40f187
call fcn.0041cb02
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x40f131
call fcn.0041cb02
mov edx, dword [edi + 0x20]
push edx
test esi, esi
jne 0x40f18b
call fcn.0041cb02
cmp edi, dword [esi + 0x18]
jne 0x40f148
call fcn.0041cb02
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 0x40f18f
cmp eax, dword [esi]
jne 0x40f18f
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x40f1c3
mov eax, dword [esi]
jmp 0x40f0e0
mov eax, dword [esi]
jmp 0x40f0fe
mov eax, dword [esi]
jmp 0x40f127
mov esi, dword [esi]
jmp 0x40f13e
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 0x40f229
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.0041c287
add esp, 0x10
add edi, 0x10
lea esi, [esp + 0x20]
mov dword [ebp], edi
call fcn.00415040
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.00404800
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 0x40f213
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x20]
call fcn.00412320
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
jmp 0x40f0b0
call fcn.004014e0
push 0x4366c0
mov byte [esp + 0x6c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.__list_
lea ecx, [esp + 0x3c]
call fcn.00404800
add esp, 4
lea esi, [esp + 0x38]
call fcn.00404720
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.cache.xml
push ecx
mov ecx, 0x4367a0
call fcn.0040a710
add esp, 4
mov byte [esp + 0x74], 3
mov edx, esp
mov dword [esp + 0x24], esp
push str.cache.tmp
push edx
mov ecx, 0x4367a0
call fcn.0040a710
add esp, 8
mov byte [esp + 0x74], 0
call fcn.0040dbc0
add esp, 0xc
mov eax, esi
call fcn.00404650
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x5c
ret