Function at 0x41cce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], 0
or ebx, 0xffffffff
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov esi, edx
test edi, edi
jne 0x41cd26
push 0x171
push str.C:UsersgamerDownloads_rufus72_rufus_7_src_net.c
push str.url___NULL
call fcn.0049ed6b
add esp, 0xc
mov ecx, edi
lea edx, [ecx + 1]
jmp 0x41cd30
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41cd30
sub ecx, edx
lea eax, [ecx + 5]
push eax
call fcn.00499907
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x41cd69
push str.Could_not_allocate_signature_URL
call fcn.004407e0
mov edi, dword [esp + 0x14]
add esp, 4
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41d057
mov edx, eax
mov ecx, edi
sub edx, edi
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x41cd70
mov ecx, dword [esp + 0x10]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x41cd82
mov eax, dword [str..sig]
xor edx, edx
mov dword [ecx], eax
mov al, byte [0x4d5dd4]
push 0
push dword [ebp + 8]
mov byte [ecx + 4], al
lea eax, [esp + 0x20]
push eax
push 0
mov ecx, edi
call fcn.0041c280
mov edi, dword [esp + 0x20]
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x41d04e
push 0
push 0
lea eax, [esp + 0x24]
xor edx, edx
push eax
push 0
mov ecx, edi
call fcn.0041c280
add esp, 0x10
cmp eax, 0x100
jne 0x41cff1
mov ecx, dword [esp + 0x18]
mov edx, ebx
push eax
push dword [esp + 0x20]
call fcn.00423b10
add esp, 8
test eax, eax
je 0x41cff1
push str.Download_signature_is_valid_
call fcn.004407e0
add esp, 4
mov dword [0x5430cc], 0xce
test esi, esi
je 0x41ce7d
cmp byte [esi], 0
jne 0x41ce32
push 2
push 1
call fcn.0049570f
add esp, 8
mov edi, eax
jmp 0x41ce7f
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
cmp ebx, 1
jle 0x41ce7d
push 2
push ebx
call fcn.0049570f
mov edi, eax
add esp, 8
test edi, edi
je 0x41ce7d
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x41ce7f
push edi
call fcn.004998ec
add esp, 4
xor edi, edi
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test edi, edi
je 0x41ceb1
push edi
call fcn.004998ec
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [esp + 0x20]
cmp ebx, 0xffffffff
jne 0x41cf18
test esi, esi
je 0x41cef5
mov ecx, esi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ced0
sub ecx, edx
je 0x41cef3
jmp 0x41cee0
mov al, byte [ecx + esi]
cmp al, 0x2f
je 0x41cef2
cmp al, 0x5c
je 0x41cef2
sub ecx, 1
jne 0x41cee0
jmp 0x41cef3
inc ecx
add esi, ecx
call fcn.00440bb0
push eax
push esi
push str.Unable_to_create_file__s:__s
call fcn.004407e0
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41d057
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x14]
push 0
push eax
push edi
push dword [esp + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41cf90
test esi, esi
je 0x41cf65
mov ecx, esi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41cf40
sub ecx, edx
je 0x41cf63
jmp 0x41cf50
mov al, byte [ecx + esi]
cmp al, 0x2f
je 0x41cf62
cmp al, 0x5c
je 0x41cf62
sub ecx, 1
jne 0x41cf50
jmp 0x41cf63
inc ecx
add esi, ecx
call fcn.00440bb0
push eax
push esi
push str.Error_writing_file__s:__s
call fcn.004407e0
add esp, 0xc
mov edi, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x14], 0
jmp 0x41d057
cmp dword [esp + 0x14], edi
je 0x41cfdb
test esi, esi
jne 0x41cf9e
xor eax, eax
jmp 0x41cfc6
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41cfa3
sub ecx, edx
je 0x41cfc3
mov edi, edi
mov al, byte [ecx + esi]
cmp al, 0x2f
je 0x41cfc2
cmp al, 0x5c
je 0x41cfc2
sub ecx, 1
jne 0x41cfb0
jmp 0x41cfc3
inc ecx
lea eax, [ecx + esi]
push edi
push dword [esp + 0x18]
push eax
push str.Error_writing_file__s:_Only__d__d_bytes_written
call fcn.004407e0
add esp, 0x10
jmp 0x41cf79
mov edi, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x5430cc], 0xc8
jmp 0x41d057
push str.FATAL:_Download_signature_is_invalid_
call fcn.004407e0
add esp, 4
mov dword [0x5430cc], 0x193
mov dword [0x4fa958], 0xe003120d
push 0
push 2
push 0x410
push 0x3f2
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call esi
mov ecx, dword [0x53f058]
test ecx, ecx
je 0x41d054
mov eax, dword [ecx]
push 4
push dword [0x5430c4]
mov eax, dword [eax + 0x28]
push ecx
call eax
jmp 0x41d054
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
or ebx, 0xffffffff
mov eax, dword [ebp + 8]
test eax, eax
je 0x41d06c
push 0
push dword [esp + 0x18]
push 0x8003
push eax
call esi
cmp dword [ebp + 0xc], 0
je 0x41d0e3
cmp dword [0x5430cc], 0xc8
je 0x41d0e3
push 0xcaa
push 0
push 0
push 1
call fcn.0041b3e0
add esp, 0x10
push dword [0x53c25c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [0x4fa958]
test ecx, ecx
jns 0x41d0ae
call fcn.00441250
jmp 0x41d0b3
call fcn.00440bb0
cmp dword [0x4fada0], 0
mov esi, eax
push ecx
mov ecx, 0x180010
mov eax, 0x10
cmovne eax, ecx
push eax
push 0xbe4
call fcn.0041afe0
add esp, 4
mov edx, esi
push eax
call fcn.00409ac0
add esp, 0xc
cmp ebx, 0xffffffff
je 0x41d0f3
test ebx, ebx
je 0x41d0f3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004998ec
add esp, 4
push dword [esp + 0x18]
call fcn.004998ec
add esp, 4
push dword [esp + 0x1c]
call fcn.004998ec
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret