Function at 0x431550
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5984e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004a2910
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x29]
call fcn.0043a6d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004398e0
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x7c]
cmp dword [eax], 0
jne 0x4315f6
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00439960
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x29]
call fcn.0043a6f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408330
mov eax, dword [ebp - 0x40]
jmp 0x431b54
mov edx, dword [ebp - 0x7c]
mov ecx, dword [edx]
call fcn.004850d0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x29]
call fcn.0043a810
cmp dword [ebp - 0x30], 0
je 0x431b18
cmp dword [0x61c720], 0
je 0x431663
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00439960
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x29]
call fcn.0043a6f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408330
mov eax, dword [ebp - 0x44]
jmp 0x431b54
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
call fcn.0040fb20
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 0xc], 0
je 0x431688
push 0
push 0
push 0
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x30], 0
je 0x431b13
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea eax, [ebp + 8]
push eax
call fcn.00408fd0
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00496af0
add esp, 8
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jne 0x4316ed
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
push str.__s__it_failed_a_file_creation.
push 0x39
push 0x5a7744
push 0x61c838
call fcn.0043a910
add esp, 0x14
jmp 0x431b18
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00408fd0
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
add ecx, 4
push ecx
mov edx, esp
mov dword [ebp - 0x50], esp
push ecx
mov ecx, edx
call fcn.00408fd0
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x29]
call fcn.0043a700
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jne 0x431772
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ecx
push str.__s__it_failed_a_file_download.
push 0x41
push 0x5a7780
push 0x61c838
call fcn.0043a910
add esp, 0x14
jmp 0x431b18
mov edx, dword [ebp - 0x24]
add edx, 0x18
push edx
lea ecx, [ebp - 0x3c]
call fcn.00408fd0
mov byte [ebp - 4], 5
push 0x5a7723
push 0x5a779c
lea ecx, [ebp - 0x3c]
call fcn.0040f800
lea ecx, [ebp - 0x34]
call fcn.004a2910
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x2c], 0
jne 0x43190b
mov ecx, dword [ebp - 0x24]
push ecx
push 0x5a77a0
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.0042e250
add esp, 0xc
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00411670
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.0042e250
add esp, 0xc
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xac]
push eax
lea ecx, [ebp - 0x34]
call fcn.00409070
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5c]
call fcn.00408330
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call fcn.00408330
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call fcn.00408330
push 0
lea ecx, [ebp - 0x34]
call fcn.004090f0
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.00496560
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00408330
push 0
lea ecx, [ebp - 0x34]
call fcn.004090f0
push eax
lea ecx, [ebp - 0x10]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4318f7
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
push str.__s__it_failed_a_CopyFile.
push 0x58
push 0x5a77c0
push 0x61c838
call fcn.0043a910
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.00408330
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00408330
jmp 0x431b18
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x1c
call fcn.00409070
jmp 0x431a56
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0042e250
add esp, 0xc
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x34]
call fcn.00409070
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
call fcn.00408330
push 1
lea ecx, [ebp - 0x34]
call fcn.004090f0
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.00496560
add esp, 0xc
lea ecx, [ebp - 0x68]
call fcn.00408330
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00408fd0
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00408fd0
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00439980
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jne 0x431a16
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ecx
push str.__s__it_failed_a_file_releases_a_compression.
push 0x67
push 0x5a780c
push 0x61c838
call fcn.0043a910
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.00408330
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00408330
jmp 0x431b18
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x20]
call fcn.00431b70
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xcc]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x1c
call fcn.00409070
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x74]
call fcn.00408330
lea ecx, [ebp - 0x10]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x24]
add ecx, 0x1c
call fcn.004090f0
push eax
lea edx, [ebp - 0x38]
push edx
call fcn.004964c0
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x24]
add ecx, 8
call fcn.004090f0
push eax
lea ecx, [ebp - 0x38]
call fcn.00407fe0
test eax, eax
je 0x431ac6
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.00408330
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.00408330
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00408330
jmp 0x431b18
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ecx
push str.__s__downloaded_a_file.
push 0x7a
push str.CProjectFileDownload::Run
push 0x61c838
call fcn.0043a910
add esp, 0x14
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x30], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.00408330
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.00408330
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00408330
jmp 0x43160f
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00439960
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x29]
call fcn.0043a6f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408330
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8