Function at 0x440600
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x274]
sub esp, 0x274
push 0xffffffffffffffff
push 0x63a7c0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6eed24]
xor eax, ebp
mov dword [ebp + 0x270], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp + 0x27c]
test eax, eax
je 0x4409c9
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov eax, dword [esi + 0x318]
mov dword [ebp - 4], 0
test eax, eax
jne 0x440677
mov eax, 0x649aa0
push dword [esi + 0x31c]
lea ecx, [ebp - 0x50]
push eax
call fcn.00403940
mov eax, dword [esi + 0x3f0]
mov ecx, dword [eax + 0x44]
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x44069b
mov eax, 0x649aa0
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.004031a0
mov edi, dword [ebp - 0x4c]
xor eax, eax
mov ebx, dword [ebp - 0x50]
lea ecx, [eax + 0x5c]
test edi, edi
je 0x4406c4
cmp word [ebx + eax*2], 0x2f
jne 0x4406bf
mov word [ebx + eax*2], cx
inc eax
cmp eax, edi
jb 0x4406b4
xor eax, eax
mov dword [ebp + 0x250], eax
mov dword [ebp + 0x254], eax
mov dword [ebp + 0x258], eax
mov dword [ebp + 0x25c], eax
mov dword [ebp + 0x260], eax
mov dword [ebp + 0x264], eax
mov dword [ebp + 0x268], eax
mov dword [ebp + 0x26c], eax
mov eax, 0x649aa0
test ebx, ebx
je 0x440701
mov eax, ebx
lea ecx, [ebp + 0x250]
push ecx
push eax
call fcn.0043c990
add esp, 8
test al, al
je 0x440f55
mov edx, dword [esi + 0x3f0]
lea ecx, [ebp + 0x250]
add edx, 0x64
mov esi, 0x1c
lea ecx, [ecx]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x440f55
add ecx, 4
add edx, 4
sub esi, 4
jae 0x440730
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x10]
call fcn.0042f4b0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x440b9b
mov eax, dword [ebp - 0x28]
lea esi, [ecx - 1]
lea esi, [eax + esi*2]
cmp esi, eax
jb 0x44079c
mov ecx, 0x5c
lea ebx, [ebx]
cmp cx, word [esi]
je 0x44079c
sub esi, 2
cmp esi, eax
jae 0x440790
sub esi, eax
sar esi, 1
js 0x440b9b
inc esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebx + 0x10]
call fcn.0042fa70
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
sub edi, esi
test eax, eax
jne 0x4407dd
mov eax, 0x649aa0
lea ebx, [eax + esi*2]
test edi, edi
jns 0x440802
test ebx, ebx
je 0x440873
mov edi, ebx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4407f1
sub edi, ecx
sar edi, 1
test edi, edi
je 0x440873
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
sub eax, ecx
cmp edi, eax
jbe 0x44084a
lea esi, [ecx + 0x20]
add esi, edi
and esi, 0xffffffe0
lea eax, [esi + esi]
push eax
push dword [ebp - 0x18]
call fcn.00446560
mov edx, eax
add esp, 8
test edx, edx
je 0x440873
cmp dword [ebp - 0x18], 0
jne 0x44083c
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov word [edx + ecx*2], ax
mov ecx, dword [ebp - 0x14]
lea eax, [esi - 1]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
jmp 0x44084d
mov edx, dword [ebp - 0x18]
lea esi, [edx + ecx*2]
test edi, edi
jle 0x440868
lea eax, [edi + edi]
push eax
push ebx
push esi
call fcn.004b3b20
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov edx, dword [ebp - 0x18]
add ecx, edi
xor eax, eax
mov dword [ebp - 0x14], ecx
mov word [edx + ecx*2], ax
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 5
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov eax, dword [eax + 0x3f0]
mov dword [ebp - 0x60], ebx
mov ecx, dword [eax + 0x44]
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x4408ac
mov eax, 0x649aa0
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00403940
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x440b7b
mov esi, dword [ebp - 0x68]
lea eax, [ecx - 1]
lea eax, [esi + eax*2]
cmp eax, esi
jb 0x4408e3
mov edx, 0x2e
cmp dx, word [eax]
je 0x4408e3
sub eax, 2
cmp eax, esi
jae 0x4408d7
sub eax, esi
sar eax, 1
js 0x440b7b
lea edx, [eax + 1]
test edx, edx
je 0x440923
test ecx, ecx
je 0x440923
sub ecx, edx
mov ebx, 0
sets bl
dec ebx
and ebx, ecx
jle 0x440918
lea eax, [ebx + ebx]
push eax
lea eax, [esi + edx*2]
push eax
push esi
call fcn.004b4200
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x64], ebx
mov word [esi + ebx*2], ax
xor ebx, ebx
mov eax, 0x649aa0
test esi, esi
je 0x44092e
mov eax, esi
push 0x6576e0
push eax
call fcn.004c26c5
add esp, 8
test eax, eax
jne 0x440b4e
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 0x374]
mov eax, dword [eax + 0x3f0]
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x44095f
mov eax, 0x649aa0
lea edx, [ebp - 0x44]
push edx
push eax
push 0x654978
call fcn.0040c880
test eax, eax
jns 0x440a0d
push str.__r_Can_t_create_tmpDir_for_unzipping____update_for_self_update
push 1
push 0x7ad
push str.e:workprgpdf5_builds_rc.328_trackerupdateworkspace.cpp
call fcn.00431810
add esp, 0x10
lea ecx, [ebp - 0x68]
call fcn.00403130
lea ecx, [ebp - 0x44]
call fcn.00403130
lea ecx, [ebp - 0x5c]
call fcn.00403130
lea ecx, [ebp - 0x18]
call fcn.00403130
lea ecx, [ebp - 0x28]
call fcn.00403130
lea ecx, [ebp - 0x50]
call fcn.00403130
mov eax, dword [ebp + 0x27c]
test eax, eax
jne 0x4409e6
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3ec]
test eax, eax
je 0x4409e6
push 0
push 0x31
push 0x414
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x270]
xor ecx, ebp
call fcn.004b2558
lea esp, [ebp + 0x274]
pop ebp
ret 4
push 0x250
lea eax, [ebp]
push 0
push eax
call fcn.004b40a0
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
test eax, eax
jne 0x440a41
mov eax, 0x649aa0
push dword [ebp - 0x40]
lea ecx, [ebp - 0x34]
push eax
call fcn.00403940
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub eax, edi
mov esi, dword [ebp - 0x34]
mov byte [ebp - 4], 7
cmp eax, 2
jae 0x440a90
lea eax, [edi + 0x22]
and eax, 0xffffffe0
mov dword [ebp - 0x38], eax
add eax, eax
push eax
push esi
call fcn.00446560
add esp, 8
test eax, eax
je 0x440aa4
test esi, esi
jne 0x440a84
xor ecx, ecx
mov word [eax + edi*2], cx
mov esi, eax
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], eax
mov eax, dword [0x64d474]
mov dword [esi + edi*2], eax
add edi, 2
xor eax, eax
mov dword [ebp - 0x30], edi
mov word [esi + edi*2], ax
test esi, esi
jne 0x440aad
mov esi, 0x649aa0
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x440b28
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test byte [ebp], 0x10
je 0x440ae7
lea eax, [ebp]
push eax
push esi
call edi
test eax, eax
jne 0x440ac5
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.00403130
jmp 0x440b69
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a510
push 0xffffffffffffffff
push 0x64d1fc
lea ecx, [ebp - 0x5c]
call fcn.004031a0
push 0xffffffffffffffff
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004031a0
mov ebx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.00403130
jmp 0x440b69
push str.__r_Error_while_unzipping____self_update
push 1
push 0x7c5
push str.e:workprgpdf5_builds_rc.328_trackerupdateworkspace.cpp
call fcn.00431810
add esp, 0x10
lea ecx, [ebp - 0x34]
call fcn.00403130
jmp 0x44098f
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x440b5a
mov eax, 0x649aa0
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00403940
mov ebx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x3f0]
call fcn.00437b30
test eax, eax
jne 0x440bb0
lea ecx, [ebp - 0x68]
call fcn.00403130
lea ecx, [ebp - 0x44]
call fcn.00403130
lea ecx, [ebp - 0x5c]
call fcn.00403130
lea ecx, [ebp - 0x18]
call fcn.00403130
lea ecx, [ebp - 0x28]
call fcn.00403130
lea ecx, [ebp - 0x50]
call fcn.00403130
jmp 0x4409c9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov eax, 0x649aa0
test ecx, ecx
je 0x440bc4
mov eax, ecx
mov edx, dword [ebp - 0x28]
mov edi, 0x649aa0
mov esi, dword [ebp - 0x24]
test edx, edx
je 0x440bd5
mov edi, edx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x6c], esi
cmp esi, ecx
jl 0x440be2
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x18]
test edi, edi
jne 0x440bef
neg eax
sbb eax, eax
jmp 0x440c0d
test eax, eax
jne 0x440bfa
mov eax, 1
jmp 0x440c22
push dword [ebp - 0x6c]
push eax
push edi
call fcn.004b9332
mov edx, dword [ebp - 0x28]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x440e36
sub esi, dword [ebp - 0x38]
test esi, esi
setg al
shr esi, 0x1f
sub eax, esi
test eax, eax
jne 0x440e36
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
test edx, edx
jne 0x440c3c
mov edx, 0x649aa0
push dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
push edx
call fcn.00403940
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub eax, edi
mov esi, dword [ebp - 0x34]
mov byte [ebp - 4], 8
cmp eax, 4
jae 0x440c8b
lea eax, [edi + 0x24]
and eax, 0xffffffe0
mov dword [ebp - 0x38], eax
add eax, eax
push eax
push esi
call fcn.00446560
add esp, 8
test eax, eax
je 0x440ca8
test esi, esi
jne 0x440c7f
xor ecx, ecx
mov word [eax + edi*2], cx
mov esi, eax
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], eax
mov eax, dword [str..del]
mov dword [esi + edi*2], eax
mov eax, dword [0x6577c0]
mov dword [esi + edi*2 + 4], eax
add edi, 4
xor eax, eax
mov dword [ebp - 0x30], edi
mov word [esi + edi*2], ax
mov ecx, 0x649aa0
test esi, esi
je 0x440cb3
mov ecx, esi
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x440cbf
mov eax, 0x649aa0
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push ecx
push eax
call edi
test eax, eax
jne 0x440d15
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
test esi, esi
jne 0x440ce0
mov esi, 0x649aa0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x440cec
mov eax, 0x649aa0
push ecx
push esi
push eax
push str.Cant_rename_self_from__s_to__s._ErrorCode:0x_X
push 1
push 0x7dd
push str.e:workprgpdf5_builds_rc.328_trackerupdateworkspace.cpp
call fcn.00431810
add esp, 0x1c
lea ecx, [ebp - 0x34]
call fcn.00403130
jmp 0x440b7b
mov eax, 0x649aa0
test esi, esi
je 0x440d20
mov eax, esi
push 4
push 0
push eax
call edi
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x440d33
mov eax, 0x649aa0
mov ecx, 0x649aa0
test ebx, ebx
je 0x440d3e
mov ecx, ebx
push 0
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x440d81
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x440d64
mov ecx, 0x649aa0
test ebx, ebx
jne 0x440d6d
mov ebx, 0x649aa0
push eax
push ecx
push ebx
push str.Cant_copy_downloaded_self_update_from__s_to__s._ErrorCode:0x_X
push 1
push 0x7e6
jmp 0x440cfb
mov byte [ebp - 4], 9
test esi, esi
je 0x440d92
push esi
call fcn.00446420
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
push 4
or dword [eax + 0x28], 0x4000
lea ecx, [eax + 0x10]
mov dword [eax + 0x2f4], 4
call fcn.00431300
mov esi, dword [ebp - 0x50]
mov eax, 0x649aa0
test esi, esi
je 0x440dc2
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x40], 0
mov edi, dword [ebp - 0x1c]
je 0x440de3
push 1
lea eax, [ebp - 0x44]
lea ecx, [edi + 0x374]
push eax
call fcn.0040a670
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x440def
mov eax, 0x649aa0
push eax
push 0
mov ecx, edi
call fcn.0043cf40
test al, al
je 0x440e98
lea ecx, [ebp - 0x68]
call fcn.00403130
lea ecx, [ebp - 0x44]
call fcn.00403130
lea ecx, [ebp - 0x5c]
call fcn.00403130
lea ecx, [ebp - 0x18]
call fcn.00403130
lea ecx, [ebp - 0x28]
call fcn.00403130
lea ecx, [ebp - 0x50]
call fcn.00403130
jmp 0x4409e6
test ecx, ecx
jne 0x440e3f
mov ecx, 0x649aa0
mov eax, 0x649aa0
test ebx, ebx
je 0x440e4a
mov eax, ebx
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x440d96
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x440e6e
mov ecx, 0x649aa0
test ebx, ebx
jne 0x440e77
mov ebx, 0x649aa0
push eax
push ecx
push ebx
push str.Cant_move_downloaded_self_update_from__s_to__s._ErrorCode:0x_X
push 1
push 0x7ed
push str.e:workprgpdf5_builds_rc.328_trackerupdateworkspace.cpp
call fcn.00431810
add esp, 0x1c
jmp 0x440b7b
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x440eac
push eax
call fcn.00446420
add esp, 4
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x440ec0
push eax
call fcn.00446420
add esp, 4
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 0xc
test ebx, ebx
je 0x440ee6
push ebx
call fcn.00446420
add esp, 4
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x440efa
push eax
call fcn.00446420
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x440f23
push eax
call fcn.00446420
add esp, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xf
test esi, esi
je 0x4409c9
push esi
call fcn.00446420
add esp, 4
jmp 0x4409c9
mov eax, dword [ebp - 0x48]
sub esp, 0xc
mov ecx, esp
push str.Downloaded_self_update_by_path__s_has_wrong_hash
push 1
mov dword [ecx], ebx
push 0x789
mov dword [ecx + 4], edi
push str.e:workprgpdf5_builds_rc.328_trackerupdateworkspace.cpp
mov dword [ecx + 8], eax
call fcn.00431810
add esp, 0x1c
mov dword [ebp - 4], 1
test ebx, ebx
je 0x4409c9
push ebx
call fcn.00446420
add esp, 4
jmp 0x4409c9