Function at 0x435a10
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov esi, dword [esp + 0x7c]
mov dword [esp], 0
xor eax, eax
test esi, esi
je 0x435caf
mov edx, dword [esp + 0x80]
test edx, edx
jne 0x435a39
mov edx, dword [esi]
test edx, edx
je 0x435caf
mov ecx, dword [esi + 0x14]
and ecx, 4
jne 0x435caf
cmp byte [edx], 0
je 0x435caf
mov eax, esp
lea ecx, [esp + 4]
push eax
push ecx
push edx
push dword [esp + 0x84]
mov ebx, edx
call fcn.00449500
add esp, 0x10
mov edi, eax
test eax, eax
jne 0x435c97
mov dword [esp + 0xc], ebx
push dword [esp + 4]
push 1
push 0x75
push str._Your_alt_svc_cache._https:__curl.se_docs_alt_svc.html_n_This_file_was_generated_by_libcurl__Edit_at_your_own_risk._n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
add esi, 4
push esi
call fcn.004070b0
add esp, 4
mov dword [esp + 8], 0
test eax, eax
je 0x435c33
mov esi, eax
jmp 0x435b23
mov eax, 0x9995e2
movzx edx, word [edi + 0x10]
mov ebx, dword [esp + 0x44]
mov ecx, eax
mov eax, 0x76c
add ebx, eax
mov esi, dword [esp + 0x40]
inc esi
movzx eax, byte [edi + 0x20]
push dword [edi + 0x24]
push eax
push dword [esp + 0x38]
push dword [esp + 0x40]
push dword [esp + 0x48]
push dword [esp + 0x50]
push esi
push ebx
push edx
push dword [esp + 0x44]
push dword [edi + 0xc]
push dword [esp + 0x50]
push ecx
push dword [esp + 0x44]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x5c]
push ebp
push str._s__s_s_s__u__s__s_s_s__u___d_02d_02d__02d:_02d:_02d___u__u_n
push dword [esp + 0x74]
call fcn.0040cb20
add esp, 0x50
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x435c33
push esi
call fcn.004070d0
add esp, 4
mov edi, eax
push esi
call fcn.004070e0
add esp, 4
mov esi, eax
mov ebx, dword [esp + 4]
lea eax, [esp + 0x30]
push eax
push dword [edi + 0x1c]
push dword [edi + 0x18]
call fcn.00414890
add esp, 0xc
test eax, eax
jne 0x435c2f
mov dword [esp + 0x28], ebx
lea ebx, [esp + 0x54]
push ebx
push dword [edi + 0xc]
push 0x17
call fcn.004645c0
add esp, 0xc
cmp eax, 1
mov eax, 0x9995e5
mov ebp, 0x99974c
cmove eax, ebp
mov dword [esp + 0x24], eax
mov eax, 0x9995e5
mov ecx, 0x99974e
cmove eax, ecx
mov dword [esp + 0x20], eax
push ebx
push dword [edi]
push 0x17
call fcn.004645c0
add esp, 0xc
cmp eax, 1
mov eax, 0x9995e5
cmove eax, ebp
mov dword [esp + 0x1c], eax
mov eax, 0x9995e5
mov ecx, 0x99974e
cmove eax, ecx
mov dword [esp + 0x18], eax
mov edx, dword [edi + 8]
mov eax, 0x9995dc
mov ebp, 0x9995dc
cmp edx, 8
je 0x435bef
cmp edx, 0x20
je 0x435be3
cmp edx, 0x10
jne 0x435bea
mov ebp, 0x9995df
jmp 0x435bef
mov ebp, 0x9995e2
jmp 0x435bef
mov ebp, 0x9995e5
mov dword [esp + 0x2c], esi
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
mov edx, dword [edi + 0x14]
movzx ecx, word [edi + 4]
mov dword [esp + 0x10], ecx
cmp edx, 8
je 0x435ab8
cmp edx, 0x20
je 0x435ab3
cmp edx, 0x10
jne 0x435c25
mov eax, 0x9995df
jmp 0x435ab8
mov eax, 0x9995e5
jmp 0x435ab8
mov dword [esp + 8], eax
push str.altsvc.c
push 0x187
push dword [esp + 0xc]
call fcn.00407960
add esp, 0xc
mov ecx, dword [esp + 8]
test ecx, ecx
sete dl
mov eax, dword [esp]
test eax, eax
setne dh
and dh, dl
cmp dh, 1
jne 0x435c7b
push dword [esp + 0xc]
push eax
call fcn.00416330
add esp, 8
test eax, eax
mov ecx, 0x17
cmove ecx, eax
mov eax, dword [esp]
test ecx, ecx
setne dl
test eax, eax
setne dh
and dh, dl
mov edi, ecx
cmp dh, 1
jne 0x435c97
push eax
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__unlink
add esp, 4
push str.altsvc.c
push 0x18e
push dword [esp + 8]
call fcn.004075a0
add esp, 0xc
mov eax, edi
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret