Function at 0x10004fa0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080a71
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
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 esi, ecx
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.1005be50
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [esi + 4]
push 0x104
push eax
push 0x10087768
push str.init
push str.NetShield
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x260]
mov dword [ebp - 0x258], ebx
push eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], ebx
push eax
lea eax, [ebp - 0x258]
mov dword [ebp - 0x260], ebx
push eax
lea eax, [ebp - 0x218]
push str._04d__02d__02d
push eax
call fcn.100094a0
add esp, 0x14
cmp eax, 3
jne 0x10005139
mov eax, dword [ebp - 0x258]
mov ecx, 0x76c
cmp eax, ecx
cmovl eax, ecx
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x25c]
cmp eax, 1
jl 0x10005075
cmp eax, 0xc
jle 0x1000507f
mov dword [ebp - 0x25c], 1
mov eax, dword [ebp - 0x260]
cmp eax, 1
jl 0x1000508f
cmp eax, 0x1f
jle 0x10005099
mov dword [ebp - 0x260], 1
push 0
call fcn.1006a095
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x264], edx
push eax
call fcn.10069b00
add esp, 0xc
test eax, eax
jne 0x100050d3
mov eax, dword [ebp - 0x240]
add eax, 0x76c
jmp 0x100050d5
xor eax, eax
cmp eax, dword [ebp - 0x258]
jne 0x10005139
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.10069b00
add esp, 8
test eax, eax
jne 0x10005100
mov eax, dword [ebp - 0x244]
inc eax
jmp 0x10005102
xor eax, eax
cmp eax, dword [ebp - 0x25c]
jne 0x10005139
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.10069b00
xor ecx, ecx
add esp, 8
test eax, eax
mov eax, 1
cmove ecx, dword [ebp - 0x248]
cmp ecx, dword [ebp - 0x260]
cmove ebx, eax
mov dword [ebp - 4], 0xffffffff
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 0x10005297
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], 5
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10007ae0
mov byte [ebp - 4], 6
call fcn.1003c1f0
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0xa5
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100034d0
mov esi, eax
push str.HasTodayDoInitAction_return
push esi
mov byte [ebp - 4], 7
call fcn.10004460
add esp, 8
mov ecx, esi
push ebx
call fcn.100042b0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10004590
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x10005246
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000523c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100052b5
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
cmp edx, 0x10
jb 0x10005297
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000528d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100052ba
push edx
push ecx
call fcn.1003f20c
add esp, 8
mov eax, ebx
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
call fcn.1005f339
call fcn.1005f339
int3