Function at 0x415520
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 + 0x14]
push str.proxy.tmp
push eax
mov ecx, 0x4367a0
mov dword [esp + 0xd8], 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 + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4155a7
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 + 0x18]
xor ecx, ecx
push edx
mov word [esp + 0x1c], cx
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x18]
movzx ecx, word [esp + 0x1a]
movzx edx, word [esp + 0x1e]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
cmp eax, dword [0x436760]
jne 0x415636
cmp ecx, dword [0x436764]
jne 0x415636
cmp edx, dword [0x436768]
je 0x415741
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x436700
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0xa
mov esi, 0x436718
lea edi, [esp + 0x4c]
push 0x436700
rep movsd dword es:[edi], dword [esi]
call ebx
push 0x436740
mov eax, 0x436760
call fcn.00415b40
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 + 0x44]
push eax
lea eax, [esp + 0x3c]
mov esi, 0x436740
call fcn.00415c30
mov esi, dword [eax]
mov ecx, dword [0x436758]
mov edi, dword [eax + 4]
mov dword [esp + 0x1c], ecx
test esi, esi
je 0x4156d4
cmp esi, dword [0x436740]
je 0x4156d9
call fcn.0041cb32
cmp edi, dword [esp + 0x1c]
je 0x415700
test esi, esi
jne 0x41573d
call fcn.0041cb32
cmp edi, dword [esi + 0x18]
jne 0x4156f2
call fcn.0041cb32
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 ebx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [0x436760], edx
mov dword [0x436764], eax
mov dword [0x436768], ecx
jmp 0x415782
mov esi, dword [esi]
jmp 0x4156e8
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 + 0x3c]
call fcn.00415b40
mov ecx, 0xa
lea esi, [esp + 0x4c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
call fcn.0040e0a0
mov edx, dword [0x435210]
mov esi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x435210
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov bl, 1
mov byte [esp + 0xd0], bl
cmp esi, 0xffffffff
je 0x4157c0
push esi
push 0x42e9f0
lea edi, [esp + 0x1c]
call fcn.004049a0
add esp, 8
xor eax, eax
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 ecx, word [esp + 0x34]
mov eax, dword [esp + 0x14]
movzx edx, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x34]
push ecx
movzx ecx, word [esp + 0x36]
push edx
movzx edx, word [esp + 0x36]
push eax
movzx eax, word [esp + 0x38]
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 + 0x18], edi
mov dword [esp + 0x1c], esi
jmp 0x415840
mov ebp, dword [0x436758]
test edi, edi
je 0x415852
cmp edi, dword [0x436740]
je 0x415857
call fcn.0041cb32
cmp esi, ebp
je 0x4158fe
test edi, edi
jne 0x4158f3
call fcn.0041cb32
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x415878
call fcn.0041cb32
test edi, edi
jne 0x4158fa
call fcn.0041cb32
cmp esi, dword [edi + 0x18]
jne 0x41588b
call fcn.0041cb32
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 + 0x18]
call fcn.00416480
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x415840
mov eax, dword [edi]
jmp 0x41586e
mov edi, dword [edi]
jmp 0x415881
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 + 0x4c], esp
push str.proxy.xml
push ecx
mov ecx, 0x4367a0
call fcn.0040a6f0
add esp, 4
mov byte [esp + 0xdc], 2
mov edx, esp
mov dword [esp + 0x24], esp
push str.proxy.tmp
push edx
mov ecx, 0x4367a0
call fcn.0040a6f0
add esp, 8
mov byte [esp + 0xdc], bl
call fcn.0040dba0
add esp, 0xc
lea esi, [esp + 0xa0]
call fcn.00404620
lea eax, [esp + 0x44]
push 0x42e99c
push eax
mov ecx, 0x4367a0
mov byte [esp + 0xd8], 3
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 + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4159be
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]
lea esp, [esp]
mov edi, dword [0x436758]
test ebp, ebp
je 0x4159e2
cmp ebp, dword [0x436740]
je 0x4159e7
call fcn.0041cb32
cmp esi, edi
je 0x415ae7
test ebp, ebp
jne 0x415a8c
call fcn.0041cb32
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x415a08
call fcn.0041cb32
test ebp, ebp
jne 0x415a94
call fcn.0041cb32
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x415a21
call fcn.0041cb32
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 0x415a7c
call fcn.0041cb32
cmp byte [esi + 0x49], 0
je 0x415a9c
call fcn.0041cb32
jmp 0x4159d0
mov eax, dword [ebp]
jmp 0x4159fe
mov eax, dword [ebp]
jmp 0x415a17
mov eax, dword [esi + 8]
cmp byte [eax + 0x49], 0
jne 0x415ac2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x49], 0
jne 0x4159d0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x49], 0
je 0x415ab3
jmp 0x4159d0
mov eax, dword [esi + 4]
cmp byte [eax + 0x49], 0
jne 0x415ae0
jmp 0x415ad0
cmp esi, dword [eax + 8]
jne 0x415ae0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x49], 0
je 0x415ad0
mov esi, eax
jmp 0x4159d0
lea eax, [esp + 0xa0]
call fcn.00404650
mov byte [esp + 0xd0], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415b1b
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