Function at 0x401a70
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1f50
call fcn.00442d30
push ebx
push esi
push edi
mov esi, ecx
call fcn.004106f1
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x342]
push ebx
push eax
mov word [ebp - 0x344], bx
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
jne 0x401adc
push 0x444510
lea edi, [ebp - 0x344]
call fcn.004065e6
pop ecx
push ebx
mov eax, edi
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov esi, edi
jmp 0x401ae3
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x3ff
lea eax, [ebp - 0x743]
push ebx
push eax
mov byte [ebp - 0x744], bl
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x744]
push eax
push esi
call fcn.00406f0f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x744]
push eax
mov dword [ebp - 0x10], ebx
call fcn.00440b28
add esp, 0x10
cmp dword [ebp - 0x10], ebx
je 0x401d58
lea eax, [ebp - 0xc]
push eax
push ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x10]
push 0xffffffffffffffff
push str.SELECT_origin_url__action_url__username_element__username_value__password_element__password_value__signon_realm__date_created_from_logins
lea esi, [ebp - 8]
call fcn.00434f7a
mov edi, dword [ebp - 8]
add esp, 0x10
test edi, edi
je 0x401d4e
push edi
call fcn.00421e91
jmp 0x401d3f
call fcn.004106f1
cmp dword [0x450df4], 0
jne 0x401d49
push 0x1808
lea eax, [ebp - 0x1f4c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor eax, eax
mov ecx, edi
call fcn.00422079
mov dword [ebp - 0x28], eax
xor eax, eax
inc eax
mov ecx, edi
call fcn.00422079
mov dword [ebp - 0x2c], eax
push 2
pop eax
mov ecx, edi
call fcn.00422079
mov dword [ebp - 0x24], eax
push 3
pop eax
mov ecx, edi
call fcn.00422079
mov dword [ebp - 0xc], eax
push 4
pop eax
mov ecx, edi
call fcn.00422079
mov dword [ebp - 0x30], eax
push 7
pop eax
mov esi, edi
call fcn.00422008
mov ecx, eax
call fcn.0041f54f
mov esi, eax
call fcn.00422059
push esi
lea ebx, [ebp - 0x74c]
call fcn.00401a01
pop ecx
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x1f4c]
push eax
push dword [ebp - 0x28]
call fcn.00406f2f
add esp, 0xc
push esi
lea eax, [ebp - 0x174c]
push eax
push dword [ebp - 0x2c]
call fcn.00406f2f
add esp, 0xc
mov ebx, 0xff
push ebx
lea eax, [ebp - 0xf4c]
push eax
push dword [ebp - 0x24]
call fcn.00406f2f
add esp, 0xc
push ebx
lea eax, [ebp - 0xd4c]
push eax
push dword [ebp - 0x30]
call fcn.00406f2f
add esp, 0xc
push ebx
lea eax, [ebp - 0xb4c]
push eax
push 0xffffffffffffffff
push dword [ebp - 0xc]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov edi, dword [ebp - 8]
push 5
pop eax
mov esi, edi
call fcn.00422008
mov esi, eax
call fcn.00421c8a
mov dword [ebp - 0xc], eax
call fcn.00422059
push 5
pop eax
mov esi, edi
call fcn.00422008
mov esi, eax
call fcn.0041fef7
mov esi, eax
call fcn.00422059
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x18], ecx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push ecx
push ecx
lea eax, [ebp - 0x20]
push eax
mov eax, 0x450f40
mov dword [ebp - 0x20], esi
call fcn.0040244c
xor edi, edi
cmp dword [ebp - 0x14], edi
je 0x401d26
mov esi, dword [ebp - 0x18]
lea eax, [ebx - 1]
cmp esi, eax
jbe 0x401ccd
mov esi, eax
push ebx
lea eax, [ebp - 0x133]
push edi
push eax
mov byte [ebp - 0x134], 0
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
push dword [ebp - 0x14]
lea eax, [ebp - 0x134]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push ebx
lea eax, [ebp - 0x94c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x134]
push eax
push edi
push 0xfde9
mov byte [ebp + esi - 0x134], 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x1f4c]
push edx
call dword [eax]
push dword [ebp - 8]
call fcn.00421e91
mov edi, dword [ebp - 8]
cmp eax, 0x64
pop ecx
je 0x401b5d
call fcn.00421bf3
mov eax, dword [ebp - 0x10]
call fcn.00440493
xor ebx, ebx
cmp word [ebp - 0x344], bx
je 0x401d6e
lea eax, [ebp - 0x344]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
pop edi
pop esi
pop ebx
leave
ret 4