Function at 0x404000
Capabilities:
Read .ini file

Disassembly:
mov eax, 0xeb9c
call fcn.00458680
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00406ae0
mov dl, byte [0x494b70]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], dl
mov byte [esp + 0x5f4], dl
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x5f5]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x5f4]
push 0x105
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x5f4]
push 0x5c
push ecx
call fcn.00458e20
lea edx, [esp + 0x5fc]
mov byte [eax], 0
push edx
lea eax, [esp + 0x44]
push str._sAccInfo.ini
push eax
call fcn.004585a3
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x14
lea ecx, [esp + 0x38]
push ecx
push 0
push str.UserCount
push str.System
call esi
lea edx, [esp + 0x38]
mov ebx, eax
push edx
push 0
push str.AuthModel
push str.System
mov dword [esp + 0x28], ebx
call esi
mov dword [ebp + 0x12324], eax
lea eax, [esp + 0x38]
push eax
push 0
push str.AuthType
push str.System
call esi
mov dword [ebp + 0x12328], eax
mov dl, byte [0x494b70]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x6fd]
mov byte [esp + 0x6fc], dl
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x141]
mov byte [esp + 0x140], dl
test ebx, ebx
rep stosd dword es:[edi], eax
jle 0x4047e1
mov esi, 1
xor ebx, ebx
mov dword [esp + 0x10], esi
jmp 0x40411e
mov esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x122f8]
lea edi, [ebp + 0x122f4]
xor ecx, ecx
cmp eax, ecx
je 0x404151
mov edx, dword [edi + 8]
sub edx, eax
mov eax, 0x60f25deb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [esi - 1]
cmp eax, edx
jb 0x40426f
mov dword [esp + 0x484], ecx
mov dword [esp + 0x498], ecx
mov dword [esp + 0x4a0], ecx
mov dword [esp + 0x49c], ecx
mov dword [esp + 0x4a4], ecx
mov dword [esp + 0x4bc], ecx
mov dword [esp + 0x4c0], ecx
mov dword [esp + 0x4d0], ecx
mov dword [esp + 0x5d8], ecx
mov dword [esp + 0x5dc], ecx
mov dword [esp + 0x4c8], ecx
mov dword [esp + 0x4c4], ecx
lea ecx, [esp + 0x24]
or eax, 0xffffffff
push ecx
mov byte [esp + 0x354], 0
mov byte [esp + 0x455], 0
mov byte [esp + 0x48c], 0
mov dword [esp + 0x4ac], 0x1fe
mov dword [esp + 0x4b0], eax
mov dword [esp + 0x4b4], eax
mov dword [esp + 0x4b8], eax
mov dword [esp + 0x4bc], eax
mov dword [esp + 0x4d0], 1
mov byte [esp + 0x4d8], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2e]
mov ecx, dword [esp + 0x2c]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x2e]
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x2e]
push ecx
mov ecx, dword [esp + 0x30]
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
push ecx
lea edx, [esp + 0x5f8]
push str._04d__02d__02d__02d:_02d:_02d
push edx
call fcn.004585a3
mov ecx, dword [edi + 8]
add esp, 0x20
lea eax, [esp + 0x350]
push eax
push 1
push ecx
mov ecx, edi
call fcn.00409340
push esi
lea edx, [esp + 0x144]
push str.User_03d
push edx
call fcn.004585a3
add esp, 0xc
cmp esi, 0x3e8
jl 0x4042a3
push esi
lea eax, [esp + 0x144]
push str.User_d
push eax
call fcn.004585a3
add esp, 0xc
mov edx, dword [ebp + 0x122f8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x38]
add edx, ebx
push ecx
push 0x101
push edx
push 0x494b70
lea eax, [esp + 0x150]
push str.UserName
push eax
call esi
mov edx, dword [ebp + 0x122f8]
lea ecx, [esp + 0x38]
push ecx
push 0x31
lea eax, [edx + ebx + 0x101]
lea ecx, [esp + 0x148]
push eax
push 0x494b70
push 0x48e420
push ecx
call esi
mov edx, dword [ebp + 0x122f8]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x1701]
lea esi, [edx + ebx + 0x101]
mov dl, byte [0x494b70]
mov byte [esp + 0x1700], dl
mov byte [esp + 0x3b08], dl
rep stosd dword es:[edi], eax
mov ecx, 0x400
lea edi, [esp + 0x3b09]
rep stosd dword es:[edi], eax
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x1c], esi
lea edx, [esp + 0x1700]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x20], 0
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1700]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
je 0x404456
lea ecx, [esp + 0x1700]
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2704]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2704]
mov byte [esp + 0x2707], 0
push ecx
call fcn.00458e12
mov ecx, 0x3e7
lea edx, [esp + 0x370c]
sub ecx, eax
push ecx
push 0x48e41c
push edx
call fcn.004585a3
lea edi, [esp + 0x3718]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x3b08]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, dword [esp + 0x14]
and ecx, 3
add eax, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], eax
lea edi, [esp + 0x1700]
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
cmp esi, edx
mov dword [esp + 0x20], esi
jb 0x404393
lea edi, [esp + 0x3b08]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 0x122f8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x38]
push ecx
lea eax, [edx + ebx + 0x138]
push 0xd
push eax
push 0x494b70
lea ecx, [esp + 0x150]
push str.MACAddress
push ecx
call edi
lea edx, [esp + 0x38]
lea eax, [esp + 0x6fc]
push edx
push 0x1000
push eax
push 0x494b70
lea ecx, [esp + 0x150]
push str.IPAddressLow
push ecx
call edi
mov esi, dword [ebp + 0x122f8]
lea edx, [esp + 0x6fc]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + ebx + 0x14c], eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x700]
push 0x1000
push ecx
push 0x494b70
lea edx, [esp + 0x150]
push str.IPAddressHigh
push edx
call edi
mov esi, dword [ebp + 0x122f8]
lea eax, [esp + 0x6fc]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + ebx + 0x150], eax
mov eax, dword [ebp + 0x122f8]
add eax, ebx
push str._blacklist
push eax
call fcn.0045d2f0
add esp, 8
test eax, eax
jne 0x404566
mov ecx, dword [ebp + 0x122f8]
mov edx, dword [ecx + ebx + 0x150]
lea eax, [ecx + ebx]
push edx
mov ecx, ebp
mov eax, dword [eax + 0x14c]
push eax
call fcn.00406ad0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, dword [ebp + 0x122f8]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x140]
push ecx
push 0
push str.ServiceMask
push edx
call esi
mov dword [edi + ebx + 0x158], eax
mov edi, dword [ebp + 0x122f8]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x140]
push eax
push 0xffffffffffffffff
push str.MaxConn
push ecx
call esi
lea edx, [esp + 0x38]
mov dword [edi + ebx + 0x15c], eax
mov edi, dword [ebp + 0x122f8]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x148]
push str.BandWidth
push eax
call esi
lea ecx, [esp + 0x38]
lea edx, [esp + 0x140]
push ecx
push 0xffffffffffffffff
push str.WebFilter
mov dword [edi + ebx + 0x160], eax
mov edi, dword [ebp + 0x122f8]
push edx
call esi
mov dword [edi + ebx + 0x164], eax
mov edi, dword [ebp + 0x122f8]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x140]
push eax
push 0xffffffffffffffff
push str.TimeSchedule
push ecx
call esi
mov dword [edi + ebx + 0x168], eax
mov eax, dword [ebp + 0x12328]
cmp eax, 2
je 0x404634
cmp eax, 3
je 0x404634
cmp eax, 4
je 0x404634
xor eax, eax
jmp 0x404639
mov eax, 1
mov edi, dword [ebp + 0x122f8]
lea edx, [esp + 0x38]
push edx
push eax
lea eax, [esp + 0x148]
push str.EnableUserPassword
push eax
call esi
mov dword [edi + ebx + 0x134], eax
mov eax, dword [ebp + 0x12328]
test eax, eax
je 0x404673
cmp eax, 3
je 0x404673
cmp eax, 5
je 0x404673
xor eax, eax
jmp 0x404678
mov eax, 1
mov edi, dword [ebp + 0x122f8]
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0x148]
push str.EnableIPAddress
push edx
call esi
mov dword [edi + ebx + 0x154], eax
mov eax, dword [ebp + 0x12328]
cmp eax, 1
je 0x4046b3
cmp eax, 4
je 0x4046b3
cmp eax, 5
je 0x4046b3
xor eax, eax
jmp 0x4046b8
mov eax, 1
mov edi, dword [ebp + 0x122f8]
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0x148]
push str.EnableMACAddress
push edx
call esi
mov dword [edi + ebx + 0x148], eax
mov edi, dword [ebp + 0x122f8]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x140]
push eax
push 1
push 0x48e368
push ecx
call esi
lea edx, [esp + 0x38]
mov dword [edi + ebx + 0x17c], eax
mov edi, dword [ebp + 0x122f8]
push edx
push 0
lea eax, [esp + 0x148]
push str.BelongsGroup
push eax
call esi
mov dword [edi + ebx + 0x180], eax
mov edx, dword [ebp + 0x122f8]
lea ecx, [esp + 0x38]
push ecx
lea eax, [edx + ebx + 0x184]
push 0x101
push eax
push 0x494b70
lea ecx, [esp + 0x150]
push str.BelongsGroupName
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [ebp + 0x122f8]
lea edx, [esp + 0x38]
push edx
push 0
lea eax, [esp + 0x148]
push str.IsGroup
push eax
call esi
lea ecx, [esp + 0x38]
lea edx, [esp + 0x140]
push ecx
push 0
push str.AutoDisable
mov dword [edi + ebx + 0x288], eax
mov edi, dword [ebp + 0x122f8]
push edx
call esi
mov dword [edi + ebx + 0x28c], eax
mov eax, dword [ebp + 0x122f8]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x140]
lea eax, [eax + ebx + 0x290]
push ecx
push 0x14
push eax
push eax
push str.DisableDateTime
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
inc eax
add ebx, 0x2a4
mov dword [esp + 0x10], eax
dec eax
cmp eax, ecx
jl 0x40411a
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea eax, [esp + 0x38]
push eax
push 0
push str.TimeScheduleCount
push str.System
call esi
mov cl, byte [0x494b70]
mov edx, eax
mov byte [esp + 0x248], cl
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x249]
test edx, edx
mov dword [esp + 0x18], edx
rep stosd dword es:[edi], eax
jle 0x4049d4
xor esi, esi
mov edi, 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
jmp 0x404838
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 0x12308]
lea ebx, [ebp + 0x12304]
test eax, eax
je 0x404867
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x91dbbfc3
imul ecx
add edx, ecx
lea ecx, [edi - 1]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ecx, edx
jb 0x404891
mov ecx, 7
or eax, 0xffffffff
lea edi, [esp + 0xeb90]
lea edx, [esp + 0x7b58]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 8]
push edx
push 1
push eax
mov ecx, ebx
call fcn.00409690
mov edi, dword [esp + 0x10]
push edi
lea ecx, [esp + 0x24c]
push str.Time_03d
push ecx
call fcn.004585a3
add esp, 0xc
cmp edi, 0x3e8
jl 0x4048c5
push edi
lea edx, [esp + 0x24c]
push str.Time_d
push edx
call fcn.004585a3
add esp, 0xc
mov ebx, dword [ebp + 0x12308]
lea eax, [esp + 0x38]
mov ecx, esi
push eax
add ecx, ebx
push 0x31
push ecx
push 0x494b70
lea edx, [esp + 0x258]
push str.Name
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor edi, edi
xor ebx, ebx
add esi, 0x7038
mov al, byte [0x494b70]
xor ecx, ecx
mov dword [esp + 0x25], ecx
push edi
lea edx, [esp + 0x28]
mov dword [esp + 0x2d], ecx
push 0x48e2ec
push edx
mov byte [esp + 0x30], al
mov byte [esp + 0x39], cl
call fcn.004585a3
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x12308]
add esp, 0xc
lea eax, [esp + 0x38]
add ecx, ebx
push eax
push 0x1000
lea eax, [ecx + edx + 0x31]
lea ecx, [esp + 0x2c]
push eax
push str.00:00_24:00
lea edx, [esp + 0x258]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
lea eax, [esp + 0x28]
push str.Mask_d
push eax
call fcn.004585a3
mov ecx, dword [ebp + 0x12308]
add esp, 0xc
lea edx, [esp + 0x38]
mov dword [esp + 0x1c], ecx
push edx
lea eax, [esp + 0x28]
push 0xffffffffffffffff
lea ecx, [esp + 0x250]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [esp + 0x1c]
add ebx, 0x1001
inc edi
mov dword [edx + esi], eax
add esi, 4
cmp ebx, 0x7007
jl 0x4048f9
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x10], eax
add edx, 0x7054
dec eax
mov dword [esp + 0x14], edx
cmp eax, ecx
jl 0x404830
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea eax, [esp + 0x38]
push eax
push 0
push str.WebFilterCount
push str.System
call esi
test eax, eax
mov dword [esp + 0x34], eax
jle 0x4050f3
mov edi, 1
xor ebx, ebx
mov dword [esp + 0x20], edi
jmp 0x404a04
mov edi, dword [esp + 0x20]
mov eax, dword [ebp + 0x12318]
lea ecx, [ebp + 0x12314]
test eax, eax
je 0x404a31
mov edx, dword [ecx + 8]
sub edx, eax
mov eax, 0xa99e1b
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edi - 1]
cmp eax, edx
jb 0x404a4f
mov eax, dword [ecx + 8]
lea edx, [esp + 0x4b0c]
push edx
push 1
push eax
mov dword [esp + 0x5b4c], 0
call fcn.00409a10
push edi
lea ecx, [esp + 0x24c]
push str.Filter_03d
push ecx
call fcn.004585a3
add esp, 0xc
cmp edi, 0x3e8
jl 0x404a83
push edi
lea edx, [esp + 0x24c]
push str.Filter_d
push edx
call fcn.004585a3
add esp, 0xc
mov ecx, dword [ebp + 0x12318]
lea eax, [esp + 0x38]
push eax
add ecx, ebx
push 0x31
push ecx
push 0x494b70
lea edx, [esp + 0x258]
push str.Name
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [ebp + 0x12318]
lea eax, [esp + 0x38]
push eax
push 0
lea ecx, [esp + 0x250]
push str.EnableContentFilter
push ecx
call esi
lea edx, [esp + 0x38]
mov dword [edi + ebx + 0x3040], eax
mov edi, dword [ebp + 0x12318]
push edx
push 1
lea eax, [esp + 0x250]
push str.EnableSiteFilter
push eax
call esi
lea ecx, [esp + 0x38]
lea edx, [esp + 0x248]
push ecx
push 0
push str.EnableURLFilter
mov dword [edi + ebx + 0x303c], eax
mov edi, dword [ebp + 0x12318]
push edx
call esi
mov dword [edi + ebx + 0x3044], eax
mov edi, dword [ebp + 0x12318]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x248]
push eax
push 1
push str.SiteFilterModel
push ecx
call esi
mov dword [edi + ebx + 0x3048], eax
mov eax, dword [ebp + 0x12318]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x38]
push edx
lea ecx, [eax + ebx + 0x1038]
push 0x1000
push ecx
push 0x494b70
lea edx, [esp + 0x258]
push str.ContentFilter
push edx
call edi
mov ecx, dword [ebp + 0x12318]
lea eax, [esp + 0x38]
push eax
push 0x1000
lea edx, [ecx + ebx + 0x31]
lea eax, [esp + 0x250]
push edx
push 0x494b70
push str.SiteFilter
push eax
call edi
mov ecx, dword [ebp + 0x12318]
mov eax, dword [ecx + ebx + 0x1034]
test eax, eax
je 0x404bbd
push eax
call fcn.0046eff2
mov edx, dword [ebp + 0x12318]
add esp, 4
mov dword [edx + ebx + 0x1034], 0
mov eax, dword [ebp + 0x12318]
mov cl, byte [eax + ebx + 0x31]
test cl, cl
je 0x4050a7
lea eax, [eax + ebx + 0x31]
push 0x48e248
push eax
call fcn.00458d74
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x1c], edi
je 0x405021
push 2
push 0
push edi
call fcn.00458c8a
push edi
call fcn.00458b07
lea ecx, [eax + eax + 1]
push ecx
call fcn.0046efc9
mov edx, dword [ebp + 0x12318]
push 0
push 0
push edi
mov dword [edx + ebx + 0x1034], eax
mov eax, dword [ebp + 0x12318]
mov ecx, dword [eax + ebx + 0x1034]
mov byte [ecx], 0
mov byte [esp + 0x71c], 0
call fcn.00458c8a
push edi
lea edx, [esp + 0x720]
push 0x1001
push edx
call fcn.00458aa5
add esp, 0x2c
test eax, eax
je 0x405013
mov al, byte [0x494b70]
mov ecx, 0x400
mov byte [esp + 0x2704], al
xor eax, eax
lea edi, [esp + 0x2705]
lea esi, [esp + 0x6fc]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x6fc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], esi
cmp ecx, 0x1000
mov dword [esp + 0x18], eax
jbe 0x404cc2
lea edi, [esp + 0x6fc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [ecx + ecx + 1]
push ecx
call fcn.0046efc9
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 1
jmp 0x404ccd
lea edx, [esp + 0x2704]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov byte [eax], 0
push 0x48e244
push esi
call fcn.00458600
add esp, 8
test eax, eax
je 0x404d6c
mov byte [eax], 0
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48e240
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x48e244
mov esi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
add ecx, esi
mov dword [esp + 0x14], ecx
mov esi, ecx
jmp 0x404cd4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x6fc]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x14], esi
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x404dd4
push edx
call fcn.0046eff2
add esp, 4
mov cl, byte [0x494b70]
xor eax, eax
mov byte [esp + 0x3b08], cl
mov ecx, 0x400
lea edi, [esp + 0x3b09]
lea esi, [esp + 0x6fc]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x6fc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], esi
cmp ecx, 0x1000
mov dword [esp + 0x18], eax
jbe 0x404e41
lea edi, [esp + 0x6fc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [ecx + ecx + 1]
push edx
call fcn.0046efc9
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 1
jmp 0x404e4c
lea eax, [esp + 0x3b08]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov byte [ecx], 0
push 0x48e240
push esi
call fcn.00458600
add esp, 8
test eax, eax
je 0x404eeb
mov byte [eax], 0
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48e23c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x48e240
mov esi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
add ecx, esi
mov dword [esp + 0x14], ecx
mov esi, ecx
jmp 0x404e53
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x6fc]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x14], esi
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x404f53
push edx
call fcn.0046eff2
add esp, 4
mov al, byte [esp + 0x6fc]
test al, al
je 0x404fe7
lea edi, [esp + 0x6fc]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 0x12318]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [edx + ebx + 0x1034]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x6fc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x6fb], 0x3b
je 0x404fe7
mov edi, 0x48e23c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 0x12318]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [edx + ebx + 0x1034]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x6fc]
push eax
push 0x1001
push ecx
call fcn.00458aa5
add esp, 0xc
test eax, eax
jne 0x404c56
mov edi, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
call fcn.00458a28
add esp, 4
jmp 0x4050a7
mov edx, dword [ebp + 0x12318]
mov eax, dword [edx + ebx + 0x1034]
test eax, eax
je 0x40504c
push eax
call fcn.0046eff2
mov eax, dword [ebp + 0x12318]
add esp, 4
mov dword [eax + ebx + 0x1034], 0
mov eax, dword [ebp + 0x12318]
or ecx, 0xffffffff
lea edi, [eax + ebx + 0x31]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0046efc9
mov ecx, dword [ebp + 0x12318]
add esp, 4
mov dword [ecx + ebx + 0x1034], eax
mov edx, dword [ebp + 0x12318]
add edx, ebx
or ecx, 0xffffffff
xor eax, eax
lea edi, [edx + 0x31]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [edx + 0x1034]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 0x12318]
lea ecx, [esp + 0x38]
push ecx
push 0x1000
lea eax, [edx + ebx + 0x2039]
lea ecx, [esp + 0x250]
push eax
push 0x494b70
push str.URLFilter
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
inc eax
add ebx, 0x304c
mov dword [esp + 0x20], eax
dec eax
cmp eax, ecx
jl 0x404a00
push 0x494f68
push 0
push str.NTUserAuth
push str.System
call esi
test eax, eax
mov dword [ebp + 0x1232c], eax
je 0x405117
mov ecx, ebp
call fcn.00406b80
push 0x494f68
add ebp, 0x112f0
push 0x1000
push ebp
push 0x48e220
push str.NTDomain
push str.System
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xeb9c
ret