Function at 0x4414c0
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.00419af0
add esp, 0xc
movzx ecx, byte [esp + 0x40]
test esi, esi
je 0x441834
mov esi, dword [edi + 0x564]
mov ebx, dword [edi + 0x6f0]
mov dword [esp], 0
mov dword [esp + 4], 0
test ebx, ebx
je 0x441834
mov ecx, ebx
call fcn.00440650
movzx eax, byte [esi]
sub eax, 0x2d
jne 0x441521
movzx eax, byte [esi + 1]
neg eax
test eax, eax
je 0x441548
lea eax, [esp + 4]
mov ecx, esp
push eax
push ecx
push esi
push edi
call fcn.00446a50
add esp, 0x10
test eax, eax
je 0x44155e
mov dword [esp + 0xc], eax
xor ebx, ebx
jmp 0x44179b
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 0x441569
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 0x44171d
shl eax, 2
push str.cookie.c
push 0x677
push eax
push 1
call fcn.00404860
add esp, 0x10
mov dword [esp + 0xc], 0x1b
test eax, eax
je 0x441793
mov edi, eax
mov dword [esp + 0x18], esi
xor esi, esi
xor eax, eax
jmp 0x4415c6
inc eax
cmp eax, 0x3f
je 0x4415e2
mov ecx, dword [ebx + eax*4]
jmp 0x4415d2
mov ecx, dword [ecx]
test ecx, ecx
je 0x4415c0
cmp dword [ecx + 0x14], 0
je 0x4415d0
mov dword [edi + esi*4], ecx
inc esi
jmp 0x4415d0
push 0x441880
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 0x441702
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 0x441630
test edx, edx
je 0x441642
cmp byte [edx], 0x2e
mov ebx, 0xa20cde
mov eax, 0xa20b19
cmove ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x44164c
mov dword [esp + 0x10], 0xa20b11
mov dword [esp + 0x14], 0xa20b19
jmp 0x441654
xor edx, edx
mov dword [esp + 0x14], 0xa20b19
mov dword [esp + 0x10], 0xa20b0c
test edx, edx
mov eax, 0xa20ce0
cmove edx, eax
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 0xc]
test edx, edx
mov eax, 0xa20b17
cmove edx, eax
mov dword [esp + 0x20], edx
mov ebp, dword [ecx + 8]
test ebp, ebp
mov eax, 0xa20b19
cmove ebp, eax
cmp byte [ecx + 0x21], 0
mov edx, 0xa20b11
mov ebx, 0xa20b0c
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.00409ff0
add esp, 0x2c
test eax, eax
je 0x441780
mov ebx, eax
push eax
push 0xa20d6c
push dword [esp + 8]
call fcn.0040a070
add esp, 0xc
push str.cookie.c
push 0x690
push ebx
call fcn.00404af0
add esp, 0xc
mov eax, dword [esp + 0x1c]
inc eax
cmp esi, eax
jne 0x441600
push str.cookie.c
push 0x693
push edi
call fcn.00404af0
add esp, 0xc
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 8]
test bl, bl
je 0x44172e
mov ecx, dword [esp + 4]
jmp 0x44181c
push str.cookie.c
push 0x697
push dword [esp + 8]
call fcn.00404eb0
add esp, 0xc
mov dword [esp], 0
mov eax, dword [esp + 4]
test eax, eax
je 0x44181a
push esi
push eax
call fcn.00413880
add esp, 8
mov ecx, dword [esp + 4]
test eax, eax
je 0x44181c
push ecx
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__unlink
add esp, 4
mov dword [esp + 0xc], 0x17
jmp 0x44179b
push str.cookie.c
push 0x68b
push edi
call fcn.00404af0
add esp, 0xc
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 8]
mov eax, dword [esp]
test eax, eax
je 0x4417b9
test bl, bl
jne 0x4417b9
push str.cookie.c
push 0x6aa
push eax
call fcn.00404eb0
add esp, 0xc
push str.cookie.c
push 0x6ab
push dword [esp + 0xc]
call fcn.00404af0
add esp, 0xc
test edi, edi
movzx ecx, byte [esp + 0x40]
je 0x441834
test byte [edi + 0x6eb], 0x20
je 0x441834
mov eax, dword [edi + 0xd20]
test eax, eax
je 0x4417f1
cmp dword [eax + 4], 0
jle 0x441834
mov esi, dword [edi + 0x564]
push dword [esp + 0xc]
call fcn.0041a560
add esp, 4
push eax
push esi
push str.WARNING:_failed_to_save_cookies_in__s:__s
push edi
call fcn.00442520
movzx ecx, byte [esp + 0x50]
add esp, 0x10
jmp 0x441834
xor ecx, ecx
push str.cookie.c
push 0x6a5
push ecx
call fcn.00404af0
add esp, 0xc
movzx ecx, byte [esp + 0x40]
test cl, cl
je 0x441863
mov ecx, dword [edi + 0x90]
mov eax, dword [edi + 0x6f0]
test ecx, ecx
je 0x441850
cmp eax, dword [ecx + 0x98]
je 0x441863
push eax
call fcn.00441000
add esp, 4
mov dword [edi + 0x6f0], 0
push 2
push edi
call fcn.00419b30
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret