Function at 0x432f60
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 0x4331ff
mov edx, dword [esp + 0x80]
test edx, edx
jne 0x432f89
mov edx, dword [esi]
test edx, edx
je 0x4331ff
mov ecx, dword [esi + 0x14]
and ecx, 4
jne 0x4331ff
cmp byte [edx], 0
je 0x4331ff
mov eax, esp
lea ecx, [esp + 4]
push eax
push ecx
push edx
push dword [esp + 0x84]
mov ebx, edx
call fcn.00446a50
add esp, 0x10
mov edi, eax
test eax, eax
jne 0x4331e7
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.00404600
add esp, 4
mov dword [esp + 8], 0
test eax, eax
je 0x433183
mov esi, eax
jmp 0x433073
mov eax, 0xa1f8f2
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.0040a070
add esp, 0x50
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x433183
push esi
call fcn.00404620
add esp, 4
mov edi, eax
push esi
call fcn.00404630
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.00411de0
add esp, 0xc
test eax, eax
jne 0x43317f
mov dword [esp + 0x28], ebx
lea ebx, [esp + 0x54]
push ebx
push dword [edi + 0xc]
push 0x17
call fcn.00461b10
add esp, 0xc
cmp eax, 1
mov eax, 0xa1f8f5
mov ebp, 0xa1fa5c
cmove eax, ebp
mov dword [esp + 0x24], eax
mov eax, 0xa1f8f5
mov ecx, 0xa1fa5e
cmove eax, ecx
mov dword [esp + 0x20], eax
push ebx
push dword [edi]
push 0x17
call fcn.00461b10
add esp, 0xc
cmp eax, 1
mov eax, 0xa1f8f5
cmove eax, ebp
mov dword [esp + 0x1c], eax
mov eax, 0xa1f8f5
mov ecx, 0xa1fa5e
cmove eax, ecx
mov dword [esp + 0x18], eax
mov edx, dword [edi + 8]
mov eax, 0xa1f8ec
mov ebp, 0xa1f8ec
cmp edx, 8
je 0x43313f
cmp edx, 0x20
je 0x433133
cmp edx, 0x10
jne 0x43313a
mov ebp, 0xa1f8ef
jmp 0x43313f
mov ebp, 0xa1f8f2
jmp 0x43313f
mov ebp, 0xa1f8f5
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 0x433008
cmp edx, 0x20
je 0x433003
cmp edx, 0x10
jne 0x433175
mov eax, 0xa1f8ef
jmp 0x433008
mov eax, 0xa1f8f5
jmp 0x433008
mov dword [esp + 8], eax
push str.altsvc.c
push 0x187
push dword [esp + 0xc]
call fcn.00404eb0
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 0x4331cb
push dword [esp + 0xc]
push eax
call fcn.00413880
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 0x4331e7
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.00404af0
add esp, 0xc
mov eax, edi
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret