Function at 0x44fec0
Capabilities:
Check if file exists
Delete file
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd1c9
mov eax, dword fs:[0]
push eax
sub esp, 0x51c
mov eax, dword [0x4ff684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x50c], edi
mov al, byte [ebp + 8]
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x500], 0
xorps xmm0, xmm0
mov byte [ebp - 0x4f1], al
mov byte [ebp - 0x4f8], al
movq qword [ebp - 0x420], xmm0
mov dword [ebp - 0x418], 0
call fcn.00464d90
push dword [ebp - 0x4f8]
mov eax, dword [edi]
lea ecx, [ebp - 0x420]
push 0
mov dword [ebp - 4], 0
push dword [eax]
push 0x4ee0c0
call fcn.00464fd0
test al, al
jne 0x44ff7f
push str.Unable_to_open_HTTP_transaction
push 0xc8
push str.NWebAdvisor::NHttp::NDownloadFile::StoreOnDisk::_lambda_9860814cb8f8da74ce1c659839f982ee_::operator___
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterHttpsDownloadFile.cpp
push 1
call fcn.00449540
add esp, 0x14
mov byte [ebp - 0x4f1], 0
jmp 0x450958
push dword [edi + 0xc]
mov ecx, dword [edi + 4]
push dword [edi + 8]
call fcn.0044f950
xorps xmm0, xmm0
mov dword [ebp - 0x4e4], 0
push 0x200
lea eax, [ebp - 0x210]
movlpd qword [ebp - 0x4ec], xmm0
push 0
push eax
movlpd qword [ebp - 0x4d8], xmm0
movlpd qword [ebp - 0x4d0], xmm0
mov dword [ebp - 0x4c8], 0
movlpd qword [ebp - 0x4bc], xmm0
mov dword [ebp - 0x4f0], 0x3c
call fcn.0048b4c0
push 0x200
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0048b4c0
add esp, 0x18
mov dword [ebp - 0x4dc], 0x100
lea eax, [ebp - 0x210]
mov dword [ebp - 0x4c0], 0x100
mov dword [ebp - 0x4e0], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x4c4], eax
lea eax, [ebp - 0x4f0]
push eax
mov eax, dword [edi + 0x10]
push 0
push 0
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x450068
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 4]
mov esi, eax
push esi
push 7
push dword [edi + 8]
call fcn.0044f8b0
mov ecx, dword [edi + 0x10]
push dword [ecx]
push esi
push 0x4d5940
push 0xdb
jmp 0x4502cb
cmp word [ebp - 0x4d8], 0
jne 0x45008d
cmp dword [ebp - 0x4e4], 2
mov eax, 0x50
mov ecx, 0x1bb
cmove eax, ecx
mov word [ebp - 0x4d8], ax
mov eax, dword [edi]
lea ecx, [ebp - 0x420]
push dword [eax]
lea eax, [ebp - 0x210]
push dword [ebp - 0x4d8]
push eax
call fcn.00464e20
test al, al
jne 0x4500d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 4]
mov esi, eax
push esi
push 7
push dword [edi + 8]
call fcn.0044f8b0
mov ecx, dword [edi + 0x10]
push dword [ecx]
push esi
push str.HTTP_connection_failed___d___url:__s
push 0xe9
jmp 0x4502cb
xor eax, eax
mov ecx, 0x800000
cmp dword [ebp - 0x4e4], 2
cmove eax, ecx
lea ecx, [ebp - 0x420]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x410]
push eax
push 0x4d5b54
call fcn.00465020
test al, al
jne 0x450136
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 4]
mov esi, eax
push esi
push 7
push dword [edi + 8]
call fcn.0044f8b0
mov ecx, dword [edi + 0x10]
push dword [ecx]
push esi
push str.HTTP_GET_request_failed___d___url:__s
push 0xf2
jmp 0x4502cb
push 0x40000000
push 0xffffffffffffffff
push str.Cache_Control:_no_cache
lea ecx, [ebp - 0x420]
call fcn.00464df0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test al, al
jne 0x450189
mov eax, dword [edi + 0x10]
mov esi, dword [eax]
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
push esi
push eax
push str.HTTP_add_request_headers_failed___d___url:__s
push 0xf8
push str.NWebAdvisor::NHttp::NDownloadFile::StoreOnDisk::_lambda_9860814cb8f8da74ce1c659839f982ee_::operator___
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterHttpsDownloadFile.cpp
push 3
call fcn.00449540
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x1c
push 0
push 0
lea ecx, [ebp - 0x420]
call fcn.004651e0
test al, al
jne 0x4501f3
call esi
mov ecx, dword [edi + 4]
mov esi, eax
push esi
push 7
push dword [edi + 8]
call fcn.0044f8b0
cmp byte [ebp - 0x4f1], 0
mov eax, 0x4d5c48
mov ecx, 0x4d5c3c
cmove ecx, eax
mov eax, dword [edi + 0x10]
push ecx
push dword [eax]
push esi
push str.HTTP_send_request_failed___d___url:__s__ignore_proxy_flag__s
push 0x100
push str.NWebAdvisor::NHttp::NDownloadFile::StoreOnDisk::_lambda_9860814cb8f8da74ce1c659839f982ee_::operator___
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterHttpsDownloadFile.cpp
push 1
call fcn.00449540
add esp, 0x20
mov byte [ebp - 0x4f1], 0
jmp 0x450958
lea ecx, [ebp - 0x420]
call fcn.004651c0
test al, al
jne 0x450229
call esi
mov ecx, dword [edi + 4]
mov esi, eax
push esi
push 7
push dword [edi + 8]
call fcn.0044f8b0
mov ecx, dword [edi + 0x10]
push dword [ecx]
push esi
push str.HTTP_receive_response_failed___d___url:__s
push 0x108
jmp 0x4502cb
lea ecx, [ebp - 0x420]
call fcn.00465100
mov dword [ebp - 0x4f8], eax
cmp eax, 0xc8
je 0x450289
call esi
mov ecx, dword [edi + 4]
mov esi, eax
push esi
push 7
push dword [edi + 8]
call fcn.0044f8b0
mov ecx, dword [edi + 0x10]
push dword [ecx]
push esi
push dword [ebp - 0x4f8]
push str.HTTP_status___d__error___d___url:__s
push 0x111
push str.NWebAdvisor::NHttp::NDownloadFile::StoreOnDisk::_lambda_9860814cb8f8da74ce1c659839f982ee_::operator___
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterHttpsDownloadFile.cpp
push 1
call fcn.00449540
add esp, 0x20
mov byte [ebp - 0x4f1], 0
jmp 0x450958
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x43c], 0
push eax
lea ecx, [ebp - 0x420]
call fcn.00465060
test al, al
jne 0x4502eb
call esi
mov ecx, dword [edi + 4]
mov esi, eax
push esi
push 7
push dword [edi + 8]
call fcn.0044f8b0
mov ecx, dword [edi + 0x10]
push dword [ecx]
push esi
push str.HTTP_query_content_length___d___url:__s
push 0x11a
push str.NWebAdvisor::NHttp::NDownloadFile::StoreOnDisk::_lambda_9860814cb8f8da74ce1c659839f982ee_::operator___
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterHttpsDownloadFile.cpp
push 1
call fcn.00449540
add esp, 0x1c
mov byte [ebp - 0x4f1], 0
jmp 0x450958
mov ecx, 0x100000
cmp dword [ebp - 0x43c], ecx
cmovb ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x508], ecx
push ecx
mov byte [ebp - 4], 1
call fcn.004964ef
mov esi, eax
add esp, 4
mov dword [ebp - 0x510], esi
test esi, esi
jne 0x45035a
mov ecx, dword [edi + 4]
push eax
push 2
push dword [edi + 8]
call fcn.0044f8b0
push dword [ebp - 0x508]
push str.Unable_to_allocate__d_bytes
push 0x123
push str.NWebAdvisor::NHttp::NDownloadFile::StoreOnDisk::_lambda_9860814cb8f8da74ce1c659839f982ee_::operator___
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterHttpsDownloadFile.cpp
push 1
call fcn.00449540
add esp, 0x18
mov byte [ebp - 0x4f1], 0
jmp 0x45094f
mov eax, dword [edi + 0x14]
mov edx, dword [eax]
test edx, edx
je 0x4503c2
mov ecx, edx
mov dword [ebp - 0x438], 0
xor eax, eax
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
mov dword [ebp - 0x424], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x4f8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450395
sub ecx, dword [ebp - 0x4f8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.0041441e
lea ecx, [ebp - 0x438]
mov eax, 1
jmp 0x4503e0
push 0x2f
push dword [ebp - 0x4c4]
lea eax, [ebp - 0x528]
push eax
call fcn.004517c0
mov ecx, eax
add esp, 0xc
mov eax, 2
push ecx
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x4fc], eax
call fcn.00415452
mov eax, dword [ebp - 0x4fc]
mov dword [ebp - 4], 3
test al, 2
je 0x45041d
and eax, 0xfffffffd
lea ecx, [ebp - 0x528]
mov dword [ebp - 0x4fc], eax
call fcn.00414870
mov eax, dword [ebp - 0x4fc]
mov byte [ebp - 4], 4
test al, 1
je 0x450430
lea ecx, [ebp - 0x438]
call fcn.00414870
cmp dword [ebp - 0x448], 0
jne 0x4504a0
mov eax, dword [edi + 0x14]
cmp dword [eax], 0
je 0x450461
push str.empty_filename
push 0x12c
push str.NWebAdvisor::NHttp::NDownloadFile::StoreOnDisk::_lambda_9860814cb8f8da74ce1c659839f982ee_::operator___
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterHttpsDownloadFile.cpp
push 1
call fcn.00449540
add esp, 0x14
jmp 0x450485
push dword [ebp - 0x4c4]
push str.Unable_to_extract_the_filename_from_url___s_
push pe_nt_image_headers32
push str.NWebAdvisor::NHttp::NDownloadFile::StoreOnDisk::_lambda_9860814cb8f8da74ce1c659839f982ee_::operator___
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterHttpsDownloadFile.cpp
push 1
call fcn.00449540
add esp, 0x18
mov ecx, dword [edi + 4]
push 0
push 3
push dword [edi + 8]
call fcn.0044f8b0
mov byte [ebp - 0x4f1], 0
jmp 0x450944
cmp dword [ebp - 0x444], 8
lea ecx, [ebp - 0x458]
mov eax, dword [edi + 0x1c]
cmovae ecx, dword [ebp - 0x458]
push 0x5c
push ecx
push dword [eax]
lea eax, [ebp - 0x438]
push eax
call fcn.00451130
mov ecx, eax
add esp, 0x10
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x500], ecx
mov dword [ebp - 0x4f8], eax
cmp eax, ecx
je 0x450557
mov edx, dword [eax + 0x14]
cmp edx, 8
jb 0x450525
mov eax, dword [eax]
lea ecx, [edx*2 + 2]
cmp ecx, 0x1000
jb 0x45050f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4509df
mov eax, edx
push ecx
push eax
call fcn.00488f15
mov eax, dword [ebp - 0x4f8]
add esp, 8
mov ecx, dword [ebp - 0x500]
mov dword [eax + 0x10], 0
xor edx, edx
mov dword [eax + 0x14], 7
mov word [eax], dx
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea ecx, [ebp - 0x438]
call fcn.00414870
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x14], 8
jb 0x45056d
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45073d
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x4fc], ecx
cmp byte [eax], 0
je 0x4507b8
mov edx, dword [ecx + 0x10]
mov eax, SysReAllocString
sub eax, edx
mov dword [ebp - 0x4f8], edx
cmp eax, 4
jb 0x4509da
cmp dword [ecx + 0x14], 8
jb 0x4505b8
mov ecx, dword [ecx]
mov dword [ebp - 0x4fc], ecx
add edx, 4
mov dword [ebp - 0x438], 0
mov edi, 7
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x438]
mov dword [ebp - 0x504], edx
mov dword [ebp - 0x500], eax
cmp edx, edi
jbe 0x450639
mov edi, edx
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x450608
mov edi, SysReAllocString
jmp 0x450612
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x438]
call fcn.00414363
mov ecx, dword [ebp - 0x4fc]
mov edx, dword [ebp - 0x504]
mov dword [ebp - 0x500], eax
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x424], edi
mov edi, dword [ebp - 0x4f8]
add edi, edi
mov dword [ebp - 0x428], edx
push edi
push ecx
push eax
call fcn.0048af40
mov eax, dword [ebp - 0x500]
xor edx, edx
mov ecx, dword [ebp - 0x4f8]
add esp, 0xc
mov dword [eax + edi], 0x62002e
mov dword [eax + edi + 4], 0x6b0061
mov word [eax + ecx*2 + 8], dx
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp - 0x50c]
lea ecx, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
cmovae ecx, dword [ebp - 0x438]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x14], 8
jb 0x4506be
mov eax, dword [eax]
push ecx
push eax
call fcn.00497190
add esp, 8
test eax, eax
je 0x45072e
call fcn.0048e2de
mov ecx, dword [edi + 4]
mov eax, dword [eax]
push eax
push 4
push dword [edi + 8]
mov dword [ebp - 0x504], eax
call fcn.0044f8b0
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x14], 8
jb 0x4506f2
mov eax, dword [eax]
push eax
push dword [ebp - 0x504]
push str.Unable_to_rename_the_old_file___d_:__s
push 0x143
push str.NWebAdvisor::NHttp::NDownloadFile::StoreOnDisk::_lambda_9860814cb8f8da74ce1c659839f982ee_::operator___
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterHttpsDownloadFile.cpp
push 1
call fcn.00449540
add esp, 0x1c
lea ecx, [ebp - 0x438]
call fcn.00414870
mov byte [ebp - 0x4f1], 0
jmp 0x450944
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 4
call fcn.00414870
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x14], 8
jb 0x450748
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4fc], eax
cmp eax, 0xffffffff
jne 0x4507fa
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov ecx, dword [ebp - 0x50c]
mov edi, eax
push edi
push 5
push dword [ecx + 8]
mov ecx, dword [ecx + 4]
call fcn.0044f8b0
push edi
push str.CreateFile_failed___d_
push 0x156
push str.NWebAdvisor::NHttp::NDownloadFile::StoreOnDisk::_lambda_9860814cb8f8da74ce1c659839f982ee_::operator___
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterHttpsDownloadFile.cpp
push 1
call fcn.00449540
add esp, 0x18
mov byte [ebp - 0x4f1], 0
jmp 0x450944
cmp dword [ecx + 0x14], 8
jb 0x4507c0
mov ecx, dword [ecx]
push ecx
push str.File_already_exists:__s
push 0x14b
push str.NWebAdvisor::NHttp::NDownloadFile::StoreOnDisk::_lambda_9860814cb8f8da74ce1c659839f982ee_::operator___
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterHttpsDownloadFile.cpp
push 3
call fcn.00449540
mov ecx, dword [edi + 4]
add esp, 0x18
push 0
push 1
push dword [edi + 8]
call fcn.0044f8b0
mov byte [ebp - 0x4f1], 1
jmp 0x450944
lea ecx, [ebp - 0x4b4]
call fcn.00464140
lea eax, [ebp - 0x414]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x508]
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x414], 0
push esi
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x4f8], 0
call fcn.00465190
test al, al
je 0x4508d6
nop dword [eax + eax]
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x4508d6
push 0
lea ecx, [ebp - 0x440]
push ecx
push eax
push esi
push dword [ebp - 0x4fc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x450986
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x4f8]
push eax
add ecx, eax
push ecx
push dword [ebp - 0x43c]
mov dword [ebp - 0x4f8], ecx
push dword [edi + 0xc]
mov ecx, dword [edi + 4]
push dword [edi + 8]
call fcn.0044f890
push dword [ebp - 0x414]
lea ecx, [ebp - 0x4b4]
push esi
call fcn.00464ce0
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x508]
lea ecx, [ebp - 0x420]
push esi
call fcn.00465190
test al, al
jne 0x450850
push dword [ebp - 0x4fc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x504]
push eax
lea ecx, [ebp - 0x4b4]
call fcn.00464190
push dword [eax]
mov ecx, dword [edi + 0x24]
mov byte [ebp - 4], 7
call fcn.0041243c
mov edx, dword [ebp - 0x504]
or eax, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x450924
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 4]
push 0
push 0
push dword [edi + 8]
call fcn.0044f8b0
mov byte [ebp - 0x4f1], 1
mov dword [ebp - method.CMD5Checksum.virtual_0], vtable.CMD5Checksum.0
lea ecx, [ebp - 0x458]
call fcn.00414870
push esi
call fcn.0048f500
add esp, 4
lea ecx, [ebp - 0x420]
call fcn.00464db0
mov al, byte [ebp - 0x4f1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00488f07
mov esp, ebp
pop ebp
ret 4
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov ecx, dword [ebp - 0x50c]
mov edi, eax
push edi
push 6
push dword [ecx + 8]
mov ecx, dword [ecx + 4]
call fcn.0044f8b0
push edi
push str.WriteFile_failed___d_
push 0x164
push str.NWebAdvisor::NHttp::NDownloadFile::StoreOnDisk::_lambda_9860814cb8f8da74ce1c659839f982ee_::operator___
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterHttpsDownloadFile.cpp
push 1
call fcn.00449540
add esp, 0x18
push dword [ebp - 0x4fc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x4f1], 0
jmp 0x45093a
call fcn.00414470
call fcn.0048e1b0
int3