Function at 0x403dd0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0xe9b8
call fcn.00457d20
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0044cc70
mov dl, byte [0x493b50]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], dl
mov byte [esp + 0x410], dl
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x411]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x410]
push 0x105
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x410]
push 0x5c
push ecx
call fcn.004584c0
lea edx, [esp + 0x418]
mov byte [eax], 0
push edx
lea eax, [esp + 0x44]
push str._sAccInfo.ini
push eax
call fcn.00457c43
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 + 0x3414], eax
lea eax, [esp + 0x38]
push eax
push 0
push str.AuthType
push str.System
call esi
mov dword [ebp + 0x3418], eax
mov dl, byte [0x493b50]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x519]
mov byte [esp + 0x518], dl
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x201]
mov byte [esp + 0x200], dl
test ebx, ebx
rep stosd dword es:[edi], eax
jle 0x40457e
mov esi, 1
xor ebx, ebx
mov dword [esp + 0x10], esi
jmp 0x403eee
mov esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x33e8]
lea edi, [ebp + 0x33e4]
xor ecx, ecx
cmp eax, ecx
je 0x403f21
mov edx, dword [edi + 8]
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [esi - 1]
cmp eax, edx
jb 0x40403f
mov dword [esp + 0x184], ecx
mov dword [esp + 0x198], ecx
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x19c], ecx
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], ecx
mov dword [esp + 0x1d0], ecx
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], ecx
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1c4], ecx
lea ecx, [esp + 0x24]
or eax, 0xffffffff
push ecx
mov byte [esp + 0x144], 0
mov byte [esp + 0x154], 0
mov byte [esp + 0x18c], 0
mov dword [esp + 0x1ac], 0x1fe
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1d0], 1
mov byte [esp + 0x1d8], 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 + 0x204]
push str._04d__02d__02d__02d:_02d:_02d
push edx
call fcn.00457c43
mov ecx, dword [edi + 8]
add esp, 0x20
lea eax, [esp + 0x140]
push eax
push 1
push ecx
mov ecx, edi
call fcn.00409000
push esi
lea edx, [esp + 0x204]
push str.User_03d
push edx
call fcn.00457c43
add esp, 0xc
cmp esi, 0x3e8
jl 0x404073
push esi
lea eax, [esp + 0x204]
push str.User_d
push eax
call fcn.00457c43
add esp, 0xc
mov edx, dword [ebp + 0x33e8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x38]
add edx, ebx
push ecx
push 0x10
push edx
push 0x493b50
lea eax, [esp + 0x210]
push str.UserName
push eax
call esi
mov edx, dword [ebp + 0x33e8]
lea ecx, [esp + 0x38]
push ecx
push 0x31
lea eax, [edx + ebx + 0x10]
lea ecx, [esp + 0x208]
push eax
push 0x493b50
push 0x48d420
push ecx
call esi
mov edx, dword [ebp + 0x33e8]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x151d]
lea esi, [edx + ebx + 0x10]
mov dl, byte [0x493b50]
mov byte [esp + 0x151c], dl
mov byte [esp + 0x3924], dl
rep stosd dword es:[edi], eax
mov ecx, 0x400
lea edi, [esp + 0x3925]
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 + 0x151c]
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 + 0x151c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
je 0x40421d
lea ecx, [esp + 0x151c]
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2520]
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 + 0x2520]
mov byte [esp + 0x2523], 0
push ecx
call fcn.004584b2
mov ecx, 0x3e7
lea edx, [esp + 0x3528]
sub ecx, eax
push ecx
push 0x48d41c
push edx
call fcn.00457c43
lea edi, [esp + 0x3534]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x3924]
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 + 0x151c]
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 0x40415a
lea edi, [esp + 0x3924]
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 + 0x33e8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x38]
push ecx
lea eax, [edx + ebx + 0x48]
push 0xd
push eax
push 0x493b50
lea ecx, [esp + 0x210]
push str.MACAddress
push ecx
call edi
lea edx, [esp + 0x38]
lea eax, [esp + 0x518]
push edx
push 0x1000
push eax
push 0x493b50
lea ecx, [esp + 0x210]
push str.IPAddressLow
push ecx
call edi
mov esi, dword [ebp + 0x33e8]
lea edx, [esp + 0x518]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + ebx + 0x5c], eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x51c]
push 0x1000
push ecx
push 0x493b50
lea edx, [esp + 0x210]
push str.IPAddressHigh
push edx
call edi
mov esi, dword [ebp + 0x33e8]
lea eax, [esp + 0x518]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + ebx + 0x60], eax
mov eax, dword [ebp + 0x33e8]
add eax, ebx
push str._blacklist
push eax
call fcn.0045c970
add esp, 8
test eax, eax
jne 0x40431e
mov ecx, dword [ebp + 0x33e8]
mov edx, dword [ecx + ebx + 0x60]
lea eax, [ecx + ebx]
push edx
mov ecx, ebp
mov eax, dword [eax + 0x5c]
push eax
call fcn.00406820
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, dword [ebp + 0x33e8]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x200]
push ecx
push 0
push str.ServiceMask
push edx
call esi
mov dword [edi + ebx + 0x68], eax
mov edi, dword [ebp + 0x33e8]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x200]
push eax
push 0xffffffffffffffff
push str.MaxConn
push ecx
call esi
lea edx, [esp + 0x38]
mov dword [edi + ebx + 0x6c], eax
mov edi, dword [ebp + 0x33e8]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x208]
push str.BandWidth
push eax
call esi
lea ecx, [esp + 0x38]
lea edx, [esp + 0x200]
push ecx
push 0xffffffffffffffff
push str.WebFilter
mov dword [edi + ebx + 0x70], eax
mov edi, dword [ebp + 0x33e8]
push edx
call esi
mov dword [edi + ebx + 0x74], eax
mov edi, dword [ebp + 0x33e8]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x200]
push eax
push 0xffffffffffffffff
push str.TimeSchedule
push ecx
call esi
mov dword [edi + ebx + 0x78], eax
mov eax, dword [ebp + 0x3418]
cmp eax, 2
je 0x4043dd
cmp eax, 3
je 0x4043dd
cmp eax, 4
je 0x4043dd
xor eax, eax
jmp 0x4043e2
mov eax, 1
mov edi, dword [ebp + 0x33e8]
lea edx, [esp + 0x38]
push edx
push eax
lea eax, [esp + 0x208]
push str.EnableUserPassword
push eax
call esi
mov dword [edi + ebx + 0x44], eax
mov eax, dword [ebp + 0x3418]
test eax, eax
je 0x404419
cmp eax, 3
je 0x404419
cmp eax, 5
je 0x404419
xor eax, eax
jmp 0x40441e
mov eax, 1
mov edi, dword [ebp + 0x33e8]
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0x208]
push str.EnableIPAddress
push edx
call esi
mov dword [edi + ebx + 0x64], eax
mov eax, dword [ebp + 0x3418]
cmp eax, 1
je 0x404456
cmp eax, 4
je 0x404456
cmp eax, 5
je 0x404456
xor eax, eax
jmp 0x40445b
mov eax, 1
mov edi, dword [ebp + 0x33e8]
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0x208]
push str.EnableMACAddress
push edx
call esi
mov dword [edi + ebx + 0x58], eax
mov edi, dword [ebp + 0x33e8]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x200]
push eax
push 1
push 0x48d368
push ecx
call esi
lea edx, [esp + 0x38]
mov dword [edi + ebx + 0x8c], eax
mov edi, dword [ebp + 0x33e8]
push edx
push 0
lea eax, [esp + 0x208]
push str.BelongsGroup
push eax
call esi
mov dword [edi + ebx + 0x90], eax
mov edx, dword [ebp + 0x33e8]
lea ecx, [esp + 0x38]
push ecx
lea eax, [edx + ebx + 0x94]
push 0x10
push eax
push 0x493b50
lea ecx, [esp + 0x210]
push str.BelongsGroupName
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [ebp + 0x33e8]
lea edx, [esp + 0x38]
push edx
push 0
lea eax, [esp + 0x208]
push str.IsGroup
push eax
call esi
lea ecx, [esp + 0x38]
lea edx, [esp + 0x200]
push ecx
push 0
push str.AutoDisable
mov dword [edi + ebx + 0xa4], eax
mov edi, dword [ebp + 0x33e8]
push edx
call esi
mov dword [edi + ebx + 0xa8], eax
mov eax, dword [ebp + 0x33e8]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x200]
lea eax, [eax + ebx + 0xac]
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, 0xc0
mov dword [esp + 0x10], eax
dec eax
cmp eax, ecx
jl 0x403eea
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 [0x493b50]
mov edx, eax
mov byte [esp + 0x308], cl
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x309]
test edx, edx
mov dword [esp + 0x18], edx
rep stosd dword es:[edi], eax
jle 0x404771
xor esi, esi
mov edi, 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
jmp 0x4045d5
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 0x33f8]
lea ebx, [ebp + 0x33f4]
test eax, eax
je 0x404604
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 0x40462e
mov ecx, 7
or eax, 0xffffffff
lea edi, [esp + 0xe9ac]
lea edx, [esp + 0x7974]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 8]
push edx
push 1
push eax
mov ecx, ebx
call fcn.00409310
mov edi, dword [esp + 0x10]
push edi
lea ecx, [esp + 0x30c]
push str.Time_03d
push ecx
call fcn.00457c43
add esp, 0xc
cmp edi, 0x3e8
jl 0x404662
push edi
lea edx, [esp + 0x30c]
push str.Time_d
push edx
call fcn.00457c43
add esp, 0xc
mov ebx, dword [ebp + 0x33f8]
lea eax, [esp + 0x38]
mov ecx, esi
push eax
add ecx, ebx
push 0x31
push ecx
push 0x493b50
lea edx, [esp + 0x318]
push str.Name
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor edi, edi
xor ebx, ebx
add esi, 0x7038
mov al, byte [0x493b50]
xor ecx, ecx
mov dword [esp + 0x25], ecx
push edi
lea edx, [esp + 0x28]
mov dword [esp + 0x2d], ecx
push 0x48d2ec
push edx
mov byte [esp + 0x30], al
mov byte [esp + 0x39], cl
call fcn.00457c43
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x33f8]
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 + 0x318]
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.00457c43
mov ecx, dword [ebp + 0x33f8]
add esp, 0xc
lea edx, [esp + 0x38]
mov dword [esp + 0x1c], ecx
push edx
lea eax, [esp + 0x28]
push 0xffffffffffffffff
lea ecx, [esp + 0x310]
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 0x404696
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 0x4045cd
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 0x404e90
mov edi, 1
xor ebx, ebx
mov dword [esp + 0x20], edi
jmp 0x4047a1
mov edi, dword [esp + 0x20]
mov eax, dword [ebp + 0x3408]
lea ecx, [ebp + 0x3404]
test eax, eax
je 0x4047ce
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 0x4047ec
mov eax, dword [ecx + 8]
lea edx, [esp + 0x4928]
push edx
push 1
push eax
mov dword [esp + 0x5968], 0
call fcn.00409690
push edi
lea ecx, [esp + 0x30c]
push str.Filter_03d
push ecx
call fcn.00457c43
add esp, 0xc
cmp edi, 0x3e8
jl 0x404820
push edi
lea edx, [esp + 0x30c]
push str.Filter_d
push edx
call fcn.00457c43
add esp, 0xc
mov ecx, dword [ebp + 0x3408]
lea eax, [esp + 0x38]
push eax
add ecx, ebx
push 0x31
push ecx
push 0x493b50
lea edx, [esp + 0x318]
push str.Name
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [ebp + 0x3408]
lea eax, [esp + 0x38]
push eax
push 0
lea ecx, [esp + 0x310]
push str.EnableContentFilter
push ecx
call esi
lea edx, [esp + 0x38]
mov dword [edi + ebx + 0x3040], eax
mov edi, dword [ebp + 0x3408]
push edx
push 1
lea eax, [esp + 0x310]
push str.EnableSiteFilter
push eax
call esi
lea ecx, [esp + 0x38]
lea edx, [esp + 0x308]
push ecx
push 0
push str.EnableURLFilter
mov dword [edi + ebx + 0x303c], eax
mov edi, dword [ebp + 0x3408]
push edx
call esi
mov dword [edi + ebx + 0x3044], eax
mov edi, dword [ebp + 0x3408]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x308]
push eax
push 1
push str.SiteFilterModel
push ecx
call esi
mov dword [edi + ebx + 0x3048], eax
mov eax, dword [ebp + 0x3408]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x38]
push edx
lea ecx, [eax + ebx + 0x1038]
push 0x1000
push ecx
push 0x493b50
lea edx, [esp + 0x318]
push str.ContentFilter
push edx
call edi
mov ecx, dword [ebp + 0x3408]
lea eax, [esp + 0x38]
push eax
push 0x1000
lea edx, [ecx + ebx + 0x31]
lea eax, [esp + 0x310]
push edx
push 0x493b50
push str.SiteFilter
push eax
call edi
mov ecx, dword [ebp + 0x3408]
mov eax, dword [ecx + ebx + 0x1034]
test eax, eax
je 0x40495a
push eax
call fcn.0046e6a2
mov edx, dword [ebp + 0x3408]
add esp, 4
mov dword [edx + ebx + 0x1034], 0
mov eax, dword [ebp + 0x3408]
mov cl, byte [eax + ebx + 0x31]
test cl, cl
je 0x404e44
lea eax, [eax + ebx + 0x31]
push 0x48d248
push eax
call fcn.00458414
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x1c], edi
je 0x404dbe
push 2
push 0
push edi
call fcn.0045832a
push edi
call fcn.004581a7
lea ecx, [eax + eax + 1]
push ecx
call fcn.0046e679
mov edx, dword [ebp + 0x3408]
push 0
push 0
push edi
mov dword [edx + ebx + 0x1034], eax
mov eax, dword [ebp + 0x3408]
mov ecx, dword [eax + ebx + 0x1034]
mov byte [ecx], 0
mov byte [esp + 0x538], 0
call fcn.0045832a
push edi
lea edx, [esp + 0x53c]
push 0x1001
push edx
call fcn.00458145
add esp, 0x2c
test eax, eax
je 0x404db0
mov al, byte [0x493b50]
mov ecx, 0x400
mov byte [esp + 0x2520], al
xor eax, eax
lea edi, [esp + 0x2521]
lea esi, [esp + 0x518]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x518]
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 0x404a5f
lea edi, [esp + 0x518]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [ecx + ecx + 1]
push ecx
call fcn.0046e679
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 1
jmp 0x404a6a
lea edx, [esp + 0x2520]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov byte [eax], 0
push 0x48d244
push esi
call fcn.00457ca0
add esp, 8
test eax, eax
je 0x404b09
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, 0x48d240
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, 0x48d244
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 0x404a71
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 + 0x518]
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 0x404b71
push edx
call fcn.0046e6a2
add esp, 4
mov cl, byte [0x493b50]
xor eax, eax
mov byte [esp + 0x3924], cl
mov ecx, 0x400
lea edi, [esp + 0x3925]
lea esi, [esp + 0x518]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x518]
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 0x404bde
lea edi, [esp + 0x518]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [ecx + ecx + 1]
push edx
call fcn.0046e679
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 1
jmp 0x404be9
lea eax, [esp + 0x3924]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov byte [ecx], 0
push 0x48d240
push esi
call fcn.00457ca0
add esp, 8
test eax, eax
je 0x404c88
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, 0x48d23c
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, 0x48d240
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 0x404bf0
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 + 0x518]
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 0x404cf0
push edx
call fcn.0046e6a2
add esp, 4
mov al, byte [esp + 0x518]
test al, al
je 0x404d84
lea edi, [esp + 0x518]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 0x3408]
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 + 0x518]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x517], 0x3b
je 0x404d84
mov edi, 0x48d23c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 0x3408]
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 + 0x518]
push eax
push 0x1001
push ecx
call fcn.00458145
add esp, 0xc
test eax, eax
jne 0x4049f3
mov edi, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
call fcn.004580c8
add esp, 4
jmp 0x404e44
mov edx, dword [ebp + 0x3408]
mov eax, dword [edx + ebx + 0x1034]
test eax, eax
je 0x404de9
push eax
call fcn.0046e6a2
mov eax, dword [ebp + 0x3408]
add esp, 4
mov dword [eax + ebx + 0x1034], 0
mov eax, dword [ebp + 0x3408]
or ecx, 0xffffffff
lea edi, [eax + ebx + 0x31]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0046e679
mov ecx, dword [ebp + 0x3408]
add esp, 4
mov dword [ecx + ebx + 0x1034], eax
mov edx, dword [ebp + 0x3408]
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 + 0x3408]
lea ecx, [esp + 0x38]
push ecx
push 0x1000
lea eax, [edx + ebx + 0x2039]
lea ecx, [esp + 0x310]
push eax
push 0x493b50
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 0x40479d
push 0x493f48
push 0
push str.NTUserAuth
push str.System
call esi
test eax, eax
mov dword [ebp + 0x341c], eax
je 0x404eb4
mov ecx, ebp
call fcn.004068c0
push 0x493f48
add ebp, 0x23e0
push 0x1000
push ebp
push 0x48d220
push str.NTDomain
push str.System
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe9b8
ret