Function at 0x443f70
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, dword [esp + 0x3c]
mov esi, dword [edi + 0x564]
push 2
push 2
push edi
call fcn.0041c5a0
add esp, 0xc
movzx ecx, byte [esp + 0x40]
test esi, esi
je 0x4442e4
mov esi, dword [edi + 0x564]
mov ebx, dword [edi + 0x6f0]
mov dword [esp], 0
mov dword [esp + 4], 0
test ebx, ebx
je 0x4442e4
mov ecx, ebx
call fcn.00443100
movzx eax, byte [esi]
sub eax, 0x2d
jne 0x443fd1
movzx eax, byte [esi + 1]
neg eax
test eax, eax
je 0x443ff8
lea eax, [esp + 4]
mov ecx, esp
push eax
push ecx
push esi
push edi
call fcn.00449500
add esp, 0x10
test eax, eax
je 0x44400e
mov dword [esp + 0xc], eax
xor ebx, ebx
jmp 0x44424b
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov dword [esp], eax
mov cl, 1
mov dword [esp + 8], ecx
jmp 0x444019
mov eax, dword [esp]
mov dword [esp + 8], 0
push eax
push 1
push 0x83
push str._Netscape_HTTP_Cookie_File_n_https:__curl.se_docs_http_cookies.html_n_This_file_was_generated_by_libcurl__Edit_at_your_own_risk._n_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
mov eax, dword [ebx + 0x108]
test eax, eax
je 0x4441cd
shl eax, 2
push str.cookie.c
push 0x677
push eax
push 1
call fcn.00407310
add esp, 0x10
mov dword [esp + 0xc], 0x1b
test eax, eax
je 0x444243
mov edi, eax
mov dword [esp + 0x18], esi
xor esi, esi
xor eax, eax
jmp 0x444076
inc eax
cmp eax, 0x3f
je 0x444092
mov ecx, dword [ebx + eax*4]
jmp 0x444082
mov ecx, dword [ecx]
test ecx, ecx
je 0x444070
cmp dword [ecx + 0x14], 0
je 0x444080
mov dword [edi + esi*4], ecx
inc esi
jmp 0x444080
push 0x444330
push 4
push esi
push edi
call sub.api_ms_win_crt_utility_l1_1_0.dll_qsort
add esp, 0x10
test esi, esi
je 0x4441b2
xor eax, eax
nop dword [eax]
mov ecx, dword [edi + eax*4]
mov edx, dword [ecx + 0x14]
cmp byte [ecx + 0x20], 1
mov dword [esp + 0x1c], eax
jne 0x4440e0
test edx, edx
je 0x4440f2
cmp byte [edx], 0x2e
mov ebx, 0x99a9ce
mov eax, 0x99a809
cmove ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x4440fc
mov dword [esp + 0x10], 0x99a801
mov dword [esp + 0x14], 0x99a809
jmp 0x444104
xor edx, edx
mov dword [esp + 0x14], 0x99a809
mov dword [esp + 0x10], 0x99a7fc
test edx, edx
mov eax, 0x99a9d0
cmove edx, eax
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 0xc]
test edx, edx
mov eax, 0x99a807
cmove edx, eax
mov dword [esp + 0x20], edx
mov ebp, dword [ecx + 8]
test ebp, ebp
mov eax, 0x99a809
cmove ebp, eax
cmp byte [ecx + 0x21], 0
mov edx, 0x99a801
mov ebx, 0x99a7fc
cmovne edx, ebx
cmp byte [ecx + 0x23], 0
mov ebx, str.HttpOnly_
cmovne eax, ebx
push ebp
push dword [ecx + 4]
push dword [ecx + 0x1c]
push dword [ecx + 0x18]
push edx
push dword [esp + 0x34]
push dword [esp + 0x28]
push dword [esp + 0x40]
push dword [esp + 0x34]
push eax
push str._s_s_s_t_s_t_s_t_s_t_lld_t_s_t_s
call fcn.0040caa0
add esp, 0x2c
test eax, eax
je 0x444230
mov ebx, eax
push eax
push 0x99aa5c
push dword [esp + 8]
call fcn.0040cb20
add esp, 0xc
push str.cookie.c
push 0x690
push ebx
call fcn.004075a0
add esp, 0xc
mov eax, dword [esp + 0x1c]
inc eax
cmp esi, eax
jne 0x4440b0
push str.cookie.c
push 0x693
push edi
call fcn.004075a0
add esp, 0xc
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 8]
test bl, bl
je 0x4441de
mov ecx, dword [esp + 4]
jmp 0x4442cc
push str.cookie.c
push 0x697
push dword [esp + 8]
call fcn.00407960
add esp, 0xc
mov dword [esp], 0
mov eax, dword [esp + 4]
test eax, eax
je 0x4442ca
push esi
push eax
call fcn.00416330
add esp, 8
mov ecx, dword [esp + 4]
test eax, eax
je 0x4442cc
push ecx
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__unlink
add esp, 4
mov dword [esp + 0xc], 0x17
jmp 0x44424b
push str.cookie.c
push 0x68b
push edi
call fcn.004075a0
add esp, 0xc
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 8]
mov eax, dword [esp]
test eax, eax
je 0x444269
test bl, bl
jne 0x444269
push str.cookie.c
push 0x6aa
push eax
call fcn.00407960
add esp, 0xc
push str.cookie.c
push 0x6ab
push dword [esp + 0xc]
call fcn.004075a0
add esp, 0xc
test edi, edi
movzx ecx, byte [esp + 0x40]
je 0x4442e4
test byte [edi + 0x6eb], 0x20
je 0x4442e4
mov eax, dword [edi + 0xd20]
test eax, eax
je 0x4442a1
cmp dword [eax + 4], 0
jle 0x4442e4
mov esi, dword [edi + 0x564]
push dword [esp + 0xc]
call fcn.0041d010
add esp, 4
push eax
push esi
push str.WARNING:_failed_to_save_cookies_in__s:__s
push edi
call fcn.00444fd0
movzx ecx, byte [esp + 0x50]
add esp, 0x10
jmp 0x4442e4
xor ecx, ecx
push str.cookie.c
push 0x6a5
push ecx
call fcn.004075a0
add esp, 0xc
movzx ecx, byte [esp + 0x40]
test cl, cl
je 0x444313
mov ecx, dword [edi + 0x90]
mov eax, dword [edi + 0x6f0]
test ecx, ecx
je 0x444300
cmp eax, dword [ecx + 0x98]
je 0x444313
push eax
call fcn.00443ab0
add esp, 4
mov dword [edi + 0x6f0], 0
push 2
push edi
call fcn.0041c5e0
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret