Function at 0x421420
Capabilities:
Copy file
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x492530
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x6c], 0
call fcn.0045258f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42146b
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x17]
mov byte [esp + 0x6c], 1
call fcn.004272f0
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 2
call fcn.00426b80
mov eax, dword [esi]
test eax, eax
mov byte [esp + 0x6c], 3
mov dword [esp + 0x20], 1
jne 0x42151d
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 2
call fcn.00426af0
lea ecx, [esp + 0x17]
mov byte [esp + 0x6c], 1
call fcn.00421ae0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x6c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4214eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421513
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x421abf
mov edi, dword [esp + 0x78]
mov esi, dword [eax + 4]
push edi
lea ecx, [esp + 0x1b]
call fcn.00427300
push edi
lea ecx, [esp + 0x54]
call fcn.00426a90
test esi, esi
je 0x421a52
mov bl, 6
jmp 0x421548
mov esi, dword [esp + 0x2c]
cmp dword [0x4b9f64], 0
jne 0x4214aa
test esi, esi
mov eax, esi
je 0x42192f
test edi, edi
mov ecx, dword [esi]
mov esi, dword [eax + 8]
mov dword [esp + 0x2c], ecx
je 0x421577
push 0
push 0
push 0
call edi
add esp, 0xc
cmp dword [esi + 0x2c], 0
je 0x42191f
mov eax, dword [esp + 0x74]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.004019a0
lea edx, [esp + 0x20]
add esp, 4
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.0042eb80
add esp, 8
test eax, eax
je 0x421934
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.004019a0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi + 4]
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
push eax
mov byte [esp + 0x78], 4
call fcn.004019a0
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea ecx, [esp + 0x1f]
mov byte [esp + 0x74], 3
call fcn.00427310
test eax, eax
je 0x42195d
mov eax, dword [esi + 0x14]
sub eax, 0x10
push eax
call fcn.004019a0
add eax, 0x10
add esp, 4
mov dword [esp + 0x1c], eax
push 0x4978d6
push 0x49b0fc
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 5
call fcn.00406270
call fcn.0045258f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x421461
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
cmp dword [esi + 0x28], 0
mov byte [esp + 0x6c], bl
jne 0x42177e
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0041c040
push 0x4978c4
push eax
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x84], 7
call fcn.00413a70
push esi
push eax
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x90], 8
call fcn.0041c040
add esp, 0x24
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 9
call fcn.004023e0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4216d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4216fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x6c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421720
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x40]
push ebp
push ecx
call fcn.0042e8f0
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421754
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push 0
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x421969
lea edx, [esp + 0x24]
lea edi, [esi + 0x18]
push edx
mov ecx, edi
call fcn.004023e0
jmp 0x421858
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.0041c040
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 0xa
call fcn.004023e0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x6c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4217c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x24]
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x4c], esp
mov edi, esp
push eax
call fcn.004019a0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x54], esp
mov edi, esp
push eax
mov byte [esp + 0x78], 0xb
call fcn.004019a0
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea ecx, [esp + 0x58]
mov byte [esp + 0x74], bl
call fcn.00426f90
test eax, eax
je 0x4219af
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x54]
call fcn.00426b50
lea edi, [esi + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x70], 0xc
call fcn.004023e0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x6c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421858
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [edi]
lea edx, [esp + 0x28]
push edi
push edx
call fcn.0042e8b0
mov eax, dword [esi + 8]
push eax
mov eax, dword [esp + 0x34]
push eax
mov byte [esp + 0x7c], 0xd
call fcn.004739eb
add esp, 0x10
test eax, eax
jne 0x4219e0
mov ecx, dword [esi]
push ecx
push str.__s__downloaded_a_file.
push 0x79
push str.CProjectFileDownload::Run
push 0x4b9f70
call fcn.00427560
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x14
mov dword [esi + 0x2c], 0
mov byte [esp + 0x6c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4218d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x6c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4218f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42191b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x78]
cmp dword [esp + 0x2c], 0
jne 0x421544
jmp 0x421a52
call fcn.0045152b
mov ecx, dword [esi]
push ecx
push str.__s__it_failed_a_file_creation.
push 0x39
push str.CProjectFileDownload::Run
push 0x4b9f70
mov dword [esp + 0x34], 0
call fcn.00427560
add esp, 0x14
jmp 0x421a52
mov edx, dword [esi]
push edx
push str.__s__it_failed_a_file_download.
push 0x41
jmp 0x42193e
mov eax, dword [esi]
push eax
push str.__s__it_failed_a_CopyFile.
push 0x58
push str.CProjectFileDownload::Run
push 0x4b9f70
mov dword [esp + 0x34], 0
call fcn.00427560
mov ecx, dword [esp + 0x2c]
add esp, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x10]
mov byte [esp + 0x6c], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x421a21
mov ecx, dword [esi]
push ecx
push str.__s__it_failed_a_file_releases_a_compression.
push 0x66
push str.CProjectFileDownload::Run
push 0x4b9f70
mov dword [esp + 0x34], 0
call fcn.00427560
mov edx, dword [esp + 0x2c]
add esp, 0x14
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x421a0c
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0
mov byte [esp + 0x6c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421a0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x6c], 5
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421a2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421a52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 2
call fcn.00426af0
lea ecx, [esp + 0x17]
mov byte [esp + 0x6c], 1
call fcn.00421ae0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421a93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421abb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8