Function at 0x4acf50
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 0x606ad2
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x6687b8]
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.004c6880
add esp, 0x14
test edi, edi
je 0x4acfe2
push edi
push 0x633154
mov ecx, ebx
call fcn.004c6880
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 0x4ad014
cmp esi, 0x194
je 0x4ad014
lea edi, [esi + 0x2710]
mov esi, ebx
call fcn.004c5d60
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 0x4ad063
lea ecx, [eax - 1]
test ecx, ecx
jl 0x4ad1d4
cmp ecx, eax
jg 0x4ad1d4
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4ad063
mov edx, 0x62454c
lea edi, [esp + 0x14]
call fcn.0040ae60
push 0xd
push str.cdictlist.ini
lea eax, [esp + 0x1c]
push eax
call fcn.0040aee0
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 0x4ad0c0
lea ecx, [eax - 1]
test ecx, ecx
jl 0x4ad1d4
cmp ecx, eax
jg 0x4ad1d4
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4ad0c0
mov edx, 0x62454c
lea edi, [esp + 0x10]
call fcn.0040ae60
push 0xd
push str.cdictlist.ini
lea eax, [esp + 0x18]
push eax
call fcn.0040aee0
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov edx, dword [0x677600]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
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.0040ac80
add esp, 0xc
cmp esi, 0x194
jne 0x4ad303
test byte [ebx + 0x10], 2
mov ecx, dword [esp + 0x14]
push ecx
jne 0x4ad1de
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ad140
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
mov esi, ebx
call fcn.004c5d60
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 0x4ad16e
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 0x4ad193
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 0x4ad7fb
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.00403650
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x4ad20e
mov edx, dword [esp + 0x14]
push edx
call esi
test eax, eax
jne 0x4ad200
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
mov esi, ebx
call fcn.004c5d60
jmp 0x4ad7e0
lea esi, [esp + 0x50]
call fcn.004afdd0
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.0040a210
add eax, 0x10
mov dword [esi], eax
call fcn.004adbe0
test eax, eax
jne 0x4ad24b
xor edi, edi
mov esi, ebx
call fcn.004c5d60
test byte [ebx + 0x10], 3
je 0x4ad275
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.0040a210
add eax, 0x10
mov dword [esi], eax
call fcn.004ae380
mov ecx, dword [ebx + 4]
push 0x631d78
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.004c5f50
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.0040a210
add eax, 0x10
mov dword [esi], eax
call fcn.004ae380
test eax, eax
je 0x4ad2de
mov eax, dword [esp + 0x1c]
push eax
push eax
call fcn.004c6090
add esp, 8
test eax, eax
jne 0x4ad2de
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 0x4ad2e7
xor edi, edi
mov esi, ebx
call fcn.004c5d60
lea ecx, [esp + 0x1c]
call fcn.00403870
lea eax, [esp + 0x50]
mov byte [esp + 0x68], 2
call fcn.004b06e0
jmp 0x4ad632
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.004c62b0
add esp, 8
test eax, eax
jge 0x4ad31b
mov edi, eax
jmp 0x4ad142
lea ecx, [esp + 0x2c]
push ecx
xor edi, edi
call fcn.0050ea10
mov edx, dword [ebp + 0xc]
lea esi, [esp + 0x2c]
mov byte [esp + 0x68], 5
call fcn.0050ebf0
mov edx, dword [esp + 0x2c]
push edx
push edi
push 0x6291fc
push str.Properties
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
call fcn.0050ec40
test edi, edi
jne 0x4ad380
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00409dd0
mov ecx, ebx
call fcn.004ad900
test eax, eax
jne 0x4ad380
mov esi, ebx
call fcn.004c5d60
jmp 0x4ad7d1
lea esi, [esp + 0x50]
call fcn.004afdd0
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.00409dd0
call fcn.004adbe0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ad3f5
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.004c5d60
lea eax, [esp + 0x50]
mov byte [esp + 0x68], 5
call fcn.004b06e0
lea edx, [esp + 0x2c]
push edx
jmp 0x4ad7d6
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 0x4ad410
test edi, edi
mov esi, dword [eax + 4]
je 0x4ad41b
cmp edi, eax
je 0x4ad420
call fcn.005d29f1
cmp dword [esp + 0x38], esi
je 0x4ad4c4
test edi, edi
mov edx, dword [esp + 0x54]
mov dword [esp + 0x40], edx
jne 0x4ad43b
call fcn.005d29f1
mov eax, dword [esp + 0x38]
cmp eax, dword [edi + 4]
jne 0x4ad449
call fcn.005d29f1
mov ebx, dword [esp + 0x38]
lea ecx, [esp + 0x44]
add ebx, 0xc
push ecx
lea esi, [esp + 0x54]
call fcn.004b0290
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x4ad46e
lea edx, [esp + 0x50]
cmp eax, edx
je 0x4ad473
call fcn.005d29f1
mov eax, dword [esp + 0x40]
cmp dword [esi + 4], eax
jne 0x4ad4aa
mov esi, dword [esp + 0x38]
cmp esi, dword [edi + 4]
jne 0x4ad494
call fcn.005d29f1
cmp esi, dword [edi + 4]
jne 0x4ad494
call fcn.005d29f1
mov eax, ebx
push eax
lea ecx, [esp + 0x54]
lea ebx, [eax + 4]
call fcn.004afe00
mov esi, eax
call fcn.004ad810
lea esi, [esp + 0x34]
call fcn.004b0ba0
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
jmp 0x4ad410
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 0x4ad4eb
cmp edi, eax
je 0x4ad4f0
call fcn.005d29f1
cmp dword [esp + 0x38], esi
je 0x4ad57f
test edi, edi
mov edx, dword [esp + 0x54]
mov dword [esp + 0x40], edx
jne 0x4ad50b
call fcn.005d29f1
mov eax, dword [esp + 0x38]
cmp eax, dword [edi + 4]
jne 0x4ad519
call fcn.005d29f1
mov ebx, dword [esp + 0x38]
lea ecx, [esp + 0x44]
add ebx, 0xc
push ecx
lea esi, [esp + 0x54]
call fcn.004b0290
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x4ad53e
lea edx, [esp + 0x50]
cmp eax, edx
je 0x4ad543
call fcn.005d29f1
mov eax, dword [esp + 0x40]
cmp dword [esi + 4], eax
je 0x4ad565
mov ecx, dword [esp + 0x38]
cmp ecx, dword [edi + 4]
jne 0x4ad55a
call fcn.005d29f1
mov eax, ebx
lea esi, [esp + 0x50]
call fcn.004b0220
lea esi, [esp + 0x34]
call fcn.004b0ba0
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
jmp 0x4ad4e0
mov eax, dword [ebx + 4]
push 0x631d78
lea edx, [esp + 0x20]
push edx
push eax
call fcn.004c5f50
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.0040a210
add eax, 0x10
mov dword [esi], eax
call fcn.004ae380
test eax, eax
jne 0x4ad650
push 0
push 0x633154
mov ecx, ebx
call fcn.004c6880
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 0x4ad615
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.004b06e0
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x6c], 2
call fcn.0050ea80
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 0x4ad162
mov eax, dword [ebx + 0x10]
cmp eax, 1
jne 0x4ad6bb
cmp dword [ebx + 0x58], 0
jne 0x4ad66e
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
call edx
jmp 0x4ad6a5
lea esi, [esp + 0x44]
call fcn.004afdd0
mov eax, esi
push eax
lea ecx, [ebx + 0x50]
push ecx
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x74], 8
call fcn.004ae670
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.004b06e0
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x4ad5c3
cmp eax, 2
jne 0x4ad714
mov eax, dword [esp + 0x1c]
push eax
push eax
call fcn.004c6090
add esp, 8
test eax, eax
jne 0x4ad7b1
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.0040a210
add eax, 0x10
mov dword [esi], eax
call fcn.004ae380
jmp 0x4ad5f0
cmp dword [ebx + 0x58], 0
jne 0x4ad72a
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
call edx
jmp 0x4ad761
lea esi, [esp + 0x44]
call fcn.004afdd0
mov eax, esi
push eax
lea ecx, [ebx + 0x50]
push ecx
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x74], 9
call fcn.004ae670
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.004b06e0
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.0040a210
add eax, 0x10
mov dword [esi], eax
call fcn.004ae380
mov eax, dword [esp + 0x1c]
push eax
push eax
call fcn.004c6090
add esp, 8
test eax, eax
jne 0x4ad7b1
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 0x4ad5f0
mov edi, eax
mov esi, ebx
call fcn.004c5d60
lea ecx, [esp + 0x1c]
call fcn.00403870
lea eax, [esp + 0x50]
mov byte [esp + 0x68], 5
call fcn.004b06e0
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x6c], 2
call fcn.0050ea80
lea ecx, [esp + 0x18]
call fcn.00403870
lea ecx, [esp + 0x10]
call fcn.00403870
lea ecx, [esp + 0x14]
call fcn.00403870
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