Function at 0x482d90
Capabilities:
Check if file exists
Delete file
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, 8
push edi
cmp dword [esi + 0x90], ebx
jb 0x482dba
mov eax, dword [esi + 0x7c]
jmp 0x482dbd
lea eax, [esi + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x48321c
cmp dword [esi + 0x100], 0x10
jb 0x482dde
mov edx, dword [esi + 0xec]
jmp 0x482de4
lea edx, [esi + 0xec]
cmp dword [esi + 0xe4], ebx
jb 0x482df4
mov ecx, dword [esi + 0xd0]
jmp 0x482dfa
lea ecx, [esi + 0xd0]
cmp dword [esi + 0x90], ebx
jb 0x482e07
mov eax, dword [esi + 0x7c]
jmp 0x482e0a
lea eax, [esi + 0x7c]
push edx
push ecx
push eax
call fcn.004012a0
add esp, 0xc
cmp dword [esi + 0xe4], ebx
jb 0x482e25
mov eax, dword [esi + 0xd0]
jmp 0x482e2b
lea eax, [esi + 0xd0]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 1
push str.StartServer
push 0x510c40
call edi
mov dword [esi + 0x1e4], eax
cmp dword [esi + 0xe4], ebx
jb 0x482e56
mov eax, dword [esi + 0xd0]
jmp 0x482e5c
lea eax, [esi + 0xd0]
push eax
push 1
push str.ShowTip
push 0x510c40
call edi
mov dword [esi + 0x1f4], eax
cmp dword [esi + 0xe4], ebx
jb 0x482e81
mov eax, dword [esi + 0xd0]
jmp 0x482e87
lea eax, [esi + 0xd0]
push eax
push 1
push str.ScanWhenStart
push 0x510c40
call edi
mov dword [esi + 0x1f0], eax
cmp dword [esi + 0xe4], ebx
jb 0x482eac
mov eax, dword [esi + 0xd0]
jmp 0x482eb2
lea eax, [esi + 0xd0]
push eax
push 1
push str.SaveNamePass
push 0x510c40
call edi
mov dword [esi + 0x1e8], eax
cmp dword [esi + 0xe4], ebx
jb 0x482ed7
mov eax, dword [esi + 0xd0]
jmp 0x482edd
lea eax, [esi + 0xd0]
push eax
push 1
push str.AutoLogin
push 0x510c40
call edi
mov dword [esi + 0x1ec], eax
cmp dword [esi + 0xe4], ebx
jb 0x482f02
mov eax, dword [esi + 0xd0]
jmp 0x482f08
lea eax, [esi + 0xd0]
push eax
push 0
push str.RemoveToRecycle
push 0x510c40
call edi
mov dword [esi + 0x1f8], eax
cmp dword [esi + 0xe4], ebx
jb 0x482f2d
mov eax, dword [esi + 0xd0]
jmp 0x482f33
lea eax, [esi + 0xd0]
push eax
push 0
push str.AutoCheck
push 0x510c40
call edi
mov dword [esi + 0x200], eax
cmp dword [esi + 0xe4], ebx
jb 0x482f58
mov eax, dword [esi + 0xd0]
jmp 0x482f5e
lea eax, [esi + 0xd0]
push eax
push 1
push str.AutoUpdate
push 0x510c40
call edi
mov dword [esi + 0x1fc], eax
cmp dword [esi + 0xe4], ebx
jb 0x482f83
mov eax, dword [esi + 0xd0]
jmp 0x482f89
lea eax, [esi + 0xd0]
push eax
push 1
push str.AutoCloseTime
push 0x510c40
call edi
mov dword [esi + 0x204], eax
cmp dword [esi + 0xe4], ebx
jb 0x482fae
mov eax, dword [esi + 0xd0]
jmp 0x482fb4
lea eax, [esi + 0xd0]
push eax
push 0
push str.WindowBorder
push 0x510c40
call edi
mov dword [esi + 0x208], eax
cmp dword [esi + 0xe4], ebx
jb 0x482fd9
mov eax, dword [esi + 0xd0]
jmp 0x482fdf
lea eax, [esi + 0xd0]
push eax
push 5
push str.MaxDownloadNumber
push 0x510c40
call edi
mov dword [esi + 0x20c], eax
cmp dword [esi + 0xe4], ebx
jb 0x483004
mov eax, dword [esi + 0xd0]
jmp 0x48300a
lea eax, [esi + 0xd0]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x410
lea eax, [ebp - 0x824]
push eax
push 0x52a4dc
push str.LastScanTime
push 0x510c40
call edi
lea eax, [ebp - 0x824]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x483037
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x824]
push ecx
lea ecx, [esi + 0x190]
call fcn.00403060
cmp dword [esi + 0xe4], ebx
jb 0x483069
mov eax, dword [esi + 0xd0]
jmp 0x48306f
lea eax, [esi + 0xd0]
push eax
push 0x410
lea edx, [ebp - 0x824]
push edx
push str.._.____._.____.____.___.____.____._____t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t__.gid_.fts_.ftg_.old_.prv_.wbk_.xlk_._mp_.mp_.tmp_.temp_.pch_.err_.chk_.syd_.Res_.cdr__file0.chk_checklist.m__t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t__file____._dd_0_______.nch_exe_.pf_errorlog.txt_imagedb.aid_mscreate.dir_
push str.FileScanType
push 0x510c40
call edi
lea eax, [ebp - 0x824]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x483096
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x824]
push eax
lea ecx, [esi + 0x1ac]
call fcn.00403060
cmp dword [esi + 0xe4], ebx
jb 0x4830c8
mov eax, dword [esi + 0xd0]
jmp 0x4830ce
lea eax, [esi + 0xd0]
push eax
push 0x410
lea ecx, [ebp - 0x824]
push ecx
push 0x52a4dc
push str.DownloadPath
push 0x510c40
call edi
lea edx, [ebp - 0x824]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x48312b
lea eax, [ebp - 0x824]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x483107
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x824]
push eax
lea ecx, [esi + 0x13c]
call fcn.00403060
jmp 0x48313e
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x40]
push ecx
lea ecx, [esi + 0x13c]
call fcn.00402df0
cmp dword [esi + 0xe4], ebx
jb 0x48314e
mov eax, dword [esi + 0xd0]
jmp 0x483154
lea eax, [esi + 0xd0]
push eax
push 0x410
lea edx, [ebp - 0x824]
push edx
push 0x52a4dc
push str.DirverPath
push 0x510c40
call edi
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4831b4
lea eax, [ebp - 0x824]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x483190
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x824]
push ecx
lea ecx, [esi + 0x158]
call fcn.00403060
jmp 0x4831c7
push 0xffffffffffffffff
push 0
lea edx, [esi + 0x5c]
push edx
lea ecx, [esi + 0x158]
call fcn.00402df0
cmp dword [esi + 0xe4], ebx
jb 0x4831d7
mov eax, dword [esi + 0xd0]
jmp 0x4831dd
lea eax, [esi + 0xd0]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
cmp dword [esi + 0x90], ebx
jb 0x483205
mov esi, dword [esi + 0x7c]
push esi
call edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret
add esi, 0x7c
push esi
call edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret
push 1
push str.StartServer
push 0x510c40
mov ecx, esi
call fcn.004026c0
push 1
push str.ShowTip
push 0x510c40
mov ecx, esi
mov dword [esi + 0x1e4], eax
call fcn.004026c0
push 1
push str.ScanWhenStart
push 0x510c40
mov ecx, esi
mov dword [esi + 0x1f4], eax
call fcn.004026c0
push 1
push str.SaveNamePass
push 0x510c40
mov ecx, esi
mov dword [esi + 0x1f0], eax
call fcn.004026c0
push 1
push str.AutoLogin
push 0x510c40
mov ecx, esi
mov dword [esi + 0x1e8], eax
call fcn.004026c0
push 0
push str.RemoveToRecycle
push 0x510c40
mov ecx, esi
mov dword [esi + 0x1ec], eax
call fcn.004026c0
push 0
push str.AutoCheck
push 0x510c40
mov ecx, esi
mov dword [esi + 0x1f8], eax
call fcn.004026c0
push 1
push str.AutoUpdate
push 0x510c40
mov ecx, esi
mov dword [esi + 0x200], eax
call fcn.004026c0
push 1
push str.AutoCloseTime
push 0x510c40
mov ecx, esi
mov dword [esi + 0x1fc], eax
call fcn.004026c0
push 0
push str.WindowBorder
push 0x510c40
mov ecx, esi
mov dword [esi + 0x204], eax
call fcn.004026c0
push 5
push str.MaxDownloadNumber
push 0x510c40
mov ecx, esi
mov dword [esi + 0x208], eax
call fcn.004026c0
push 0
push str.LastHomeTime
push 0x510c40
mov ecx, esi
mov dword [esi + 0x20c], eax
call fcn.004026c0
push 0x52a4dc
push str.LastScanTime
mov dword [esi + 0x210], eax
push 0x510c40
lea eax, [ebp - 0x840]
push eax
mov ecx, esi
call fcn.00402840
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x190]
call fcn.00402df0
cmp dword [ebp - 0x828], ebx
jb 0x48338c
mov ecx, dword [ebp - 0x83c]
push ecx
call fcn.004ea481
add esp, 4
push str.._.____._.____.____.___.____.____.____.gid_.fts_.ftg_.old_.prv_.wbk_.xlk_._mp_.mp_.tmp_.temp_.pch_.err_.chk_.syd_.Res_.cdr__file0.chk_checklist.m_file____._dd_0_______.nch_exe_.pf_errorlog.txt_imagedb.aid_mscreate.dir_
push str.FileScanType
push 0x510c40
lea edx, [ebp - 0x840]
push edx
mov ecx, esi
call fcn.00402840
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x1ac]
call fcn.00402df0
cmp dword [ebp - 0x828], ebx
jb 0x4833d0
mov eax, dword [ebp - 0x83c]
push eax
call fcn.004ea481
add esp, 4
push 0x52a4dc
push str.DownloadPath
push 0x510c40
lea ecx, [ebp - 0x840]
push ecx
mov ecx, esi
call fcn.00402840
push 0xffffffffffffffff
push 0
lea edi, [esi + 0x13c]
push eax
mov ecx, edi
call fcn.00402df0
cmp dword [ebp - 0x828], ebx
jb 0x483416
mov edx, dword [ebp - 0x83c]
push edx
call fcn.004ea481
add esp, 4
cmp dword [edi + 0x18], ebx
jb 0x483420
mov eax, dword [edi + 4]
jmp 0x483423
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x483447
cmp dword [edi + 0x18], ebx
jb 0x483439
mov eax, dword [edi + 4]
jmp 0x48343c
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x483456
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x40]
push eax
mov ecx, edi
call fcn.00402df0
push 0x52a4dc
push str.DirverPath
push 0x510c40
lea ecx, [ebp - 0x840]
push ecx
mov ecx, esi
call fcn.00402840
push 0xffffffffffffffff
push 0
lea edi, [esi + 0x158]
push eax
mov ecx, edi
call fcn.00402df0
cmp dword [ebp - 0x828], ebx
jb 0x48349c
mov edx, dword [ebp - 0x83c]
push edx
call fcn.004ea481
add esp, 4
cmp dword [edi + 0x18], ebx
jb 0x4834a6
mov eax, dword [edi + 4]
jmp 0x4834a9
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4834cd
cmp dword [edi + 0x18], ebx
jb 0x4834bf
mov eax, dword [edi + 4]
jmp 0x4834c2
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4834dc
push 0xffffffffffffffff
push 0
add esi, 0x5c
push esi
mov ecx, edi
call fcn.00402df0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret