Function at 0x40ef50
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.0040a6f0
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 0x40efcd
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 0x40f090
mov ebp, dword [0x4366b8]
test esi, esi
je 0x40f0a2
cmp esi, dword [0x4366a0]
je 0x40f0a7
call fcn.0041cb32
cmp edi, ebp
je 0x40f20e
xor ebp, ebp
test esi, esi
jne 0x40f159
call fcn.0041cb32
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x40f0ca
call fcn.0041cb32
cmp dword [edi + 0x1c], ebp
je 0x40f0fb
test esi, esi
jne 0x40f160
call fcn.0041cb32
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x40f0e8
call fcn.0041cb32
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 0x40f167
call fcn.0041cb32
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x40f111
call fcn.0041cb32
mov edx, dword [edi + 0x20]
push edx
test esi, esi
jne 0x40f16b
call fcn.0041cb32
cmp edi, dword [esi + 0x18]
jne 0x40f128
call fcn.0041cb32
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 0x40f16f
cmp eax, dword [esi]
jne 0x40f16f
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x40f1a3
mov eax, dword [esi]
jmp 0x40f0c0
mov eax, dword [esi]
jmp 0x40f0de
mov eax, dword [esi]
jmp 0x40f107
mov esi, dword [esi]
jmp 0x40f11e
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 0x40f209
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.0041c2b7
add esp, 0x10
add edi, 0x10
lea esi, [esp + 0x20]
mov dword [ebp], edi
call fcn.00415050
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 0x40f1f3
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 0x40f090
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.0040a6f0
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.0040a6f0
add esp, 8
mov byte [esp + 0x74], 0
call fcn.0040dba0
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