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

Disassembly:
push 0xffffffffffffffff
push 0x42a916
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4340a0]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
lea esi, [esp + 0x78]
call fcn.00404620
lea eax, [esp + 0x18]
push str.proxy.tmp
push eax
mov ecx, 0x4367a0
mov dword [esp + 0xd8], 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 + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415597
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 + 0x7c]
call fcn.00404800
add esp, 4
push str.__xml_stylesheet_type_text_xsl__href_proxy.xsl___
lea ecx, [esp + 0x7c]
call fcn.00404800
add esp, 4
push str._traf_
lea ecx, [esp + 0x7c]
call fcn.00404800
xor eax, eax
add esp, 4
lea edx, [esp + 0x1c]
xor ecx, ecx
push edx
mov word [esp + 0x20], cx
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov word [esp + 0x2e], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x1c]
movzx ecx, word [esp + 0x1e]
movzx edx, word [esp + 0x22]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
cmp eax, dword [0x436760]
jne 0x415626
cmp ecx, dword [0x436764]
jne 0x415626
cmp edx, dword [0x436768]
je 0x41572d
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x436700
call ebp
mov ecx, 0xa
mov esi, 0x436718
lea edi, [esp + 0x4c]
push 0x436700
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x436740
mov eax, 0x436760
call fcn.00415b20
mov edi, eax
xor eax, eax
mov ecx, 0xa
lea esi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x1c]
push eax
lea ebx, [esp + 0x44]
mov esi, 0x436740
call fcn.00415c00
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [0x436758]
test esi, esi
je 0x4156be
cmp esi, dword [0x436740]
je 0x4156c3
call fcn.0041cb02
cmp edi, ebx
je 0x4156e8
test esi, esi
jne 0x415729
call fcn.0041cb02
cmp edi, dword [esi + 0x18]
jne 0x4156da
call fcn.0041cb02
lea esi, [edi + 0x20]
mov ecx, 0xa
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
push 0x436700
call ebp
mov ecx, 0xa
lea esi, [esp + 0x4c]
mov edi, 0x436718
push 0x436700
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [0x436760], ecx
mov dword [0x436764], edx
mov dword [0x436768], eax
jmp 0x41576e
mov esi, dword [esi]
jmp 0x4156d0
push 0x436700
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 0xa
mov esi, 0x436718
lea edi, [esp + 0x4c]
push 0x436700
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x436740
lea eax, [esp + 0x44]
call fcn.00415b20
mov ecx, 0xa
lea esi, [esp + 0x4c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
call fcn.0040e0c0
mov edx, dword [0x435210]
mov esi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x435210
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov bl, 1
mov byte [esp + 0xd0], bl
cmp esi, 0xffffffff
je 0x4157ac
push esi
push 0x42e9f0
lea edi, [esp + 0x20]
call fcn.004049a0
add esp, 8
xor eax, eax
lea edx, [esp + 0x30]
xor ecx, ecx
push edx
mov word [esp + 0x34], cx
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov word [esp + 0x42], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0x3c]
mov eax, dword [esp + 0x18]
movzx edx, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3c]
push ecx
movzx ecx, word [esp + 0x3e]
push edx
movzx edx, word [esp + 0x3e]
push eax
movzx eax, word [esp + 0x40]
push ecx
push edx
push eax
push str._total_updatetime__4d__02d__02d__02d:_02d:_02d__diskfree__s___
lea ecx, [esp + 0x98]
call fcn.00404800
mov ecx, dword [0x436758]
mov esi, dword [ecx]
mov edi, dword [0x436740]
add esp, 0x20
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
mov ebp, dword [0x436758]
test edi, edi
je 0x415836
cmp edi, dword [0x436740]
je 0x41583b
call fcn.0041cb02
cmp esi, ebp
je 0x4158e2
test edi, edi
jne 0x4158d7
call fcn.0041cb02
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x41585c
call fcn.0041cb02
test edi, edi
jne 0x4158de
call fcn.0041cb02
cmp esi, dword [edi + 0x18]
jne 0x41586f
call fcn.0041cb02
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
push edx
mov edx, dword [esi + 0x30]
shrd eax, ecx, 0x14
push eax
mov eax, dword [esi + 0x34]
shrd edx, eax, 0x14
push edx
mov edx, dword [esi + 0x2c]
shr ecx, 0x14
mov ecx, dword [esi + 0x28]
shrd ecx, edx, 0x14
push ecx
mov ecx, dword [esi + 0x18]
shr eax, 0x14
mov eax, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x10]
push ecx
shr edx, 0x14
mov edx, dword [esi + 0x14]
push edx
push eax
push str._dat_key__4d__02d__02d__c_task__u__c_traf__u__lan__u__wan__u__req__u___
lea ecx, [esp + 0x9c]
call fcn.00404800
add esp, 0x24
lea esi, [esp + 0x1c]
call fcn.00416430
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x415824
mov eax, dword [edi]
jmp 0x415852
mov edi, dword [edi]
jmp 0x415865
push str.__traf_
lea ecx, [esp + 0x7c]
call fcn.00404800
add esp, 4
lea esi, [esp + 0x78]
call fcn.00404720
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.proxy.xml
push ecx
mov ecx, 0x4367a0
call fcn.0040a710
add esp, 4
mov byte [esp + 0xdc], 2
mov edx, esp
mov dword [esp + 0x28], esp
push str.proxy.tmp
push edx
mov ecx, 0x4367a0
call fcn.0040a710
add esp, 8
mov byte [esp + 0xdc], bl
call fcn.0040dbc0
add esp, 0xc
lea esi, [esp + 0xa0]
call fcn.00404620
lea eax, [esp + 0x2c]
push 0x42e99c
push eax
mov ecx, 0x4367a0
mov byte [esp + 0xd8], 3
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 + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4159a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x436758]
mov esi, dword [ecx]
mov ebp, dword [0x436740]
mov edi, dword [0x436758]
test ebp, ebp
je 0x4159c2
cmp ebp, dword [0x436740]
je 0x4159c7
call fcn.0041cb02
cmp esi, edi
je 0x415ac7
test ebp, ebp
jne 0x415a6c
call fcn.0041cb02
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x4159e8
call fcn.0041cb02
test ebp, ebp
jne 0x415a74
call fcn.0041cb02
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x415a01
call fcn.0041cb02
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
push edx
mov edx, dword [esi + 0x30]
shrd eax, ecx, 0x14
push eax
mov eax, dword [esi + 0x34]
shrd edx, eax, 0x14
push edx
mov edx, dword [esi + 0x2c]
shr ecx, 0x14
mov ecx, dword [esi + 0x28]
shrd ecx, edx, 0x14
push ecx
mov ecx, dword [esi + 0x18]
shr eax, 0x14
mov eax, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x10]
push ecx
shr edx, 0x14
mov edx, dword [esi + 0x14]
push edx
push eax
push str._d_t_d_t_d_t_u_t_u_t_u_t_u_t_u
lea ecx, [esp + 0xc4]
call fcn.00404800
add esp, 0x24
test ebp, ebp
jne 0x415a5c
call fcn.0041cb02
cmp byte [esi + 0x49], 0
je 0x415a7c
call fcn.0041cb02
jmp 0x4159b0
mov eax, dword [ebp]
jmp 0x4159de
mov eax, dword [ebp]
jmp 0x4159f7
mov eax, dword [esi + 8]
cmp byte [eax + 0x49], 0
jne 0x415aa2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x49], 0
jne 0x4159b0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x49], 0
je 0x415a93
jmp 0x4159b0
mov eax, dword [esi + 4]
cmp byte [eax + 0x49], 0
jne 0x415ac0
jmp 0x415ab0
cmp esi, dword [eax + 8]
jne 0x415ac0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x49], 0
je 0x415ab0
mov esi, eax
jmp 0x4159b0
lea eax, [esp + 0xa0]
call fcn.00404650
mov byte [esp + 0xd0], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415afb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x78]
call fcn.00404650
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret