Function at 0x426781
Capabilities:
Connect network resource
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
push ebx
xor ebx, ebx
push esi
push edi
push ebx
lea esi, [ebp + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ebx
call fcn.0041d036
mov dword [esp + 0x54], eax
mov eax, dword [0x46dd38]
mov ecx, 0x46dd38
mov dword [esp + 0x5c], ebx
call dword [eax + 0xc]
push ebx
push dword [ebp + 0x14]
add eax, 0x10
push dword [ebp + 0x18]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x4c]
push eax
call sub.MPR.dll_WNetAddConnection2W
test byte [ebp + 0xc], 1
mov esi, dword [ebp + 8]
je 0x426947
lea edi, [esi + 0x108]
mov eax, edi
call fcn.0042545f
test eax, eax
je 0x426947
cmp dword [ebp + 0x1c], ebx
je 0x4268dc
push edi
call fcn.00424e5c
test eax, eax
je 0x426947
lea eax, [ebp + 0x10]
lea edi, [esp + 0xc]
call fcn.0041d135
push 0x465054
mov eax, edi
push eax
call fcn.0040ef36
push str.Keys_
lea eax, [esp + 0x1c]
call fcn.0041c812
push 0x46715c
lea ebx, [esp + 0x28]
call fcn.00426e20
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
call fcn.0040efa7
pop ecx
lea ecx, [esp + 0x20]
call fcn.0040efd9
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.0041a9be
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0041ad22
push str..tmp
lea eax, [esi + 0x124]
lea ecx, [esp + 0x30]
call fcn.0040efd9
mov eax, dword [eax]
pop ecx
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.0041ad22
jmp 0x426947
lea eax, [ebp + 0x10]
lea edi, [esp + 0xc]
call fcn.0041d135
push 0x465054
mov eax, edi
push eax
call fcn.0040ef36
push 0x4670e0
lea ebx, [esp + 0x18]
call fcn.00426e20
lea ecx, [esp + 0x24]
call fcn.0040efd9
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.0041a9be
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
push dword [esp + 0xc]
mov eax, dword [esi + 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [esp + 0x10], eax
test byte [ebp + 0xc], 2
je 0x426a9c
mov eax, esi
call fcn.0042545f
test eax, eax
je 0x426a9c
cmp dword [ebp + 0x1c], 0
je 0x426a34
push esi
call fcn.00427bad
test eax, eax
je 0x426a9c
lea eax, [ebp + 0x10]
lea edi, [esp + 0xc]
call fcn.0041d135
push 0x465054
mov eax, edi
push eax
call fcn.0040ef36
push str.Web_
lea eax, [esp + 0x1c]
call fcn.0041c812
push 0x46715c
lea ebx, [esp + 0x30]
call fcn.00426e20
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.0040efa7
pop ecx
lea ecx, [esp + 0x18]
call fcn.0040efd9
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.0041a9be
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0041ad22
push str..tmp
lea eax, [esi + 0x1c]
lea ecx, [esp + 0x28]
call fcn.0040efd9
mov eax, dword [eax]
pop ecx
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
or dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.0041ad22
jmp 0x426a9c
lea eax, [ebp + 0x10]
lea edi, [esp + 0xc]
call fcn.0041d135
push 0x465054
mov eax, edi
push eax
call fcn.0040ef36
push str..005
lea ebx, [esp + 0x20]
call fcn.00426e20
lea ecx, [esp + 0x2c]
call fcn.0040efd9
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.0041a9be
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0041ad22
push dword [esp + 0xc]
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
or dword [esp + 0x10], eax
test byte [ebp + 0xc], 4
je 0x426bfd
lea edi, [esi + 0x84]
mov eax, edi
call fcn.0042545f
test eax, eax
je 0x426bfd
cmp dword [ebp + 0x1c], 0
je 0x426b92
push edi
call fcn.004240b6
test eax, eax
je 0x426bfd
lea eax, [ebp + 0x10]
lea edi, [esp + 0xc]
call fcn.0041d135
push 0x465054
mov eax, edi
push eax
call fcn.0040ef36
push str.Chat_
lea eax, [esp + 0x1c]
call fcn.0041c812
push 0x46715c
lea ebx, [esp + 0x30]
call fcn.00426e20
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.0040efa7
pop ecx
lea ecx, [esp + 0x18]
call fcn.0040efd9
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.0041a9be
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0041ad22
push str..tmp
lea eax, [esi + 0xa0]
lea ecx, [esp + 0x28]
call fcn.0040efd9
mov eax, dword [eax]
pop ecx
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
or dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.0041ad22
jmp 0x426bfd
lea eax, [ebp + 0x10]
lea edi, [esp + 0xc]
call fcn.0041d135
push 0x465054
mov eax, edi
push eax
call fcn.0040ef36
push 0x466e78
lea ebx, [esp + 0x20]
call fcn.00426e20
lea ecx, [esp + 0x2c]
call fcn.0040efd9
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.0041a9be
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0041ad22
push dword [esp + 0xc]
mov eax, dword [esi + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
or dword [esp + 0x10], eax
test byte [ebp + 0xc], 8
je 0x426d48
lea edi, [esi + 0x1b8]
mov eax, edi
call fcn.0042545f
test eax, eax
je 0x426d48
xor ebx, ebx
cmp dword [ebp + 0x1c], ebx
je 0x426cdd
lea eax, [esp + 0x30]
push eax
push edi
call fcn.00427230
test eax, eax
je 0x426d48
mov eax, dword [0x46dd38]
mov ecx, 0x46dd38
call dword [eax + 0xc]
mov edi, eax
add edi, 0x10
cmp dword [esp + 0x34], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
jbe 0x426cc9
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x34]
jae 0x426cd3
mov ecx, dword [esp + 0x30]
lea ebx, [ecx + eax*4]
push dword [ebx]
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea eax, [ebp + 0x10]
lea edi, [esp + 0x1c]
call fcn.0041d135
push 0x465054
mov eax, edi
push eax
call fcn.0040ef36
lea eax, [esp + 0x60]
push eax
mov eax, edi
push eax
call fcn.0040ef36
mov edi, dword [esp + 0x1c]
mov ebx, dword [ebx]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
or dword [esp + 0x10], eax
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x34]
jb 0x426c5a
lea eax, [edi - 0x10]
call fcn.0041ad22
jmp 0x426d48
push 0x80070057
call fcn.0041b286
lea eax, [ebp + 0x10]
lea edi, [esp + 0xc]
call fcn.0041d135
push 0x465054
mov eax, edi
push eax
call fcn.0040ef36
push str..009
lea ebx, [esp + 0x24]
call fcn.00426e20
lea ecx, [esp + 0x18]
call fcn.0040efd9
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.0041a9be
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.0041ad22
push dword [esp + 0xc]
mov eax, dword [esi + 0x1d4]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
or dword [esp + 0x10], eax
mov ebx, dword [ebp + 0x10]
push 1
push 0
push ebx
call sub.MPR.dll_WNetCancelConnection2W
push str..tmp
lea eax, [esi + 0x124]
lea ecx, [esp + 0x18]
call fcn.0040efd9
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop ecx
push dword [eax]
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
push str..tmp
lea eax, [esi + 0xa0]
lea ecx, [esp + 0x18]
call fcn.0040efd9
pop ecx
push dword [eax]
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
push str..tmp
lea eax, [esi + 0x1c]
lea ecx, [esp + 0x18]
call fcn.0040efd9
pop ecx
push dword [eax]
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
xor esi, esi
jmp 0x426dd5
mov eax, dword [esp + 0x30]
push dword [eax + esi*4]
call edi
inc esi
cmp esi, dword [esp + 0x34]
jb 0x426dcb
lea esi, [esp + 0x30]
call fcn.00426fee
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.0041ad22
call fcn.00427013
lea eax, [ebx - 0x10]
call fcn.0041ad22
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18