Function at 0x4096f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov eax, dword [0x61c318]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x5a00da
call fcn.00493f3d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x38], 0x61d2e4
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0x61d2e4
call fcn.00404bcc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004ba79d
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov dword [esp + 4], str.__xml_version_1.0__encoding_utf_8_____n_D:propfind_xmlns:D_DAV:___n_D:allprop___n__D:propfind_
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.00406e11
mov dword [esp + 4], str.Depth:_1
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_slist_append
mov dword [ebp - 0x10], eax
mov dword [esp + 4], str.Content_Type:_text_xml
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_slist_append
mov dword [ebp - 0x10], eax
call fcn.00404058
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x34]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [esp + 0x10], 0x4017a1
lea edx, [ebp - 0x50]
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.PROPFIND
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00407412
mov dword [ebp - 0x18], 0x2727
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov dword [ebp - 0x1c], 0x2711
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
lea ecx, [ebp - 0x40]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004043fd
test eax, eax
je 0x409973
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004045c2
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40999b
mov dword [esp], 0
call sub.cygexpat_1.dll_XML_ParserCreate
mov dword [ebp - 0x20], eax
mov dword [esp + 4], 1
mov dword [esp], 0xa
call fcn.004baa20
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x40946f
lea eax, [ebp - 0x80]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x64]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.cygexpat_1.dll_XML_SetUserData
mov dword [esp + 8], 0x408af6
mov dword [esp + 4], 0x408a0e
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.cygexpat_1.dll_XML_SetElementHandler
mov dword [esp + 4], 0x408b7d
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.cygexpat_1.dll_XML_SetCharacterDataHandler
mov eax, dword [ebp - 0x3c]
mov edx, eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0xc], 1
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.cygexpat_1.dll_XML_Parse
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call sub.cygwin1.dll_free
cmp dword [ebp - 0x24], 1
je 0x409966
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.cygexpat_1.dll_XML_GetErrorCode
mov dword [esp], eax
call sub.cygexpat_1.dll_XML_ErrorString
mov ebx, eax
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.XML_error:__s_n
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.cygexpat_1.dll_XML_ParserFree
jmp 0x40999b
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x21
mov dword [esp + 4], 1
mov dword [esp], str.Unable_to_start_PROPFIND_request_n
call sub.cygwin1.dll_fwrite
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_free
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.00491cd8
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.00491cd8
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_slist_free_all
nop
mov ebx, dword [ebp - 4]
leave
ret