Function at 0x432290
Capabilities:
Check if file exists
Get file attributes
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466e38
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x483004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp + 0x10]
xor eax, eax
mov edi, dword [ebp + 0xc]
push 0x5c
push str._000214A0_0000_0000_C000_000000000046__r_nProp319__s_r_n_InternetShortcut__r_nURL_s_r_nIDList_r_n
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403220
mov ecx, ebx
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432300
sub ecx, edx
sar ecx, 1
je 0x432320
push 0x24
push str.HotKey0_r_nIconIndex0_r_nIconFile_s_r_n
lea ecx, [ebp - 0x28]
call fcn.0040e850
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432325
sub ecx, edx
mov edx, ebx
sar ecx, 1
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x432340
mov eax, dword [ebp - 0x18]
lea ebx, [ecx + 5]
sub edx, esi
xor ecx, ecx
sar edx, 1
add eax, edx
mov edx, 2
add ebx, eax
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436c49
mov esi, eax
add esp, 4
test esi, esi
je 0x43245c
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x432395
and eax, 0xfffffffe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80000080
push 2
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x43245c
lea ecx, [ebx + ebx]
push ecx
push 0
push esi
call fcn.004398f0
mov edx, dword [ebp - 0x2c]
add esp, 0xc
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x2c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4323d2
sub ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
sar ecx, 1
je 0x432408
cmp dword [ebp - 0x14], 8
push edx
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x28]
push 0x469a24
push eax
lea eax, [ebx - 1]
push eax
push esi
call fcn.00404760
add esp, 0x18
jmp 0x432426
push dword [ebp - 0x30]
cmp dword [ebp - 0x14], 8
push 0x469a28
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebx - 1]
push eax
push esi
call fcn.00404760
add esp, 0x14
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432430
sub ecx, edx
lea eax, [ebp - 0x38]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x43245e
xor bl, bl
test esi, esi
je 0x43246b
push esi
call fcn.00436c52
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x432480
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00403390
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004369c2
mov esp, ebp
pop ebp
ret