Function at 0x408bb2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xb0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0x61d2e4
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x58], 0x61d2e4
mov dword [ebp - 0x10], 0
call fcn.00404bcc
mov dword [ebp - 0x14], eax
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 - 0x18], eax
mov eax, dword [0x61c318]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
lea edx, [eax + 1]
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [esp + 4], 0x2f
mov dword [esp], eax
call sub.cygwin1.dll_strchr
mov dword [ebp - 0xc], eax
jmp 0x408d5c
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 1]
mov byte [ebp - 0x31], al
mov eax, dword [ebp - 0xc]
add eax, 1
mov byte [eax], 0
call fcn.00404058
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x44]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [esp + 8], str.MKCOL
mov edx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00407387
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.004043fd
test eax, eax
je 0x408cfa
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.004045c2
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x408d37
mov eax, dword [ebp - 0x40]
cmp eax, 0x195
je 0x408d37
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
mov dword [esp + 8], edx
mov dword [esp + 4], str.Unable_to_create_branch_path__s_n
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, 0
jmp 0x4090ba
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1e
mov dword [esp + 4], 1
mov dword [esp], str.Unable_to_start_MKCOL_request_n
call sub.cygwin1.dll_fwrite
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, 0
jmp 0x4090ba
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
movzx eax, byte [ebp - 0x31]
mov byte [edx], al
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [esp + 4], 0x2f
mov dword [esp], eax
call sub.cygwin1.dll_strchr
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x408c5b
call fcn.00432839
mov dword [esp], eax
call fcn.0040733e
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], str.__xml_version_1.0__encoding_utf_8_____n_D:lockinfo_xmlns:D_DAV:___n_D:lockscope__D:exclusive____D:lockscope__n_D:locktype__D:write____D:locktype__n_D:owner__n_D:href_mailto:_s__D:href__n__D:owner__n__D:lockinfo_
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.00492911
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Timeout:_Second__ld
mov dword [esp + 4], 0x19
lea eax, [ebp - 0x79]
mov dword [esp], eax
call fcn.004bb807
lea eax, [ebp - 0x79]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_slist_append
mov dword [ebp - 0x14], eax
mov dword [esp + 4], str.Content_Type:_text_xml
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_slist_append
mov dword [ebp - 0x14], eax
call fcn.00404058
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x44]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [esp + 0x10], 0x4017a1
lea edx, [ebp - 0x54]
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.LOCK
mov edx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00407412
mov dword [ebp - 0x24], 0x2727
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
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 - 0x28], 0x2711
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
lea ecx, [ebp - 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov dword [esp + 4], 0x60
mov dword [esp], 1
call fcn.004baa20
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x54], 0xffffffff
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.004043fd
test eax, eax
je 0x408fec
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.004045c2
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x408fc4
mov dword [esp], 0
call sub.cygexpat_1.dll_XML_ParserCreate
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 1
mov dword [esp], 0xa
call fcn.004baa20
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0x408863
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x90]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
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 - 0x2c]
mov dword [esp], eax
call sub.cygexpat_1.dll_XML_SetElementHandler
mov dword [esp + 4], 0x408b7d
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.cygexpat_1.dll_XML_SetCharacterDataHandler
mov eax, dword [ebp - 0x5c]
mov edx, eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 0xc], 1
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.cygexpat_1.dll_XML_Parse
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call sub.cygwin1.dll_free
cmp dword [ebp - 0x30], 1
je 0x408fb7
mov eax, dword [ebp - 0x2c]
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 - 0x10]
mov dword [eax + 0x54], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.cygexpat_1.dll_XML_ParserFree
jmp 0x409014
mov esi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x44]
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], str.error:_curl_result_d__HTTP_code_ld_n
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
jmp 0x409014
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], str.Unable_to_start_LOCK_request_n
call sub.cygwin1.dll_fwrite
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_slist_free_all
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.00491cd8
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.00491cd8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x409049
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x54]
test eax, eax
jg 0x409084
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov dword [ebp - 0x10], 0
jmp 0x4090b7
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov dword [esp], 0
call sub.cygwin1.dll_time
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x50], eax
mov eax, dword [0x61c318]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5c], edx
mov eax, dword [0x61c318]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x10]
add esp, 0xb0
pop ebx
pop esi
pop ebp
ret