Function at 0x402080
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425036
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x434280]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0xc4], ebx
push 0x405050
call fcn.0040c4e5
push 0x405100
call fcn.0040c69f
add esp, 8
lea ecx, [ebp - 0x114]
call fcn.00407da0
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xd0]
call fcn.00408fd0
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0xb8]
call fcn.00404860
mov byte [ebp - 4], 3
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb4], ebx
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
push eax
push 0x42d71c
push 4
push ebx
push 0x42d70c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x402144
push eax
lea edx, [ebx + 0xd]
mov ecx, str.BitsAdmin::BitsAdmin
call fcn.004093a0
add esp, 4
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x104]
call fcn.00406090
mov byte [ebp - 4], 7
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xa0]
push eax
push str.job_name
lea ecx, [ebp - 0x104]
call fcn.00406b30
test eax, eax
je 0x40223e
push str.job_name
lea ecx, [ebp - 0x104]
call fcn.004066a0
push dword [eax]
push str.Try_complete_job._guid____ls_
push 0x7a
push str.wWinMain
call fcn.00409310
add esp, 0x10
push str.job_name
lea ecx, [ebp - 0x104]
call fcn.004066a0
push dword [eax]
lea ecx, [ebp - 0xb8]
call fcn.00404400
push str.local_path
lea ecx, [ebp - 0x104]
call fcn.004066a0
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
push eax
call fcn.00402a00
mov byte [ebp - 4], 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.00401800
mov byte [ebp - 4], 9
push dword [ebp - 0xa4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40222a
push dword [ebp - 0xa4]
push str.Local_path_is_empty_or_file_does_not_exist___ls_
push 0x7e
push str.wWinMain
push str.stat_sender.cpp
call fcn.00404f30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.00402810
jmp 0x40261d
lea ecx, [ebp - 0xa0]
call fcn.00401a00
mov byte [ebp - 4], 0xa
push eax
push str.send
lea ecx, [ebp - 0x104]
call fcn.004066a0
mov ecx, eax
call fcn.00402b30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa0]
call fcn.00402950
push str.send
lea ecx, [ebp - 0x104]
call fcn.004066a0
push dword [eax]
push str.Url_for_download_is___ls_
push 0x84
push str.wWinMain
call fcn.00409310
add esp, 0x10
push str.send
lea ecx, [ebp - 0x104]
call fcn.004066a0
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x402329
push str.send
lea ecx, [ebp - 0x104]
call fcn.004066a0
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
push eax
call fcn.00402a00
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0xb0], esp
push str.soft.export.yandex.ru
call fcn.00402a50
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 7
call fcn.00401ce0
add esp, 8
test al, al
jne 0x402329
mov edx, 3
lea ecx, [ebp - 0xc0]
call fcn.00401930
mov byte [ebp - 4], 0xd
mov ebx, 1
mov dword [ebp - 0xc4], ebx
cmp dword [eax], 0
mov byte [ebp - 0x99], bl
jne 0x402330
mov byte [ebp - 0x99], 0
mov dword [ebp - 4], 7
test bl, 1
je 0x402350
and ebx, 0xfffffffe
mov dword [ebp - 0xc4], ebx
lea ecx, [ebp - 0xc0]
call fcn.00402e60
cmp byte [ebp - 0x99], 0
je 0x40261d
push str.TryWinHTTP_failed__Try_using_BITS
push 0x89
push str.wWinMain
call fcn.00409310
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xa0]
push eax
push str.local_path
lea ecx, [ebp - 0x104]
call fcn.00406b30
test eax, eax
jne 0x402456
lea edx, [eax + 3]
lea ecx, [ebp - 0xc0]
call fcn.00401930
mov byte [ebp - 4], 0xe
push 0xc
lea ecx, [ebp - 0xac]
push ecx
mov ecx, dword [eax]
call fcn.00407580
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc0]
call fcn.00402e60
push str.yst.tmp
lea ecx, [ebp - 0xac]
call fcn.00402dd0
push dword [ebp - 0xac]
lea ecx, [ebp - 0xa0]
call fcn.00402a50
mov byte [ebp - 4], 0x11
push eax
push str.local_path
lea ecx, [ebp - 0x104]
call fcn.004066a0
mov ecx, eax
call fcn.00402b30
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xa0]
call fcn.00402950
push str.local_path
lea ecx, [ebp - 0x104]
call fcn.004066a0
push dword [eax]
push str.Local_file_is___ls_.
push 0x8f
push str.wWinMain
call fcn.00409310
add esp, 0x10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xac]
call fcn.00402810
push str.http:__
lea ecx, [ebp - 0xa4]
call fcn.00402a50
mov byte [ebp - 4], 0x12
push str.send
lea ecx, [ebp - 0x104]
call fcn.004066a0
push dword [eax]
push str.soft.export.yandex.ru
push str._ls_ls
lea eax, [ebp - 0xa4]
push eax
call fcn.004036b0
push dword [ebp - 0xa4]
push str.Remote_url_is___ls_.
push 0x94
push str.wWinMain
call fcn.00409310
add esp, 0x20
lea ecx, [ebp - 0xa0]
call fcn.00401640
mov byte [ebp - 4], 0x13
push eax
push str.job_name
lea ecx, [ebp - 0x104]
call fcn.004066a0
mov ecx, eax
call fcn.00402b30
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xa0]
call fcn.00402950
push str.local_path
lea ecx, [ebp - 0x104]
call fcn.004066a0
push ecx
mov ecx, esp
mov dword [ebp - 0xd4], esp
push eax
call fcn.00402a00
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xa0]
call fcn.00401800
mov byte [ebp - 4], 0x15
push ecx
mov dword [ebp - 0xd4], esp
mov ecx, esp
mov dword [ebp - 0xbc], ecx
lea eax, [ebp - 0xa4]
push eax
call fcn.00403010
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xac]
call fcn.00401800
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x104]
call fcn.00406500
mov esi, eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xb0]
call fcn.00405b80
mov edi, eax
mov byte [ebp - 4], 0x1a
mov esi, dword [esi]
push str.job_name
lea ecx, [ebp - 0x104]
call fcn.004066a0
push esi
push edi
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0xac]
push ecx
push dword [eax]
lea ecx, [ebp - 0xb8]
call fcn.004040e0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xb0]
call fcn.00402810
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xa8]
call fcn.00402950
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xac]
call fcn.00402810
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xa0]
call fcn.00402810
push str.job_name
lea ecx, [ebp - 0x104]
call fcn.004066a0
push dword [eax]
push str.Job_has_been_created._Guid_is___ls_.
push 0x98
push str.wWinMain
call fcn.00409310
add esp, 0x10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa4]
call fcn.00402950
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x104]
call fcn.004036d0
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x40265c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0x22
push str.Done
push 0x22
push str.LogFileInstance::LogFileInstance
call fcn.00409310
push 0x42f440
call fcn.0040e312
add esp, 0x10
mov byte [ebp - 4], 0
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x4026be
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.00408020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040b29c
mov esp, ebp
pop ebp
ret 0x10