Function at 0x4982d0
Capabilities:
Check if file exists
Copy file
Delete file
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a8922
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edi
push eax
push ecx
push str.CCellDictListSyncModule::OnDownloadComplete___s___s___d___d
mov ecx, ebx
call fcn.004aee70
add esp, 0x14
test edi, edi
je 0x498362
push edi
push 0x5c7d24
mov ecx, ebx
call fcn.004aee70
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
add esp, 8
mov ecx, ebx
call eax
fld1
fstp dword [ebx + 0xc]
mov dword [ebx + 0x14], edi
mov dword [ebx + 8], 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp esi, 0xc8
je 0x498394
cmp esi, 0x194
je 0x498394
lea edi, [esi + 0x2710]
mov esi, ebx
call fcn.004ae350
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 1
lea eax, [esp + 0x18]
push eax
call edx
mov dword [esp + 0x68], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x4983e3
lea ecx, [eax - 1]
test ecx, ecx
jl 0x498554
cmp ecx, eax
jg 0x498554
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4983e3
mov edx, 0x5bd0e8
lea edi, [esp + 0x14]
call fcn.00412930
push 0xd
push str.cdictlist.ini
lea eax, [esp + 0x1c]
push eax
call fcn.00403fc0
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 3
lea eax, [esp + 0x14]
push eax
call edx
mov byte [esp + 0x68], 1
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x498440
lea ecx, [eax - 1]
test ecx, ecx
jl 0x498554
cmp ecx, eax
jg 0x498554
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x498440
mov edx, 0x5bd0e8
lea edi, [esp + 0x10]
call fcn.00412930
push 0xd
push str.cdictlist.ini
lea eax, [esp + 0x18]
push eax
call fcn.00403fc0
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov edx, dword [0x5fcd20]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push str.cdictlist.ini
push edi
push str.__u__s
lea edi, [esp + 0x24]
mov byte [esp + 0x74], 2
call fcn.004126f0
add esp, 0xc
cmp esi, 0x194
jne 0x498683
test byte [ebx + 0x10], 2
mov ecx, dword [esp + 0x14]
push ecx
jne 0x49855e
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4984c0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
mov esi, ebx
call fcn.004ae350
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4984ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x498513
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x498b7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.00404550
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x49858e
mov edx, dword [esp + 0x14]
push edx
call esi
test eax, eax
jne 0x498580
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
mov esi, ebx
call fcn.004ae350
jmp 0x498b60
lea esi, [esp + 0x50]
call fcn.0049b170
mov ecx, esi
push 0
mov byte [esp + 0x6c], 3
mov eax, dword [esp + 0x18]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.00403ce0
add eax, 0x10
mov dword [esi], eax
call fcn.00498f60
test eax, eax
jne 0x4985cb
xor edi, edi
mov esi, ebx
call fcn.004ae350
test byte [ebx + 0x10], 3
je 0x4985f5
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x54]
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.00403ce0
add eax, 0x10
mov dword [esi], eax
call fcn.00499720
mov ecx, dword [ebx + 4]
push 0x5c6908
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.004ae540
push 0
lea edx, [esp + 0x54]
mov byte [esp + 0x6c], 4
mov eax, dword [esp + 0x20]
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.00403ce0
add eax, 0x10
mov dword [esi], eax
call fcn.00499720
test eax, eax
je 0x49865e
mov eax, dword [esp + 0x1c]
push eax
push eax
call fcn.004ae680
add esp, 8
test eax, eax
jne 0x49865e
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push edx
mov edx, dword [esp + 0x1c]
push edx
push ebx
call eax
jmp 0x498667
xor edi, edi
mov esi, ebx
call fcn.004ae350
lea ecx, [esp + 0x1c]
call fcn.00404510
lea eax, [esp + 0x50]
mov byte [esp + 0x68], 2
call fcn.0049ba30
jmp 0x4989b2
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.004ae8a0
add esp, 8
test eax, eax
jge 0x49869b
mov edi, eax
jmp 0x4984c2
lea ecx, [esp + 0x2c]
push ecx
xor edi, edi
call fcn.004d0e10
mov edx, dword [ebp + 0xc]
lea esi, [esp + 0x2c]
mov byte [esp + 0x68], 5
call fcn.004d0ff0
mov edx, dword [esp + 0x2c]
push edx
push edi
push str.Version
push str.Properties
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
call fcn.004d1040
test edi, edi
jne 0x498700
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00404460
mov ecx, ebx
call fcn.00498c80
test eax, eax
jne 0x498700
mov esi, ebx
call fcn.004ae350
jmp 0x498b51
lea esi, [esp + 0x50]
call fcn.0049b170
push 0
mov edx, esi
push edx
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x78], 6
call fcn.00404460
call fcn.00498f60
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x498775
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
mov eax, esi
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
xor edi, edi
mov esi, ebx
call fcn.004ae350
lea eax, [esp + 0x50]
mov byte [esp + 0x68], 5
call fcn.0049ba30
lea edx, [esp + 0x2c]
push edx
jmp 0x498b56
mov ecx, dword [ebx + 0x30]
mov ecx, dword [ecx]
lea eax, [ebx + 0x2c]
mov edi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edi
jmp 0x498790
test edi, edi
mov esi, dword [eax + 4]
je 0x49879b
cmp edi, eax
je 0x4987a0
call fcn.00578ff3
cmp dword [esp + 0x38], esi
je 0x498844
test edi, edi
mov edx, dword [esp + 0x54]
mov dword [esp + 0x40], edx
jne 0x4987bb
call fcn.00578ff3
mov eax, dword [esp + 0x38]
cmp eax, dword [edi + 4]
jne 0x4987c9
call fcn.00578ff3
mov ebx, dword [esp + 0x38]
lea ecx, [esp + 0x44]
add ebx, 0xc
push ecx
lea esi, [esp + 0x54]
call fcn.0049b630
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x4987ee
lea edx, [esp + 0x50]
cmp eax, edx
je 0x4987f3
call fcn.00578ff3
mov eax, dword [esp + 0x40]
cmp dword [esi + 4], eax
jne 0x49882a
mov esi, dword [esp + 0x38]
cmp esi, dword [edi + 4]
jne 0x498814
call fcn.00578ff3
cmp esi, dword [edi + 4]
jne 0x498814
call fcn.00578ff3
mov eax, ebx
push eax
lea ecx, [esp + 0x54]
lea ebx, [eax + 4]
call fcn.0049b1a0
mov esi, eax
call fcn.00498b90
lea esi, [esp + 0x34]
call fcn.0045a450
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
jmp 0x498790
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ecx]
lea eax, [ebx + 0x38]
mov edi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edi
lea ebx, [ebx]
test edi, edi
mov esi, dword [eax + 4]
je 0x49886b
cmp edi, eax
je 0x498870
call fcn.00578ff3
cmp dword [esp + 0x38], esi
je 0x4988ff
test edi, edi
mov edx, dword [esp + 0x54]
mov dword [esp + 0x40], edx
jne 0x49888b
call fcn.00578ff3
mov eax, dword [esp + 0x38]
cmp eax, dword [edi + 4]
jne 0x498899
call fcn.00578ff3
mov ebx, dword [esp + 0x38]
lea ecx, [esp + 0x44]
add ebx, 0xc
push ecx
lea esi, [esp + 0x54]
call fcn.0049b630
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x4988be
lea edx, [esp + 0x50]
cmp eax, edx
je 0x4988c3
call fcn.00578ff3
mov eax, dword [esp + 0x40]
cmp dword [esi + 4], eax
je 0x4988e5
mov ecx, dword [esp + 0x38]
cmp ecx, dword [edi + 4]
jne 0x4988da
call fcn.00578ff3
mov eax, ebx
lea esi, [esp + 0x50]
call fcn.0049b5c0
lea esi, [esp + 0x34]
call fcn.0045a450
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
jmp 0x498860
mov eax, dword [ebx + 4]
push 0x5c6908
lea edx, [esp + 0x20]
push edx
push eax
call fcn.004ae540
lea ecx, [esp + 0x50]
push 0
mov byte [esp + 0x6c], 7
mov eax, dword [esp + 0x20]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.00403ce0
add eax, 0x10
mov dword [esi], eax
call fcn.00499720
test eax, eax
jne 0x4989d0
push 0
push 0x5c7d24
mov ecx, ebx
call fcn.004aee70
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
add esp, 8
mov ecx, ebx
call eax
fld1
fstp dword [ebx + 0xc]
mov dword [ebx + 8], 1
mov dword [ebx + 0x14], 0
mov byte [esp + 0x68], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x498995
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x50]
mov byte [esp + 0x68], 5
call fcn.0049ba30
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x6c], 2
call fcn.004d0e80
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4984e2
mov eax, dword [ebx + 0x10]
cmp eax, 1
jne 0x498a3b
cmp dword [ebx + 0x58], 0
jne 0x4989ee
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
call edx
jmp 0x498a25
lea esi, [esp + 0x44]
call fcn.0049b170
mov eax, esi
push eax
lea ecx, [ebx + 0x50]
push ecx
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x74], 8
call fcn.00499a10
mov eax, dword [ebx]
mov edx, dword [eax + 0x3c]
mov ecx, esi
push ecx
mov ecx, ebx
call edx
mov eax, esi
mov byte [esp + 0x68], 7
call fcn.0049ba30
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x498943
cmp eax, 2
jne 0x498a94
mov eax, dword [esp + 0x1c]
push eax
push eax
call fcn.004ae680
add esp, 8
test eax, eax
jne 0x498b31
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ebx
call edx
push 0
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.00403ce0
add eax, 0x10
mov dword [esi], eax
call fcn.00499720
jmp 0x498970
cmp dword [ebx + 0x58], 0
jne 0x498aaa
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
call edx
jmp 0x498ae1
lea esi, [esp + 0x44]
call fcn.0049b170
mov eax, esi
push eax
lea ecx, [ebx + 0x50]
push ecx
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x74], 9
call fcn.00499a10
mov eax, dword [ebx]
mov edx, dword [eax + 0x3c]
mov ecx, esi
push ecx
mov ecx, ebx
call edx
mov eax, esi
mov byte [esp + 0x68], 7
call fcn.0049ba30
push 0
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.00403ce0
add eax, 0x10
mov dword [esi], eax
call fcn.00499720
mov eax, dword [esp + 0x1c]
push eax
push eax
call fcn.004ae680
add esp, 8
test eax, eax
jne 0x498b31
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ebx
call edx
jmp 0x498970
mov edi, eax
mov esi, ebx
call fcn.004ae350
lea ecx, [esp + 0x1c]
call fcn.00404510
lea eax, [esp + 0x50]
mov byte [esp + 0x68], 5
call fcn.0049ba30
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x6c], 2
call fcn.004d0e80
lea ecx, [esp + 0x18]
call fcn.00404510
lea ecx, [esp + 0x10]
call fcn.00404510
lea ecx, [esp + 0x14]
call fcn.00404510
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10