Function at 0x100052c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080b2f
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x100aa394]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x280], ecx
mov ebx, dword [ebp + 8]
call fcn.1003c1f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10005478
push 0x29
push str.f:lib_common_netshieldconfigconfig.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.10007ae0
push 3
push 0x10088b5c
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10007ae0
mov byte [ebp - 4], 1
call fcn.1003c1f0
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0xaa
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100034d0
mov esi, eax
push str._IsListUrlChanged_CConfig__QAEHABV__basic_string_DU__char_traits_D_std__V__allocator_D_2__std___Z
push esi
mov byte [ebp - 4], 2
call fcn.10004460
push 0x10088c8c
push esi
call fcn.10004460
add esp, 0x10
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x100053c1
mov eax, dword [ebx]
push eax
push esi
call fcn.10004460
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.10004590
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1000541c
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005412
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100058b0
push edx
push ecx
call fcn.1003f20c
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10005478
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000546e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100058b5
push edx
push ecx
call fcn.1003f20c
add esp, 8
cmp dword [ebx + 0x10], 0
jne 0x10005572
call fcn.1003c1f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10005572
push 0x29
push str.f:lib_common_netshieldconfigconfig.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.10007ae0
push 3
push 0x10088b5c
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10007ae0
mov byte [ebp - 4], 4
call fcn.1003c1f0
mov edi, eax
lea ecx, [ebp - 0x31c]
push 0xad
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100034d0
mov esi, eax
push str._IsListUrlChanged_CConfig__QAEHABV__basic_string_DU__char_traits_D_std__V__allocator_D_2__std___Z
push esi
mov byte [ebp - 4], 5
call fcn.10004460
push str._url_is_empty.
push esi
call fcn.10004460
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.10004590
lea ecx, [ebp - 0x248]
call fcn.10003ec0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.10003ec0
call fcn.10004ec0
mov ecx, eax
test ecx, ecx
je 0x100058ba
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x27c], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x32
or eax, ecx
mov dword [ebp - 4], 6
jge 0x100055bb
push 0x32
lea ecx, [ebp - 0x27c]
call fcn.10006080
mov esi, dword [ebp - 0x27c]
cmp dword [esi - 8], 0x32
jl 0x100058c4
xor eax, eax
mov dword [esi - 0xc], 0x32
mov word [esi + 0x64], ax
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x100055dc
mov eax, dword [ebx]
push 0x32
push esi
push dword [ebx + 0x10]
push eax
call fcn.10042c70
push dword [esi - 8]
push esi
call fcn.1005f53c
add esp, 0x18
test eax, eax
js 0x100058c4
cmp eax, dword [esi - 8]
jg 0x100058c4
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x208
mov word [esi + eax*2], cx
lea eax, [ebp - 0x218]
push ecx
push eax
call fcn.1005be50
mov eax, dword [ebp - 0x280]
add esp, 0xc
push dword [eax + 4]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x10087768
push str.umd5
push str.NetShield
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1005f776
add esp, 8
test eax, eax
jne 0x10005752
call fcn.1003c1f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000574b
push 0x29
push str.f:lib_common_netshieldconfigconfig.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.10007ae0
push 3
push 0x10088b5c
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 7
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10007ae0
mov byte [ebp - 4], 8
call fcn.1003c1f0
mov ebx, eax
lea ecx, [ebp - 0x31c]
push 0xb8
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100034d0
mov edi, eax
push str._IsListUrlChanged_CConfig__QAEHABV__basic_string_DU__char_traits_D_std__V__allocator_D_2__std___Z
push edi
mov byte [ebp - 4], 9
call fcn.10004460
push str.url_is_not_change
push edi
call fcn.10004460
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x31c]
call fcn.10004590
lea ecx, [ebp - 0x248]
call fcn.10003ec0
lea ecx, [ebp - 0x230]
call fcn.10003ec0
xor edi, edi
jmp 0x10005871
call fcn.1003c1f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10005852
push 0x29
push str.f:lib_common_netshieldconfigconfig.cpp
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], al
call fcn.10007ae0
push 3
push 0x10088b5c
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.10007ae0
mov byte [ebp - 4], 0xb
call fcn.1003c1f0
mov dword [ebp - 0x284], eax
lea ecx, [ebp - 0x3b4]
push 0xbb
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.100034d0
mov edi, eax
push str._IsListUrlChanged_CConfig__QAEHABV__basic_string_DU__char_traits_D_std__V__allocator_D_2__std___Z
push edi
mov byte [ebp - 4], 0xc
call fcn.10004460
push str._url_has_changed__new_url:
push edi
call fcn.10004460
add esp, 0x10
cmp dword [ebx + 0x14], 0x10
jb 0x1000581b
mov ebx, dword [ebx]
push ebx
push edi
call fcn.10004460
mov ecx, dword [ebp - 0x284]
add esp, 8
mov eax, dword [ecx]
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3b4]
call fcn.10004590
lea ecx, [ebp - 0x260]
call fcn.10003ec0
lea ecx, [ebp - 0x278]
call fcn.10003ec0
mov eax, dword [ebp - 0x280]
push dword [eax + 4]
push esi
push str.umd5
push str.NetShield
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10005890
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003f57d
mov esp, ebp
pop ebp
ret 4
call fcn.1005f339
call fcn.1005f339
push 0x80004005
call fcn.10004b70
push 0x80070057
call fcn.10004b70
int3