Function at 0x40b3d0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x430f37
push eax
mov eax, 0xc764
mov dword fs:[0], esp
call fcn.0041c1e0
push ebx
push ebp
push esi
push edi
mov esi, 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc77c], esi
call fcn.00428e50
mov ecx, 0x31ce
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov eax, dword [0x43db14]
mov dword [esp + 0x10], eax
mov ecx, dword [0x43c418]
mov edx, dword [esp + 0xc78c]
push ecx
push edx
lea eax, [esp + 0x18]
push str.sndfile:_s_socket_d
push eax
mov byte [esp + 0xc78c], 3
call fcn.00427b91
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00428667
call fcn.00417790
mov eax, dword [esp + 0xc790]
push 0x31
lea ecx, [esp + 0x47]
push eax
push ecx
call fcn.0041bf00
mov dl, byte [esp + 0xc798]
mov eax, dword [0x43db14]
add esp, 0x10
mov byte [esp + 0x3e], dl
mov word [esp + 0x3c], 0x378
xor edi, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc784]
push edi
push 0x40
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xc788], 5
call fcn.00428f62
test eax, eax
je 0x40b5d7
lea ecx, [esp + 0x2c]
call fcn.0042925c
mov ecx, eax
mov eax, 0x4f8b588f
mul ecx
mov ebp, ecx
mov dword [esp + 0x71], ecx
sub ebp, edx
mov eax, ecx
shr ebp, 1
add ebp, edx
xor edx, edx
mov ecx, 0xc350
div ecx
shr ebp, 0xf
mov edi, edx
test edi, edi
mov dword [esp + 0x18], edi
je 0x40b4ef
inc ebp
test ebp, ebp
mov ebx, 0xc350
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], 0
jle 0x40b5ca
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
mov dword [0x441474], eax
lea eax, [ebp - 1]
cmp ecx, eax
jne 0x40b524
test edi, edi
je 0x40b524
mov ebx, edi
lea ecx, [esp + 0x2c]
call fcn.00429133
lea edx, [esp + 0x7d]
push ebx
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x7d], eax
call fcn.0042907f
mov esi, 0xa
lea edi, [ebx + 0x41]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x43c418]
mov dword [0x441474], eax
push 1
lea eax, [esp + 0x40]
push edi
push eax
push 2
push ecx
call sub.PPData.dll_Ordinal_52
test al, al
jne 0x40b57c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
dec esi
test esi, esi
jle 0x40b5c2
jmp 0x40b548
mov edi, dword [esp + 0x14]
push ebx
push edi
lea edx, [esp + 0x18]
push str.sndfile__d_len_u
push edx
call fcn.00427b91
add esp, 0xc
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00428667
call fcn.00417790
add esp, 4
test esi, esi
jle 0x40b5c2
inc edi
cmp edi, ebp
mov dword [esp + 0x14], edi
jge 0x40b5ca
mov edi, dword [esp + 0x18]
jmp 0x40b508
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x2c]
call fcn.0042917d
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc790]
test eax, eax
je 0x40b60e
test edi, edi
je 0x40b60e
mov eax, dword [esp + 0xc784]
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0xc784]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [0x43db14]
mov dword [esp + 0x1c], edx
test edi, edi
mov byte [esp + 0xc77c], 6
mov eax, str.Sucess
jne 0x40b62e
mov eax, str.failed
push eax
mov eax, dword [esp + 0xc788]
push eax
lea ecx, [esp + 0x24]
push str.sndfile:_s___s__
push ecx
call fcn.00427b91
add esp, 0xc
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00428667
call fcn.00417790
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc77c], 5
call fcn.004288f2
lea ecx, [esp + 0x24]
mov byte [esp + 0xc77c], 4
call fcn.004288f2
lea ecx, [esp + 0x28]
mov byte [esp + 0xc77c], 3
call fcn.004288f2
lea ecx, [esp + 0x10]
mov byte [esp + 0xc77c], 2
call fcn.004288f2
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc77c], 1
call fcn.00428ea5
lea ecx, [esp + 0xc784]
mov byte [esp + 0xc77c], 0
call fcn.004288f2
lea ecx, [esp + 0xc78c]
mov dword [esp + 0xc77c], 0xffffffff
call fcn.004288f2
mov ecx, dword [esp + 0xc774]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc770
ret 0x10