Function at 0x434400
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 0x43469f
mov edx, dword [esp + 0x80]
test edx, edx
jne 0x434429
mov edx, dword [esi]
test edx, edx
je 0x43469f
mov ecx, dword [esi + 0x14]
and ecx, 4
jne 0x43469f
cmp byte [edx], 0
je 0x43469f
mov eax, esp
lea ecx, [esp + 4]
push eax
push ecx
push edx
push dword [esp + 0x84]
mov ebx, edx
call fcn.00447ef0
add esp, 0x10
mov edi, eax
test eax, eax
jne 0x434687
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.00405aa0
add esp, 4
mov dword [esp + 8], 0
test eax, eax
je 0x434623
mov esi, eax
jmp 0x434513
mov eax, 0x8fdde2
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.0040b510
add esp, 0x50
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x434623
push esi
call fcn.00405ac0
add esp, 4
mov edi, eax
push esi
call fcn.00405ad0
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.00413280
add esp, 0xc
test eax, eax
jne 0x43461f
mov dword [esp + 0x28], ebx
lea ebx, [esp + 0x54]
push ebx
push dword [edi + 0xc]
push 0x17
call fcn.00462fb0
add esp, 0xc
cmp eax, 1
mov eax, 0x8fdde5
mov ebp, 0x8fdf4c
cmove eax, ebp
mov dword [esp + 0x24], eax
mov eax, 0x8fdde5
mov ecx, 0x8fdf4e
cmove eax, ecx
mov dword [esp + 0x20], eax
push ebx
push dword [edi]
push 0x17
call fcn.00462fb0
add esp, 0xc
cmp eax, 1
mov eax, 0x8fdde5
cmove eax, ebp
mov dword [esp + 0x1c], eax
mov eax, 0x8fdde5
mov ecx, 0x8fdf4e
cmove eax, ecx
mov dword [esp + 0x18], eax
mov edx, dword [edi + 8]
mov eax, 0x8fdddc
mov ebp, 0x8fdddc
cmp edx, 8
je 0x4345df
cmp edx, 0x20
je 0x4345d3
cmp edx, 0x10
jne 0x4345da
mov ebp, 0x8fdddf
jmp 0x4345df
mov ebp, 0x8fdde2
jmp 0x4345df
mov ebp, 0x8fdde5
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 0x4344a8
cmp edx, 0x20
je 0x4344a3
cmp edx, 0x10
jne 0x434615
mov eax, 0x8fdddf
jmp 0x4344a8
mov eax, 0x8fdde5
jmp 0x4344a8
mov dword [esp + 8], eax
push str.altsvc.c
push 0x187
push dword [esp + 0xc]
call fcn.00406350
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 0x43466b
push dword [esp + 0xc]
push eax
call fcn.00414d20
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 0x434687
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.00405f90
add esp, 0xc
mov eax, edi
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret